v2.0.5
- Fixing early interrupt request logic may result in incorrect formatting of the corresponding Content-Type (swoft-cloud/swoft-component@f031398)
- Fixed the use of sgo to create child coroutines, at the end did not clean up the mapping with the top coroutine (swoft-cloud/swoft-component@de11ae5)
- Fix Xml format parsing method (swoft-cloud/swoft-component@24d0038)
- Fix class proxy Unique string problem (swoft-cloud/swoft-component@444ddeb)
- Fixed
context()->get()
problem and discardContext::mustGet()
method (swoft-cloud/swoft-component@6acc1b5) - Fixed interface injection, class name access error (swoft-cloud/swoft-component@2d9a31f)
- Repair model uses the
paginate
method, the result set has no mapping field (swoft-cloud/swoft-component@3027287) - Fixed websocket server error when there are multiple workers and actively closes non-current worker connections(swoft-cloud/swoft-component@7666969)
Update:
- The default worker num setting is obtained by the
swoole_cpu_num
function (swoft-cloud/swoft-component@553f650) - The validator is adjusted to, the default is not required, the user opens (swoft-cloud/swoft-component@e5b258d)
- No longer throws
containerException
inside the swowt to the user-used layer(swoft-cloud/swoft-component@1e74893) - console output Add interactive methods such as
confirm
select
(swoft-cloud/swoft-component@0181138)
Enhancement:
- The console command option sets
CommandOption
, which now allows options to be described as multiple lines of information (swoft-cloud/swoft-component@e591498) - All messaging methods for websocket server, support for incoming
opcode
parameter (swoft-cloud/swoft-component@dc164ff) - The websocket module allows setting the default
opcode
of the current module for automatic processing of return data settingsopcode
(swoft-cloud/swoft-component@9e3e967 ) - Enhanced websocket related classes, now the message processing method allows to inject more data object types
Request
Response
(swoft-cloud/swoft-component@3d6c60b ) - When the worker exits, the websocket server will automatically close all connections (swoft-cloud/swoft-component@5ea10ec)
- Add Timer timer package (swoft-cloud/swoft-component@eb92ee6)
- Add Coroutine Method Package(swoft-cloud/swoft-component@d8c2b88)
Extra:
- swoft/crontab Second-level scheduled tasks
- swoft/whoops A simple wrapper for
filp/whoops
in swewt that renders and displays error messages that are more conducive to reading.