hyperf/CHANGELOG-3.0.md
李铭昕 501de0c9c2
Update mix/redis-subscribe to mix/redis-subscriber. (#4232)
* update mix/redis-subscribe to mix/redis-subscriber

* Upgrade the minimum php version to 8.0 for socketio-server.

Co-authored-by: XuTongle <xutongle@msn.com>
2021-11-08 15:49:45 +08:00

1.4 KiB

v3.0.0 - TBD

  • Upgraded the minimum php version to ^8.0;

BC breaks

  • 框架移除了 @Annotation 的支持,全部使用 PHP8 原生注解 Attribute,更新前务必检查项目中,是否已经全部替换为 Attribute

TODO: 提供检测注解的脚本

  • 框架为类库增加了更多的类型限制,所以从 2.2 更新到 3.0 版本时,需要跑一遍静态检测。
composer analyse

Dependencies Upgrade

  • Upgraded php-amqplib/php-amqplib to ^3.1;
  • Upgraded phpstan/phpstan to ^1.0;
  • Upgraded mix/redis-subscribe to mix/redis-subscriber:^3.0

Added

  • #4196 Added Hyperf\Amqp\IO\IOFactory which used to create amqp io by yourself.

Optimized

  • #4147 Optimized code for nacos which you can use http://xxx.com/yyy/ instead of http://xxx.com:8848/ to connect nacos.

Changed

  • #4199 Changed the public property $message to protected for Hyperf\AsyncQueue\Event\Event.
  • #4214 Renamed $circularDependences to $checkCircularDependencies for Dag.
  • #4225 Split hyperf/coordinator from hyperf/utils.

Removed

  • #4199 Removed deprecated handler Hyperf\AsyncQueue\Signal\DriverStopHandler.