This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Releases: zendframework/zend-i18n
Releases · zendframework/zend-i18n
zend-i18n 2.7.0
Added
- #40 adds:
Zend\I18n\Translator\LoaderPluginManagerFactory
, which provides a factory for container-interop-compatible containers (including zend-servicemanager) for creating and returning aLoaderPluginManager
instance.Zend\I18n\ConfigProvider
(which provides an invokable configuration provider class; this could be used with zend-expressive) andZend\I18n\Module
(which provides a zend-mvc/zend-modulemanager module providing service configuration for ZF applications); these provide configuration for zend-i18n services, including filters, validators, and view helpers.
Deprecated
- #40 deprecates
Zend\I18n\View\HelperConfig
, as the functionality is made obsolete by the newModule
class. The class will be removed with the 3.0 release.
Removed
- Nothing.
Fixed
- #35 updates the dependencies for zend-validator and zend-cache to use versions that are forwards-compatible with zend-servicemanager v3, and re-enables their tests during continuous integration.
zend-i18n 2.6.0
Added
- #8 adds support for Vietnamese postal codes.
- #18 adds support for
NumberFormatter
text attributes to theNumberFormat
view helper. - #28, #29, #30, #31, and #34 prepared the documentation for publication at https://zendframework.github.io/zend-i18n/
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #12, #21, and #22 update the component to be forwards compatible with the v3 versions of zend-stdlib, zend-servicemanager, and zend-eventmanager.
- #8 updates the regex for the Mauritius postal code to follow the currently adopted format.
- #13 updates the regex for Serbian postal codes to only accept 5 digits.
- #19 fixes the behavior of the DateTime validator to ensure it can be called multiple times with multiple values.
- #33 adds a check for null messages in
Translator::getTranslatedMessage()
to prevent illegal offset warnings.