diff --git a/CHANGELOG.md b/CHANGELOG.md index 921bb92a0..d59665d33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,15 @@ **Note that `ex_cldr` version 2.33.0 and later are supported on Elixir 1.11 and later only.** -## Cldr v2.37.3 +## Cldr v2.37.4 + +This is the changelog for Cldr v2.37.4 released on Octoebr 12th, 2023. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr/tags) + +### Bug Fixes + +* Reverts a change to the format of the alias data for subdivisions which was causing an exception in `ex_cldr_territories`. The change, which normalizes subdivision codes to be upcase atoms when the subdivision has its own ISO 3166 territory code, will be be added back for `ex_cldr` version 2.38.0 which will align with CLDR 44. Closes #216. + +## Cldr v2.37.3 [Deprecated] This is the changelog for Cldr v2.37.3 released on Octoebr 12th, 2023. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr/tags) diff --git a/lib/cldr/config/config.ex b/lib/cldr/config/config.ex index 283636136..7ab865ee8 100644 --- a/lib/cldr/config/config.ex +++ b/lib/cldr/config/config.ex @@ -1940,14 +1940,14 @@ defmodule Cldr.Config do |> File.read!() |> json_library().decode! |> Cldr.Map.atomize_keys(level: 1..1) - |> Cldr.Map.deep_map(fn - {k, v} when is_binary(v) -> - if String.length(v) == 2, do: {k, String.to_atom(v)}, else: {k, v} - other -> - other - end, - filter: :subdivision - ) + # |> Cldr.Map.deep_map(fn + # {k, v} when is_binary(v) -> + # if String.length(v) == 2, do: {k, String.to_atom(v)}, else: {k, v} + # other -> + # other + # end, + # filter: :subdivision + # ) |> structify_languages end diff --git a/mix.exs b/mix.exs index 67821cd32..aed18264b 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Cldr.Mixfile do use Mix.Project - @version "2.37.3" + @version "2.37.4" def project do [