2023-06-06 09:52:53 +08:00
# v3.1.0 - TBD
## 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-07 17:00:55 +08:00
- [ ] Support v2 and v3 for socketio-server.
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-06-19 14:56:46 +08:00
- [#5855 ](https://github.com/hyperf/hyperf/pull/5855 ) Added `hyperf/closure-command` component.
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-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-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-06-07 17:00:55 +08:00
2023-06-18 20:57:40 +08:00
## Changed
- [#5847 ](https://github.com/hyperf/hyperf/pull/5847 ) Changed the default redis key for metric.
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.