As of Cldr_HTML version 1.6.0 the minimum required Elixir version is 1.12.
This is the changelog for Cldr HTML v1.6.0 released on May 28th, 2024. For older changelogs please consult the release tag on GitHub
- Adds support for phoenix_html version 4.0. Thanks very much to @03juan for the PR.
This is the changelog for Cldr HTML v1.5.2 released on August 11th, 2023. For older changelogs please consult the release tag on GitHub
- Add
ex_cldr_territories
as optional dependency - as it should always have been. Thanks to @cw789 for the report and great patience. Closes #17. Again.
This is the changelog for Cldr HTML v1.5.1 released on August 10th, 2023. For older changelogs please consult the release tag on GitHub
- Fixes compile time module checking on Elixir 1.15 and OTP 25 or later. Thanks to @cw789 for the report. Closes #17.
This is the changelog for Cldr HTML v1.5.0 released on April 28th, 2023. For older changelogs please consult the release tag on GitHub
- Fix omitting
:und
locale from the locale selection list
- Updates to ex_cldr version 2.37.0 which includes data from CLDR release 43
This is the changelog for Cldr HTML v1.4.2 released on October 17th, 2022. For older changelogs please consult the release tag on GitHub
- Fix type spec for select options to remove dialyzer warning. Thanks to @quentin-bettoum. Closes #16.
This is the changelog for Cldr HTML v1.4.1 released on September 10th, 2022. For older changelogs please consult the release tag on GitHub
- Adds
lang
attributes to locale selection to signal better information for accessibility. Thanks very much to @quentin-bettoum for the pull request. Closes #15.
This is the changelog for Cldr HTML v1.4.0 released on March 29th, 2022. For older changelogs please consult the release tag on GitHub
- Adds
Cldr.HTML.Currency.currency_options/1
,Cldr.HTML.Unit.unit_options/1
andCldr.HTML.Locale.locale_options/1
to generate a list of currency, unit and locale options that can be used in any case where a list of select options is required. Thanks to jokawachi-hg for the PR.
This is the changelog for Cldr HTML v1.3.0 released on March 25th, 2022. For older changelogs please consult the release tag on GitHub
- Adds
Cldr.HTML.Territory.territory_options/1
to generate a list of territory options that can be used in any case where a list of territories is required (Not just inCldr.HTML.Territory.select/3
). Thanks to @fcarlislehg for the PR.
This is the changelog for Cldr HTML v1.2.0 released on March 2nd, 2022. For older changelogs please consult the release tag on GitHub
- Updates to ex_cldr version 2.26.0 which uses atoms for locale names and rbnf locale names. This is consistent with out elements of
t:Cldr.LanguageTag
where atoms are used where the cardinality of the data is fixed and relatively small and strings where the data is free format.
This is the changelog for Cldr HTML v1.1.0 released on September 25th, 2021. For older changelogs please consult the release tag on GitHub
- Support
phoenix_html
version 3.0 in addition to earlier releases.
This is the changelog for Cldr HTML v1.0.1 released on September 2nd, 2021. For older changelogs please consult the release tag on GitHub
- Use
Cldr.Territory.country_codes/0
as the default territory list. PreviouslyCldr.known_territories/0
was used. However that function returns a list of valid codes, not "known to CLDR" codes (which also needs fixing). Thanks to @walu-lila for the report. Fixes #10.
This is the changelog for Cldr HTML v1.0.0 released on July 3rd, 2021. For older changelogs please consult the release tag on GitHub
- Add
Cldr.HTML.Locale.select/3
to select locales.
This is the changelog for Cldr HTML v0.5.0 released on June 23rd, 2021. For older changelogs please consult the release tag on GitHub
-
Correctly sort the selection list. Thanks to @0urobor0s for the collaboration
-
Pass options through to
Phoenix.HTML.Form.select/4
. Thanks to @0urobor0s for the PR.
- Adds a
:collator
option to theCldr.HTML.{Unit, Territory, Currency}.select/4
. This enables a library user to implement any desired collation on the select options before rendering.
This is the changelog for Cldr HTML v0.4.0 released on June 11th, 2021. For older changelogs please consult the release tag on GitHub
- Make
ex_doc
only available in:dev
and:release
This is the changelog for Cldr HTML v0.3.0 released on May 23rd, 2021. For older changelogs please consult the release tag on GitHub
-
Add
Cldr.HTML.Territory.select/3
to select territories -
Add support for
:style
option inCldr.HTML.Unit.select/3
This is the changelog for Cldr HTML v0.2.0 released on February 7th, 2021. For older changelogs please consult the release tag on GitHub
-
Add
Cldr.HTML.Unit.unit_select/3
-
Use
Cldr.get_locale/0
notCldr.default_locale/0
as default parameter
This is the changelog for Cldr HTML v0.1.0 released on November 1st, 2020. For older changelogs please consult the release tag on GitHub
-
First hex release
-
Support CLDR 38