changed CHANGELOG.md
 
@@ -1,5 +1,17 @@
1
1
# Changelog
2
2
3
+ ## Cldr v2.23.2
4
+
5
+ This is the changelog for Cldr v2.23.2 released on September 8th, 2021. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr/tags)
6
+
7
+ ### Bug Fixes
8
+
9
+ * Remove `telemetry` as a dependency. It is not required by `ex_cldr`. Thanks for the report from @benregn. Closes #154.
10
+
11
+ * Integerize all the numeric keys in calendard. Including the 60 days of the Chinese calendar cycle and the 239 Japanese eras.
12
+
13
+ * Change from `use Mix.Config` to `import Config` for configuration. This has been the standard since Elixir 1.9 and since only Elixir 1.10 is supported, the update can be made.
14
+
3
15
## Cldr v2.23.1
4
16
5
17
This is the changelog for Cldr v2.23.1 released on August 20th, 2021. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr/tags)
changed config/config.exs
 
@@ -1,4 +1,4 @@
1
1
# This file is responsible for configuring your application
2
2
# and its dependencies with the aid of the Mix.Config module.
3
- use Mix.Config
3
+ import Config
4
4
import_config "#{Mix.env()}.exs"
changed config/dev.exs
 
@@ -1,4 +1,4 @@
1
- use Mix.Config
1
+ import Config
2
2
3
3
config :ex_cldr,
4
4
default_backend: MyApp.Cldr
changed config/release.exs
 
@@ -1 +1 @@
1
- use Mix.Config
1
+ import Config
changed config/test.exs
 
@@ -1,4 +1,4 @@
1
- use Mix.Config
1
+ import Config
2
2
3
3
# Global config
4
4
config :ex_cldr,
changed hex_metadata.config
 
@@ -71,10 +71,10 @@
71
71
{<<"licenses">>,[<<"Apache 2.0">>]}.
72
72
{<<"links">>,
73
73
[{<<"Changelog">>,
74
- <<"https://github.com/elixir-cldr/cldr/blob/v2.23.1/CHANGELOG.md">>},
74
+ <<"https://github.com/elixir-cldr/cldr/blob/v2.23.2/CHANGELOG.md">>},
75
75
{<<"GitHub">>,<<"https://github.com/elixir-cldr/cldr">>},
76
76
{<<"Readme">>,
77
- <<"https://github.com/elixir-cldr/cldr/blob/v2.23.1/README.md">>}]}.
77
+ <<"https://github.com/elixir-cldr/cldr/blob/v2.23.2/README.md">>}]}.
78
78
{<<"name">>,<<"ex_cldr">>}.
79
79
{<<"requirements">>,
80
80
[[{<<"app">>,<<"cldr_utils">>},
 
@@ -116,10 +116,5 @@
116
116
{<<"name">>,<<"plug">>},
117
117
{<<"optional">>,true},
118
118
{<<"repository">>,<<"hexpm">>},
119
- {<<"requirement">>,<<"~> 1.9">>}],
120
- [{<<"app">>,<<"telemetry">>},
121
- {<<"name">>,<<"telemetry">>},
122
- {<<"optional">>,true},
123
- {<<"repository">>,<<"hexpm">>},
124
- {<<"requirement">>,<<"~> 0.4.0">>}]]}.
125
- {<<"version">>,<<"2.23.1">>}.
119
+ {<<"requirement">>,<<"~> 1.9">>}]]}.
120
+ {<<"version">>,<<"2.23.2">>}.
changed lib/cldr/config/config.ex
 
@@ -1544,9 +1544,10 @@ defmodule Cldr.Config do
1544
1544
end
1545
1545
1546
1546
@doc false
1547
- @keys_to_integerize ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]
1547
+ @keys_to_integerize Enum.map(-2..255, &to_string/1)
1548
1548
@dont_atomize_keys ["languages", "lenient_parse", "locale_display_names", "subdivisions"]
1549
1549
@skip_keys ["zone"]
1550
+
1550
1551
def do_get_locale(locale, path, false) do
1551
1552
path
1552
1553
|> read_locale_file
 
@@ -1569,7 +1570,8 @@ defmodule Cldr.Config do
1569
1570
Cldr.Locale.Cache.get_locale(locale, path)
1570
1571
end
1571
1572
1572
- # Read the file.
1573
+ # Read the file
1574
+ @spec read_locale_file(binary()) :: binary()
1573
1575
defp read_locale_file(path) do
1574
1576
Cldr.maybe_log("Cldr.Config reading locale file #{inspect(path)}")
1575
1577
{:ok, file} = File.open(path, [:read, :binary, :utf8])
changed mix.exs
 
@@ -1,7 +1,7 @@
1
1
defmodule Cldr.Mixfile do
2
2
use Mix.Project
3
3
4
- @version "2.23.1"
4
+ @version "2.23.2"
5
5
6
6
def project do
7
7
[
 
@@ -57,7 +57,6 @@ defmodule Cldr.Mixfile do
57
57
{:plug, "~> 1.9", optional: true},
58
58
{:sweet_xml, "~> 0.6", only: [:dev, :test], optional: true},
59
59
{:benchee, "~> 1.0", only: :dev, runtime: false, optional: true},
60
- {:telemetry, "~> 0.4.0", optional: true},
61
60
{:ratio, "~> 2.0", only: [:dev, :test], optional: true}
62
61
]
63
62
end