swoft v2.0.8 Release Notes
Release Date: 2020-01-18 // over 4 years ago-
🔄 Change Log
🛠 Fixed :
- 🛠 Fix ws server's message response.finish compatible
swoole 4.4.12
issue swoft-cloud/swoft-component@d724a94 - 🛠 Fix the issue that the value of the option with the short option in the console component is out of sync swoft-cloud/swoft-component@ac41eca
- 🛠 Fixed some string operations not compatible with php 7.4 swoft-cloud/swoft-component@b4d0e90
- 🛠 Fix When displaying unknown command, the help information of http server command is incorrect swoft-cloud/swoft-component@684807e
- 🛠 Fix remove invalid debug statements in process component swoft-cloud/swoft-component@2bc84aa
- The
.env
file in the same directory cannot be loaded correctly after packaging as phar swoft-cloud/swoft-component@8046c15 - 🛠 Fix psr4 namespace that cannot be excluded from scanning by Application settings swoft-cloud/swoft-component@5934088
- 🛠 Fixed the initial request error when the digital key appeared in the http headers swoft-cloud/swoft-component@c168434
- 🛠 Fix log is still writing conting information to memory after disabling, causing memory growth problem swoft-cloud/swoft-component@0a51739
- 🛠 Fix log concurrency may cause repeated writing to log swoft-cloud/swoft-component@c6b396f
- 🛠 Fix Connection pool not closed, expired connection swoft-cloud/swoft-component@53ca548
⚡️ Update :
- 👻 Adjust the exception thrown when the route is not found will carry the error code swoft-cloud/swoft-component@7e06afa
- 👍 Adjust the Redis
Set
method and interface, the usage is exactly the same as phpredis, the third parameter supports the array swoft-cloud/swoft-component@503f4df Swoft\Redis\Contract\ConnectionInterface::set
Third parameter changed to unlimited type
✨ Enhancement :
- ✨ Enhanced clog now supports writing logs to files swoft-cloud/swoft-component@e88c4d5
- ⚡️ Optimized phar package construction speed, packaging time will be greatly reduced now swoft-cloud/swoft-component@1055fff
- ⚡️ Optimize the parsing and binding of console command parameters and options. The type of the setting will be formatted as the corresponding type swoft-cloud/swoft-component@7dc0d58
- Global validation method Added
$unfields
parameter to the validate method swoft-cloud/swoft-component@ca86dc8 - Adjusted the storage logic of ws and tcp connection, now you can customize the connection session information to a custom driver (such as redis, swoole-table, etc.) swoft-cloud/swoft-component@5a52586
- ⚡️ Optimized aggregation method supports grouping such as (
sum, avg, count
), etc. swoft-cloud/swoft-component@ab58ffd - ⚡️ Optimize entity generation, resolve conflicts with model attributes/methods swoft-cloud/swoft-ext@54be347
- ➕ Add
setFetchMode
to easily get different types of data in pdo format swoft-cloud/swoft-component@31210bf
- 🛠 Fix ws server's message response.finish compatible