Releases: elixir-cldr/cldr
Cldr version 1.8.0
Enhancements
-
Adopts CLDR version 34 released on October 15th, 2018. This increases the number of known locales from 523 to 537. See the release notes for CLDR for more detailed information.
-
The new locales added are ff-Latn-BF, ff-Latn-CM, ff-Latn-GH, ff-Latn-GM, ff-Latn-GN, ff-Latn-GW, ff-Latn-LR, ff-Latn-MR, ff-Latn-NE, ff-Latn-NG, ff-Latn-SL, ff-Latn, ia, jv, ku, mi and xh
-
Note that three tests will fail due to a data error in the "gd" locale. The correct result for
Cldr.Number.Ordinal.plural_rule/2
is calculated but the test data is incorrect. A ticket has been filed with CLDR.
Cldr version 1.7.1
Cldr version 1.7.0
Enhancements
-
Replaces the language tag parser with a new version based upon NimbleParsec. This version is approximately six times faster than the old version. It also correctly parses language subtags.
-
There are changes to the
Cldr.LanguageTag
structure that deliver a small breaking change:-
:variant
is now renamed to:language_variant
-
:language_subtags
is added. It is a list of language subtags or[]
-
There are some known limitations remaining in the parser that should not affect most users. In particular a language variant can only be placed after the script and region (territory/country) codes. For example, according to the standard the language tag "sl-rozaj" is valid. But the current parser does not support this combination. "sl-sv-rozaj" is, however, acceptable.
Bug Fixes
-
Fixes some dyalizer warnings (thanks to @KronicDeth)
-
Bump ex_doc version now that 0.19 is out (required for Elixir 1.7)
Cldr version 1.6.4
Changelog for Cldr v1.6.4
This is the changelog for Cldr v1.6.4 released on July 20th, 2018. For older changelogs please consult the release tag on GitHub
Bug Fixes
- Removes
src/*.erl
files from the package to ensure that they are generated on the correct erlang version
Cldr version 1.6.3
Bug Fixes
- Fixes
Cldr.Compiler
to support Elixir 1.7. Closes #69.
Cldr version 1.6.2
Bug Fixes
- Cldr data files are always located in
Cldr.Config.cldr_data_dir/0
; some functions were incorrectly usingCldr.Config.client_data_dir/0
which should only be used to located user configured data like locales.
Cldr version 1.6.1
Bug Fixes
- Use
Logger.bare_log/3
instead of the logger macros when installing locales. This is because the installation occurs at compile time and its possible that the log level configured is resolved in Distillery at a later stage. Thanks to @erikreedstrom. Closes #62.
Cldr version 1.6.0
Enhancements
- Add support to retrieve the requested locale from a cookie in
Cldr.Plug.SetLocale
. Thanks to @danschultzer.
Bug Fixes
- Fix detection of invalid currency code error when parsing language tags. Thanks to @danschultzer.
Cldr version 1.5.2
Enhancements
- ISO4217 private use currency codes are now properly supported. These are currency codes that are three upper case alphabetic ASCII characters with the first character being "X".
Cldr version 1.5.1
Enhancements
- Replace all fixed references to the app name
:ex_cldr
and replace with a functionCldr.Config.app_name/0
instead. This function will also be used amongst dependencies that use the same configuration block likeex_cldr_numbers
(and others).