Skip to content

Releases: elixir-cldr/cldr_currencies

Cldr Currencies version 2.16.3

06 Sep 07:36
Compare
Choose a tag to compare

Bug Fixes

  • Fix spec for Cldr.Currency.currency_for_code/1. Thanks to @Tw33t3r for the PR. Closes #16.

Enhancements

  • Require Elixir 1.12 as a minimum version.

Cldr Currencies version 2.16.2

30 Jul 08:06
Compare
Choose a tag to compare

Bug Fixes

  • Fix spec for Cldr.Currency.currencies_for_locale!/3. Thanks to @AntoineAugusti for the PR. Closes #15.

Cldr Currencies version 2.16.1

22 Apr 21:34
Compare
Choose a tag to compare

Bug Fixes

  • Add config/prod.exs so MIX_ENV=prod compilation succeeds. Thanks to @camelpunch for the report.

Cldr Currencies version 2.16.0

20 Apr 21:05
Compare
Choose a tag to compare

Enhancements

  • Update to CLDR 45 data as used in ex_cldr version 2.38.0.

  • Default the currency display name when there is no other pluralization data. This is required due to some data generation changes in the JSON data used by ex_cldr.

Cldr Currencies version 2.15.1

02 Nov 22:05
Compare
Choose a tag to compare

Bug Fixes

  • Fix compilation warnings on Elixir 1.16.

  • Fixes typespec for Cldr.Currency.currency_history_for_locale/1. Thanks to @Munksgaard for the report and PR. Closes #11, Closes #12.

Cldr Currencies version 2.15.0

28 Jan 12:39
Compare
Choose a tag to compare

Enhancements

  • Add Cldr.Currency.current_territory_currencies/1 and MyApp.Cldr.Currency.current_territory_currencies/0 that returns a mapping from territory code from currency type for all territories that have a current currency. Thanks for @lawik for the inspiration.

Cldr Currencies version 2.14.3

27 Jan 13:00
Compare
Choose a tag to compare

Bug Fixes

  • Cldr.Currency.current_currency_for_territory/1 returns nil if the territory, like :AQ has no currency. Thanks to @lawik for the report. Closes #8.

Cldr Currencies version 2.14.2

08 Oct 00:53
Compare
Choose a tag to compare

Bug Fixes

  • Fix Cldr.Currency.currency_strings/2 to include narrow symbols. Note that where duplicate symbols exist (same symbol for more than one currency) they are are omitted from the list of strings since they are ambiguous (unless one of them is a historic currency in which case the current currency is kept and the historic removed).

Cldr Currencies version 2.14.1

08 Jun 00:18
Compare
Choose a tag to compare

Bug Fixes

  • Fix Cldr.Currency.currency_from_locale/2 when the first argument is a t:Cldr.LanguageTag.t/0

Cldr Currencies version 2.14.0

04 Jun 07:54
Compare
Choose a tag to compare

Enhancements

  • Add Cldr.Currency.currency_for_code/2 and the same function for backend modules.