Changelog for Cldr v1.0.0-rc.1
This is the changelog for Cldr v1.0.0-rc.1 released on November 22nd, 2017. For older changelogs please consult the release tag on GitHub
This version signals API stability and the first release candidate.
Bug Fixes
Fixed currency definition in
Cldr.Config.territory_info/1
so that a list is returned instead of a map so that the record of the same currency being used at different times is preserved. The canonical example if Palestine (territory code :PS) which has used the Jordanian Dinar twice during its history.Restored the correct api for
Cldr.Map.deep_map/2
and addedCldr.Map.deep_map/3
Fixed a bug in
Cldr.Consolidate
that crept in during the replacement ofFlow
withTask.async_stream
Enhancements
- Removed obsolete guides since they are now merged into the readme files of each dependent package
Changelog for Cldr v1.0.0-rc.0
This is the changelog for Cldr v1.0.0-rc.0 released on November 18th, 2017. For older changelogs please consult the release tag on GitHub
This version signals API stability and the first release candidate.
Enhancements
Adds two
Plug
s:Cldr.Plug.AcceptLanguage
will parse anaccept-language
header and resolve the best matched configuredCldr
locale. The result is stored inconn.private[:cldr_locale]
which is also returned byCldr.Plug.AcceptLanguage.get_cldr_locale/1
.Cldr.Plug.SetLocale
which will identify a requested locale in the request parameters oraccept-language
header and will set both/eitherCldr
andGettext
locales. The result is also stored inconn.private[:cldr_locale]
and is returned byCldr.Plug.SetLocale.get_cldr_locale/1
.
%LanguageTag{}
includes a new field:gettext_locale_name
which will be matched if possible to a configuredGettext
locale to aid cross-library collaboration.Refactored the functions in
Cldr.Map