Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Releases: zendframework/zend-i18n

zend-i18n 2.7.0

30 Mar 13:17
Compare
Choose a tag to compare

Added

  • #40 adds:
    • Zend\I18n\Translator\LoaderPluginManagerFactory, which provides a factory for container-interop-compatible containers (including zend-servicemanager) for creating and returning a LoaderPluginManager instance.
    • Zend\I18n\ConfigProvider (which provides an invokable configuration provider class; this could be used with zend-expressive) and Zend\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 new Module 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

10 Feb 22:31
Compare
Choose a tag to compare

Added

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.