Ex_Cldr v2.27.0 Release Notes
-
๐ This is the changelog for Cldr v2.27.0 released on March 8th, 2022. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
- Remove spurious
Cldr.Trans
module. The new ex_cldr_trans provides this capability.
โจ Enhancements
โ Add
:host
to the list of places thatCldr.Plug.SetLocale
can look for to derive a locale for a request.Add
Cldr.Locale.fallback_locale_names!/1
to return the locale fallback chain or raise an execption.โ Add
Cldr.with_locale/2
to execute a function with the process locale set to a given locale. The current locale is put back in place after the function executes.Add
Cldr.Locale.is_locale_name/1
guard. This is an area that needs some cleanup since we haveCldr.is_locale_name/1
that permits atoms and strings since it is used to guard functions that might useCldr.validate_locale/2
. Therefore this is most useful for functions that take user input.Cldr.Locale.is_locale_name/1
that permits only atom locale names since this the canonical form.
- Remove spurious