[ANNOUNCEMENT] intl-3.0.0a2 (alpha) Released.

From: Date: Tue, 24 Jul 2012 23:41:56 +0000
Subject: [ANNOUNCEMENT] intl-3.0.0a2 (alpha) Released.
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9633@lists.php.net to get a copy of this message
The new PECL package intl-3.0.0a2 (alpha) has been released at http://pecl.php.net/. Release notes ------------- - 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 TYPE_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. Package Info ------------- Internationalization extension implements ICU library functionality in PHP. Related Links ------------- Package home: http://pecl.php.net/package/intl Changelog: http://pecl.php.net/package-changelog.php?package=intl Download: http://pecl.php.net/get/intl-3.0.0a2.tgz Authors ------------- Stanislav Malyshev <stas@php.net> (lead) Kirti Velankar (developer) Ed Batutis (developer) Gustavo Lopes <cataphract@php.net> (lead)

« previous php.pecl.dev (#9633) next »