diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index c50d7497862..c35e1f77cfd 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -26,6 +26,7 @@ Yii Framework 2 Change Log - Chg #20464: Remove `PHP_VERSION_ID` checks from web `Response` class (terabytesoftw) - Enh #20511: Allow `jQuery` usage in `View` class while maintaining backward compatibility (terabytesoftw) - Bug #20518: `PHP` 8.4 fixes for implicit nullability deprecation (terabytesoftw) +- Enh #20537: Enhance `label()` method in `ActiveField` with `tag` option and fix `labelOptions` for `checkbox`/`radio` (terabytesoftw) - Bug #20547: `PHP` 8.4 fixes for implicit nullability deprecation (terabytesoftw) 2.0.54 under development diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index 6d63bd70af4..fb97683d97e 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -51,6 +51,24 @@ if you want to upgrade from version A to version C and there is version B between A and C, you need to follow the instructions for both A and B. +Upgrade from Yii 2.0.x +----------------------- + +* Raised minimum supported PHP version to `8.1`. +* All methods that were previously deprecated have been removed. If your application still uses any deprecated methods, + you must update your code before upgrading. +* Support for CUBRID database has been removed. +* `yii\widgets\ActiveField::label()` method now supports a `tag` option to control the wrapper element. This provides + flexibility for custom label rendering while maintaining full backward compatibility: + - `tag => 'label'` default generates standard `