diff --git a/CHANGELOG-2.0.md b/CHANGELOG-2.0.md index c403d0fd8..d7df82277 100644 --- a/CHANGELOG-2.0.md +++ b/CHANGELOG-2.0.md @@ -14,6 +14,7 @@ ## Changed - [#2918](https://github.com/hyperf/hyperf/pull/2918) Disable the `daemonize` when use watcher. +- [#2930](https://github.com/hyperf/hyperf/pull/2930) Upgrade the minimum version of `php-amqplib` to `v2.9.2`. # v2.0.21 - 2020-11-30 diff --git a/composer.json b/composer.json index f3e5c1d91..a554f1d0d 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "nikic/php-parser": "^4.1", "overtrue/flysystem-cos": "^2.0", "overtrue/flysystem-qiniu": "^1.0", - "php-amqplib/php-amqplib": "^2.7", + "php-amqplib/php-amqplib": "^2.9.2", "php-di/php-di": "^6.0", "phpstan/phpstan": "^0.12.52", "phpunit/phpunit": "^7.0.0", diff --git a/src/amqp/composer.json b/src/amqp/composer.json index 88fefeb4a..3cc4c743f 100644 --- a/src/amqp/composer.json +++ b/src/amqp/composer.json @@ -16,15 +16,15 @@ }, "require": { "php": ">=7.2", + "doctrine/instantiator": "^1.2.0", "hyperf/contract": "~2.0.0", - "hyperf/utils": "~2.0.0", - "hyperf/process": "~2.0.0", "hyperf/pool": "~2.0.0", + "hyperf/process": "~2.0.0", + "hyperf/utils": "~2.0.0", + "php-amqplib/php-amqplib": "^2.9.2", "psr/container": "^1.0", "psr/event-dispatcher": "^1.0", - "psr/log": "^1.0", - "php-amqplib/php-amqplib": "^2.7", - "doctrine/instantiator": "^1.2.0" + "psr/log": "^1.0" }, "require-dev": { "hyperf/di": "~2.0.0",