Browse Source

Updated changelog and readme [skip ci]

tags/3.0.0-alpha1
Alexander Makarov 7 years ago
parent
commit
51a5d78c95
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 4
      framework/CHANGELOG.md
  2. 8
      framework/UPGRADE.md

4
framework/CHANGELOG.md

@ -11,8 +11,8 @@ Yii Framework 2 Change Log
- Enh #13006: Added a `/` to the `yii\captcha\Captcha::$captchaAction` string to work correctly in a module also (boehsermoe)
- Removed methods marked as deprecated in 2.0.x (samdark)
- Chg #10771: Consistent behavior of `run()` method in all framework widgets. All return the result now for better extensibility (pkirill99, cebe)
- Chg #11397: Minimum required version of PHP is 5.5.0 now (samdark)
- Chg: Removed `yii\base\Object::class` in favor of native PHP syntax `::class`, which does not trigger autoloading (cebe)
- Chg #11397: Minimum required version of PHP is 7.1 now (samdark)
- Chg: Removed `yii\base\Object::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading (cebe)
- Chg #12074: Updated `yii\widgets\ActiveField::hint()` method signature to match `label()` (PowerGamer1, samdark)
- Chg #11560: Removed XCache and Zend data cache support as caching backends (samdark)
- Chg #7770: Updated the fallback date formats used when no `intl` extension is installed to match the defaults of the latest ICU version (cebe)

8
framework/UPGRADE.md

@ -53,12 +53,16 @@ for both A and B.
Upgrade from Yii 2.0.x
----------------------
* PHP requirements were raised to 7.1.
* PHP requirements were raised to 7.1. Make sure your code is updated accordingly.
* memcache PECL extension support was dropped. Use memcached PECL extesion instead.
* Following new methods have been added to `yii\i18n\MessageInterface` `addHeader()`, `setHeader()`, `getHeader()`, `setHeaders()`
providing ability to setup custom mail headers. Make sure your provide implementation for those methods, while
creating your own mailer solution.
* `::className()` method calls should be replaced with native `::class`.
* XCache and Zend data cache support was removed. Switch to another caching backends.
* Rename `InvalidParamException` usage to `InvalidArgumentException`.
* Moved masked input field widget was moved into separate extension https://github.com/yiisoft/yii2-maskedinput.
Include it in your composer.json if you use it.
Upgrade from Yii 2.0.11
-----------------------

Loading…
Cancel
Save