2024-04-10 17:59:13 +08:00
# v3.1.18 - TBD
2024-04-11 10:19:55 +08:00
## Fixed
- [#6664 ](https://github.com/hyperf/hyperf/pull/6664 ) Fixed bug that `isset` cannot check `null` in `Hyperf\Collection\Collection` .
2024-04-10 17:59:13 +08:00
# v3.1.17 - 2024-04-10
2024-03-28 15:01:02 +08:00
2024-04-03 11:21:14 +08:00
## Added
- [#6652 ](https://github.com/hyperf/hyperf/pull/6652 ) Added Str trim methods.
2024-04-08 15:53:54 +08:00
- [#6658 ](https://github.com/hyperf/hyperf/pull/6658 ) HEAD requests, attempt fallback to GET in `MiddlewareManager`
2024-04-10 12:06:16 +08:00
- [#6665 ](https://github.com/hyperf/hyperf/pull/6665 ) Added logger for `Websocket` .
2024-04-03 11:21:14 +08:00
2024-04-09 10:11:46 +08:00
# Changed
- [#6661 ](https://github.com/hyperf/hyperf/pull/6661 ) Use `PHP_BINARY` instead of `php` as default php binary path for `hyperf/watcher` .
2024-04-02 10:40:09 +08:00
# v3.1.16 - 2024-04-02
2024-03-29 16:59:50 +08:00
2024-03-28 20:55:29 +08:00
## Added
- [#6632 ](https://github.com/hyperf/hyperf/pull/6632 ) Support to set headers for `websocket-client` .
2024-04-02 10:18:59 +08:00
- [#6648 ](https://github.com/hyperf/hyperf/pull/6648 ) Return result about websocket sender`push``disconnect`.
2024-03-28 20:55:29 +08:00
2024-03-29 11:42:53 +08:00
## Fixed
- [#6633 ](https://github.com/hyperf/hyperf/pull/6633 ) Fixed bug that crontab will be skipped sometimes.
2024-03-29 16:59:50 +08:00
- [#6635 ](https://github.com/hyperf/hyperf/pull/6635 ) Fixed AMQP `ConsumerMessage::getQueue` return type.
2024-03-29 11:42:53 +08:00
2024-03-31 19:35:28 +08:00
## Optimized
- [#6640 ](https://github.com/hyperf/hyperf/pull/6640 ) Support PHP8 Attribute for `hyperf/constants` .
2024-03-28 15:01:02 +08:00
# v3.1.15 - 2024-03-28
2024-03-21 22:26:15 +08:00
2024-03-22 14:01:08 +08:00
## Added
- [#6613 ](https://github.com/hyperf/hyperf/pull/6613 ) Added event of release connection for `hyperf/pool` .
2024-03-23 19:28:51 +08:00
## Optimized
- [#6616 ](https://github.com/hyperf/hyperf/pull/6616 ) [#6617 ](https://github.com/hyperf/hyperf/pull/6617 ) Format code by the latest `cs-fixer` .
2024-03-25 14:00:50 +08:00
## Deprecated
- [#6621 ](https://github.com/hyperf/hyperf/pull/6621 ) `WebSocketHandeShakeException` is deprecated, please use `WebSocketHandShakeException` instead.
2024-03-21 22:26:15 +08:00
# v3.1.14 - 2024-03-21
2024-03-14 18:23:13 +08:00
2024-03-21 22:11:05 +08:00
## Fixed
- [#6609 ](https://github.com/hyperf/hyperf/pull/6609 ) Fixed bug that the configurations will be cleared when the `scan` configuration does not exist.
2024-03-16 20:50:08 +08:00
## Added
- [#6594 ](https://github.com/hyperf/hyperf/pull/6594 ) Added `hyperf/carbon` component.
2024-03-15 17:31:48 +08:00
## Optimized
- [#6600 ](https://github.com/hyperf/hyperf/pull/6600 ) Optimized the worker process to no longer output warn information after exiting.
2024-03-20 15:25:20 +08:00
- [#6608 ](https://github.com/hyperf/hyperf/pull/6608 ) Optimized `CacheAheadAspect` which store cache in another coroutine instead of blocking current coroutine.
2024-03-15 17:31:48 +08:00
2024-03-14 18:23:13 +08:00
# v3.1.13 - 2024-03-14
2024-03-01 13:52:29 +08:00
2024-03-10 17:19:40 +08:00
## Added
- [#6576 ](https://github.com/hyperf/hyperf/pull/6576 ) Added `Hyperf\Stringable\Str::apa()` method.
2024-03-10 17:37:39 +08:00
- [#6577 ](https://github.com/hyperf/hyperf/pull/6577 ) Support setup command traits before running.
2024-03-13 16:47:07 +08:00
- [#6579 ](https://github.com/hyperf/hyperf/pull/6579 ) Added `now()` and `today()` helper functions.
2024-03-13 17:57:10 +08:00
- [#6590 ](https://github.com/hyperf/hyperf/pull/6590 ) Added `--graceful` to migrateCommand.
2024-03-10 17:19:40 +08:00
2024-03-14 10:26:59 +08:00
## Fixed
2024-03-14 18:15:40 +08:00
- [#6586 ](https://github.com/hyperf/hyperf/pull/6586 ) Fixed bug that the command description will cause parse error when contains `--` .
2024-03-14 10:26:59 +08:00
- [#6593 ](https://github.com/hyperf/hyperf/pull/6593 ) Fixed the error when register multi `AsCommand` .
2024-03-07 21:50:37 +08:00
# v3.1.12 - 2024-03-07
2024-03-04 13:47:35 +08:00
## Fixed
2024-03-07 21:43:39 +08:00
- [#6569 ](https://github.com/hyperf/hyperf/pull/6569 ) Fixed bug that reading messages failed when the channel have been removed from channel group.
2024-03-07 20:58:08 +08:00
- [#6561 ](https://github.com/hyperf/hyperf/pull/6561 ) Fixed bug that the relation comments cannot be created by `gen:model` .
2024-03-04 13:47:35 +08:00
- [#6566 ](https://github.com/hyperf/hyperf/pull/6566 ) Fixed bug that the numeric keys will be reset when using `$request->all()` .
2024-03-07 21:01:53 +08:00
- [#6567 ](https://github.com/hyperf/hyperf/pull/6567 ) Fixed bug that the `CrontabRegisterListener` don't check configuration `crontab.enable` .
2024-03-04 13:47:35 +08:00
2024-03-01 13:52:29 +08:00
# v3.1.11 - 2024-03-01
2024-02-23 11:07:51 +08:00
2024-02-26 21:46:06 +08:00
## Fixed
- [#6555 ](https://github.com/hyperf/hyperf/pull/6555 ) Fixed bug that `invalidOperator` cannot work well when using non-string operators.
2024-03-01 11:43:02 +08:00
- [#6563 ](https://github.com/hyperf/hyperf/pull/6563/files ) Fixed cron dispatcher sleep accurate.
2024-02-26 21:46:06 +08:00
2024-02-24 11:58:18 +08:00
## Added
- [#6550 ](https://github.com/hyperf/hyperf/pull/6550 ) Added default config of noop driver for `hyperf/opentracing` .
2024-03-01 13:52:29 +08:00
- [#6562 ](https://github.com/hyperf/hyperf/pull/6562 ) Added `SqliteDriver` for `hyperf/cache` .
2024-02-24 11:58:18 +08:00
2024-02-28 11:10:12 +08:00
## Optimized
- [#6556 ](https://github.com/hyperf/hyperf/pull/6556 ) You can set an expression to model parameters, but it is not standardized.
2024-02-23 11:07:51 +08:00
# v3.1.10 - 2024-02-23
2024-02-18 09:32:45 +08:00
2024-02-20 11:22:01 +08:00
## Added
- [#6542 ](https://github.com/hyperf/hyperf/pull/6542 ) Added `MemoryDriver` for `hyperf/cache` .
2024-02-20 12:05:45 +08:00
- [#6533 ](https://github.com/hyperf/hyperf/pull/6533 ) Added `database-sqlite` component.
2024-02-20 11:22:01 +08:00
2024-02-18 14:37:39 +08:00
## Optimized
- [#6539 ](https://github.com/hyperf/hyperf/pull/6539 ) Optimized `retry` helper function can accept array as first parameter.
2024-02-18 09:32:45 +08:00
# v3.1.9 - 2024-02-18
2024-02-01 10:18:57 +08:00
2024-02-08 23:33:32 +08:00
## Fixed
- [#6482 ](https://github.com/hyperf/hyperf/pull/6482 ) Fixed bug that the rule `decimal` cannot work well with `size` for `validation` .
2024-02-02 10:06:33 +08:00
## Added
- [#6518 ](https://github.com/hyperf/hyperf/pull/6518 ) Added amqpMessage property to events for amqp.
2024-02-18 09:21:05 +08:00
- [#6526 ](https://github.com/hyperf/hyperf/pull/6526 ) Added `Conditionable` trait to Crontab.
2024-02-02 10:06:33 +08:00
2024-02-01 14:16:45 +08:00
## Optimized
2024-02-18 09:20:19 +08:00
- [#6517 ](https://github.com/hyperf/hyperf/pull/6517 ) Fixed bug that the older versions of parsers cannot parse new messages for `async-queue` .
- [#6520 ](https://github.com/hyperf/hyperf/pull/6520 ) Refactor UdpSocketAspect to improve coroutine handling.
2024-02-01 14:16:45 +08:00
2024-02-01 10:18:57 +08:00
# v3.1.8 - 2024-02-01
2024-01-26 10:02:44 +08:00
2024-01-29 09:42:04 +08:00
## Fixed
2024-02-01 10:18:57 +08:00
- [#6509 ](https://github.com/hyperf/hyperf/pull/6509 ) Fixed bug that `Schedule::call()` cannot support `array` when using `crontab` .
2024-01-29 09:42:04 +08:00
2024-01-31 09:39:02 +08:00
## Optimized
2024-01-31 09:59:06 +08:00
- [#6511 ](https://github.com/hyperf/hyperf/pull/6511 ) Optimized the serialization of `Hyperf\AsyncQueue\JobMessage` .
2024-02-01 11:35:26 +08:00
- [#6516 ](https://github.com/hyperf/hyperf/pull/6516 ) Fixed bug that message will be lost when unpack failed.
2024-01-31 09:39:02 +08:00
2024-01-26 13:07:53 +08:00
## Added
- [#6504 ](https://github.com/hyperf/hyperf/pull/6504 ) Added `HostReaderInterface` for `rpc-multiplex` .
2024-01-26 10:02:44 +08:00
# v3.1.7 - 2024-01-26
2024-01-18 18:28:11 +08:00
2024-01-23 09:28:43 +08:00
## Fixed
- [#6491 ](https://github.com/hyperf/hyperf/pull/6491 ) Fixed bug that swagger validation collector cannot collect query parameters.
2024-01-25 15:23:31 +08:00
- [#6500 ](https://github.com/hyperf/hyperf/pull/6500 ) Fixed bug that inconsistent parsing response in Rpc-Multiplex client.
2024-01-23 09:28:43 +08:00
2024-01-22 10:37:52 +08:00
## Added
2024-01-22 14:46:37 +08:00
- [#6483 ](https://github.com/hyperf/hyperf/pull/6483 ) [#6487] (https://github.com/hyperf/hyperf/pull/6487) Added new ways to register crontab.
2024-01-22 15:40:06 +08:00
- [#6488 ](https://github.com/hyperf/hyperf/pull/6488 ) Added the default implement for `Psr\Log\LoggerInterface` .
2024-01-24 14:16:09 +08:00
- [#6495 ](https://github.com/hyperf/hyperf/pull/6495 ) Added cron support for closure-command.
2024-01-26 09:52:03 +08:00
- [#6501 ](https://github.com/hyperf/hyperf/pull/6501 ) Added `Collection::replace()` and `Collection::replaceRecursive()` .
2024-01-22 10:37:52 +08:00
2024-01-22 09:56:08 +08:00
## Optimized
- [#6480 ](https://github.com/hyperf/hyperf/pull/6480 ) Optimize log for crontab task skipped.
2024-01-22 16:45:43 +08:00
- [#6489 ](https://github.com/hyperf/hyperf/pull/6489 ) Removed the low version conditions of `php` and `swoole` .
2024-01-22 09:56:08 +08:00
2024-01-18 18:28:11 +08:00
# v3.1.6 - 2024-01-18
2024-01-04 21:54:55 +08:00
2024-01-08 21:45:10 +08:00
## Added
- [#6449 ](https://github.com/hyperf/hyperf/pull/6449 ) Added method `ReflectionManager::getAllClassesByFinder` .
2024-01-16 11:48:35 +08:00
- [#6468 ](https://github.com/hyperf/hyperf/pull/6468 ) Added support for Crontab specified operating environments.
2024-01-18 13:41:28 +08:00
- [#6471 ](https://github.com/hyperf/hyperf/pull/6471 ) Added method `Arr::remove` .
2024-01-18 11:48:01 +08:00
- [#6474 ](https://github.com/hyperf/hyperf/pull/6474 ) Added `Crontab::setOptions()` and `Crontab::getOptions()` .
2024-01-08 21:45:10 +08:00
2024-01-09 14:13:16 +08:00
## Optimized
- [#6440 ](https://github.com/hyperf/hyperf/pull/6440 ) Optimized code of `Hyperf\SocketIOServer\Parser\Decoder::decode()` .
2024-01-18 12:33:08 +08:00
- [#6472 ](https://github.com/hyperf/hyperf/pull/6472 ) Optimized code of `DispatcherFactory` which use `require` instead of `require_once` for loading `routes` .
2024-01-18 11:40:27 +08:00
- [#6473 ](https://github.com/hyperf/hyperf/pull/6473 ) Auto mkdir folder when using command `gen:swagger-schema` .
2024-01-18 18:28:11 +08:00
- [#6477 ](https://github.com/hyperf/hyperf/pull/6477 ) Optimized code about binding `serverMutex` and `taskMutex` for `Crontab` .
2024-01-19 09:51:43 +08:00
- [#6479 ](https://github.com/hyperf/hyperf/pull/6479 ) Updated the default mutex expiration time to 60 seconds.
2024-01-09 14:13:16 +08:00
2024-01-04 21:54:55 +08:00
# v3.1.5 - 2024-01-04
2023-12-29 09:30:38 +08:00
2024-01-01 20:01:33 +08:00
## Fixed
- [#6423 ](https://github.com/hyperf/hyperf/pull/6423 ) Fixed bug that the timezone of crontab task cannot work.
2024-01-04 21:25:56 +08:00
- [#6436 ](https://github.com/hyperf/hyperf/pull/6436 ) Fixed bug that the generator which be used to generate amqp consumer cannot work.
2024-01-01 20:01:33 +08:00
2024-01-04 10:42:11 +08:00
## Added
- [#6431 ](https://github.com/hyperf/hyperf/pull/6431 ) Added `UnsetContextInTaskWorkerListener` which can be used to unset connection context when using non-coroutine task worker.
2024-01-04 12:19:18 +08:00
## Optimized
2024-01-04 21:47:09 +08:00
- [#6435 ](https://github.com/hyperf/hyperf/pull/6435 ) [#6437 ](https://github.com/hyperf/hyperf/pull/6437 ) Optimized model generator which can generate property comments with `use` .
2024-01-04 12:19:18 +08:00
2023-12-29 09:30:38 +08:00
# v3.1.4 - 2023-12-29
2023-12-21 20:57:52 +08:00
2023-12-28 11:36:50 +08:00
## Fixed
- [#6419 ](https://github.com/hyperf/hyperf/pull/6419 ) Fixed bug that `prepareHandler` cannot work sometimes for `circuit-breaker` .
2023-12-28 16:46:40 +08:00
## Added
- [#6426 ](https://github.com/hyperf/hyperf/pull/6426 ) Added Annotation `RewriteReturnType` which used to rewrite the return type when generating models.
2023-12-25 14:07:48 +08:00
## Optimized
- [#6415 ](https://github.com/hyperf/hyperf/pull/6415 ) Throw `InvalidArgumentException` instead of `TypeError` for decoding an empty string when using `Base62::decode` .
2023-12-21 20:57:52 +08:00
# v3.1.3 - 2023-12-21
2023-12-15 09:36:36 +08:00
2023-12-15 14:55:23 +08:00
## Fixed
- [#6389 ](https://github.com/hyperf/hyperf/pull/6389 ) Fixed bug that es version cannot be found when the index is null.
2023-12-20 18:27:21 +08:00
- [#6406 ](https://github.com/hyperf/hyperf/pull/6406 ) Fixed bug that `Hyperf\Scout\Searchable` don't import namespace of function `config` .
2023-12-15 14:55:23 +08:00
2023-12-19 17:01:35 +08:00
## Added
- [#6398 ](https://github.com/hyperf/hyperf/pull/6398 ) Added `timezone` parameter to `hyperf/crontab` component.
2023-12-21 20:34:18 +08:00
- [#6402 ](https://github.com/hyperf/hyperf/pull/6402 ) Added `template_suffix` configuration to `twig` engine.
2023-12-19 17:01:35 +08:00
2023-12-15 09:36:36 +08:00
# v3.1.2 - 2023-12-15
2023-12-08 09:44:24 +08:00
2023-12-11 11:14:01 +08:00
## Fixed
- [#6372 ](https://github.com/hyperf/hyperf/pull/6372 ) Fixed bug that AOP not working when using variadic parameters.
2023-12-12 16:00:41 +08:00
- [#6374 ](https://github.com/hyperf/hyperf/pull/6374 ) Fixed bug that `RateLimitAnnotationAspect::getWeightingAnnotation()` cannot work when using config `rate_limit.storage` .
2023-12-14 17:32:53 +08:00
- [#6384 ](https://github.com/hyperf/hyperf/pull/6384 ) Fixed bug that `scout` cannot work when using elasticsearch(which version is less than 7) without index.
2023-12-11 11:14:01 +08:00
2023-12-08 11:15:29 +08:00
## Added
- [#6357 ](https://github.com/hyperf/hyperf/pull/6357 ) Support symfony 7.x for some components such as `command` `config` `devtool` `di` and `server` .
2023-12-12 15:37:26 +08:00
- [#6373 ](https://github.com/hyperf/hyperf/pull/6373 ) Support `ping` method for `grpc client` .
2023-12-12 17:40:33 +08:00
- [#6379 ](https://github.com/hyperf/hyperf/pull/6379 ) Support to read custom attribute for validation when using swagger.
2023-12-14 12:05:10 +08:00
- [#6380 ](https://github.com/hyperf/hyperf/pull/6380 ) Support collect swagger validation rules and attribute for mediaType request body.
2023-12-08 11:15:29 +08:00
2023-12-12 16:06:45 +08:00
## Optimized
- [#6376 ](https://github.com/hyperf/hyperf/pull/6376 ) Don't need to close swoole short name when don't use swoole or don't require `hyperf/polyfill-coroutine` component.
2023-12-08 09:44:24 +08:00
# v3.1.1 - 2023-12-08
2023-12-01 00:00:30 +08:00
2023-12-04 16:39:23 +08:00
## Fixed
- [#6347 ](https://github.com/hyperf/hyperf/pull/6347 ) Fixed bug that the view function may add redundant content-type to header.
2023-12-05 10:11:19 +08:00
- [#6352 ](https://github.com/hyperf/hyperf/pull/6352 ) Fixed bug that nacos config center cannot work when using grpc protocol.
2023-12-05 14:15:56 +08:00
- [#6350 ](https://github.com/hyperf/hyperf/pull/6350 ) Fixed bug that the recv channel cannot be found, because `GrpcClient::runReceiveCoroutine` will unset streamId before recv method.
2023-12-06 13:31:17 +08:00
- [#6361 ](https://github.com/hyperf/hyperf/pull/6361 ) Fixed bug that `Hyperf\SocketIOServer\Emitter\Future` cannot be resolved.
2023-12-11 09:53:47 +08:00
- [#6369 ](https://github.com/hyperf/hyperf/pull/6369 ) Fixed bug that the main process did not handle the abnormal exit of the fork process.
2023-12-04 16:39:23 +08:00
2023-12-01 14:59:45 +08:00
## Added
- [#6342 ](https://github.com/hyperf/hyperf/pull/6342 ) Added `Coroutine::fork()` method and `Coroutine::pid()` method.
2023-12-08 09:44:24 +08:00
- [#6360 ](https://github.com/hyperf/hyperf/pull/6360 ) Added response `content-type` header for swagger server.
2023-12-07 11:40:41 +08:00
- [#6363 ](https://github.com/hyperf/hyperf/pull/6363 ) Added callable type support to the fallback property of CircuitBreaker Attribute.
2023-12-01 14:59:45 +08:00
2023-12-01 00:00:30 +08:00
# v3.1.0 - 2023-12-01
2023-06-06 09:52:53 +08:00
## Dependencies Upgrade
- Upgrade the php version to `>=8.1`
- Upgrade the swoole version to `>=5.0`
- Upgrade `hyperf/engine` to `^2.0`
2023-06-07 10:16:25 +08:00
- Upgrade `phpunit/phpunit` to `^10.0`
2023-06-06 09:52:53 +08:00
## Swow Supported
2023-06-17 07:56:21 +08:00
- [#5843 ](https://github.com/hyperf/hyperf/pull/5843 ) Support `Swow` for `reactive-x` .
2023-06-17 21:12:15 +08:00
- [#5844 ](https://github.com/hyperf/hyperf/pull/5844 ) Support `Swow` for `socketio-server` .
2023-06-06 09:52:53 +08:00
## Added
2023-06-16 15:56:37 +08:00
- [x] Support [Psr7Plus ](https://github.com/swow/psr7-plus ).
2023-06-15 18:15:06 +08:00
- [#5828 ](https://github.com/hyperf/hyperf/pull/5828 ) Support swow psr7-plus interface for `http-message` .
2023-06-16 15:56:37 +08:00
- [#5839 ](https://github.com/hyperf/hyperf/pull/5839 ) Support swow psr7-plus interface for all components.
2023-06-07 17:00:55 +08:00
- [x] Support [pest ](https://github.com/pestphp/pest ).
- [x] Added `hyperf/helper` component.
2023-06-16 19:57:19 +08:00
- [x] Added `hyperf/polyfill-coroutine` component.
2023-06-08 17:56:39 +08:00
- [#5815 ](https://github.com/hyperf/hyperf/pull/5815 ) Added alias as `mysql` for `pdo` in `hyperf/db` .
2023-06-18 19:40:39 +08:00
- [#5849 ](https://github.com/hyperf/hyperf/pull/5849 ) Support for insert update and select using enums.
2023-07-03 12:40:26 +08:00
- [#5894 ](https://github.com/hyperf/hyperf/pull/5894 ) [#5897 ](https://github.com/hyperf/hyperf/pull/5897 ) Added `model-factory` support for `hyperf/testing` .
2023-07-03 18:27:25 +08:00
- [#5898 ](https://github.com/hyperf/hyperf/pull/5898 ) Added `toRawSql()` to Query Builders.
2023-07-05 09:55:50 +08:00
- [#5906 ](https://github.com/hyperf/hyperf/pull/5906 ) Added `getRawQueryLog()` to Database Connection.
2023-07-09 11:27:32 +08:00
- [#5915 ](https://github.com/hyperf/hyperf/pull/5915 ) Added `data_forget` helper.
2023-07-09 13:30:28 +08:00
- [#5914 ](https://github.com/hyperf/hyperf/pull/5914 ) Added `Str::isUrl()` and use it from the validator.
2023-07-10 09:56:25 +08:00
- [#5918 ](https://github.com/hyperf/hyperf/pull/5918 ) Added `Arr::isList()` method.
2023-07-11 11:26:40 +08:00
- [#5925 ](https://github.com/hyperf/hyperf/pull/5925 ) [#5926 ](https://github.com/hyperf/hyperf/pull/5926 ) Allow model attributes to be casted to/from an Enum.
2023-07-14 09:34:12 +08:00
- [#5930 ](https://github.com/hyperf/hyperf/pull/5930 ) [#5934 ](https://github.com/hyperf/hyperf/pull/5934 ) Added `AsCommand` annotation and `ClosureCommand` support.
2023-07-17 19:31:14 +08:00
- [#5950 ](https://github.com/hyperf/hyperf/pull/5950 ) Added `Job::setMaxAttempts` method and `dispatch` helper function for `hyperf/async-queue` .
2023-07-23 20:01:33 +08:00
- [#5967 ](https://github.com/hyperf/hyperf/pull/5967 ) Added component `hyperf/migration-generator` which used to generate migrations from databases.
2023-07-31 14:37:29 +08:00
- [#5983 ](https://github.com/hyperf/hyperf/pull/5983 ) [#5985 ](https://github.com/hyperf/hyperf/pull/5985 ) Added `skipCacheResults` to annotations of `hyperf/cache` .
2023-08-25 11:55:47 +08:00
- [#5994 ](https://github.com/hyperf/hyperf/pull/5994 ) Added `events` of `crontab` lifecycle.
2023-08-16 18:08:51 +08:00
- [#6039 ](https://github.com/hyperf/hyperf/pull/6039 ) Support semantic crontab rules.
2023-08-25 11:55:47 +08:00
- [#6082 ](https://github.com/hyperf/hyperf/pull/6082 ) Added `hyperf/stdlib` component.
2023-08-25 21:34:08 +08:00
- [#6085 ](https://github.com/hyperf/hyperf/pull/6085 ) Added an error count to the database connection to ensure that the connection can be reset when occur too many exceptions.
2023-08-31 19:56:59 +08:00
- [#6106 ](https://github.com/hyperf/hyperf/pull/6106 ) Support some validation rules.
2023-09-02 23:09:18 +08:00
- [#6124 ](https://github.com/hyperf/hyperf/pull/6124 ) Added `Hyperf\AsyncQueue\Job::fail()` .
2023-11-03 15:28:43 +08:00
- [#6259 ](https://github.com/hyperf/hyperf/pull/6259 ) Support to use model builder as the column in `Hyperf\Database\Query\Builder\addSelect` .
2023-11-23 20:55:38 +08:00
- [#6301 ](https://github.com/hyperf/hyperf/pull/6301 ) Improve storage switcher for rate-limit.
2023-11-30 17:23:17 +08:00
- [#6338 ](https://github.com/hyperf/hyperf/pull/6338 ) Added config `processors` for swagger.
2023-06-06 09:52:53 +08:00
## Optimized
- Move Prometheus driver dependency to suggest.
2023-06-24 14:49:49 +08:00
- [#5586 ](https://github.com/hyperf/hyperf/pull/5586 ) Support grpc streaming for nacos naming service.
2023-06-20 12:11:58 +08:00
- [#5866 ](https://github.com/hyperf/hyperf/pull/5866 ) Use `StrCache` instead of `Str` in special cases.
2023-06-24 09:47:30 +08:00
- [#5872 ](https://github.com/hyperf/hyperf/pull/5872 ) Avoid to execute the refresh callback more than once when calling `refresh()` multi times.
2023-06-26 17:11:21 +08:00
- [#5879 ](https://github.com/hyperf/hyperf/pull/5879 ) [#5878 ](https://github.com/hyperf/hyperf/pull/5878 ) Improve `Command` .
2023-07-04 09:56:13 +08:00
- [#5901 ](https://github.com/hyperf/hyperf/pull/5901 ) Optimized code for identifer established by the rpc client that must contain a string,number or null if included.
2023-07-05 09:54:22 +08:00
- [#5905 ](https://github.com/hyperf/hyperf/pull/5905 ) Forget with collections.
2023-07-09 19:52:01 +08:00
- [#5917 ](https://github.com/hyperf/hyperf/pull/5917 ) Upgrade URL pattern for `Str::isUrl()` .
2023-07-10 16:08:17 +08:00
- [#5920 ](https://github.com/hyperf/hyperf/pull/5920 ) add the `\Stringable` interface to classes that have `__toString()` method.
2023-07-14 18:43:45 +08:00
- [#5945 ](https://github.com/hyperf/hyperf/pull/5945 ) Don't sync config frequently when listen more than one namespace for apollo config center.
2023-07-15 09:09:38 +08:00
- [#5948 ](https://github.com/hyperf/hyperf/pull/5948 ) Optimized `Hyperf\Coroutine\Locker` .
2023-07-19 16:52:12 +08:00
- [#5960 ](https://github.com/hyperf/hyperf/pull/5960 ) Allowed set poolName in Annotation.
2023-07-26 09:25:51 +08:00
- [#5972 ](https://github.com/hyperf/hyperf/pull/5972 ) `Collection::except()` with null returns all.
2023-07-26 16:20:38 +08:00
- [#5973 ](https://github.com/hyperf/hyperf/pull/5973 ) Simplified the handlers definition of logger.
2023-08-09 12:19:05 +08:00
- [#6010 ](https://github.com/hyperf/hyperf/pull/6010 ) Throw exception when cast class is not existed.
2023-08-17 10:00:28 +08:00
- [#6030 ](https://github.com/hyperf/hyperf/pull/6030 ) Support buffer mechanism in standalone process of metric.
2023-09-05 10:52:48 +08:00
- [#6131 ](https://github.com/hyperf/hyperf/pull/6131 ) Throw invalid argument exception when the crontab task is `null` .
2023-09-22 16:30:01 +08:00
- [#6172 ](https://github.com/hyperf/hyperf/pull/6172 ) Optimized `ProcessManager` to make the `running` status more clear.
2023-09-30 23:16:50 +08:00
- [#6184 ](https://github.com/hyperf/hyperf/pull/6184 ) Set logger when using safe socket in coroutine style tcp server.
2023-11-01 11:22:10 +08:00
- [#6247 ](https://github.com/hyperf/hyperf/pull/6247 ) Optimized code that you can get request from `BadRequestHttpException` .
2023-06-06 09:52:53 +08:00
## Removed
2023-06-07 17:00:55 +08:00
- [x] Remove unused codes in `hyperf/utils` .
2023-06-07 20:55:22 +08:00
- [x] Remove redundant `setAccessible` methods.
2023-06-07 22:31:03 +08:00
- [x] Remove deprecated codes.
2023-06-08 16:48:41 +08:00
- [#5813 ](https://github.com/hyperf/hyperf/pull/5813 ) Removed support for swoole 4.x
2023-06-20 11:16:52 +08:00
- [#5859 ](https://github.com/hyperf/hyperf/pull/5859 ) Removed string cache from `Hyperf\Stringable\Str`
2023-08-16 20:45:43 +08:00
- [#6040 ](https://github.com/hyperf/hyperf/pull/6040 ) Removed some deprecated methods from `Hyperf\Di\Annotation\AbstractAnnotation` .
2023-08-17 14:22:08 +08:00
- [#6043 ](https://github.com/hyperf/hyperf/pull/6043 ) Removed deprecated `Hyperf\Coroutine\Traits\Container` .
2023-11-01 10:32:14 +08:00
- [#6244 ](https://github.com/hyperf/hyperf/pull/6244 ) Removed deprecated component `swoole-tracker` .
2023-06-07 17:00:55 +08:00
2023-06-18 20:57:40 +08:00
## Changed
2023-10-10 10:05:43 +08:00
- [x] Throw exceptions when the redis option key is invalid.
2023-06-18 20:57:40 +08:00
- [#5847 ](https://github.com/hyperf/hyperf/pull/5847 ) Changed the default redis key for metric.
2023-07-14 16:19:52 +08:00
- [#5943 ](https://github.com/hyperf/hyperf/pull/5943 ) Don't remove the node from load balancer of `json rpc http transporter` when the status code isn't 200.
2023-07-27 10:25:49 +08:00
- [#5961 ](https://github.com/hyperf/hyperf/pull/5961 ) Using `enum` instead of `class` for `Hyperf\Amqp\Result` and `Hyperf\Amqp\Message\Type` .
2023-08-15 16:48:23 +08:00
- [#6022 ](https://github.com/hyperf/hyperf/pull/6022 ) When using `Base62::decode` to decode the incorrect data, it should be thrown `InvalidArgumentException` instead of `TypeError` .
2023-09-04 21:23:06 +08:00
- [#6128 ](https://github.com/hyperf/hyperf/pull/6128 ) When using multi-level directories for `hyperf/config` , you can use `config('a.c')` to get the configurations from `autoload/a/c.php` .
2023-06-08 15:14:17 +08:00
## Fixed
- [#5771 ](https://github.com/hyperf/hyperf/pull/5771 ) Fixed bug that the return type of `Model::updateOrInsert` isn't boolean.
2023-08-16 13:50:12 +08:00
- [#6033 ](https://github.com/hyperf/hyperf/pull/6033 ) Fixed bug that `RequestContext` and `ResponseContext` cannot get instance from another coroutines.
2023-08-18 15:28:12 +08:00
- [#6056 ](https://github.com/hyperf/hyperf/pull/6056 ) Fixed bug that `Hyperf\HttpServer\Request::hasFile()` don't support `Swow` .
2023-11-03 16:32:47 +08:00
- [#6260 ](https://github.com/hyperf/hyperf/pull/6260 ) Fixed bug that logger cannot work in `LoadBalancerInterface::refresh()` .
2023-08-09 09:55:43 +08:00
## Deprecated
- `Hyperf\DB\PgSQL\PgSQLConnection::str_replace_once` will be deprecated, please use `Hyperf\DB\PgSQL\PgSQLConnection::strReplaceOnce` instead.
- `Hyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::str_replace_once` will be deprecated, please use `Hyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::strReplaceOnce` instead.