- Updates to support CLDR release 45 via ex_cldr version 2.38.1
- Fixed typespec in
info/1
andinfo!/1
, thanks to @jfpedroza. - Fixed typespec in
known_territory_subdivision/0
, thanks to @richard-ash. - Fixed compiler warnings for Elixir 1.16, thanks to @tomciopp.
- Fixed compiler warnings for Elixir 1.17.
- Require Elixir 1.12.0.
- Fixed compiler warning for
from_subdivision_code/*
.
- Fixed compiler warnings for Elixir 1.15, thanks to @alappe.
- Resolve subdivision aliases in
from_subdivision_code/*
andfrom_subdivision_code!/*
and, allow optional style to be passed to the underlyingfrom_territory_code/*
in cases where a subdivision is to be treated as a territory. - Added
subdivision_aliases/0
.
- Updates to support CLDR release 43 via ex_cldr version 2.37
- Updates to support CLDR release 42 via ex_cldr version 2.34
- Updates to ex_cldr version 2.33
- Updates to support CLDR release 41 via ex_cldr version 2.28
- Fixed spec for
known_territory_subdivisions/2
thanks to @zorbash
- Updates to ex_cldr version 2.26.0 which use atoms for locale names and rbnf locale names. This is consistent with other elements of
t:Cldr.LanguageTag
where atoms are used when the cardinality of the data is fixed and relatively small and strings where the data is free format.
-
Updates to support CLDR release 40 via ex_cldr version 2.24
-
Replace deprecated
Cldr.Config.get_locale/2
andCldr.Config.known_locale_names/1
with the replacement versions inCldr.Locale.Loader
- Updates minimum Elixir version to 1.10 since this is the minimum supported by
ex_cldr
version 2.24 and later.
-
Updates to
ex_cldr
version2.24
which uses CLDR 40 data -
Both territories and territory subdivisions are now represented as atoms in the canonical form rather than the previous binary representation.
-
Fix bug in
translate_territory!/4
#16, thanks to @leandrocp. -
Fix bug in
translate_subdivision!/4
.
- Fix specs for
known_territories/1
,known_subdivisions/1
,from_subdivision_code/2,3
andfrom_subdivision_code!/2,3
#14
-
Requires
ex_cldr
version2.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
andtranslate_subdivision/4
to support subdivison, thansk to @mskv. -
Improved proformance for
from_territory_code/2
,from_subdivision_code/2
,translate_territory/4
andtranslate_subdivision/4
, thanks to @kipcole9.
-
Requires
ex_cldr
version2.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
- Fix dialyzer errors thanks to @jeroenvisser101
This is the changelog for Cldr Territories v2.0.0 released on November 25th, 2018. For older changelogs please consult the release tag on GitHub
- Move to a backend module structure with ex_cldr version 2.0