Changelog for Cldr_Lists v2.7.0
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
Enhancements
- Support CLDR 38
Changelog for Cldr_Lists v2.6.1
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
Bug Fixes
- Use
Cldr.default_backend!/0instead ofCldr.default_backend/0if its available
Changelog for Cldr_Lists v2.6.0
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
Enhancements
Standardize on
:formatrather than:stylefor 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/2in favour ofCldr.List.list_formats_for/2Updates 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_numbersto2.15
Changelog for Cldr_Lists v2.5.0
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
Enhancements
- Add implementation for the
Cldr.Charsprotocol which is used byCldr.to_string/1and which is a drop-in replacement forKernel.to_string/1with added default localization.
Changelog for Cldr_Lists v2.4.0
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
Changes and deprecations
Prefer the keyword option
:styleover:formatto specify the list style inCldr.List.to_string/3andCldr.List.intersperse/3. The keyword:formatis deprecated and will be removed inex_cldr_listsversion 3.0Rename
Cldr.List.list_pattern_styles_for/2toCldr.List.list_styles_for/2.Cldr.List.list_pattern_styles_for/2will still operate and delegates toCldr.List.list_styles_for/2. It is now deprecated and will be removed inex_cldr_lists3.0.
Changelog for Cldr_Lists v2.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
Enhancements
Changelog for Cldr_Lists v2.2.2
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
Bug Fixes
- Fix
@specforCldr.List.to_string/3andCldr.List.to_string!/3
Changelog for Cldr_Lists v2.2.1
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
Bug Fixes
Replace
Cldr.get_current_locale/0withCldr.get_locale/0in docsThe option
:backendtoCldr.List.to_string/3will be used as the backend if providedFix dialyzer warnings
Changelog for Cldr_Lists v2.2.0
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
Enhancements
- Updates to CLDR version 35.0.0 released on March 27th 2019.
Changelog for Cldr_Lists v2.1.0
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
Enhancements
- Support
Cldr.default_backend/0and apply it as the default for functions inCldr.List
Changelog for Cldr_Lists v2.0.2
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
Bug Fixes
- Fix dialyzer warnings
Changelog for Cldr_Lists v2.0.1
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
Enhancements
- Makes generation of documentation for backend modules optional. This is implemented by the
:generate_docsoption 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
endChangelog for Cldr_Lists v2.0.0
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
Enhancements
- Move to a backend module structure with ex_cldr version 2.0
- Add
Cldr.List.intersperse/3. Thanks to @lostkobrakai. Closes #2.