Skip to content

Releases: elixir-cldr/cldr_territories

v2.2.2

11 May 14:15
Compare
Choose a tag to compare

Cldr Territories v2.2.2 May 11th, 2021

Enhancements

  • Fix bug in translate_territory!/4 #16, thanks to @leandrocp.

  • Fix bug in translate_subdivision!/4.

v2.2.1

10 May 14:51
Compare
Choose a tag to compare

Cldr Territories v2.2.1 May 10th, 2021

Enhancements

  • Fix specs for known_territories/1, known_subdivisions/1, from_subdivision_code/2,3 and from_subdivision_code!/2,3 #14

v2.2.0

19 Apr 23:32
Compare
Choose a tag to compare

Cldr Territories v2.2.0 April 19th, 2021

Enhancements

  • Requires ex_cldr version 2.20 or later to use CLDR data version 39. As with all CLDR releases, underlying data can change and tests are updated to reflect those changes.

  • Added known_subdivisions/1, known_territory_subdivisions/2, from_subdivision_code/3 and translate_subdivision/4 to support subdivison, thansk to @mskv.

  • Improved proformance for from_territory_code/2, from_subdivision_code/2, translate_territory/4 and translate_subdivision/4, thanks to @kipcole9.

v2.1.0

07 Jun 22:46
11524d2
Compare
Choose a tag to compare

Cldr Territories v2.1.0 June 8th, 2020

Enhancements

  • Requires ex_cldr version 2.14 or later to use CLDR data version 37. As with all CLDR releases, underlying data can change and tests are updated to reflect those changes.

  • Updated readme to reflect changes in EU composition and the updated data returned territories

  • CLDR 37 also reflects that the UK is no longer part of the EU.

  • Minimum version of Elixir required is 1.8 to align with the baseline ex_cldr library

  • Fix typespec leading to dialyzer errors

  • Update dependencies in development

v2.0.1

02 May 01:29
Compare
Choose a tag to compare

Cldr Territories v2.0.1 May 1st, 2019

Enhancements

v2.0.0

02 May 01:28
Compare
Choose a tag to compare

Cldr Territories v2.0.0 November 25st, 2018

Enhancements

  • Move to a backend module structure with ex_cldr version 2.0

v1.4.0

23 Oct 02:34
Compare
Choose a tag to compare

Cldr Territories v1.4.0 October 21st, 2018

Enhancements

  • Updates ex_cldr to version 1.8.0 which uses CLDR data release 34.0.0

v1.3.1

10 May 20:18
Compare
Choose a tag to compare

Bug fix

  • Fixed a bug introduced in 1.3.0 where a function with ! and as_option resulted in {:ok, result} instead of result

v1.3.0

09 May 00:41
Compare
Choose a tag to compare

Enhancements

  • Added options [as: :atom], [as: :binary] and [as: :charlist] to following functions the defualt is [as: :atom]
    • parent/2 and parent!/2
    • children/2 and children!/2
    • to_currency_code/2 and to_currency_code!/2
    • to_currency_codes/2 and to_currency_codes!/2
    • country_codes/2
  • Improved specs
  • Relaxed posion and jason dependency

v1.2.0

29 Mar 03:00
Compare
Choose a tag to compare

Enhancements

  • Update ex_cldr dependency to version 1.5 which uses CLDR data version 33