Yii 2.0.50
2024-05-30
512次浏览
我们非常高兴地宣布 Yii Framework 2.0.50 版本发布了。
Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.
This release raises PHP requirements to 7.3.
It has a number of bugfixes, two security fixes, some small enhancements and a new `CallbackDependency:
- Add new methods
BaseActiveRecord::loadRelations()
andBaseActiveRecord::loadRelationsFor()
to eager load related models for existing primary model instances. - Improve performance of handling
ErrorHandler::$memoryReserveSize
. - Add
yii\helpers\BaseStringHelper::mask()
method for string masking with multibyte support. - Add
yii\helpers\BaseStringHelper::findBetween()
to retrieve a substring that lies between two strings. - Add empty array check to
ActiveQueryTrait::findWith()
. - Add custom attributes support to script tags.
- Add JSON columns support for MariaDB 10.4 or higher.
- Add
yii\caching\CallbackDependency
to allow using a callback to determine if a cache dependency is still valid.
Thanks to all Yii community members who contribute to the framework, translators who keep documentation translations up to date and community members who answer questions at forums.
There are many active Yii communities so if you need help or want to share your experience, feel free to join them.
更新的完整列表可以在变更日志中找到。
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- view
- bootstrap
- release
- Yii 2.0
- mongodb
- apidoc
- redis
- Yii 1.1
- gii
- runner
- console
- twig
- queue
- http 客户端
- extensions
- mailer
- html
- translator
- sphinx
- cache
- error handler
- log
- http
- db
- validation
- config
- widget
- 图书
- swiftmailer
- imagine
- symfonymailer
- hydrator
- IDE
- i18n
- assets
- elasticsearch
- router
- logging
- user
- smarty
- swagger
- definitions
- fastroute
- csrf