Create CHANGELOG-2.1.md (#2629)

* Create CHANGELOG-2.1.md

* Update CHANGELOG-2.1.md

* Create del-useless-remotes.sh
This commit is contained in:
李铭昕 2020-10-13 12:47:58 +08:00 committed by GitHub
parent 605260385e
commit 58a21e941d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

23
CHANGELOG-2.1.md Normal file
View File

@ -0,0 +1,23 @@
# v2.0.0 - 2020-06-22
## Dependencies Upgrade
- Upgraded `phpunit/phpunit` to `^9.0`;
- Upgraded `guzzlehttp/guzzle` to `^6.0|^7.0`;
- Upgraded `vlucas/phpdotenv` to `^5.0`;
- Upgraded `endclothing/prometheus_client_php` to `^1.0`;
- Upgraded `twig/twig` to `^3.0`;
## Removed
- Removed deprecated property `$name` from `Hyperf\Amqp\Builder`.
- Removed deprecated method `consume` from `Hyperf\Amqp\Message\ConsumerMessageInterface`.
- Removed deprecated property `$running` from `Hyperf\AsyncQueue\Driver\Driver`.
- Removed deprecated method `parseParameters` from `Hyperf\HttpServer\CoreMiddleware`.
- Removed deprecated const `ON_WORKER_START` and `ON_WORKER_EXIT` from `Hyperf\Utils\Coordinator\Constants`.
- Removed deprecated method `get` from `Hyperf\Utils\Coordinator`.
## Deprecated
- `Hyperf\AsyncQueue\Signal\DriverStopHandler` will be deprecated in v2.2, please use `Hyperf\Process\Handler\ProcessStopHandler` instead.

8
bin/del-useless-remotes.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
REPOS=$(git remote)
for REPO in $REPOS ; do
if [ $REPO != 'upstream' ] && [ $REPO != 'origin' ]; then
git remote remove $REPO
echo "delete remote $REPO success."
fi
done