swoft v2.0.5 Release Notes
Release Date: 2019-08-06 // over 4 years ago-
- ๐ 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) - 0๏ธโฃ 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) - 0๏ธโฃ 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.