🚀 PHP Microservice Full Coroutine Framework
genearte by
kite gh changelog v2.0.9 v2.0.10 --no-merges --style gh-release --exclude "cs-fixer,format" --repo-url https://github.com/swoft-cloud/swoft-component
Fixed:
MultiList::show
https://github.com/swoft-cloud/swoft-component/commit/58c4e3583072a468a2bf8a4e26ee26b41195304a
Update:
Enhancement:
Fixed:
swoole 4.4.12
issue https://github.com/swoft-cloud/swoft-component/pull/544/commits/d724a949e0f90037eede019ae4d177cec8ae22dd
.env
file in the same directory cannot be loaded correctly after packaging as phar https://github.com/swoft-cloud/swoft-component/pull/544/commits/8046c156844b59e0a332e47f9e96ce115bb24384
Update:
Set
method and interface, the usage is exactly the same as phpredis, the third parameter supports the array https://github.com/swoft-cloud/swoft-component/pull/542/commits/503f4df06dcf067afbf5e105027c97a2548c90b2
Swoft\Redis\Contract\ConnectionInterface::set
Third parameter changed to unlimited typeEnhancement:
$unfields
parameter to the validate method https://github.com/swoft-cloud/swoft-component/pull/556/commits/ca86dc885132953188038f80752d736cd39f961d
sum, avg, count
), etc. https://github.com/swoft-cloud/swoft-component/pull/542/commits/ab58ffd39fb98fd47f7161a0095b8cdc812b2f9e
setFetchMode
to easily get different types of data in pdo format https://github.com/swoft-cloud/swoft-component/pull/542/commits/31210bfe51cde8114161590392acd745b0aac800
Fixed:
ArrayHelper::get
When the input key is integer, the parameter parameter is incorrect https://github.com/swoft-cloud/swoft-component/pull/528/commits/a44dcad42cbdd20cb4078351a8deb3b966b1ca09
isEnable()
does not work https://github.com/swoft-cloud/swoft-component/pull/530/commits/da8c51e561074f94ec29a8c5055f563c6ed13cc0
uniqid()
method in the cygwin environment must set the second parameter to true https://github.com/swoft-cloud/swoft-component/pull/530/commits/c7f688f4ef07bb7c7d59a0c03888d0c79f77d4c7
response->delCookie()
https://github.com/swoft-cloud/swoft-component/pull/530/commits/8eb9241329e46dcab78e4f18ea4771808a1f034e
JSON
format small problem https://github.com/swoft-cloud/swoft-component/pull/535/commits/a3fc6b94a8afff873f7f3ac8248432ff2a409d13
rpc
service provider getList
call twice https://github.com/swoft-cloud/swoft-component/pull/535/commits/fd03e71f525c265add11e9334cc6dd505daf62ec
redis cluster
does not support auth
parameter https://github.com/swoft-cloud/swoft-component/pull/525/commits/7a678fd866e3ec842b00f734f7f6c3b7b1a03a9b
json
type, does not support array
https://github.com/swoft-cloud/swoft-component/pull/525/commits/6023a99aad06d9e87ff0a38bb4f37242f331a771
multi
operation not connected in time https://github.com/swoft-cloud/swoft-component/pull/525/commits/e5f69802947ec3d9b56b7d56ec2dc4b1d70b4995
expireAt
, geoRadius
https://github.com/swoft-cloud/swoft-component/pull/525/commits/749241561dbb5a6b94c659b2642e255900cb6b69
Update:
ConsoleEvent::SHOW_HELP_BEFORE
https://github.com/swoft-cloud/swoft-component/pull/522/commits/d3f7bc3c5093a11a1de3710fd239c4375b835160
newFromArray
and toArray
methods to facilitate exporting information and restoring connections via third-party storage (redis
) https://github.com/swoft-cloud/swoft-component/pull/528/commits/a8b0b7c77d56d4392eba75d13a911816b9dc0cee
Enhancement:
destroyAfterFire
to clean up the data carried in the event after each event dispatch https://github.com/swoft-cloud/swoft-component/pull/530/commits/50bf43d39857fea7328c83a790c941e83847b82b
code
returns https://github.com/swoft-cloud/swoft-component/pull/533/commits/fd306f470ba171f556bc05682aae58cab217cacc
writeFile
New write failure exception https://github.com/swoft-cloud/swoft-component/pull/533/commits/08c42449cc5ca7922e5bf54d6523b0d8799ba910
increment/decrement
and get a more connection https://github.com/swoft-cloud/swoft-component/pull/502/commits/94c7171f57c4d8952fdb0214da27e6e12231fe2d
$modelTimestamps
is closed invalid https://github.com/swoft-cloud/swoft-component/pull/502/commits/94c7171f57c4d8952fdb0214da27e6e12231fe2d
after
timer passing parameter bug https://github.com/swoft-cloud/swoft-component/pull/508/files
sgo
processing flow https://github.com/swoft-cloud/swoft-component/pull/507/commits/e60d92e78853a9f0b2e9f823c941bc214c6c409f
0
problem https://github.com/swoft-cloud/swoft-component/pull/511/commits/85bc1b186f125773d55c582ecc40cde9f30c87cf
BeanFactory::createBean()
method creation problem https://github.com/swoft-cloud/swoft-component/pull/474/commits/c2e2c894ea17dcb3a0e97cccaff42355b72066f7
redisCluster
initialization problem https://github.com/swoft-cloud/swoft-component/pull/515/commits/3a60c063189224a360400f9fcfd9d5cb55bd3587
DbException
without throwing Database
exception Code
https://github.com/swoft-cloud/swoft-component/pull/515/commits/3a60c063189224a360400f9fcfd9d5cb55bd3587
getter
and setter
hump judgment errors for ModelAttribute
https://github.com/swoft-cloud/swoft-component/pull/502/commits/2e2f0f197c64fecfdee82ade45a40ed509ed6108
Aggregate
aggregate, return string forcibly convert int
error https://github.com/swoft-cloud/swoft-component/pull/502/commits/7aa98a6a565236639c9803facf2a4b01bc2adacb
updateCounters
method does not synchronize entity data after update https://github.com/swoft-cloud/swoft-component/pull/502/commits/967d6f84e3e1eae4c495e46c5a5edbfa79b5a7fe
MESSAGE_PUSH
OPEN_BEFORE
MESSAGE_RECEIVE
https://github.com/swoft-cloud/swoft-component/pull/504/commits/e1b058340e27e6773a3fbac0daafaffbabea5571
Prop
support https://github.com/swoft-cloud/swoft-component/pull/502/commits/630aad8315894a993ef9021c23c70eed14e3fa47
Database
exception, print console error SQL
https://github.com/swoft-cloud/swoft-component/pull/515/commits/3a60c063189224a360400f9fcfd9d5cb55bd3587
int
series Length support https://github.com/swoft-cloud/swoft-component/pull/502/commits/967d6f84e3e1eae4c495e46c5a5edbfa79b5a7fe
getRawSql
https://github.com/swoft-cloud/swoft-component/pull/502/commits/967d6f84e3e1eae4c495e46c5a5edbfa79b5a7fe
updateOrInsert
and updateOrCreate
to support self-incrementing parameters https://github.com/swoft-cloud/swoft-component/pull/502/commits/967d6f84e3e1eae4c495e46c5a5edbfa79b5a7fe
Swoftcli
already supports basic application skeleton and component structure creation, as well as some class file generation functions.SwoftTracker
support for easy developer debuggingcontext()->get()
problem and discard Context::mustGet()
method (https://github.com/swoft-cloud/swoft-component/pull/496/commits/6acc1b55163a18edc95de6cdb899398a9a7d0f2e)paginate
method, the result set has no mapping field (https://github.com/swoft-cloud/swoft-component/commit/3027287a58bfa66b3c87b8d2d03fddbfc6c2c754)Update:
swoole_cpu_num
function (https://github.com/swoft-cloud/swoft-component/pull/493/commits/553f6500678b258080b84cffeab0fe2d5bf65550)containerException
inside the swowt to the user-used layer(https://github.com/swoft-cloud/swoft-component/pull/498/commits/1e74893bf6e05fe954334e527e8b76eca2cef6e9)confirm
select
(https://github.com/swoft-cloud/swoft-component/pull/498/commits/0181138af6f1bc1dc0f3f1025b23d9a6354d122a)Enhancement:
CommandOption
, which now allows options to be described as multiple lines of information (https://github.com/swoft-cloud/swoft-component/pull/493/commits/e591498363dac1888f503ab18766e89542e33665)opcode
parameter (https://github.com/swoft-cloud/swoft-component/pull/493/commits/dc164ffe97d507e505ac8cd1b50a421a27ae5859)opcode
of the current module for automatic processing of return data settings opcode
(https://github.com/swoft-cloud/swoft-component/pull/493/commits/9e3e9672ed83579e6135ed47ae0c30ef335d8659 )Request
Response
(https://github.com/swoft-cloud/swoft-component/pull/493/commits/3d6c60b4812535c48d51c57476f801529f66655f )Extra:
filp/whoops
in swewt that renders and displays error messages that are more conducive to reading.Enhancement :
Swoft\Http\Message\Request
Added getHeaderLines()
(https://github.com/swoft-cloud/swoft-component/pull/480/commits/74a2a91d62dd4230c8cffca621c95354a251ac82)getArgsMap()
and getClassName()
methods (https://github.com/swoft-cloud/swoft-component/pull/480/commits/c47e785ef40bc65a98fabc81c73ee0099228c3aa)srun()
function for coroutine scheduling (https://github.com/swoft-cloud/swoft-component/pull/475/commits/3c4a6a41976c4813f8c60b2f5321d0a25d3572dc)onStart
/ onWorkStart
/ onWorkStop
/ onShutdown
), the event comes with support coroutine (https://github.com/swoft-cloud/swoft-component/pull/475/commits/a8d5a8da82f236d485ac771e8668efa62d8033b9)call
method for using the same connection operation (https://github.com/swoft-cloud/swoft-component/pull/482/commits/924569877aa3305dbd4ad573e537907a6ed43404)Fixed :
update
update after updating the field value with Setter
after the entity query (https://github.com/swoft-cloud/swoft-component/pull/472/commits/caadf0e9e24e470465656cf46f1199f735ae6358)json
operation is not valid (https://github.com/swoft-cloud/swoft-component/pull/482/commits/924569877aa3305dbd4ad573e537907a6ed43404)Update :
disabledModules
(https://github.com/swoft-cloud/swoft-component/pull/478/commits/fa31111d2f5ab9dbf4d858f1226ad4dade407c32)Extra :
New:
Remove
request->json()
method(c9e8f04)Enhancement
getFile
to obtain information after file upload and save(fe7e3a6)restart()
to restart service(2ffec37)use
error prompt(b1cec04)unfields
(b1bf44f)batchUpdateByIds
(dc58011)Fixed:
null
(a69347c)null
(4d091be)Update:
ErrorHanlders
to ErrorManager
(f3a8f04b)E_ALL | E_STRICT
(afff9029)Extra:
Enhancement:
$request->parsedQuery()
method (ab45089)Bean
attribute injection base data type(string/int/bool/float/array),Automatically converts according to annotation type。(e3d4085)db()
to enable Model/Query/DB to support cutting(f3b12c9)DbSelectorInterface
to automatically cut the library according to the business(b36ca03)Http server
to increase cookie
response support (1a024bf)devtool
component(14b4d39c)pipeMessage, packet
event that allows registration of swoole
(afec0e3f)Fixed:
paginate
cannot specify query field(308d330)join
operation, showing no associated table data (446a3a2)attributes
and other system-defined attribute conflicts (1a9d25b)AOP
facet repeat execution problem (54e00ac)contentType
invalidation problem(e704116)Http server
does not pass type
check when https
is enabled (3e9b431)Http server
may get errors when responding to html via datae5513df)phpstorm meta
file generated by devtool(1838552)ws-server
parameter route matching failed(4d3392e6)Http
service content-type
multi-value parsing error(1657979)Co::multi
throw exception call error(d0ff0f7)body
string unresolved call error(32abf60)toArray
invalidation problem by setter
(9c0f9505)@Inject
injection Redis
connection pool is not released and the connection pool is all idle.(feac3700)Update:
insert, insertGetId, updateOrInsert
to only insert the definition of the @Column
field.
(9c0f9505)count, sum, avg, max, min
return value type(c9b5e17a)Http server
route matching order optimization(d8fb588)zAdd
members and scores ⚠️ is not backward compatible(1a3275b3)Extra:
swoft/view
added via @View
render view support