CHANGELOG-2.2.md
Ctrl C.scan cacheable.Parallel.init more than once.toRPNExpression does not work in some cases.array:key1,key2 which make sure the array has no keys other than key1 and key2.close-pull-request.yml to close pr for read-only repositories.Producer::close.2.6.0 by configuring conflict with monolog>=2.6.0.hyperf/kafka.$weight cased by nacos driver.path_prefix for node when using rpc-client.Container::unbind() to unbind an arbitrary resolved entry.open state when using hyperf/retry.hyperf/session.auth for RedisSentinel.Hyperf\Memory\LockManager.database does not support bit.Hyperf\Utils\Coroutine\Concurrent::getChannel().Hyperf\ModelCache\Manager::formatModels().hyperf/load-balancer.content-type will be set more than once sometimes when using json-rpc.Hyperf\Database\Schema\Blueprint.hyperf/context from hyperf/utils.NacosDriver::isRegistered does not work when using nacos 2.0.4.Macroable for Hyperf\HttpServer\Request.grpc.enable_fork_support option and pcntl extension.Hyperf\Watcher\Driver\FindNewerDriver.Hyperf\Utils\Collection.gen:view-engine-cache which used to generate cache files in advance.Hyperf\Tracer\Aspect\ElasticserachAspect which used to record traces for elasticsearch.Hyperf\Di\ScanHandler\ProcScanHandler which used to run application when using swow and windows.Redis::scan does not work when using redis cluster.session.Hyperf\Tracer\Aspect\DbAspect to log db records when using hyperf/db.SSL for Hyperf\Amqp\IO\SwooleIO.PSR-0.Debug::getRefCount() which only support object.Hyperf\Crontab\Event\FailToExecute event which will be dispatched when executing crontab failed.swoole.use_shortname.Swoole\Coroutine\Client, but uses Swoole\Coroutine\Socket, which is more stable and has better performance in Hyperf\Amqp\IO\SwooleIO.3.1.1.hyperf/phar.Hyperf\Testing\Debug::getRefCount($object).collector-reload file not found when running server:watch with absolute path.Hyperf\Utils\Collection and Hyperf\Database\Model\Collection type definitions.Hyperf\Grpc\Parser::deserializeMessage() when $response->data is null.Hyperf\Utils\Network::ip().hyperf/http-message.$arguments for function value().server:watch.id() for Hyperf\Database\Schema\Blueprint::bigIncrements().$callables for parallel.getServiceName for rpc client.runtime/caches is not a directory.Macroable for Hyperf\Utils\Arr.1.x.Macroable::mixin to only add macros that do not exist yet.Str::stripTags() and Stringable::stripTags().--with-ide and scope methods.empty string into 0 accidentally.hyperf/metric.Command is incorrect when throwing an exception.sasl and ssl for kafka.tracer through config opentracing.enable.exception.sameSite=None when return response with cookies.Macroable into Hyperf\Utils\Collection.$attempts into $callback when using function retry().ConsumerDelayedMessageTrait::getDeadLetterExchange() which used to rewrite x-dead-letter-exchange by yourself.Macroable from Hyperf\Database\Model\Collection because it already exists in Hyperf\Utils\Collection.apollo does not support https.MethodDefinitionCollector::getOrParse() to avoid deprecated in PHP8.FormRequest::scene() which used to rewrite different rules according to different scenes.Hyperf\Utils\Str.Hyperf\Validation\Rules\Unique::__toString() in PHP8.SWOOLE_HOOK_NATIVE_CURL.command which used to define your own start command.date does not work as expected when the value isn't string.code-generator which used to regenerate classes with Attributes instead of Doctrine Annotations.@return for command gen:model.config_center.drivers.nacos.client does not work.NACK for AMQP consumer.rpc-multiplex.Str::mask which used to replace chars from a string by a given char.CoordinatorManager.watcher does not work caused by proxies replaced.lightBeatEnabled for Nacos heartbeat.socket-io.Hyperf\Redis\Redis in PHP8.0.watcher does not work for v2.2.nacos v2.1 does not work.JsonResource::wrap() and JsonResource::withoutWrapping().Hyperf\HttpServer\Contract\ResponseInterface::download() which allows utf-8 encoding, percentage encoded (url-encoded).friendsofphp/php-cs-fixer to ^3.0;psr/container to ^1.0|^2.0;egulias/email-validator to ^3.0;markrogoyski/math-php to ^2.0;league/flysystem to ^1.0|^2.0;domnikl/statsd is abandoned and no longer maintained. The author suggests using the slickdeals/statsd package instead.LengthAwarePaginator::toArray() to be consistent with that of Paginator::toArray().broker and bootstrap_server from kafka, please use brokers and bootstrap_servers instead.promphp/prometheus_client_php instead of endclothing/prometheus_client_php.Hyperf\CircuitBreaker\CircuitBreakerInterface to support php8.
CircuitBreaker::inc*Counter() to CircuitBreaker::incr*Counter().AbstractHandler::switch().#[Middlewares(FooMiddleware::class)] from @Middlewares({@Middleware(FooMiddleware::class)}) in PHP8.config_apollo.php, please use config_center.php instead.config_etcd.php, please use config_center.php instead.brokers and update_brokers from kafka.zookeeper.php, please use config_center.php instead.nacos into config-nacos and service-governance-nacos.
nacos-sdk as nacos.AbstractDriver and merge the duplicate code into the abstraction classPipeMessageInterface to uniform the message struct of config fetcher processservice-governance-consul from service-governance.config_center.php for config center component which using ETCD and Nacos.Hyperf\Utils\Resource will be deprecated in v2.3, please use Hyperf\Utils\ResourceGenerator instead.Hyperf\Utils\Channel\ChannelManager which used to manage channels.Hyperf\Utils\CodeGen\PhpParser which used to generate AST for reflection.Hyperf\Utils\CodeGen\PhpDocReaderManager to manage PhpDocReader.InstanceProvider::update() are modified to make it more friendly.secret of Apollo.rpc-multiplex component.AbstractMultipleAnnotation, such as @Middleware.timeout for Producer to avoid requests not responding.ReflectionParameter::getClass() will be deprecated in php8.config-center conflicts with metrics.Str::slug().BladeCompiler::getRawPlaceholder().retry_interval does not work for rpc-multiplex.libxml_disable_entity_loader() has been deprecated as of PHP 8.0.0.