Changelog History
Page 6
-
v2.9.0 Changes
๐ This is the changelog for Cldr v2.9.0 released on August August 24th, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
Includes the compound unit fields from units in the generated locale data. This enables formatting of compount units, like the "per" form which is used when there is no predefined unit style. This functionality is enabled in ex_cldr_units version 2.6.
โ Add
Cldr.quote/3
andMyApp.Cldr.quote/2
that add locale-specific quotation marks around a string. The locale data files are updated to include this information.โ Add
Cldr.ellipsis/3
andMyApp.Cldr.ellipsis/2
that add locale-specific ellipsis' to a string. The locale data files are updated to include this information.โ Add
Cldr.Config.measurement_system/0
that returns a mapping between a territory and a measurement system (ie does a territory/country use the metric, US or UK system)
-
v2.8.1 Changes
๐ This is the changelog for Cldr v2.8.1 released on August 23rd, 2019. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
- ๐ Fix the
@spec
forCldr.Substitution.substitute/2
- ๐ Fix the
-
v2.8.0 Changes
๐ This is the changelog for Cldr v2.8.0 released on August 21st, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
Adds
Cldr.validate_plural_type/1
which will validate if a plural type is one those returned byCldr.Number.PluralRule.known_plural_types/0
which is also added. These functions are added to support message formatting in the forthcomingex_cldr_messages
package.โ Adds
Cldr.Number.PluralRule.plural_type/2
which returns the plural type for a number.๐ง Adds
message_formats
backend configuration key. This is used by ex_cldr_messages to define custom formats for messages.
๐ Bug Fixes
- โ Add
@spec
to parser combinators to remove dialyzer warnings. Ensure that you are usingnimble_parsec
version 0.5.1 or later if running dialyzer checks.
-
v2.7.2 Changes
๐ This is the changelog for Cldr v2.7.2 released on June 14th, 2019. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
๐ Fixes a bug whereby a
Gettext
backend module may not be compiled at the time that theCldr
backend is being compiled. This can cause compilation errors and may cause the wrong assembly of configured locales. Closes #124. Thanks very much to @erikreedstrom and @epilgrim.๐ Fixes a bug whereby a
Cldr
backend may not be recognised during compilation ofCldr.Plug.SetLocale
. Similar issue to #124. Thanks for @AdrianRibao for the report.
-
v2.7.1 Changes
๐ This is the changelog for Cldr v2.7.1 released on June 2nd, 2019. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
- Fix
Cldr.known_number_systems/0
by removing the call toConfig.known_number_systems/0
which decodes json on each call and useCldr.known_number_systems/0
which does not.
- Fix
-
v2.7.0 Changes
๐ This is the changelog for Cldr v2.7.0 released on April 22nd, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
- โก๏ธ Updates to CLDR version 35.1.0 which is primarily related to the change of Japanese era with the ascension of a new emporer on April 1st.
-
v2.6.2 Changes
๐ This is the changelog for Cldr v2.6.2 released on April 16th, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
โ Adds
Cldr.flag/1
that returns a binary unicode grapheme representing a flag for a given territoryThe parameters provided to
Cldr.Plug.SetLocale.init/1
are now conformed more precisely based upon the provided options. This ensures that the keys:cldr
and:gettext
are set from other options if they are not provided directly.
๐ Bug Fixes
- ๐ป
Cldr.Plug.SetLocale.init/1
would raise an exception if no:gettext
key was specified. This is now corrected.
-
v2.6.1 Changes
๐ This is the changelog for Cldr v2.6.1 released on April 13th, 2019. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
Correctly resolves the
:data_dir
param for a backend module. Thanks to @erikreedstrom for the report. Closes #123.๐ง Raises if a backend module configures an
:otp_app
that is not known
-
v2.6.0 Changes
๐ This is the changelog for Cldr v2.6.0 released on March 28th, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
- ๐ Updates to CLDR version 35.0.0 released on March 27th 2019.
There is one unresolved issue in this implementation related to plural rules for the locale "kw" (Cornish).
The plural rule definition for
:other
in the repository is:"pluralRule-count-other": " @integer 4~19, 100, 1000000, โฆ @decimal 0.1~0.9, 1.1~1.7, 10.0, 100.0, 1000.0 100000.0 1000000.0, โฆ",
๐ However in rules testing, the values
1000.0
,10000.0
and100000.0
are resolving to category:two
rather than:other
. Until this is resolved, these data points are removed from the test data. -
v2.5.0 Changes
๐ This is the changelog for Cldr v2.5.0 released on March 23rd, 2019. For older changelogs please consult the release tag on GitHub
โจ Enhancements
๐ง Adds the global
:ex_cldr
configuration key:default_backend
.โ Adds
Cldr.default_backend/0
which will return the configured default backend or will raise an exception if not is configured.0๏ธโฃ Where appropriate,
Cldr.*
will now useCldr.default_backend()
as a default parameter.