chore(deps): bump the rust-dependencies group across 1 directory with 38 updates
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(about 1 month ago)
(about 1 month ago)
dependencies
Bumps the rust-dependencies group with 22 updates in the /workspace directory:
| Package | From | To |
|---|---|---|
| clap | 4.6.0 |
4.6.1 |
| toml | 0.9.12+spec-1.1.0 |
1.1.2+spec-1.1.0 |
| assert_cmd | 2.2.0 |
2.2.1 |
| bitflags | 2.11.0 |
2.11.1 |
| cc | 1.2.58 |
1.2.61 |
| fastrand | 2.3.0 |
2.4.1 |
| icu_locale_core | 2.1.1 |
2.2.0 |
| icu_normalizer | 2.1.1 |
2.2.0 |
| idna_adapter | 1.2.1 |
1.2.2 |
| indexmap | 2.13.0 |
2.14.0 |
| libc | 0.2.183 |
0.2.186 |
| libredox | 0.1.15 |
0.1.16 |
| libz-sys | 1.1.25 |
1.1.28 |
| litemap | 0.8.1 |
0.8.2 |
| openssl-sys | 0.9.112 |
0.9.115 |
| pkg-config | 0.3.32 |
0.3.33 |
| potential_utf | 0.1.4 |
0.1.5 |
| semver | 1.0.27 |
1.0.28 |
| wasip2 | 1.0.2+wasi-0.2.9 |
1.0.3+wasi-0.2.9 |
| writeable | 0.6.2 |
0.6.3 |
| zerofrom | 0.1.6 |
0.1.7 |
| zerofrom-derive | 0.1.6 |
0.1.7 |
Updates clap from 4.6.0 to 4.6.1
Release notes
Sourced from clap's releases.
v4.6.1
[4.6.1] - 2026-04-15
Fixes
- (derive) Ensure rebuilds happen when an read env variable is changed
Changelog
Sourced from clap's changelog.
[4.6.1] - 2026-04-15
Fixes
- (derive) Ensure rebuilds happen when an read env variable is changed
Commits
1420275chore: Released2c817ddocs: Update changelogf88c94eMerge pull request #6341 from epage/sepacbb822fix(complete): Reduce risk of conflict with actual subcommandsa49fadbrefactor(complete): Pull out subcommand separatorddc008bMerge pull request #6332 from epage/update497dc50chore: Update compatible dependenciesdca2326Merge pull request #6331 from clap-rs/renovate/j178-prek-action-2.x54bdaa3chore(deps): Update j178/prek-action action to v2f0d30d9chore: Release- Additional commits viewable in compare view
Updates toml from 0.9.12+spec-1.1.0 to 1.1.2+spec-1.1.0
Commits
a3d0047chore: Releasecc37615docs: Update changelog7f5e9e1fix(parser): Consolidate invalid unquoted key into one error (#1138)52feb90fix(parser): Consolidate invalid unquoted key into one erroraad85d4chore(deps): Update j178/prek-action action to v2 (#1136)8b1ac44chore(deps): Update compatible (dev) (#1135)9effd79chore(deps): Update j178/prek-action action to v29db8aadchore: Releasee55a663docs: Update changelogc11d7d7Optimisations (#1133)- Additional commits viewable in compare view
Updates assert_cmd from 2.2.0 to 2.2.1
Commits
eea8a1cchore: Release assert_cmd version 2.2.1cd6828cdocs: Update changelogc771f78Merge pull request #286 from assert-rs/renovate/j178-prek-action-2.x4d63465chore(deps): Update j178/prek-action action to v24728aeaMerge pull request #284 from sendittothenewts/anstream-v11e5a36fchore(deps): Drop support for Rust crate anstream v0.62429682chore(deps): Update Rust crate anstream to v1- See full diff in compare view
Updates bitflags from 2.11.0 to 2.11.1
Release notes
Sourced from bitflags's releases.
2.11.1
What's Changed
- Bless compile-fail tests for current beta by
@DanielEScherzerin bitflags/bitflags#478- example_generated.rs: add missing third slash for doc comment by
@DanielEScherzerin bitflags/bitflags#477- Clarify self and other in method docs by
@KodrAusin bitflags/bitflags#481- Prepare for 2.11.1 release by
@KodrAusin bitflags/bitflags#482New Contributors
@DanielEScherzermade their first contribution in bitflags/bitflags#478Full Changelog: https://github.com/bitflags/bitflags/compare/2.11.0...2.11.1
Changelog
Sourced from bitflags's changelog.
2.11.1
What's Changed
- Bless compile-fail tests for current beta by
@DanielEScherzerin bitflags/bitflags#478- example_generated.rs: add missing third slash for doc comment by
@DanielEScherzerin bitflags/bitflags#477- Clarify self and other in method docs by
@KodrAusin bitflags/bitflags#481New Contributors
@DanielEScherzermade their first contribution in bitflags/bitflags#478Full Changelog: https://github.com/bitflags/bitflags/compare/2.11.0...2.11.1
Commits
4ed9ffaMerge pull request #482 from KodrAus/cargo/2.11.1c53cd57prepare for 2.11.1 releasea44410aMerge pull request #481 from KodrAus/docs/clarifications3d671b9update more compile error messages5f3adadfix up compile error messages780765dfix up contains and intersection docs97b7607clarify self and other in method docs88a7a18Merge pull request #477 from DanielEScherzer/patch-1f0e4646example_generated.rs: add missing third slash for doc commenta31c96fMerge pull request #478 from DanielEScherzer/beta-bless- Additional commits viewable in compare view
Updates cc from 1.2.58 to 1.2.61
Release notes
Sourced from cc's releases.
cc-v1.2.61
Other
- fix
OutputKind::Capturedocumentation (#1705)cc-v1.2.60
Fixed
- (ar) suppress warnings from
Dmodifier probe (#1700)cc-v1.2.59
Fixed
- (ar) deterministic archives with
Dmodifier (#1697)Other
Changelog
Sourced from cc's changelog.
1.2.61 - 2026-04-24
Other
- fix
OutputKind::Capturedocumentation (#1705)1.2.60 - 2026-04-10
Fixed
- (ar) suppress warnings from
Dmodifier probe (#1700)1.2.59 - 2026-04-03
Fixed
- (ar) deterministic archives with
Dmodifier (#1697)Other
Commits
360f691chore(cc): release v1.2.61 (#1707)17a2788Bump taiki-e/install-action from 2.75.16 to 2.75.17 (#1706)da52db7command_helpers.rs: fixOutputKind::Capturedocumentation (#1705)ee64d58Bump taiki-e/install-action from 2.75.4 to 2.75.5 (#1703)78cf7e4CI: Hash-pin all actions, apply other suggestions from zizmor (#1702)7cad9f5chore(cc): release v1.2.60 (#1701)c15c3ebfix(ar): suppress warnings fromDmodifier probe (#1700)f4c5ac7chore(cc): release v1.2.59 (#1699)9cfcecbRegenerate target info (#1698)025d046fix(ar): deterministic archives withDmodifier (#1697)- Additional commits viewable in compare view
Updates clap_derive from 4.6.0 to 4.6.1
Release notes
Sourced from clap_derive's releases.
v4.6.1
[4.6.1] - 2026-04-15
Fixes
- (derive) Ensure rebuilds happen when an read env variable is changed
Changelog
Sourced from clap_derive's changelog.
[4.6.1] - 2026-04-15
Fixes
- (derive) Ensure rebuilds happen when an read env variable is changed
Commits
ac5fda6chore: Releaseb73c627docs: Update changelog44cfb34Merge pull request #6346 from TomPlanche/fix/cargo-env-incremental-rebuild34ef8a0fix(derive): Track Cargo env vars for incremental rebuilds0fe0be3chore: Release480af9ddocs: Update changelog2b3ddd0Merge pull request #6340 from liskin/fix-completion-escape7ffe739fix(complete): Do not suggest options after "--"d47fc4ftest(complete): Options suggested after escape (--)1420275chore: Release- Additional commits viewable in compare view
Updates fastrand from 2.3.0 to 2.4.1
Release notes
Sourced from fastrand's releases.
v2.4.1
- Fix build failure with
jsfeature. (#125)v2.4.0
Changelog
Sourced from fastrand's changelog.
Version 2.4.1
- Fix build failure with
jsfeature. (#125)Version 2.4.0
Commits
728a5b5Release 2.4.10c619f6Fix build failure with js featurea4077e2ci: Add missing js feature test1fd5bbbRelease 2.4.0 (#116)074345bchore: make some documents clearer (#115)ce9a48cchore: update dependencies to latest versions and bump MSRV to 1.63 (#104)978dde1ci: Use reusable workflows for clippy8561f13bench: Add benchmark of f32()1def02cFix rustdoc::broken_intra_doc_links warningc2cbdd4Remove manual doc(cfg(..))- Additional commits viewable in compare view
Updates 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:
- Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
- New and improved
icu_calendar: This release contains new APIs inicu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.- Stable datetime arithmetic: It is now possible to to add and subtract dates via
date.try_add_with_options()anddate.try_until_with_options().- 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.- Typed months: The new
Monthtype replaces month codes in a type safe way.Date::try_from_codes()has been replaced withDate::try_new()which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.- Experimental third-party crate integration: We now support converting from and formatting types from the
jiff,chrono, andtimecrates. Seeicu_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!- 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.- Experimental features:
- 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.
- Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
- ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
- Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
- Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.
Migration Notes
The
JapaneseExtendedcalendar 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 customeast_asian_traditional::Rulesimplementation of the pre-Meiji lunisolar Japanese calendar.
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 customhijri::Rulesimplementation using calendrical_calculations.
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
experimentalfeatures withunstablefeatures (unicode-org#7566)- Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
icu_calendar
- Add
Date::try_new, which replacesDate::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)- New methods:
Date::try_new(and primarily-internalCalendar::new_date)- New types:
InputYear,DateNewError- Handle possible
Overflowvalues on individual calendars (unicode-org#7795)- New
Date::try_from_fieldsAPI 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
Monthtype, 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.
Datenow 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
Monthfor lunisolar calendars (unicode-org#7485)- New methods:
Date::try_new_korean_traditional(),Date::try_new_chinese_traditional(),Date::try_new_hebrew_v2()- Expose
LeapStatusonMonthInfo(unicode-org#7667)- New method:
MonthInfo::leap_status()- New enum:
LeapStatus- (Unstable) Integrate with
chrono,jiff, andtime(unicode-org#7617, unicode-org#7711)- New impls:
From<chrono::NaiveDate>,From<jiff::civil::Date>,From<time::Date>forDate<Gregorian>- Replace
Date::day_of_weekbyDate::weekday(unicode-org#7288)
- New method:
Date::weekday()- Deprecate
Date::new_from_iso/Date::to_iso(unicode-org#7287)- Deprecate
Date::extended_year()(useDate::year().extended_year()) (unicode-org#7289)- Remove
YearInfo: PartialEqbound (unicode-org#7743)- Start producing Meiji era only after Meiji 6 (unicode-org#7503)
... (truncated)
Commits
- See full diff in compare view
Updates icu_normalizer from 2.1.1 to 2.2.0
Release notes
Sourced from icu_normalizer'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:
- Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
- New and improved
icu_calendar: This release contains new APIs inicu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.- Stable datetime arithmetic: It is now possible to to add and subtract dates via
date.try_add_with_options()anddate.try_until_with_options().- 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.- Typed months: The new
Monthtype replaces month codes in a type safe way.Date::try_from_codes()has been replaced withDate::try_new()which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.- Experimental third-party crate integration: We now support converting from and formatting types from the
jiff,chrono, andtimecrates. Seeicu_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!- 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.- Experimental features:
- 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.
- Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
- ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
- Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
- Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.
Migration Notes
The
JapaneseExtendedcalendar 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 customeast_asian_traditional::Rulesimplementation of the pre-Meiji lunisolar Japanese calendar.
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 customhijri::Rulesimplementation using calendrical_calculations.
Changelog
Sourced from icu_normalizer'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
experimentalfeatures withunstablefeatures (unicode-org#7566)- Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
icu_calendar
- Add
Date::try_new, which replacesDate::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)- New methods:
Date::try_new(and primarily-internalCalendar::new_date)- New types:
InputYear,DateNewError- Handle possible
Overflowvalues on individual calendars (unicode-org#7795)- New
Date::try_from_fieldsAPI 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
Monthtype, 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.
Datenow 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
Monthfor lunisolar calendars (unicode-org#7485)- New methods:
Date::try_new_korean_traditional(),Date::try_new_chinese_traditional(),Date::try_new_hebrew_v2()- Expose
LeapStatusonMonthInfo(unicode-org#7667)- New method:
MonthInfo::leap_status()- New enum:
LeapStatus- (Unstable) Integrate with
chrono,jiff, andtime(unicode-org#7617, unicode-org#7711)- New impls:
From<chrono::NaiveDate>,From<jiff::civil::Date>,From<time::Date>forDate<Gregorian>- Replace
Date::day_of_weekbyDate::weekday(unicode-org#7288)
- New method:
Date::weekday()- Deprecate
Date::new_from_iso/Date::to_iso(unicode-org#7287)- Deprecate
Date::extended_year()(useDate::year().extended_year()) (unicode-org#7289)- Remove
YearInfo: PartialEqbound (unicode-org#7743)- Start producing Meiji era only after Meiji 6 (unicode-org#7503)
... (truncated)
Commits
- See full diff in compare view
Updates icu_normalizer_data from 2.1.1 to 2.2.0
Release notes
Sourced from icu_normalizer_data'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:
- Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
- New and improved
icu_calendar: This release contains new APIs inicu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.- Stable datetime arithmetic: It is now possible to to add and subtract dates via
date.try_add_with_options()anddate.try_until_with_options().- 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.- Typed months: The new
Monthtype replaces month codes in a type safe way.Date::try_from_codes()has been replaced withDate::try_new()which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.- Experimental third-party crate integration: We now support converting from and formatting types from the
jiff,chrono, andtimecrates. Seeicu_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!- 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.- Experimental features:
- 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.
- Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
- ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
- Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
- Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.
Migration Notes
The
JapaneseExtendedcalendar 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 customeast_asian_traditional::Rulesimplementation of the pre-Meiji lunisolar Japanese calendar.
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 customhijri::Rulesimplementation using calendrical_calculations.
Changelog
Sourced from icu_normalizer_data'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
experimentalfeatures withunstablefeatures (unicode-org#7566)- Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
icu_calendar
- Add
Date::try_new, which replacesDate::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)- New methods:
Date::try_new(and primarily-internalCalendar::new_date)- New types:
InputYear,DateNewError- Handle possible
Overflowvalues on individual calendars (unicode-org#7795)- New
Date::try_from_fieldsAPI 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
Monthtype, 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.
Datenow 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
Monthfor lunisolar calendars (unicode-org#7485)- New methods:
Date::try_new_korean_traditional(),Date::try_new_chinese_traditional(),Date::try_new_hebrew_v2()- Expose
LeapStatusonMonthInfo(unicode-org#7667)- New method:
MonthInfo::leap_status()- New enum:
LeapStatus- (Unstable) Integrate with
chrono,jiff, andtime(unicode-org#7617, unicode-org#7711)- New impls:
From<chrono::NaiveDate>,From<jiff::civil::Date>,From<time::Date>forDate<Gregorian>- Replace
Date::day_of_weekbyDate::weekday(unicode-org#7288)
- New method:
Date::weekday()- Deprecate
Date::new_from_iso/Date::to_iso(unicode-org#7287)- Deprecate
Date::extended_year()(useDate::year().extended_year()) (unicode-org#7289)- Remove
YearInfo: PartialEqbound (unicode-org#7743)- Start producing Meiji era only after Meiji 6 (unicode-org#7503)
... (truncated)
Commits
- See full diff in compare view
Updates icu_properties from 2.1.2 to 2.2.0
Release notes
Sourced from icu_properties'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:
- Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
- New and improved
icu_calendar: This release contains new APIs inicu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.- Stable datetime arithmetic: It is now possible to to add and subtract dates via
date.try_add_with_options()anddate.try_until_with_options().- 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.- Typed months: The new
Monthtype replaces month codes in a type safe way.Date::try_from_codes()has been replaced withDate::try_new()which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.- Experimental third-party crate integration: We now support converting from and formatting types from the
jiff,chrono, andtimecrates. Seeicu_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!- 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.- Experimental features:
- 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.
- Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
- ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
- Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
- Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.
Migration Notes
The
JapaneseExtendedcalendar 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 customeast_asian_traditional::Rulesimplementation of the pre-Meiji lunisolar Japanese calendar.
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 customhijri::Rulesimplementation using calendrical_calculations.
Changelog
Sourced from icu_properties'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
experimentalfeatures withunstablefeatures (unicode-org#7566)- Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
icu_calendar
- Add
Date::try_new, which replacesDate::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)- New methods:
Date::try_new(and primarily-internalCalendar::new_date)- New types:
InputYear,DateNewError- Handle possible
Overflowvalues on individual calendars (unicode-org#7795)- New
Date::try_from_fieldsAPI 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
Monthtype, 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.
Datenow 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
Monthfor lunisolar calendars (unicode-org#7485)- New methods:
Date::try_new_korean_traditional(),Date::try_new_chinese_traditional(),Date::try_new_hebrew_v2()- Expose
LeapStatusonMonthInfo(unicode-org#7667)- New method:
MonthInfo::leap_status()- New enum:
LeapStatus- (Unstable) Integrate with
chrono,jiff, andtime(unicode-org#7617, unicode-org#7711)- New impls:
From<chrono::NaiveDate>,From<jiff::civil::Date>,From<time::Date>forDate<Gregorian>- Replace
Date::day_of_weekbyDate::weekday(unicode-org#7288)
- New method:
Date::weekday()- Deprecate
Date::new_from_iso/Date::to_iso(unicode-org#7287)- Deprecate
Date::extended_year()(useDate::year().extended_year()) (unicode-org#7289)- Remove
YearInfo: PartialEqbound (unicode-org#7743)- Start producing Meiji era only after Meiji 6 (unicode-org#7503)
... (truncated)
Commits
- See full diff in compare view
Updates icu_properties_data from 2.1.2 to 2.2.0
Release notes
Sourced from icu_properties_data'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:
- Latest i18n data: This release includes an update to CLDR 48.2 and support for TZDB 2026a.
- New and improved
icu_calendar: This release contains new APIs inicu_calendar, as well as some behavior changes in icu_calendar; see the migration notes section.- Stable datetime arithmetic: It is now possible to to add and subtract dates via
date.try_add_with_options()anddate.try_until_with_options().- 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.- Typed months: The new
Monthtype replaces month codes in a type safe way.Date::try_from_codes()has been replaced withDate::try_new()which uses these better types. Various calendar-specific constructors for lunisolar calendars have also been refreshed.- Experimental third-party crate integration: We now support converting from and formatting types from the
jiff,chrono, andtimecrates. Seeicu_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!- 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.- Experimental features:
- 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.
- Compact decimal formatter: Please share feedback in preparation for stabilization in a future release.
- ML segmentation: Initial code for RAdaBoost word segmenter for Chinese and CNN word segmenter for Thai.
- Unstable Cargo feature: Replaced the "experimental" Cargo feature with an "unstable" Cargo feature.
- Better hour cycles: Adds support for Clock12 and Clock24 in datetime formatting.
Migration Notes
The
JapaneseExtendedcalendar 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 customeast_asian_traditional::Rulesimplementation of the pre-Meiji lunisolar Japanese calendar.
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 customhijri::Rulesimplementation using calendrical_calculations.
Changelog
Sourced from icu_properties_data'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
experimentalfeatures withunstablefeatures (unicode-org#7566)- Add categories and keywords to Cargo.toml for all components (unicode-org#7737)
icu_calendar
- Add
Date::try_new, which replacesDate::try_new_from_codes, and takes typed year/month values. (unicode-org#7773, unicode-org#7764)- New methods:
Date::try_new(and primarily-internalCalendar::new_date)- New types:
Description has been truncated
Technical Details
| ID: | 15641488 |
| UUID: | 4374542315 |
| Node ID: | PR_kwDORtgfVc7X5wb2 |
| Host: | GitHub |
| Repository: | KiTechSoftware/commit-wizard |