Skip to content

Releases: elixir-cldr/cldr

Cldr version 2.42.0

26 Mar 05:37
Compare
Choose a tag to compare

Bug Fixes

  • Support Elixir 1.19 and OTP 28 without errors or warnings. Primarily this relates to changes to OTP's new :re module and Elixir's evolving type system.

Cldr version 2.41.1

21 Mar 22:17
Compare
Choose a tag to compare

Bug Fixes

  • Changes compile-time calls to List.flatten/1 to be Elixir.List.flatten/1 to help resolve unpredictable compile errors. Relates to #256.

Cldr version 2.41.0

18 Mar 03:54
Compare
Choose a tag to compare

Breaking Data format changes

There are some changes to the underlying locale data format that will be a breaking change for results returned from:

  • Cldr.DateTime.Format.time_formats/{1,2,3}
  • Cldr.Number.Symbol.number_symbols_for/3
  • MyApp.Cldr.Calendar.day_periods/{0, 1, 2}

The data changes are summarised as:

  • Delimiters are now organized with :default and :variant quotation marks where the data is available.
  • Time formats now group the :default and :ascii alternatives.
  • Day periods used for date/time formatting now group the alternatives for am and pm where the data is available.
  • Day period display names now group the alternatives for am and pm where the data is available.

Enhancements

Cldr version 2.40.4

17 Mar 17:47
Compare
Choose a tag to compare

Bug Fixes

  • Remove :eex and :ex_unit from :extra_applications. Thanks to @tanguilp for the report. Closes #253.

CLdr version 2.40.3

09 Mar 06:06
Compare
Choose a tag to compare

Bug Fixes

  • Fixes compilation error when the path of the containing project contains non-ASCII characters. Thanks to @zachdaniel and @albinkc for the report. Closes #251.

Cldr version 2.40.2

22 Dec 21:23
Compare
Choose a tag to compare

Bug Fixes

  • Support (and automatically configure) Elixir 1.18's JSON module as a :json_library in the global configuration. Thanks to @Neophen for the report. Closes #247.

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.