Ex_Cldr_Numbers v2.23.0 Release Notes
-
๐ This is the changelog for Cldr v2.23.0 released on October 27th, 2021. For older changelogs please consult the release tag on GitHub
โจ Enhancements
๐ฆ Updates to support CLDR release 40 via ex_cldr version 2.24
Adds
Cldr.Rbnf.rule_names_for_locale/1
to return the available RBNF rule names for a given locale.
๐ Bug Fixes
Arbitrary RBNF rule lookup falls back to the root locale (called "und") when checking if a rule is available. Thanks to @maennchen for the report. Closes #22.
๐ Fixes performance issue when calling
Cldr.Number.to_string/3
with an arbitrary RBNF rule name. Previously these formats would mistakenly read the raw json file for a locale incurring a significant performance penaly. Performance is now 100x faster as expected. Thanks to @maennchen for the bug report. Closes #21.
๐ Deprecations
Don't call deprecated
Cldr.Config.known_locale_names/1
, callCldr.Locale.Loader.known_locale_names/1
instead.Don't call deprecated
Cldr.Config.get_locale/2
, useCldr.Locale.Loader.get_locale/2
instead.