Changelog for intl |
Release |
What has changed? |
3.0.0 |
- Fixed build on PHP 5.5+.
- Bring error reporting in converter more in line with the rest.
- Fix parameter parsing in Uconverter::convert() for PHP 5.5.
- Fix intlcal_get_time_zone() not setting local error.
- Fix arginfo for BreakIterator::getLocale().
- Fixed compiler warnings. |
3.0.0b1 |
- Add UConverter class (ICU's UConverter API).
See RFC at http://wiki.php.net/rfc/uconverter
- Fixed defective cloning of subclassed intl classes. See also bug #62915.
- Allow Spoofchecker to be registered on ICU versions with .1 minor numbers like
ICU 49.1.
- Fix SPOOFCHECKER_METHOD_FETCH_OBJECT definition.
- Fix handling of several uinitialized intl objects.
- Added the intl tests extracted from Symfony.
- Fixed several tests. |
3.0.0a2 |
- Added IntlBreakIterator, IntlRuleBasedBreakiterator and
IntlCodePointBreakIterator.
- Added IntlDateFormatter::formatObject().
- Implememented FR #61871: named Argument support for MessageFormatter.
- Accepted numeric strings for dates (when a timestamp is expected).
- Better error messages in MessageFormatter::format().
- Number of arguments in MessageFormatter::format() is not checked anymore.
- Kept subsecond date precision in MessageFormatter.
- Changed ResourceBundle constructor behavior: null is now accepted for two
first (mandatory arguments).
- Accept DateTimeZone where time zones are expected.
- Added IntlCalendar::fromDateTime().
- Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone.
- MessageFormatter accepts IntlCalendar arguments.
- Added IntlCalendar::toDateTime().
- Made IntlDateFormatter constructor accept NULL, IntlTimeZone and DateTimeZone
objects in the timezone argument.
- When NULL is passed to IntlDateFormatter, the time zone specified in
date.timezone is used instead of the ICU default, except if an IntlCalendar is
also passed, in which its time zone is used instead.
- The IntlDateFormatter constructor now accepts for the $calendar argument also
an IntlCalendar. In this case, IntlDateFormatter::getCalendar() will return
false.
- Added IntlDateFormatter::getCalendarObject(), which always returns the
IntlCalendar object that backs the DateFormat, even if a constant was passed
to the constructor, i.e., if an IntlCalendar was not passed to the
constructor.
- Added IntlDateFormatter::setTimeZone() and IntlDateFormatter::getTimeZone().
- Do not fetch default locale on minit or rinit
- Deprecated IntlDateFormatter::setTimeZoneId() and made it an alias for
IntlDateFormatter::setTimeZone(), as the new ::setTimeZone() also accepts
plain identifiers, besides other types.
- Fixed bug #55610: ResourceBundle not marked Traversable.
- Fixed bug #58756: IntlDateFormatter and MessageFormatter do not respect
date.timezone INI setting w.r.t MessageFormatter (partial fix)
- Fixed bug #59597: NumberFormatter::parse() with ENGINE_INT64 results in a 32 bit
integer.
- Fixed bug #60785: memory leak in IntlDateFormatter constructor.
- Fixed bug #61829: memory leak when calling MessageFormatter's constructor
twice.
- Fixed bug #62017: datefmt_create with incorrectly encoded timezone leaks
pattern.
- Fixed bug #62070: Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
- Fixed bug #62081: constructor of IntlDateFormatter would leak if called twice.
- Fixed bug #62082: buffer overflow in internal function
get_icu_disp_value_src_php().
- Fixed bug #62083: memory leak in grapheme_extract().
- Fixed bug #62564/#62565: call to object_properties_init() missing.
- Fixed problem in IntlCalendar debug handler.
- Fixed write in constant memory.
- Added private constructor to IntlTimeZone.
- Fixed IntlDateFormatter::setCalendar() with a constant passed. |
2.0.1 |
- Changed ResourceBundle constructor behavior: null is now accepted for two
first (mandatory arguments).
- Optimization in ext/intl/msgformat: don't transform the string to make it
apostrophe friendly in ICU 4.8+.
- Fixed bug #55610: ResourceBundle not marked Traversable.
- Fixed bug #59597: NumberFormatter::parse() with ENGINE_INT64 results in a 32 bit
integer.
- Fixed bug #60785: memory leak in IntlDateFormatter constructor.
- Fixed bug #61829: memory leak when calling MessageFormatter's constructor
twice.
- Fixed bug #62017: datefmt_create with incorrectly encoded timezone leaks
pattern.
- Fixed bug #62070: Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
- Fixed bug #62081: constructor of IntlDateFormatter would leak if called twice.
- Fixed bug #62082: buffer overflow in internal function
get_icu_disp_value_src_php().
- Fixed bug #62083: memory leak in grapheme_extract().
- Fixed bug #62564/#62565: call to object_properties_init() missing. |
3.0.0a1 |
- Added classes IntlCalendar, IntlGregorianCalendar and IntlTimeZone.
- Added the ability for the intl exception to throw exceptions when a
global error is set. |
2.0.0 |
- Fixed bug #61487 - bad bounds check in grapheme_strpos.
- Fixed several tests. |
2.0.0b1 |
Synchronized with PHP 5.4 ext/intl |
1.1.2 |
* Bugfixes |
1.1.1 |
* Fix 5.3-only code in ResourceBundle |
1.1.0 |
* Add ResourceBundle APIs
* Bugfixes and error handling cleanups |
1.0.3 |
* Add collator_get_sort_key()
* Bugfixes |
1.0.2 |
* Add IDN functions
* Bugfixes |
1.0.1 |
* Bugfix release
* Tests work now with ICU 3.6 and 3.8 |
1.0.0 |
* Release Candidate for first release of the intl extension
* Added: date formatter, graphemes |
1.0.0RC1 |
* Release Candidate for first release of the intl extension
* Added: date formatter, graphemes |
1.0.0beta |
* First beta release of the intl extension |