Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2025

Bumps ex_cldr from 2.42.0 to 2.44.1.

Release notes

Sourced from ex_cldr's releases.

Cldr version 2.44.1

Bug Fixes

  • Fix locale data format for locale display names for languages which have a :menu section.

  • Fix locale loading to atomize the keys for locale display for languages which have a :menu section.

Cldr version. 2.44.0

Breaking Changes

  • Some data formats have changed and the changes are reflected in the locale .json files. These changes should not normally affect consumers since consumers are not normally expected to deal with the underlying data.

    • Relative ordinal date field localized names are now captured as a map not a list. In addition, 2 and -2 ordinal names are added to the data.
    • Locale display names and language names now have a subtype of menu which is a map containing the keys :core, :extension and :default. More or more of these entries may be nil.

Bug Fixes

  • Parsing language tags with the und (unknown) language now correctly substituted for a known language name if one can be found in Cldr.Locale.likely_subtags/0. For example:
iex> Cldr.validate_locale("und-TW")
{:ok, TestBackend.Cldr.Locale.new!("zh-Hant-TW")}
  • The :gettext_locale_name field of a t:Cldr.LanguageTag.t/0 is now set exactly as returned from Gettext.known_locale_names/1. Previously it was being tranformed to a BCP 47 format locale (replacing "_" with "-"). That is no longer the case.

  • Territory containment was previously not considering nested containers and is now doing so. For example, territory "019" (Americas) includes "419" (Latin America and the Carribbean) but "419" was not appearing in the list for "019" since CLDR categorises "grouping" territories separately. This should not affect any consumers, only library writers.

Enhancements

  • Update to CLDR 48 data.

  • Add Cldr.Locale.Match.best_match/2 and Cldr.Locale.Match.match_distance/3 to implement the CLDR Language Matching algorithm. This is a more formal and testable approach that the previous mechanism. This new function will be use to implement better matching between a known CLDR locale name and supported Gettext locale names. Therefore it is possible that the gettext_locale_name field of a t:Cldr.LanguageTag.t/0 may change with this release.

Cldr version 2.43.2

Upgrading

  • Please note that when upgrading to ex_cldr version 2.43.0 and later it is also required to update the following dependent libraries:

    • ex_cldr_dates_times to at least version 2.23.0
    • ex_cldr_locale_display to at least version 1.6.1

Bug Fixes

  • Fix Parsing a language tag when the U extension has a timezone short code that needs to be canonicalised. For example, "en-u-tz-est5edt" needs to become "en-u-tz-usnyc".

  • Relax gettext requirement to allow the recently release 1.0 version. Thanks to @​Terbium-135 for the report. Closes #262.

Cldr version 2.43.1

Bug Fixes

... (truncated)

Changelog

Sourced from ex_cldr's changelog.

Cldr v2.44.1

This is the changelog for Cldr v2.44.1 released on November 13th, 2025. For older changelogs please consult the release tag on GitHub

Bug Fixes

  • Fix locale data format for locale display names for languages which have a :menu section.

  • Fix locale loading to atomize the keys for locale display for languages which have a :menu section.

Cldr v2.44.0

This is the changelog for Cldr v2.44.0 released on November 6th, 2025. For older changelogs please consult the release tag on GitHub

Breaking Changes

  • Some data formats have changed and the changes are reflected in the locale .json files. These changes should not normally affect consumers since consumers are not normally expected to deal with the underlying data.

    • Relative ordinal date field localized names are now captured as a map not a list. In addition, 2 and -2 ordinal names are added to the data.
    • Locale display names and language names now have a subtype of menu which is a map containing the keys :core, :extension and :default. More or more of these entries may be nil.

Bug Fixes

  • Parsing language tags with the und (unknown) language now correctly substituted for a known language name if one can be found in Cldr.Locale.likely_subtags/0. For example:
iex> Cldr.validate_locale("und-TW")
{:ok, TestBackend.Cldr.Locale.new!("zh-Hant-TW")}
  • The :gettext_locale_name field of a t:Cldr.LanguageTag.t/0 is now set exactly as returned from Gettext.known_locale_names/1. Previously it was being tranformed to a BCP 47 format locale (replacing "_" with "-"). That is no longer the case.

  • Territory containment was previously not considering nested containers and is now doing so. For example, territory "019" (Americas) includes "419" (Latin America and the Carribbean) but "419" was not appearing in the list for "019" since CLDR categorises "grouping" territories separately. This should not affect any consumers, only library writers.

Enhancements

  • Update to CLDR 48 data.

  • Add Cldr.Locale.Match.best_match/2 and Cldr.Locale.Match.match_distance/3 to implement the CLDR Language Matching algorithm. This is a more formal and testable approach that the previous mechanism. This new function will be use to implement better matching between a known CLDR locale name and supported Gettext locale names. Therefore it is possible that the gettext_locale_name field of a t:Cldr.LanguageTag.t/0 may change with this release.

