Browse Source

Added requirement for ICU Data

tags/3.0.0-alpha1
SilverFire - Dmitry Naumenko 9 years ago
parent
commit
9d79038485
  1. 1
      framework/CHANGELOG.md
  2. 5
      framework/UPGRADE.md
  3. 13
      framework/requirements/requirements.php

1
framework/CHANGELOG.md

@ -69,6 +69,7 @@ Yii Framework 2 Change Log
- Chg #9411: `DetailView` now automatically sets container tag ID in case it's not specified (samdark)
- Chg #9953: `TimestampBehavior::getValue()` changed to make value processing consistent with `AttributeBehavior::getValue()` (silverfire)
- New #10083: Added wrapper for PHP webserver (samdark)
- New: Added new requirement: ICU Data version >= 49.1 (SilverFire)
2.0.6 August 05, 2015

5
framework/UPGRADE.md

@ -17,6 +17,11 @@ php composer.phar global require "fxp/composer-asset-plugin:~1.1.0"
Upgrade from Yii 2.0.6
----------------------
* Added new requirement: ICU Data version >= 49.1. Please, ensure that your environment has ICU data installed and
up to date to prevent unexpected behavior or crashes.
> Tip: Use Yii2 Requirements checker for easy and fast check. Look for `requirements.php` in root of Basic and Advanced
templates (howto-comment is in head of the script).
* The signature of `yii\helpers\BaseInflector::transliterate()` was changed. The method is now public and has an
extra optional parameter `$transliterator`.
* In `yii\web\UrlRule` the `pattern` matching group names are being replaced with the placeholders on class

13
framework/requirements/requirements.php

@ -70,7 +70,18 @@ return array(
(for example, plural in
<a href=\"http://www.yiiframework.com/doc-2.0/yii-i18n-formatter.html#asRelativeTime%28%29-detail\">
Formatter::asRelativeTime()</a>) in the <code>yii\i18n\Formatter</code> class. Your current ICU version is ' .
INTL_ICU_VERSION . '.'
(defined('INTL_ICU_VERSION') ? INTL_ICU_VERSION : '(ICU is missing)') . '.'
),
array(
'name' => 'ICU Data version',
'mandatory' => false,
'condition' => defined('INTL_ICU_DATA_VERSION') && version_compare(INTL_ICU_DATA_VERSION, '49.1', '>='),
'by' => '<a href="http://www.php.net/manual/en/book.intl.php">Internationalization</a> support',
'memo' => 'ICU Data 49.1 or higher is required when you want to use <code>#</code> placeholder in plural rules
(for example, plural in
<a href=\"http://www.yiiframework.com/doc-2.0/yii-i18n-formatter.html#asRelativeTime%28%29-detail\">
Formatter::asRelativeTime()</a>) in the <code>yii\i18n\Formatter</code> class. Your current ICU Data version is ' .
(defined('INTL_ICU_DATA_VERSION') ? INTL_ICU_DATA_VERSION : '(ICU Data is missing)') . '.'
),
array(
'name' => 'Fileinfo extension',

Loading…
Cancel
Save