Skip to content

chore(deps): bump icu_locid from 1.5.0 to 2.0.0 - #9

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/icu_locid-2.0.0
Open

chore(deps): bump icu_locid from 1.5.0 to 2.0.0#9
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/icu_locid-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown

Bumps icu_locid from 1.5.0 to 2.0.0.

Release notes

Sourced from icu_locid's releases.

ICU4X 2.0.0

The ICU4X Technical Committee is happy to announce ICU4X 2.0, a major update to our modular, portable, and secure i18n library.

Important changes since ICU4X 1.5 include:

  1. Preference Objects: Instead of directly passing Locale objects to formatters, most constructors now accept "preference bags." These can be derived from locales but also constructed directly with type-safe enums, and they are more efficient.

  2. Date, Time, and Time Zone Rewrite: The icu::datetime component underwent a complete rewrite with APIs that improve performance and make it easier to do the right thing. The new icu::time component replaces icu::timezone and handles i18n-focused date, time, and time zone representations.

  3. FFI Overhaul: C++ namespaces, improvements to function versioning, and idiomatic improvements in all languages, such as getters/setters, iterators, and constructors.

  4. Borrowed variants: More types have separate owned and borrowed variants, which improves performance. This also enables more components to be compiled without an allocator, making some crates fully #[no_std].

  5. Compiled data updated: All components ship with the latest versions of CLDR (47.0) and Unicode (16.0).

Thanks to everyone who tried the 2.0 Beta releases. We have used your feedback to improve the 2.0 release.

ICU4X 2.0 Beta 2

This release includes a lot of the remaining changes slated for 2.0. The major difference from 2.0-beta1 is that it fills in FFI for all new APIs except for those in datetime.

This release also brings ICU4X to CLDR 47 Beta 1, ICU 77 RC, and TZDB 2025a.

This release is intended to be a stepping stone to the final 2.0 release: we do not expect major changes after this, except potentially to datetime FFI. Clients are encouraged to update to this to experience a smoother 2.0 upgrade.

This release includes some breaking changes over 2.0 beta 1.

  • The datetime crate has continued to evolve, with some API renames, though the shape of the crate is mostly the same.
  • icu_timezone has been renamed to icu_time, and has been restructured.
  • Users of --no-default-features may find themselves needing to explicitly opt in to an alloc feature for some crates, as ICU4X is gaining the ability to be no-alloc.
  • Many std features have been removed from crates that no longer need them.

Please refer to the changelog for a full set of differences.

Please send feedback by creating an issue or discussion on GitHub.

ICU4X 2.0 Beta 1

This release includes a rewritten datetime component, type-safe preferences in all constructors, CLDR 46 and Unicode 16 data, new experimental duration and unit formatting components, an all-new WebAssembly demo, and improvements to many other components including locale tailoring in segmenter, algorithmic plural selection, and IXDTF parsing for zoned datetimes.

This release includes breaking changes. The most common you will encounter include:

  1. All constructors take a preference bag by value instead of a &DataLocale.
  2. Many functions had subtle renames, such as try_from_bytes becoming try_from_utf8.
  3. The datetime component was rewritten, and call sites will need to be migrated.

Refer to the latest documentation for more information. Please also ask questions on GitHub.

This is a beta release, meaning that the team expects this to be mostly compatible with the upcoming 2.0 final release, but there is still room to make changes. Please send feedback by creating an issue or discussion on GitHub.

Changelog

Sourced from icu_locid's changelog.

Changelog

icu4x 2.2.x

Several crates have had patch releases in the 2.2 stream:

  • Components
    • (2.2.1) icu_calendar
      • Fix extended year calculations in Gregorian-like and Coptic-like calendars (unicode-org#7849)
    • (2.2.1) icu_collator
      • Fix panic when using AlternateHandling::Shifted with MaxVariable::Currency (off-by-one in special primaries validation). (unicode-org#8081)
  • Utils
    • (0.8.3) yoke
      • Fix soundness of Send/Sync impls on CartableOptionPointer (unicode-org#8029)
      • Update to 2024 edition where possible (unicode-org#7878)

icu4x 2.2

  • Components
    • General
      • Use HTTPS links in docs (unicode-org#7212)
      • Update MSRV to 1.86 (unicode-org#7576)
      • Updated to CLDR 48.2 (unicode-org#7792)
      • Replace experimental features with unstable features (unicode-org#7566)
      • Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
    • icu_calendar
      • Add Date::try_new, which replaces Date::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)
      • New methods: Date::try_new (and primarily-internal Calendar::new_date)
      • New types: InputYear, DateNewError
      • Handle possible Overflow values on individual calendars (unicode-org#7795)
      • New Date::try_from_fields API for fully general date construction from various choices of year and month values (unicode-org#7798)
      • New methods: Date::try_from_fields()
      • New types: DateFields, DateFromFieldsOptions, Overflow, MissingFieldsStrategy, DateFromFieldsError
      • New associated method: Calendar::from_fields()
      • New Date arithmetic APIs for adding and subtracting dates (unicode-org#7798, unicode-org#7355, unicode-org#7257)
      • New methods: Date::try_add_with_options, Date::try_added_with_options, Date::try_until_with_options
      • New types: DateDuration, DateAddOptions, DateDifferenceOptions, DateDurationUnit, DateDurationParseError, DateAddError, MismatchedCalendarError
      • New associated items: Calendar::add, Calendar::until, Calendar::DateCompatibilityError
      • Introduce a new Month type, preferred over using month codes (unicode-org#7147, unicode-org#7756)
        • New type: Month
        • New method: MonthInfo::to_input()
      • Introduce year/date ranges to all APIs, documented on the APIs themselves. Date now has a fundamental range (ISO years between ±999,999), and most constructors enforce a stricter range of ±9999 years for input years. (unicode-org#7676, unicode-org#7062, unicode-org#7629, unicode-org#7753, unicode-org#7219, unicode-org#7227)
      • Add constructors with Month for lunisolar calendars (unicode-org#7485)
      • New methods: Date::try_new_korean_traditional(), Date::try_new_chinese_traditional(), Date::try_new_hebrew_v2()
      • Expose LeapStatus on MonthInfo (unicode-org#7667)
      • New method: MonthInfo::leap_status()
      • New enum: LeapStatus
      • (Unstable) Integrate with chrono, jiff, and time (unicode-org#7617, unicode-org#7711)
      • New impls: From<chrono::NaiveDate>, From<jiff::civil::Date>, From<time::Date> for Date<Gregorian>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [icu_locid](https://github.com/unicode-org/icu4x) from 1.5.0 to 2.0.0.
- [Release notes](https://github.com/unicode-org/icu4x/releases)
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unicode-org/icu4x/compare/icu@1.5.0...icu@2.0.0)

---
updated-dependencies:
- dependency-name: icu_locid
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants