Skip to content

Bump icu_locid from 1.5.0 to 2.0.0 - #4

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

Bump icu_locid from 1.5.0 to 2.0.0#4
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 Mar 15, 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

Unreleased

Fully filled in up to 30c187f4b7

  • Components
    • General
      • Use HTTPS links in docs (unicode-org#7212)
      • Update MSRV to 1.86 (unicode-org#7576)
    • icu_calendar
      • Introduce a new Month type, preferred over using month codes (unicode-org#7147)
      • Restrict the range of valid dates constructed via certain constructors (unicode-org#7219, unicode-org#7227)
      • Fix out-of-range bug during date arithmetic (unicode-org#7257)
      • Implement ISO 8601 date duration parsing (#7355)
      • Correctly produce ethioaa calendars from CalendarAlgorithm (unicode-org#7321)
      • Respect -u-rg in calendar resolution (unicode-org#7376)
      • Optimize the stack size of Date types (unicode-org#7220)
      • AnyCalendar cleanups and docs fixes (unicode-org#7223, unicode-org#7225)
      • Improve Hijri docs (unicode-org#7330, unicode-org#7332, unicode-org#7333)
      • Remove Hijri<AstronomicalSimulation> simulation code, retaining hardcoded data, falling back to Tabular for non-modern dates (unicode-org#7301)
      • Replace Date::day_of_week by Date::weekday (unicode-org#7288)
      • Deprecate Date::new_from_iso/Date::to_iso (unicode-org#7287)
      • Optimize Hebrew and Julian calendars (unicode-org#7213)
      • Optimize day/week diffing to use RDs (unicode-org#7308)
      • Optimize until month and day calculation performance
    • icu_casemap
      • General changes only
    • icu_collections
      • Add CodePointInversionListAndStringList::contains_utf8 (unicode-org#7363)
    • icu_codepointtrie_builder: 0.5.1 -> ???
      • Remove serde dep from icu_codepointtrie_builder (unicode-org#7298)
    • icu_collator
      • General changes only
    • icu_datetime
      • Fix error handling for FieldSetBuilder (unicode-org#7245)
      • Add some support for U (cyclic year) datetime symbol (unicode-org#7328)
      • Remove old datetime data structs (unicode-org#7205)
      • Assorted improvements to icu_datetime docs (unicode-org#7244)
    • icu_decimal
      • General changes only
    • icu_experimental: 0.4.0 -> ???
      • compactdecimal
        • Don't hallucinate patterns (unicode-org#7387)
        • Pack compact decimal data (unicode-org#7388)
        • Round fractional compact decimals to two significant digits (unicode-org#7389)
      • currency
        • Add currency fractions provider (unicode-org#7278)
        • Update comments for currency data structures to enhance clarity (unicode-org#7405)

... (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 dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 15, 2026
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants