Skip to content

Releases: elixir-cldr/cldr_utils

Cldr Utils version 2.16.0

11 Jun 07:57
Compare
Choose a tag to compare

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 if value is a list, one new map entry for each element of value will be created (mapped to key)

Cldr Utils version 2.15.1

16 Mar 12:21
Compare
Choose a tag to compare

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

05 Mar 06:24
Compare
Choose a tag to compare

Enhancements

  • Adds the options :filter, :reject and :skip to Cldr.Map.deep_map/3 that work on entire branches of a map.

Cldr Utils version 2.14.1

17 Feb 02:21
Compare
Choose a tag to compare

Bug Fixes

  • Merge the fixes from cldr_utils version 2.13.3 for Cldr.Math.power/2

Cldr Utils version 2.14.0

07 Nov 07:56
Compare
Choose a tag to compare

Enhancements

  • Adds Cldr.Http.get/1 to download from https URLs using :httpc but with certificate vertification enabled (it is not enabled by default in the :httpc module).

Cldr Utils version 2.13.2

20 Oct 14:28
Compare
Choose a tag to compare

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

29 Sep 23:45
Compare
Choose a tag to compare

Enhancements

  • Add Cldr.Decimal.parse/1 as a compatibiity layer for Decimal 1.x and 2.x

Cldr Utils version 2.13.0

29 Sep 22:55
Compare
Choose a tag to compare

Enhancements

  • Add Cldr.Decimal.parse/1 as a compatibility layer for Decimal 1.x and 2.x

Cldr Utils version 2.12.0

29 Sep 09:56
Compare
Choose a tag to compare

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

25 Sep 12:02
Compare
Choose a tag to compare

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