Skip to content

chore(deps)(deps): bump icu from 1.5.0 to 2.1.1#31

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/icu-2.1.1
Open

chore(deps)(deps): bump icu from 1.5.0 to 2.1.1#31
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/icu-2.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 7, 2026

Copy link
Copy Markdown
Contributor

Bumps icu from 1.5.0 to 2.1.1.

Release notes

Sourced from icu's releases.

ICU4X 2.1.0

The ICU4X Technical Committee is happy to announce ICU4X 2.1, an update to our modular, portable, and secure i18n library.

Important changes since ICU4X 2.0 include:

  1. Latest i18n data: This release includes an update to CLDR 48.
  2. Calendar improvements: ICU4X is now being used to implement Temporal in V8 and SpiderMonkey. icu_calendar has received many fixes and improvements in service of that, including new experimental arithmetic APIs.
  3. Normalizer optimizations: icu_normalizer has received a lot of optimization work, with some more to come. Optimizations made to shared data structures will benefit other components as well.
  4. Collation sort keys: It is now possible to use icu_collator to extract the sort key of a given string to amortize the cost of collation operations.

When updating ICU4X crates to 2.1, you may experience issues due to incompatibilities between buggy older crates and newer crates around the alloc feature. In that case, please run cargo update for any crates that show up in the errors.

See the full changelog for more information

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

... (truncated)

Changelog

Sourced from icu's changelog.

Changelog

icu 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)
  • 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>
      • Replace Date::day_of_week by Date::weekday (unicode-org#7288)
        • New method: Date::weekday()

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Jun 7, 2026

Copy link
Copy Markdown
Contributor 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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 7, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
concierge 5083707 Jun 09 2026, 08:35 AM

Bumps [icu](https://github.com/unicode-org/icu4x) from 1.5.0 to 2.1.1.
- [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/commits)

---
updated-dependencies:
- dependency-name: icu
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/icu-2.1.1 branch from 04cb806 to 5083707 Compare June 9, 2026 08:30
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