Skip to content

Releases: elixir-cldr/cldr_utils

Cldr Utils version 2.29.5

15 Mar 18:40

Choose a tag to compare

Bug Fixes

  • Fix clause ordering in Cldr.Digits, fixing a compiler warning on Elixir 1.20.0-rc.2.

Cldr Utils version 2.29.4

24 Jan 19:19

Choose a tag to compare

Bug Fixes

  • Fixes the catch-all error return for Cldr.Http.get/2 which in turn fixes that case clause error reported in #9.

Cldr Utils version 2.29.3

23 Jan 18:03

Choose a tag to compare

Bug Fixes

  • Fix resolving the path of the certificate file when the path is not ASCII. Thanks to @Massedil for the report. Closes #9.

Cldr Utils version 2.29.1

31 Oct 21:20

Choose a tag to compare

Bug Fixes

  • Fix range warning in Cldr.Math.float_to_ratio/2.

Cldr Utils version 2.29.0

09 Oct 03:25

Choose a tag to compare

Improvements

  • Adds Cldr.Math.float_to_ratio/2. This function supports formatting numbers as fractions in the upcoming CLDR 48 and the relevant ex_cldr version. Note that decimals are not currently supported.

Cldr Utils version 2.28.3

28 Apr 06:58

Choose a tag to compare

Bug Fixes

  • Set ip_family: :inet6fb4 in Cldr.Http to support both ipv6 and ipv4 for downloading assets. Thanks to @edolnx for the report. Closes #8.

Cldr Utils version 2.28.2

05 Sep 18:26

Choose a tag to compare

Bug Fixes

  • Use :erlang.iolist_to_binary/1 instead of List.to_string/1 since the later won't handle some unicode correctly.

Cldr Utils version 2.28.0

09 Jul 22:12

Choose a tag to compare

Bug Fixes

  • Fix Cldr.Json.decode!/1 to return only the decoded JSON.

Enhancements

  • Add Cldr.Json.decode!/2 that implements the keys: :atoms option from Jason.

Cldr Utils version 2.27.0

23 Jun 02:17

Choose a tag to compare

Minimum Elixir version

  • cldr_utils version 2.27.0 and later requires Elixir 1.12 or later.

Enhancements

  • Adds Cldr.Json.decode!/1 that delegates to :json.decode/1. This allows Cldr.Json to be configured as a json_library in ex_cldr for OTP versions 27 and later. For example:
config :ex_cldr,
  json_library: Cldr.Json
  • Refactor some tests so they work on older Elixir versions without sigil_c.

Cldr Utils version 2.26.0

27 May 18:10

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.