Releases: elixir-cldr/cldr_utils
Releases · elixir-cldr/cldr_utils
Cldr Utils version 2.28.2
Cldr Utils version 2.28.0
Bug Fixes
- Fix
Cldr.Json.decode!/1
to return only the decoded JSON.
Enhancements
- Add
Cldr.Json.decode!/2
that implements thekeys: :atoms
option fromJason
.
Cldr Utils version 2.27.0
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 allowsCldr.Json
to be configured as ajson_library
inex_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
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
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
andCldr.Math.sub/2
to operate on integers, floats and Decimals.
Cldr Utils version 2.24.2
Bug Fixes
- Fix deprecation warnings for Elixir 1.16.
Cldr Utils version 2.24.1
Cldr Utils version 2.24.0
Enhancements
- Adds
Cldr.Utils.otp_version/0
to return the OTP version as a string. Copied with thanks and appreciation from theHex
source.
Cldr Utils version 2.23.1
Bug Fixes
- Make parsing
HTTP_PROXY
values more resilient to invalid URLs.
Cldr Utils version 2.23.0
Enhancements
- Adds support for https proxy for
Cldr.Http.get/2
. The proxy can be specified as an option to toCldr.Http.get/2
, as a configuration option under the:ex_cldr[:https_proxy]
key, or from the environment variablesHTTPS_PROXY
orhttps_proxy
. Thanks to @d-led for the PR and issue.