Releases: elixir-cldr/cldr_currencies
Releases · elixir-cldr/cldr_currencies
Cldr currencies version 2.1.1
Bug Fixes
-
Fixes the regex for parsing currency names that have date ranges in them. It now correctly parses names with non-ASCII characters too.
-
Removes
Cldr.Currency.all_currency_strings/2
since strings conflict across locales -
Add
Cldr.Currency.currency_strings/2
Enhancements
- Added
:unannotated
toCldr.Currency.currency_filter/2
. It omits currency names that have a "(...)" in then since these are typically financial instruments.
Cldr currencies version 2.0.0-rc.0
Changelog for Cldr_Currencies v2.0.0-rc.0
This is the changelog for Cldr_Currencies v1.1.0 released on November 10th, 2018. For older changelogs please consult the release tag on GitHub
Enhancements
- Updated dependency on ex_cldr to version 2.0.0-rc.0
- Remove Poison from optional dependencies (can still be configured in a cliuent app)
Breaking Changes
Currency.currency_for_code/3
has a changed function signature that requires a backend module to be specified. It also supports an option:locale
to specify the locale. The default is the default locale of the specified backend.
Cldr.Currency.currency_for_locale(:USD, MyApp.Cldr, locale: "en")
The @SPEC for the new signature is:
@spec currency_for_code(code, Cldr.backend(), Keyword.t()) ::
{:ok, t} | {:error, {Exception.t(), String.t()}}
Cldr Currencies version 1.0.0
Cldr Currencies
Packages the currency definitions from CLDR into a set of functions
to return currency data.