mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
3.1 KiB
3.1 KiB
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
- Upgrade
phpunit/phpunit
to^10.0
Swow Supported
Added
- Support v2 and v3 for socketio-server.
- Support Psr7Plus.
- Support pest.
- Added
hyperf/helper
component. - Added
hyperf/polyfill-coroutine
component. - #5815 Added alias as
mysql
forpdo
inhyperf/db
. - #5849 Support for insert update and select using enums.
- #5855 Added
hyperf/closure-command
component. - #5894 #5897 Added
model-factory
support forhyperf/testing
. - #5898 Added
toRawSql()
to Query Builders. - #5906 Added
getRawQueryLog()
to Database Connection. - #5915 Added
data_forget
helper. - #5914 Added
Str::isUrl()
and use it from the validator.
Optimized
- Move Prometheus driver dependency to suggest.
- #5586 Support grpc streaming for nacos naming service.
- #5866 Use
StrCache
instead ofStr
in special cases. - #5872 Avoid to execute the refresh callback more than once when calling
refresh()
multi times. - #5879 #5878 Improve
Command
. - #5901 Optimized code for identifer established by the rpc client that must contain a string,number or null if included.
- #5905 Forget with collections.
- #5917 Upgrade URL pattern for
Str::isUrl()
.
Removed
- Remove unused codes in
hyperf/utils
. - Remove redundant
setAccessible
methods. - Remove deprecated codes.
- #5813 Removed support for swoole 4.x
- #5859 Removed string cache from
Hyperf\Stringable\Str
Changed
- #5847 Changed the default redis key for metric.
Fixed
- #5771 Fixed bug that the return type of
Model::updateOrInsert
isn't boolean.