hyperf/CHANGELOG.md
2019-07-09 18:02:51 +08:00

3.7 KiB

v1.0.5 - TBD

Fixed

  • #176 Fixed TypeError: Return value of LengthAwarePaginator::nextPageUrl() must be of the type string or null, none returned.

v1.0.4 - 2019-07-08

Added

  • #140 Support Swoole v4.4.0.
  • #163 Added custom arguments support to AbstractConstants::__callStatic in hyperf/constants.

Changed

  • #124 Added $delay parameter for DriverInterface::push, and marked DriverInterface::delay method to deprecated.
  • #125 Changed the default value of parameter $default of config() function to null.

Fixed

  • #110 #111 Fixed Redis::select is not work expected.
  • #131 Fixed property middlewares not work in Router::addGroup.
  • #132 Fixed request->hasFile does not work expected.
  • #135 Fixed response->redirect does not work expected.
  • #139 Fixed the BaseUri of ConsulAgent will be replaced by default BaseUri.
  • #148 Fixed cannot generate the migration when migrates directory does not exist.
  • #152 Fixed db connection will not be closed when a low use frequency.
  • #169 Fixed array parse failed when handle http request.
  • #170 Fixed websocket server interrupt when request a not exist route.

Removed

  • #131 Removed server property from Router options.

v1.0.3 - 2019-07-02

Added

  • #48 Added WebSocket Client.
  • #51 Added property enableCache to DefinitionSource to enable annotation cache.
  • #61 Added property type of Model created by command db:model.
  • #65 Added JSON support for model-cache.
  • Added WebSocket Server.

Changed

  • #46 Removed hyperf/framework requirement of hyperf/di, hyperf/command and hyperf/dispatcher.

Fixed

  • #45 Fixed http server start failed, when the skeleton included hyperf/websocket-server.
  • #55 Fixed the method level middleware annotation.
  • #73 Fixed short name is not work for db:model.
  • #88 Fixed prefix is not right in deep directory.
  • #101 Fixed constants resolution failed when no message annotation exists.

v1.0.2 - 2019-06-25

Added

  • #25 Added Travis CI.
  • #29 Added some paramater of Redis::connect.

Fixed

  • Fixed http server will be affected of websocket server.
  • Fixed proxy class
  • Fixed database pool will be fulled in testing.
  • Fixed co-phpunit work not expected.
  • Fixed model event creating, updating ... not work expected.
  • Fixed flushContext not work expected for testing.