Skip to content

Releases: elixir-cldr/cldr_utils

Cldr Utils version 2.28.2

05 Sep 18:26
Compare
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
Compare
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
Compare
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
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.

Cldr Utils version 2.25.0

19 Mar 20:33
Compare
Choose a tag to compare

Bug Fixes

  • Fix Cldr.Math.pow/2 when the exponent is in the range 0 < n < 1.

Enhancements

  • Adds Cldr.Math.mult/2, Cldr.Math.div/2, Cldr.Math.add/2 and Cldr.Math.sub/2 to operate on integers, floats and Decimals.

Cldr Utils version 2.24.2

02 Nov 04:57
Compare
Choose a tag to compare

Bug Fixes

  • Fix deprecation warnings for Elixir 1.16.

Cldr Utils version 2.24.1

17 Jun 12:33
Compare
Choose a tag to compare

Bug Fixes

  • Resolve host certificate stores at runtime, not compile time. Thanks to @joshk for the PR. Closes #7.

Cldr Utils version 2.24.0

23 May 03:05
Compare
Choose a tag to compare

Enhancements

  • Adds Cldr.Utils.otp_version/0 to return the OTP version as a string. Copied with thanks and appreciation from the Hex source.

Cldr Utils version 2.23.1

04 May 08:21
Compare
Choose a tag to compare

Bug Fixes

  • Make parsing HTTP_PROXY values more resilient to invalid URLs.

Cldr Utils version 2.23.0

04 May 04:54
Compare
Choose a tag to compare

Enhancements

  • Adds support for https proxy for Cldr.Http.get/2. The proxy can be specified as an option to to Cldr.Http.get/2, as a configuration option under the :ex_cldr[:https_proxy] key, or from the environment variables HTTPS_PROXY or https_proxy. Thanks to @d-led for the PR and issue.