composer package updates
[openemr.git] / vendor / zendframework / zend-i18n / CHANGELOG.md
blobf84b63d3e866289234b6fa8187a2b54eefad21eb
1 # Changelog
3 All notable changes to this project will be documented in this file, in reverse chronological order by release.
5 ## 2.9.0 - 2018-05-16
7 ### Added
9 - [#93](https://github.com/zendframework/zend-i18n/pull/93) adds two methods to `Translator`, `getCacheId(string $textDomain, string $locale)`,
10   and `clearCache(string $textDomain, string $locale)`.
12 ### Changed
14 - Nothing.
16 ### Deprecated
18 - Nothing.
20 ### Removed
22 - Nothing.
24 ### Fixed
26 - [#96](https://github.com/zendframework/zend-i18n/pull/96) ensures that the `TranslatorServiceFactory` injects the configured `TranslatorPluginManager`,
27   if any, before returning it. This ensures that configured remote loaders can be utilized.
29 ## 2.8.0 - 2018-04-25
31 ### Added
33 - [#71](https://github.com/zendframework/zend-i18n/pull/71) adds a new option to the `IsInt` validator, `strict`. When set to boolean
34   true, comparisons will use strict type validations. The default, `false`, retains the current
35   behavior of non-strict comparisons. The class also exposes a `setStrict($flag)` method for
36   enabling/disabling the behavior.
38 - [#78](https://github.com/zendframework/zend-i18n/pull/78) and [#91](https://github.com/zendframework/zend-i18n/pull/91) add support for PHP 7.2.
40 ### Changed
42 - [#81](https://github.com/zendframework/zend-i18n/pull/81) updates the list of allowed mobile prefixes for Chinese phones to match
43   current changes to their systems.
45 - [#80](https://github.com/zendframework/zend-i18n/pull/80) updates the PostCode validator to allow prefixing Latvian postal
46   codes using the string `LV-`, which is now mandatory within Latvia. For BC purposes, the
47   prefix is considered optional.
49 ### Deprecated
51 - Nothing.
53 ### Removed
55 - [#78](https://github.com/zendframework/zend-i18n/pull/78) removes support for HHVM.
57 ### Fixed
59 - [#75](https://github.com/zendframework/zend-i18n/pull/75) fixes an issue with formatting currency values where
60   the currency indicator is at the end of the value.
62 ## 2.7.4 - 2017-05-17
64 ### Added
66 - Nothing.
68 ### Changes
70 - [#65](https://github.com/zendframework/zend-i18n/pull/65) updates the
71   `PostCode` validation for Ireland to support Eircode
72   (https://www.eircode.ie/what-is-eircode)
74 ### Deprecated
76 - Nothing.
78 ### Removed
80 - Nothing.
82 ### Fixed
84 - [#74](https://github.com/zendframework/zend-i18n/pull/74) fixes how the
85   `LoaderPluginManagerFactory` factory initializes the plugin manager instance,
86   ensuring it is injecting the relevant configuration from the `config` service
87   and thus seeding it with configured translator loader services. This means
88   that the `translator_plugins` configuration will now be honored in
89   non-zend-mvc contexts.
90 - [#56](https://github.com/zendframework/zend-i18n/pull/56) adds more aliases to
91   the `LoaderPluginManager` to ensure different cAsIng strategies will still
92   resolve translation loaders under zend-servicemanager v3.
93 - [#62](https://github.com/zendframework/zend-i18n/pull/62) fixes an issue with
94   how the gettext adapter resolves `PoEdit` source keywords when a text_domain is
95   defined.
96 - [#73](https://github.com/zendframework/zend-i18n/pull/73) provides a
97   workaround within the `CurrencyFormat` view helper for an ICU bug
98   (http://bugs.icu-project.org/trac/ticket/10997).
100 ## 2.7.3 - 2016-06-07
102 ### Added
104 - Nothing.
106 ### Deprecated
108 - Nothing.
110 ### Removed
112 - Nothing.
114 ### Fixed
116 - [#42](https://github.com/zendframework/zend-i18n/pull/42) fixes the
117   behavior of the `PhoneNumber` validator to store the country using the casing
118   provided, but validate based on the uppercased country value. This ensures
119   the same validation behavior, and prevents the value from being transformed,
120   potentially breaking later retrieval.
121 - [#47](https://github.com/zendframework/zend-i18n/pull/47) provides a
122   performance improvement to the `Zend\I18n\View\HelperConfig` implementation
123   when operating under zend-servicemanager v3.
125 ## 2.7.2 - 2016-04-18
127 ### Added
129 - Nothing.
131 ### Deprecated
133 - Nothing.
135 ### Removed
137 - Nothing.
139 ### Fixed
141 - [#45](https://github.com/zendframework/zend-i18n/pull/45) fixes the
142   `Module::init()` method to properly receive a `ModuleManager` instance, and
143   not expect a `ModuleEvent`.
145 ## 2.7.1 - 2016-03-30
147 ### Added
149 - [#41](https://github.com/zendframework/zend-i18n/pull/41) adds
150   `Zend\I18n\Module::init()`, which registers a specification for the translator
151   loader plugin manager with `Zend\ModuleManager\Listener\ServiceListener`.
153 ### Deprecated
155 - Nothing.
157 ### Removed
159 - Nothing.
161 ### Fixed
163 - Nothing.
165 ## 2.7.0 - 2016-03-30
167 ### Added
169 - [#40](https://github.com/zendframework/zend-i18n/pull/40) adds:
170   - `Zend\I18n\Translator\LoaderPluginManagerFactory`, which provides a factory
171     for container-interop-compatible containers (including zend-servicemanager)
172     for creating and returning a `LoaderPluginManager` instance.
173   - `Zend\I18n\ConfigProvider` (which provides an invokable configuration
174     provider class; this could be used with zend-expressive) and
175     `Zend\I18n\Module` (which provides a zend-mvc/zend-modulemanager module
176     providing service configuration for ZF applications); these provide
177     configuration for zend-i18n services, including filters, validators, and
178     view helpers.
180 ### Deprecated
182 - [#40](https://github.com/zendframework/zend-i18n/pull/40) deprecates
183   `Zend\I18n\View\HelperConfig`, as the functionality is made obsolete by the
184   new `Module` class. The class will be removed with the 3.0 release.
186 ### Removed
188 - Nothing.
190 ### Fixed
192 - [#35](https://github.com/zendframework/zend-i18n/pull/35) updates the
193   dependencies for zend-validator and zend-cache to use versions that are
194   forwards-compatible with zend-servicemanager v3, and re-enables their tests
195   during continuous integration.
197 ## 2.6.0 - 2016-02-10
199 ### Added
201 - [#8](https://github.com/zendframework/zend-i18n/pull/8) adds support for
202   Vietnamese postal codes.
203 - [#18](https://github.com/zendframework/zend-i18n/pull/18) adds support for
204   `NumberFormatter` text attributes to the `NumberFormat` view helper.
205 - [#28](https://github.com/zendframework/zend-i18n/pull/28),
206   [#29](https://github.com/zendframework/zend-i18n/pull/29),
207   [#30](https://github.com/zendframework/zend-i18n/pull/30),
208   [#31](https://github.com/zendframework/zend-i18n/pull/31), and
209   [#34](https://github.com/zendframework/zend-i18n/pull/34) prepared the
210   documentation for publication at https://zendframework.github.io/zend-i18n/
212 ### Deprecated
214 - Nothing.
216 ### Removed
218 - Nothing.
220 ### Fixed
222 - [#12](https://github.com/zendframework/zend-i18n/pull/12),
223   [#21](https://github.com/zendframework/zend-i18n/pull/21), and
224   [#22](https://github.com/zendframework/zend-i18n/pull/22) update the
225   component to be forwards compatible with the v3 versions of zend-stdlib,
226   zend-servicemanager, and zend-eventmanager.
227 - [#8](https://github.com/zendframework/zend-i18n/pull/8) updates the regex for
228   the Mauritius postal code to follow the currently adopted format.
229 - [#13](https://github.com/zendframework/zend-i18n/pull/13) updates the regex for
230   Serbian postal codes to only accept 5 digits.
231 - [#19](https://github.com/zendframework/zend-i18n/pull/19) fixes the behavior
232   of the DateTime validator to ensure it can be called multiple times with
233   multiple values.
234 - [#33](https://github.com/zendframework/zend-i18n/pull/33) adds a check for
235   null messages in `Translator::getTranslatedMessage()` to prevent illegal
236   offset warnings.