swoole-bundle

Symfony Swoole Bundle

MIT License

Downloads
8.4K
Stars
32
Committers
20

Bot releases are visible (Hide)

swoole-bundle - v0.22.1

Published by symfony-swoole-bot about 1 month ago

Changelog

Full changelog

Performance Improvements

  • access-log: initialize IntlDateFormatter once based on icu format instead of slow static StrftimeToICUFormatMap::mapStrftimeToICU() (466146d)

Installation

composer require symfony-swoole/swoole-bundle ^0.22.1
swoole-bundle - v0.22.0 Latest Release

Published by symfony-swoole-bot about 2 months ago

Changelog

Full changelog

Features

  • settings: allow set user and group for worker and task worker child processes (210c143)

Installation

composer require symfony-swoole/swoole-bundle ^0.22.0
swoole-bundle - v0.21.2

Published by symfony-swoole-bot 6 months ago

Changelog

Full changelog

Bug Fixes

  • access-log: fixed log format %D, the time taken to serve the request, in microseconds (94d9314)
  • access-log: set default timezone from php since $timezone parameter and the current timezone are ignored when the $datetime parameter is a UNIX timestamp (starts with @) (8a21b1d)

Installation

composer require symfony-swoole/swoole-bundle ^0.21.2
swoole-bundle - v0.21.1

Published by symfony-swoole-bot 6 months ago

Changelog

Full changelog

Bug Fixes

  • command: close console output after server start to prevent bad file descriptor in docker (9197522)
  • phpstan: suppress phpstan for output verbosity because OutputInterface constants don't work properly (7c01db5)

Installation

composer require symfony-swoole/swoole-bundle ^0.21.1
swoole-bundle - v0.21.0

Published by symfony-swoole-bot 8 months ago

Changelog

Full changelog

Features

  • codestyle: added phpcs to php tooling, added and applied new PER coding style, tweaked php-cs-fixer configuration accordingly (647f7f5)
  • symfony: added support for Symfony 7.0 (c0ea0d4)

Installation

composer require symfony-swoole/swoole-bundle ^0.21.0
swoole-bundle - v0.20.0

Published by symfony-swoole-bot 10 months ago

Changelog

Full changelog

Bug Fixes

  • signals: disabled symfony signals handling to be able to terminate the server with simple ctrl+c (88b8cba)

Features

  • symfony: added support for Symfony 6.4, dropped support for Symfony 6.3 (327f06c)

Installation

composer require symfony-swoole/swoole-bundle ^0.20.0
swoole-bundle - v0.19.0

Published by symfony-swoole-bot 10 months ago

Changelog

Full changelog

Features

  • php: added support for PHP 8.3, removed support for PHP 8.0 (3be4865)

Installation

composer require symfony-swoole/swoole-bundle ^0.19.0
swoole-bundle - v0.18.0

Published by symfony-swoole-bot 10 months ago

Changelog

Full changelog

Features

  • openswoole: added support for openswoole 22.0.0, dropped support for openswoole 4 (cbe8dd0)

Installation

composer require symfony-swoole/swoole-bundle ^0.18.0
swoole-bundle - v0.17.0

Published by symfony-swoole-bot 11 months ago

Changelog

Full changelog

Features

  • organisation: renamed Github organisation to symfony-swoole, Packagist organisation to swoole-bundle, Docker Hub organisation to wymfonywithswoole (12a965f)
  • swoole-ext: support for Swoole 5.1.1 (a49dd69)
  • swoole: added support for swoole 5.1 (d82b686)

Installation

composer require symfony-swoole/swoole-bundle ^0.17.0
swoole-bundle - v0.16.0

Published by openswoole-bundle-bot 11 months ago

Changelog

Full changelog

Bug Fixes

  • circleci: fixed release workflow, removed docker bake approval (f1086f4)

Features

  • swoole: added swoole support for swoole 4.8.13 (e827e99)

Installation

composer require openswoole-bundle/openswoole-bundle ^0.16.0
swoole-bundle - v0.15.0

Published by openswoole-bundle-bot 11 months ago

Changelog

Full changelog

Bug Fixes

  • coding-standards: changes according to update of php-cs-fixer to 3.35.1 (3dd9143)

Features

  • ci: added matrix to php builds, to simplify upgrades and extension of jobs, PHP support lock to 8.0-8.2, Symfony support lock to 5.4.22+ and 6.3 (cc0f4b6)

Installation

composer require openswoole-bundle/openswoole-bundle ^0.15.0
swoole-bundle - v0.14.0

Published by openswoole-bundle-bot about 1 year ago

Changelog

Full changelog

