This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
Releases: swooletw/laravel-swoole
Releases · swooletw/laravel-swoole
v2.6.0
Changes
- Add chunk support to response for better performance.
- Some code refactors, thanks to @fractalzombie.
- Added hot reload feature with
fswatch
. - Add support for Laravel 5.6 and 5.7.
- Abandon support for Laravel/Lumen 5.1 and 5.2.
Fixes
- Fix exception report for throwable error.
v2.5.0
- Make sandbox compatible with coroutine environment.
- Require Swoole 4.0 to use coroutine feature. (Swoole 4.1 will be required in the future release.)
- Implement context manager for coroutine feature.
- Add tests and refactor the whole project.
- Support Swoole async task as queue driver.
- Allow customized resetters for initiating sandbox.
- Allow modifying pre-resolved instances in config.
v2.4.1
v2.4.0
v2.3.9
Added
- Add
isUserIdOnline
andlogout
APIs for websocket - Add a mock
swoole_cpu_num
function for config
Changes
- Only enable task worker in websocket mode
- Require
socket.io
routes only when websocket is enabled - Leave room after calling disconnect callback in websocket
v2.3.8
v2.3.7
v2.3.6
v2.3.5
v2.3.4
Fix
- Avoid sending empty file which will cause Swoole response exception.
- Fix reset config in sandbox for Lumen.
Features
- Add handle_static_files config to enable/disable processing static files.
- Clean resolved controller in sandbox.
Changes
- Enable coroutine send by default.