Skip to content

Releases: elixir-cldr/cldr

Cldr version 1.8.0

17 Oct 21:35
Compare
Choose a tag to compare

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

17 Oct 19:41
Compare
Choose a tag to compare

Bug Fixes

  • Removes a call to Mix.Project.build_structure/0 in Mix.Tasks.Compile.Cldr which would clear the :priv_dir for all dependencies in a project during Cldr compilation phase. Thanks to @epilgrim. Closes #78.

Cldr version 1.7.0

27 Sep 14:34
Compare
Choose a tag to compare

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

19 Jul 22:19
Compare
Choose a tag to compare

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

19 Jul 02:51
Compare
Choose a tag to compare

Bug Fixes

  • Fixes Cldr.Compiler to support Elixir 1.7. Closes #69.

Cldr version 1.6.2

19 Jun 19:40
Compare
Choose a tag to compare

Bug Fixes

  • Cldr data files are always located in Cldr.Config.cldr_data_dir/0; some functions were incorrectly using Cldr.Config.client_data_dir/0 which should only be used to located user configured data like locales.

Cldr version 1.6.1

08 Jun 17:03
Compare
Choose a tag to compare

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

18 May 08:42
Compare
Choose a tag to compare

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

09 Apr 15:26
Compare
Choose a tag to compare

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

01 Apr 03:07
Compare
Choose a tag to compare

Enhancements

  • Replace all fixed references to the app name :ex_cldr and replace with a function Cldr.Config.app_name/0 instead. This function will also be used amongst dependencies that use the same configuration block like ex_cldr_numbers (and others).