swoft v2.0.7 Release Notes
Release Date: 2019-11-18 // over 2 years ago-
Fixed :
- 0๏ธโฃ When fixing config injection, if the value is not found, the default value of the corresponding type will be used to override the attribute, causing the default value of the attribute to be overwritten swoft-cloud/[email protected]
- ๐ Fixed when using the message schedule in ws server, no empty data was filtered, resulting in one more response. Avoid method swoft-cloud/swoft#1002 swoft-cloud/[email protected]
- ๐ Fixed when using message scheduling in tcp server, no empty data was filtered, resulting in one more response. swoft-cloud/[email protected]
- ๐ Fixed missing swoft/stdlib library dependencies when using console component independently swoft-cloud/[email protected]
- ๐ Fixed
ArrayHelper::get
When the input key is integer, the parameter parameter is incorrect swoft-cloud/[email protected] - ๐ Fix console rendering using table, when calculating int value, calculate width report type error swoft-cloud/[email protected]
- ๐ Fixed error in the component user can not customize the default error handling level swoft-cloud/[email protected]
- ๐ Fix Enable and disable Component settings
isEnable()
does not work swoft-cloud/[email protected] - ๐ Fixes Using the
uniqid()
method in the cygwin environment must set the second parameter to true swoft-cloud/[email protected] - ๐ Fixed Unable to set process title in cygwin environment and cause error swoft-cloud/[email protected]
- ๐ Fixed Unable to delete browser cookie data using http
response->delCookie()
swoft-cloud/[email protected] - ๐ Fixed ws server message dispatching, the received ext data is not necessarily an array causing an error swoft-cloud/[email protected]
- ๐ Fix log file split by time swoft-cloud/[email protected]
- ๐ Fix the log
JSON
format small problem swoft-cloud/[email protected] - ๐ Fixed
rpc
service providergetList
call twice swoft-cloud/[email protected] - ๐ Fix
redis cluster
does not supportauth
parameter swoft-cloud/[email protected] - ๐ Fix model query
json
type, does not supportarray
swoft-cloud/[email protected] - ๐ Fixed redis
multi
operation not connected in time swoft-cloud/[email protected] - ๐ Fix redis does not support
expireAt
,geoRadius
swoft-cloud/[email protected] - ๐ Fix 'crontab' timestamp detection deviation swoft-cloud/[email protected]
โก๏ธ Update :
- Update console also emits an event before rendering the help message
ConsoleEvent::SHOW_HELP_BEFORE
swoft-cloud/[email protected] - Simplify and unify http, ws, tcp, rpc server management command logic swoft-cloud/[email protected]
- โก๏ธ Update the ws and tcp Connection classes to add the
newFromArray
andtoArray
methods to facilitate exporting information and restoring connections via third-party storage (redis
) swoft-cloud/[email protected] - โก๏ธ Optimize server to add a unified swoole pipe message event handler, use the swowt event in ws, tcp to handle interprocess messages swoft-cloud/[email protected]
โจ Enhancement :
- โฑ Now tcp requests support adding global or corresponding method middleware, and the process and usage are similar to http middleware. _ Useful only when using system scheduling _ swoft-cloud/[email protected]
- โฑ Now the websocket message request supports adding global or corresponding method middleware, and the process and usage are similar to http middleware. _ Useful only when using system scheduling_ swoft-cloud/[email protected]
- Event Management allows setting
destroyAfterFire
to clean up the data carried in the event after each event dispatch swoft-cloud/[email protected] - ๐ป Database error exception added
code
returns swoft-cloud/[email protected] - ๐ป Coroutine file operation
writeFile
New write failure exception swoft-cloud/[email protected] - RPC new parameter verification swoft-cloud/[email protected]