Bug Fixes

  • blackfire: removed blackfire mock because it did not work with z-engine hacks on every PHP version (9a8044f)
  • build: added forgotten dockerhub context to trusted swoole-bundle-80-code-coverage job run (45fc9ce)
  • ci: do not support openswoole 22 yet (8cf9cd6)
  • ci: fixed memory limit overflow in merge-code-coverage (0ccbb71)
  • coroutine-tests: fixed coroutine tests that behave differently with code coverage enabled (dcd5515)
  • coroutines: added custom proxy type instead of lazy loading value holder to get rid of shared lazy tmp object access (df3da24)
  • coroutines: added entity manager resetter, which is decoupled from the stability checker, so it can be overridden easily (e8f5c7b)
  • coroutines: added failsafe for accidental container overrides while running tests (62afa05)
  • coroutines: added global exclusive single coroutine access to each container operation, so no deadlocks occurence is possible (6d0611b)
  • coroutines: container modifier load method override fix for generated production service container (522e5ba)
  • coroutines: coroutine proxifier correctly assigns resetter from stateful service tag (80d2c60)
  • coroutines: disabled proxification and resetting of doctrine registry, because of changed resetting mechanism (84c0a0e)
  • coroutines: enforcing resettable services reset on each request, even before their instantiation is really needed (a42558b)
  • coroutines: fix for proxy file locator, which needs an existing directory path as input (e59fe88)
  • coroutines: fixed advanced service instantiation in container while using coroutines (blocking needs to be applied to be sure that no problems arise) (ba18802)
  • coroutines: got rid of method overriding using z-engine (79a5a0a)
  • coroutines: if a stateful service is not shared, its service pool has to be added to the service pool container on instantiation, so the instances can be released on request end (993eaf8)
  • coroutines: implemented container inlien factory methods overrides (using z-engine), which activates blocking while creating services (dfe0120)
  • coroutines: one time initialised lazy proxies will be always returned on context switch, even when the initialisation did not finish (2a30be7)
  • coroutines: prod container generation imlemented using generated container class instead of z-engine because of segmentation faults (ff20a76)
  • coroutines: proxified service definition needs to be modified after proxy definition creation, so only original values can be applied to proxy (1079f30)
  • coroutines: service resetter reevaluation needs to run after RemoveUnusedDefinitionsPass so the resetter can get only existing services and instantiate them on first usage (4972ff3)
  • dependabot: allow only one open pull request, so workflows do not have to be rebased after dependabot PRs (47d6dc4)
  • Get rid of deprecation notice for StreamedResponseListener (973fcfb)
  • performance: wrapped entity managers are eager by default, the service pool proxy is the lazy layer (7ccbebe)
  • php-cs-fixer: returned back the blank_line_between_import_groups rule (b2c6480)
  • phpcsfixer: disabled the blank_line_between_import_groups rule (9b4385f)
  • phpstan: removed phpstan ignore annotation in CallableBootManagerFactory because of phpstan update (db4b619)
  • proxies: removed SF proxy factory because it is deleted in SF 6.2 (22e2e9c)
  • proxifier: coroutine proxifier - proxified services' service pools are shared or non-shared based on the proxified service shared flag, together with the service proxy (c4c6006)
  • releaser: added gpg folder mount to the releaser script v0.4.0 (0228fd3)
  • sf63: added override for monolog StreamHandler + fixed sf 6.3 error handling (cf35c83)
  • shutdown: default SF signal handlers were overriden so no exit is called on app shutdown (30a71f8)
  • styles: code styles fix by phpcsfixer (7dfc682)
  • swhutdown: last shutdown fix should only work on pcntl enabled setups (9cd2417)
  • tests: fix for coverage tests - higher waiting values needed in some specific cases (b10bd60)
  • tests: fix for coverage tests - higher waiting values needed in some specific cases for coroutines tests (066d5aa)
  • tests: fixed coroutine feature tests with doctrine (37f7417)
  • tests: fixed coroutine test with workers and sleep commands (3d22d08)
  • tests: fox for exception handler tests + disabled container bodifications for non-coroutine workloads (050c630)
  • tests: HMR reload test fix after it was broken 2 commits before this one (9fd6e8c)
  • tests: possible fix for coroutine tests with PCOV code coverage (02376bc)
  • tests: possible fix for coverage enabled tests (worked on CI directly) (da9faad)
  • tests: server tests need to clean up var folder on start and need to stop with same env variables (46e2ae7)
  • tideways: added Profiler::markAsWebTransaction() to the beginning of request profiling (7d480f6)

Features

  • access-log: added kernel event to write access logs to monolog handler, custom log format can be set (b2d8b44)
  • blackfire: added support for blackfire monitoring (896a890)
  • command: server shutdown, ignore graceful timeout (299e444)
  • console: added task worker count to the console table on server start (c7b31ed)
  • coroutine-limits: unmanaged factory new instance limits are configurable per factory method now (af50185)
  • coroutines: ability to use coroutines in Symofny (19eb714)
  • coroutines: added assign limit for proxified services using locking in proxies (168e1f8)
  • coroutines: added configurable doctrine connections limit per swoole process (d5365d3)
  • coroutines: added configurable instance limits to stateful services and unmanaged factories using container tags (ab4ff3b)
  • coroutines: added support for coroutines into taks workers, configuration reordering and refactoring (b5c4a09)
  • coroutines: added symfony cache adapter children class services proxification because SF cache AbstractAdapter is stateful (b52b241)
  • coroutines: changed SF resetting mechanism so only needed services get reset in first usage (7a568c7)
  • coroutines: implemented max concurrency and max proxified instances limit (8779aa3)
  • coroutines: safe stateful services need to be reset with the original sf resetter mechanism (c7dab53)
  • events: added swoole server events propagation for serverStart and workerStart (a0b133f)
  • hmr: dump non-reloadable files included before server start - for local development (docker entrypoint) (97bf19d)
  • opcache: added generation of opcache.blacklist_file when using coroutines, because of segfaults when using swoole with opcache (0cade70)
  • organisation: pixelfederation organisation changed to openswoole-bundle (for packagist) and openswoolebundle (for docker hub) (b568ac0)
  • profiling: added support for blackfire to collect performance profiles from multiple requests combined into one profile (even with coroutines enabled) (52f9133)
  • service-reset: add possibility to mark some services to be reset on each request (3661ff1)
  • symfony: added support for Symfony 6.3 (38b09da)
  • testing: tests are able to run also in prod env with container infline factories enabled, coroutines tests were changed accordingly (cf8b635)
  • worker: added WorkerStop, WorkerError WorkerExit handlers (6a1475b)

Installation

composer require openswoole-bundle/openswoole-bundle ^0.14.0