Releases: elixir-cldr/cldr_utils
Releases · elixir-cldr/cldr_utils
Cldr Utils version 2.16.0
Enhancements
-
Add
Cldr.Map.extract_strings/2
-
Make resolver a parameter to
Cldr.Map.deep_merge/3
-
Make resolver a parameter to
Cldr.Map.merge_map_list/2
-
Add
Cldr.Map.prune/2
that prunes (deletes) branches from a (possibly deeply nested) map -
Add
Cldr.Map.invert/1
that inverts the{key, value}
of a map to be{value, key}
and ifvalue
is a list, one new map entry for each element ofvalue
will be created (mapped tokey
)
Cldr Utils version 2.15.1
Bug Fixes
- Fix
Cldr.Digit.to_number/2
for floats. Thanks for the report from @jlauemoeller. Fixes ex_cldr_numbers #15.
Cldr Utils version 2.15.0
Enhancements
- Adds the options
:filter
,:reject
and:skip
toCldr.Map.deep_map/3
that work on entire branches of a map.
Cldr Utils version 2.14.1
Bug Fixes
- Merge the fixes from cldr_utils version 2.13.3 for
Cldr.Math.power/2
Cldr Utils version 2.14.0
Enhancements
- Adds
Cldr.Http.get/1
to download fromhttps
URLs using:httpc
but with certificate vertification enabled (it is not enabled by default in the:httpc
module).
Cldr Utils version 2.13.2
Bug fixes
- Fix unused variable warning on OTP versions that do not include
:persistent_term
module. Thanks to @kianmeng.
Cldr Utils version 2.13.1
Enhancements
- Add
Cldr.Decimal.parse/1
as a compatibiity layer for Decimal 1.x and 2.x
Cldr Utils version 2.13.0
Enhancements
- Add
Cldr.Decimal.parse/1
as a compatibility layer for Decimal 1.x and 2.x
Cldr Utils version 2.12.0
Enhancements
- Add
Cldr.Digit.number_of_trailing_zeros/1
to calculate the number of trailing zeros in an integer
Cldr Utils version 2.11.0
Enhancements
-
Provides
Cldr.Decimal.reduce/1
as a compatibility shim for Decimal 1.x and 2.x -
Provides
Cldr.Decimal.compare/2
as a compatibility shim for Decimal 1.x and 2.x