Cldr v2.43.2

This is the changelog for Cldr v2.43.2 released on September 13th, 2025. For older changelogs please consult the release tag on GitHub

Upgrading

  • Please note that when upgrading to ex_cldr version 2.43.0 and later it is also required to update the following dependent libraries:

    • ex_cldr_dates_times to at least version 2.23.0
    • ex_cldr_locale_display to at least version 1.6.1

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Dec 1, 2025
@netlify
Copy link

netlify bot commented Dec 1, 2025

Deploy Preview for teslamate ready!

Name Link
🔨 Latest commit 98af360
🔍 Latest deploy log https://app.netlify.com/projects/teslamate/deploys/69459009ade15600088cc549
😎 Deploy Preview https://deploy-preview-5053--teslamate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@JakobLichterfeld JakobLichterfeld added this to the v2.3.0 milestone Dec 2, 2025
@JakobLichterfeld JakobLichterfeld force-pushed the dependabot/hex/ex_cldr-2.44.1 branch from b66c454 to 38ee6ba Compare December 2, 2025 12:17
Copy link
Member

@JakobLichterfeld JakobLichterfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use the locales from github and do not try to download, but:

nix build --override-input devenv-root "file+file://"<(printf %s "$PWD")
warning: not writing modified lock file of flake 'git+file:///Users/jakob/development/repos/teslamate':
• Updated input 'devenv-root':
    'file:///dev/null?narHash=sha256-d6xi4mKdjkX2JFicDIv5niSzpyI0m/Hnm8GGAIU04kY%3D''file:///dev/fd/11?narHash=sha256-9tpPgqnEDhMhr6y92q04L2dkVtP5kRnDm7BgO6XyseE%3D'
error: Cannot build '/nix/store/wi1zs2zy66q2krylw0ci0qmc8a45iy8h-teslamate-2.2.1-dev.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/4k637jmyz5giijn4l1nl2f7q0xvib2k1-teslamate-2.2.1-dev
       Last 25 log lines:
       >>      └─ lib/phoenix_live_view/router.ex:301:49: Phoenix.LiveView.Router.validate_live_session_opts/3
       >
       > Generated phoenix_live_view app
       > ==> phoenix_ecto
       > Compiling 7 files (.ex)
       > Generated phoenix_ecto app
       > ==> cloak_ecto
       > Compiling 22 files (.ex)
       > Generated cloak_ecto app
       > configurePhase completed in 45 seconds
       > Running phase: buildPhase
       > Compiling 78 files (.ex)
       > 
       > 13:13:20.350 [info] Locale data for :ca is stale. Cldr version is 47.0.0, locale version is 48.0.0. Updated locale data will be downloaded.
       > 
       > == Compilation error in file lib/teslamate_web/cldr.ex ==
       > ** (File.Error) could not write to file "/nix/store/4hjn88czmiz5xhmmbj31qvm655gazvg5-source/priv/cldr/locales/ca.json": permission denied
       >     (elixir 1.18.4) lib/file.ex:1144: File.write!/3
       >     (ex_cldr 2.42.0) lib/cldr/install.ex:107: Cldr.Install.do_install_locale_name/3
       >     (elixir 1.18.4) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
       >     (ex_cldr 2.42.0) lib/cldr/install.ex:29: Cldr.Install.install_known_locale_names/1
       >     (ex_cldr 2.42.0) lib/cldr.ex:102: Cldr.install_locales/1
       >     (ex_cldr 2.42.0) expanding macro: Cldr.Backend.Compiler.__before_compile__/1
       >     lib/teslamate_web/cldr.ex:1: TeslaMateWeb.Cldr (module)
       For full logs, run:
         nix log /nix/store/wi1zs2zy66q2krylw0ci0qmc8a45iy8h-teslamate-2.2.1-dev.drv

@JakobLichterfeld JakobLichterfeld marked this pull request as draft December 2, 2025 13:14
@JakobLichterfeld JakobLichterfeld force-pushed the dependabot/hex/ex_cldr-2.44.1 branch from 9c26374 to c8b5122 Compare December 2, 2025 13:33
@JakobLichterfeld JakobLichterfeld force-pushed the dependabot/hex/ex_cldr-2.44.1 branch from c8b5122 to 4e19672 Compare December 19, 2025 16:21
dependabot bot and others added 3 commits December 19, 2025 18:48
Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.42.0 to 2.44.1.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/main/CHANGELOG.md)
- [Commits](elixir-cldr/cldr@v2.42.0...v2.44.1)

---
updated-dependencies:
- dependency-name: ex_cldr
  dependency-version: 2.44.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@JakobLichterfeld JakobLichterfeld force-pushed the dependabot/hex/ex_cldr-2.44.1 branch from 4e19672 to 98af360 Compare December 19, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant