Skip to content

Releases: elixir-cldr/cldr

Cldr Version 2.40.1

16 Aug 06:04
Compare
Choose a tag to compare

Bug Fixes

  • Fix specs to suport dialyzer flags :error_handling, :unknown, :underspecs, :extra_return, :missing_return

Cldr version 2.40.0

26 Jul 00:43
Compare
Choose a tag to compare

Bug Fixes

  • Fix parsing of date time avaialable formats and interval formats when building the locale json files. Turns out some locales have formats that have variants and these need to be specifically parsed and grouped.

Enhancements

  • Support OTP's :json module. ex_cldr uses json formatted locale data and supports configuring a json library to decode it. Where no library is configured ex_cldr will attempt to identify one. This release adds auto-configuring OTP 27's :json module through a proxy implemented in Cldr.Json (which is part of cldr_utils).

Cldr version 2.39.2

22 Jun 00:40
Compare
Choose a tag to compare

Bug Fixes

  • Fix Cldr.LanguageTag.Sigil.sigil_l/2 which was incorrectly encoding the sigil flags.

  • Bump stream_data dependency version.

Cldr version 2.39.1

11 Jun 21:24
Compare
Choose a tag to compare

Bug Fixes

  • Fix Cldr.Kino.DataTable.format/2 to reflect the changes requested by the Kino team. See the PR for further information.

Cldr version 2.39.0

10 Jun 23:40
Compare
Choose a tag to compare

Bug Fixes

  • Fix dialyzer warnings on Elixir 1.17

Enhancements

  • Adds Cldr.Kino.DataTable.value_to_string/2 which can be used to format Kino DataTable cells in an future Kino release. A fork of Kino is available for testing.

Cldr version 2.38.1

01 May 23:41
Compare
Choose a tag to compare

Bug Fixes

  • Fix warnings on Elixir 1.17. This primarily relates to charlists constants now required to use sigil_c to avoid warnings. As a result, tests will only work on Elixir 1.16 and later even though support for the library is for Elixir 1.11 and later.

  • Make Cldr.Config.cldr_data_dir/0 a runtime result, not a compile time result.

  • Sort currency data in Cldr.Config.territories/0 so ensure deterministic order. Closes #227.

Cldr version 2.38.0

20 Apr 20:52
Compare
Choose a tag to compare

Cldr v2.38.0

This is the changelog for Cldr v2.38.0 released on April 21st, 2024. For older changelogs please consult the release tag on GitHub

Enhancements

iex> MyApp.Cldr.Locale.new!("en-US")
MyApp.Cldr.Locale.new!("en-US")
  • Fix dialyzer warnings. Thanks to @Munksgaard for the PR. Closes #220. Also fixes :underspecs warning and the :underspecs dialyzer flag is now configured.

  • Add configuration for the new ex_cldr_person_names backend module generator.

Cldr version 2.37.5

02 Nov 05:51
Compare
Choose a tag to compare

Bug Fixes

  • Fix warnings on Elixir 1.16.

  • Fix dialyzer warnings. Thanks to @Munksgaard for the PR. Closes #220.

Cldr version 2.37.4

12 Oct 07:03
Compare
Choose a tag to compare

Bug Fixes

  • Reverts a change to the format of the alias data for subdivisions which was causing an exception in ex_cldr_territories. The change, which normalizes subdivision codes to be upcase atoms when the subdivision has its own ISO 3166 territory code, will be be added back for ex_cldr version 2.38.0 which will align with CLDR 44. Closes #216.

Cldr version 2.37.3

11 Oct 18:51
Compare
Choose a tag to compare

Bug Fixes

  • Fix spec for Cldr.with_locale/3 and MyApp.Cldr.with_locale/2. Thanks to @nTraum for the PR. Closes #215.

Enhancements

  • Adds <backend>.put_gettext_locale/1.