Skip to content

Releases: swooletw/laravel-swoole

v2.6.0

13 Jan 12:21
b40fbb8
Compare
Choose a tag to compare

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

04 Sep 14:30
cbb9914
Compare
Choose a tag to compare
  • 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

12 Jun 17:47
7e1a9cb
Compare
Choose a tag to compare

Hotfix

  • Fix sandbox enable in v2.4.0

v2.4.0

12 Jun 16:38
51dea74
Compare
Choose a tag to compare

Changes

  • Add ext-swoole to require in composer.json
  • Bind instance before resetting laravel app in sandbox

Fixes

  • Fix middleware property name in websocket

v2.3.9

26 May 14:20
d0700ce
Compare
Choose a tag to compare

Added

  • Add isUserIdOnline and logout 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

13 May 14:51
1307c4e
Compare
Choose a tag to compare

Added

  • Apply sandbox to onMessage in websocket.
  • Add getUserId function in websocket.

v2.3.7

12 May 07:20
456c366
Compare
Choose a tag to compare

Added

  • Support SSL in Swoole server. #48
  • Add service providers config back.

Please republish your config files if you upgrade from an older release version.

v2.3.6

10 May 16:15
0a56086
Compare
Choose a tag to compare

Hotfix

  • Fix request in sandbox.

v2.3.5

10 May 15:49
b1d62be
Compare
Choose a tag to compare

Fix

  • Fix stream response. #41

Features

  • Replace route's container instance in sandbox.

Changes

  • Deprecate reset mode, all the requests now will run in a container sandbox.
  • Remove facades, providers configs.

Please republish your config files if you upgrade from an older version.

v2.3.4

07 May 15:02
2898ae9
Compare
Choose a tag to compare

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.