Cldr Numbers version 2.23.0
Enhancements
-
Updates to support CLDR release 40 via ex_cldr version 2.24
-
Adds
Cldr.Rbnf.rule_names_for_locale/1to 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/3with 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/1instead. -
Don't call deprecated
Cldr.Config.get_locale/2, useCldr.Locale.Loader.get_locale/2instead.