swoft v2.0.6 Release Notes
Release Date: 2019-09-20 // over 2 years ago-
๐ Fixed
- 0๏ธโฃ Repair the client that uses the current fd as the response message by default when the ws server receives the message swoft-cloud/[email protected]
- ๐ Fixed all connections that the ws server got through the swoole server. The type of fd may not be an integer and cause an error. swoft-cloud/[email protected]
- ๐ Fix stdlib SystemHelper will be deleted by Defender in Windows 10 swoft-cloud/[email protected]
- ๐ Fix
increment/decrement
and get a more connection swoft-cloud/[email protected] - ๐ Fix Model property
$modelTimestamps
is closed invalid swoft-cloud/[email protected] - ๐ Fix The log was called before initialization, which may cause the context loss error during the startup phase swoft-cloud/[email protected]
- ๐ Fix ws server handshake and open use the same top-level coroutine ID. If one is executed first, it may cause subsequent session loss swoft-cloud/[email protected]
- ๐ Fixed
after
timer passing parameter bug https://github.com/swoft-cloud/swoft-component/pull/508/files - ๐ Fixed timing task memory leaks and log print data loss issues swoft-cloud/[email protected]
- โก๏ธ Optimized Http server
sgo
processing flow swoft-cloud/[email protected] - ๐ Fixed database inconsistency caused by reconnection in the case of things swoft-cloud/[email protected]
- ๐ Fixed Aop extreme case return
0
problem swoft-cloud/[email protected] - ๐ Fixed
BeanFactory::createBean()
method creation problem swoft-cloud/[email protected] - ๐ Fix RPC error data is a string problem swoft-cloud/[email protected]
- ๐ Fixed
redisCluster
initialization problem swoft-cloud/[email protected] - ๐ Fixed
DbException
without throwingDatabase
exceptionCode
swoft-cloud/[email protected] - ๐ Fixed
getter
andsetter
hump judgment errors forModelAttribute
swoft-cloud/[email protected] - ๐ Fix
Aggregate
aggregate, return string forcibly convertint
error swoft-cloud/[email protected] - โก๏ธ Repair model
updateCounters
method does not synchronize entity data after update swoft-cloud/[email protected]
โก๏ธ Update
- ๐ง Adjust ws server to automatically close the connection when the worker exits, add switch configuration, you can choose whether to open. swoft-cloud/[email protected]
- ws server new event:
MESSAGE_PUSH
OPEN_BEFORE
MESSAGE_RECEIVE
swoft-cloud/[email protected]
โจ Enhancement
- โ Add new logs to cut by time swoft-cloud/[email protected]
- โ Added log support to pass additional parameters swoft-cloud/[email protected]
- Adjusted and added some ws server related events for users to use swoft-cloud/[email protected]
- ๐ Model pair
Prop
support swoft-cloud/[email protected] - โ Added connection pool (mysql/redis/rpc) to initiate initial connection swoft-cloud/[email protected]
- ๐ tcp server supports custom header data packaging and unpacking format when using length packetization swoft-cloud/[email protected]
- RPC call error message adjustment swoft-cloud/[email protected]
- โ Added operation
Database
exception, print console errorSQL
swoft-cloud/[email protected] - ๐ New operational data migration
int
series Length support swoft-cloud/[email protected] - โ Added the original sql method
getRawSql
swoft-cloud/[email protected] - โก๏ธ Extend
updateOrInsert
andupdateOrCreate
to support self-incrementing parameters swoft-cloud/[email protected]
Extra
- ๐
Swoftcli
already supports basic application skeleton and component structure creation, as well as some class file generation functions. - ๐
SwoftTracker
support for easy developer debugging