Skip to content

Yii2-Swoole v0.2

Latest

Choose a tag to compare

@dacheng-gao dacheng-gao released this 26 Nov 05:34

v0.2

  • Coroutine HTTP client added (Swoole-powered, parallel batchSend, falls back outside coroutines); docs and API example included.
  • Coroutine Redis cache backend with pooling and replica support; cache demos/benchmarks added to examples.
  • Connection pools now register shutdown handlers to clean DB/Redis pools and locks on fatal/abnormal exit.
  • Static file server hardened (path normalization, traversal/null-byte rejection, nosniff header, safer docroot check) and stops manually setting Content-Length to avoid compression warnings.
  • Response format resets to the configured default between requests; logging routed through Yii for consistency.
  • Docs/examples refreshed and yiisoft/yii2-httpclient added for the new HTTP client.