mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
5.7 KiB
5.7 KiB
v2.2.0 - TBD
Dependencies Upgrade
- Upgraded
friendsofphp/php-cs-fixer
to^3.0
; - Upgraded
psr/container
to^1.0|^2.0
; - Upgraded
egulias/email-validator
to^3.0
; - Upgraded
markrogoyski/math-php
to^2.0
;
Dependencies Changed
- #3577
domnikl/statsd
is abandoned and no longer maintained. The author suggests using theslickdeals/statsd
package instead.
Changed
- #3334 Changed the return value of
LengthAwarePaginator::toArray()
to be consistent with that ofPaginator::toArray()
. - #3550 Removed
broker
andbootstrap_server
fromkafka
, please usebrokers
andbootstrap_servers
instead. - #3580 Changed the default priority of aspect to 0.
- #3582 Changed the consumer tag of amqp to empty string.
- #3634 Use Fork Process strategy to replace BetterReflection strategy.
- #3676 Use
promphp/prometheus_client_php
instead ofendclothing/prometheus_client_php
. - #3694 Changed
Hyperf\CircuitBreaker\CircuitBreakerInterface
to support php8.- Changed
CircuitBreaker::inc*Counter()
toCircuitBreaker::incr*Counter()
. - Changed type hint for method
AbstractHandler::switch()
.
- Changed
- #3706 Changed the style of writing to
#[Middlewares(FooMiddleware::class)]
from@Middlewares({@Middleware(FooMiddleware::class)})
in PHP8. - #3715 Restructure nacos component, be sure to reread the documents.
- #3722 Removed config
config_apollo.php
, please useconfig_center.php
instead. - #3725 Removed config
config_etcd.php
, please useconfig_center.php
instead. - #3730 Removed config
brokers
andupdate_brokers
from kafka. - #3733 Removed config
zookeeper.php
, please useconfig_center.php
instead. - #3734 Splited
nacos
intoconfig-nacos
andservice-governance-nacos
. - #3734 Renamed
nacos-sdk
asnacos
. - #3737 Refactor config-center and config driver
- Added
AbstractDriver
and merge the duplicate code into the abstraction class - Added
PipeMessageInterface
to uniform the message struct of config fetcher process
- Added
Deprecated
- #3636
Hyperf\Utils\Resource
will be deprecated in v2.3, please useHyperf\Utils\ResourceGenerator
instead.
Added
- #3589 Added DAG component.
- #3606 Added RPN component.
- #3629 Added
Hyperf\Utils\Channel\ChannelManager
which used to manage channels. - #3631 Support multiplexing for AMQP component.
- #3635 Added
Hyperf\Utils\CodeGen\PhpParser
which used to generate AST for reflection. - #3648 Added
Hyperf\Utils\CodeGen\PhpDocReaderManager
to managePhpDocReader
. - #3679 Added Nacos SDK component.
- #3712 The input parameters of
InstanceProvider::update()
are modified to make it more friendly.
- #3712 The input parameters of
- #3698 Support PHP8 Attribute which can replace doctrine annotations.
- #3714 Added ide-helper component.
- #3722 Added config-center component.
- #3728 Added support for
secret
of Apollo.
Optimized
- #3670 Adapt database component to support php8.
- #3673 Adapt all components to support php8.
- #3730 Optimized code for kafka component.
- Support
timeout
forProducer
to avoid requests not responding. - Removed useless code with pool.
- Throw exceptions when connect kafka failed.
- Support