swoft v2.0.4 Release Notes
Release Date: 2019-07-19 // almost 5 years ago-
✨ Enhancement :
Swoft\Http\Message\Request
AddedgetHeaderLines()
(swoft-cloud/swoft-component@74a2a91)- Aop adds
getArgsMap()
andgetClassName()
methods (swoft-cloud/swoft-component@c47e785) - ➕ Added
srun()
function for coroutine scheduling (swoft-cloud/swoft-component@3c4a6a4) - ⚡️ Optimize the server event (
onStart
/onWorkStart
/onWorkStop
/onShutdown
), the event comes with support coroutine (swoft-cloud/swoft-component@a8d5a8d) - 🆕 New Posting Sync Blocking Task (swoft-cloud/swoft-component@ec938e5)
- ➕ Added Redis
call
method for using the same connection operation (swoft-cloud/swoft-component@9245698) - Compatible with swoole 4.4.x
🛠 Fixed :
- 🛠 Fixed migration class name is too long, resulting in incomplete record class name (swoft-cloud/swoft-ext@58314b8)
- 🛠 Fixed
update
update after updating the field value withSetter
after the entity query (swoft-cloud/swoft-component@caadf0e) - 🛠 Fixing the result of deleting the pid file after stop returns an error, causing restart to fail (swoft-cloud/swoft-component@2be450b)
- 🛠 Fixed i18n setting default language does not work (swoft-cloud/swoft-component@b401a50)
- 🛠 Fixed ws server can't actively close other workers' connections when there are multiple workers (swoft-cloud/swoft-component@271b639)
- 🛠 Fixed when the http server received the xml request, the content type could not be matched correctly (swoft-cloud/swoft-component@2ff9a4e)
- 🛠 Fixes Using the Database, the
json
operation is not valid (swoft-cloud/swoft-component@9245698) - 🛠 Fixed limiter speed limiter Redis prefixed with unusable problem (swoft-cloud/swoft-ext@7b54d4c)
⚡️ Update :
- ⚡️ Update ws server You can disable the ws module by configuring
disabledModules
(swoft-cloud/swoft-component@fa31111)
Extra :
- ➕ Add a case show on the official website, welcome to submit the case to the official case warehouse swoft-cloud/swoft-case
- ⚡️ Changes to the document on GitHub will be automatically updated to the official website document, no need to manually refresh
🆕 New:
- 🖨 Process Management (swoft-cloud/swoft-component@c61b8f7)
- Custom User Process (swoft-cloud/swoft-component@c328d54)
- 🖨 Process pool (swoft-cloud/swoft-component@d2e6290)
- TCP server is now available (swoft-cloud/swoft-component@e804f2c)