Note that ex_cldr_lists
version 2.11.1 and later are supported on Elixir 1.12 and later only.
This is the changelog for Cldr_lists v2.11.1 released on August 16th, 2023. For older changelogs please consult the release tag on GitHub
- Fix specs to suport dialyzer flags
:error_handling, :unknown, :underspecs, :extra_return, :missing_return
This is the changelog for Cldr_lists v2.11.0 released on March 15th, 2023. For older changelogs please consult the release tag on GitHub
- Introduces
Cldr.List.Pattnern.new/1
to support user-defined list formatting patterns.
This is the changelog for Cldr_lists v2.10.2 released on November 2nd, 2023. For older changelogs please consult the release tag on GitHub
- Fix compiler warnings on Elixir 1.16.
This is the changelog for Cldr_lists v2.10.1 released on September 6th, 2023. For older changelogs please consult the release tag on GitHub
- Fix tests that depended on map key order.
This is the changelog for Cldr_lists v2.10.0 released on February 21st, 2022. For older changelogs please consult the release tag on GitHub
- Updates to ex_cldr version 2.26.0 and ex_cldr_numbers version 2.25.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.
This is the changelog for Cldr_lists v2.9.0 released on October 27th, 2021. For older changelogs please consult the release tag on GitHub
- Updates to support CLDR release 40 via ex_cldr version 2.24
-
Don't call deprecated
Cldr.Config.get_locale/2
, callCldr.Locale.Loader.get_locale/2
instead. -
Don't call deprecated
Cldr.Config.known_locale_names/1
, callCldr.Locale.Loader.known_locale_names/1
instead.
This is the changelog for Cldr_lists v2.9.0-rc.2 released on October 25th, 2021. For older changelogs please consult the release tag on GitHub
- Don't call deprecated
Cldr.Config.known_locale_names/1
, callCldr.Locale.Loader.known_locale_names/1
instead.
This is the changelog for Cldr_lists v2.9.0-rc.1 released on October 24th, 2021. For older changelogs please consult the release tag on GitHub
- Don't call deprecated
Cldr.Config.get_locale/2
, callCldr.Locale.Loader.get_locale/2
instead.
This is the changelog for Cldr_lists v2.9.0-rc.0 released on October 3rd, 2021. For older changelogs please consult the release tag on GitHub
- Support CLDR 40
This is the changelog for Cldr_lists v2.8.0 released on April 8th, 2021. For older changelogs please consult the release tag on GitHub
- Support CLDR 39
This is the changelog for Cldr_lists v2.7.0 released on November 1st, 2020. For older changelogs please consult the release tag on GitHub
- Support CLDR 38
This is the changelog for Cldr_lists v2.6.1 released on September 26th, 2020. For older changelogs please consult the release tag on GitHub
- Use
Cldr.default_backend!/0
instead ofCldr.default_backend/0
if its available
This is the changelog for Cldr_lists v2.6.0 released on July 1st, 2020. For older changelogs please consult the release tag on GitHub
-
Standardize on
:format
rather than:style
for formatting options. This is part of an ongoing effort to standardise option naming across the CLDR libraries. Thanks to @Zurga for the collaboration. Closes #4. This reverts the decision made inex_cldr_lists version 2.4.0
. -
Deprecates
Cldr.List.list_styles_for/2
in favour ofCldr.List.list_formats_for/2
-
Updates to use
Cldr.locale_and_backend_from/{1, 2}
which normalizes extraction of backend and locale from parameters and options. As a result, also bump the minimum version ofex_cldr_numbers
to2.15
This is the changelog for Cldr_lists v2.5.0 released on May 4th, 2020. For older changelogs please consult the release tag on GitHub
-
Add implementation for the
Cldr.Chars
protocol which is used byCldr.to_string/1
and which is a drop-in replacement forKernel.to_string/1
with added default localization. -
Depends upon ex_cldr_numbers version 2.17 which encapsulates CLDR39 data.
This is the changelog for Cldr_lists v2.4.0 released on August 31st, 2019. For older changelogs please consult the release tag on GitHub
-
Prefer the keyword option
:style
over:format
to specify the list style inCldr.List.to_string/3
andCldr.List.intersperse/3
. The keyword:format
is deprecated and will be removed inex_cldr_lists
version 3.0 -
Rename
Cldr.List.list_pattern_styles_for/2
toCldr.List.list_styles_for/2
.Cldr.List.list_pattern_styles_for/2
will still operate and delegates toCldr.List.list_styles_for/2
. It is now deprecated and will be removed inex_cldr_lists
3.0.
This is the changelog for Cldr_lists v2.3.0 released on August 29th, 2019. For older changelogs please consult the release tag on GitHub
- Add
Cldr.List.known_list_styles/0
This is the changelog for Cldr_lists v2.2.2 released on August 23rd, 2019. For older changelogs please consult the release tag on GitHub
- Fix
@spec
forCldr.List.to_string/3
andCldr.List.to_string!/3
This is the changelog for Cldr_lists v2.2.1 released on August 21st, 2019. For older changelogs please consult the release tag on GitHub
-
Replace
Cldr.get_current_locale/0
withCldr.get_locale/0
in docs -
The option
:backend
toCldr.List.to_string/3
will be used as the backend if provided -
Fix dialyzer warnings
This is the changelog for Cldr_lists v2.2.0 released on March 28th, 2019. For older changelogs please consult the release tag on GitHub
- Updates to CLDR version 35.0.0 released on March 27th 2019.
This is the changelog for Cldr_lists v2.1.0 released on March 23rd, 2019. For older changelogs please consult the release tag on GitHub
- Support
Cldr.default_backend/0
and apply it as the default for functions inCldr.List
This is the changelog for Cldr_lists v2.0.2 released on March 20th, 2019. For older changelogs please consult the release tag on GitHub
- Fix dialyzer warnings
This is the changelog for Cldr_lists v2.0.1 released on March 15th, 2019. For older changelogs please consult the release tag on GitHub
- Makes generation of documentation for backend modules optional. This is implemented by the
:generate_docs
option to the backend configuration. The default istrue
. For example:
defmodule MyApp.Cldr do
use Cldr,
default_locale: "en-001",
locales: ["en", "ja"],
gettext: MyApp.Gettext,
generate_docs: false
end
This is the changelog for Cldr_lists v2.0.0 released on November 24th, 2018. For older changelogs please consult the release tag on GitHub
- Move to a backend module structure with ex_cldr version 2.0
- Add
Cldr.List.intersperse/3
. Thanks to @lostkobrakai. Closes #2.