Skip to content

chore(deps): bump icu_locale_core from 2.1.1 to 2.2.0#613

Merged
mdn-bot merged 1 commit intomainfrom
dependabot/cargo/icu_locale_core-2.2.0
Apr 6, 2026
Merged

chore(deps): bump icu_locale_core from 2.1.1 to 2.2.0#613
mdn-bot merged 1 commit intomainfrom
dependabot/cargo/icu_locale_core-2.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps icu_locale_core from 2.1.1 to 2.2.0.

Release notes

Sourced from icu_locale_core's releases.

ICU4X 2.2.0

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

Important changes in ICU4X 2.2 include:

  1. Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
  2. New and improved icu_calendar: This release contains new APIs in icu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.
  3. Stable datetime arithmetic: It is now possible to to add and subtract dates via date.try_add_with_options() and date.try_until_with_options().
  4. More flexible date construction: The new Date::try_from_fields() API allows constructing dates from all kinds of constituent data: extended years, era years, ordinal months, month codes, etc., and supports different kinds of overflow handling.
  5. Typed months: The new Month type replaces month codes in a type safe way. Date::try_from_codes() has been replaced with Date::try_new() which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.
  6. Experimental third-party crate integration: We now support converting from and formatting types from the jiff, chrono, and time crates. See icu_datetime::input::third_party. We’re not yet sure if these integrations should live in ICU4X, in the third party crates, or some adapter crate, and are open to feedback!
  7. Experimental Kotlin Bindings: We now have Kotlin bindings for ICU4X (found under ffi/mvn), with the same set of supported APIs as our other cross-language bindings.
  8. Experimental features:
  9. Display names: Adds new internal data layout exposed via RegionDisplayName and ScriptDisplayName APIs. The old data layout, optimized for loading multiple names at once, is moved into the multi module. Please share feedback on our tracking issue.
  10. Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
  11. ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
  12. Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
  13. Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.

Migration Notes

  1. The JapaneseExtended calendar has been deprecated. CLDR removed the pre-Meiji eras because no implementation correctly implemented them. Clients of pre-Meiji eras are encouraged to comment on CLDR-11400 and potentially write a custom east_asian_traditional::Rules implementation of the pre-Meiji lunisolar Japanese calendar.

  2. Hijri<AstronomicalSimulation> has also been deprecated. It previously returned estimates of the Hijri calendar based on simulations published by Reingold et al. To restore this behavior, write a custom hijri::Rules implementation using calendrical_calculations.

See the full changelog for more information

Changelog

Sourced from icu_locale_core'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)

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()
      • Deprecate Date::new_from_iso/Date::to_iso (unicode-org#7287)
      • Deprecate Date::extended_year() (use Date::year().extended_year()) (unicode-org#7289)
      • Remove YearInfo: PartialEq bound (unicode-org#7743)
      • Start producing Meiji era only after Meiji 6 (unicode-org#7503)

... (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_locale_core](https://github.com/unicode-org/icu4x) from 2.1.1 to 2.2.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/commits/icu@2.2.0)

---
updated-dependencies:
- dependency-name: icu_locale_core
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Apr 6, 2026
@dependabot dependabot bot requested review from a team and mdn-bot as code owners April 6, 2026 10:48
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 6, 2026
@dependabot dependabot bot requested a review from LeoMcA April 6, 2026 10:48
@dependabot dependabot bot added the rust Pull requests that update rust code label Apr 6, 2026
@mdn-bot mdn-bot enabled auto-merge (squash) April 6, 2026 10:49
@mdn-bot mdn-bot merged commit 57baa96 into main Apr 6, 2026
16 checks passed
@mdn-bot mdn-bot deleted the dependabot/cargo/icu_locale_core-2.2.0 branch April 6, 2026 10:54
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.

1 participant