Releases: elixir-cldr/cldr_utils
Releases · elixir-cldr/cldr_utils
Cldr Utils version 2.29.5
Cldr Utils version 2.29.4
Bug Fixes
- Fixes the catch-all error return for
Cldr.Http.get/2which in turn fixes that case clause error reported in #9.
Cldr Utils version 2.29.3
Cldr Utils version 2.29.1
Bug Fixes
- Fix range warning in
Cldr.Math.float_to_ratio/2.
Cldr Utils version 2.29.0
Improvements
- Adds
Cldr.Math.float_to_ratio/2. This function supports formatting numbers as fractions in the upcoming CLDR 48 and the relevantex_cldrversion. Note that decimals are not currently supported.
Cldr Utils version 2.28.3
Cldr Utils version 2.28.2
Bug Fixes
- Use
:erlang.iolist_to_binary/1instead ofList.to_string/1since the later won't handle some unicode correctly.
Cldr Utils version 2.28.0
Bug Fixes
- Fix
Cldr.Json.decode!/1to return only the decoded JSON.
Enhancements
- Add
Cldr.Json.decode!/2that implements thekeys: :atomsoption fromJason.
Cldr Utils version 2.27.0
Minimum Elixir version
cldr_utilsversion 2.27.0 and later requires Elixir 1.12 or later.
Enhancements
- Adds
Cldr.Json.decode!/1that delegates to:json.decode/1. This allowsCldr.Jsonto be configured as ajson_libraryinex_cldrfor 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
Bug Fixes
- Fix warnings on Elixir 1.17. This primarily relates to charlists constants now required to use
sigil_cto 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.