NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4972 most downloaded on crates.io
Data for the icu_timezone crate
Latest stable
1.5.1
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 4 of 5 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
6 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
This is automatically required by #[derive(Bake)], making it a breaking change
&locale.into() to locale.into() or (&locale).into()default instead of making new function const_default (unicode-org#5354)icu
datagen feature to meta crate (unicode-org#5047)icu_calendar
cal (unicode-org#5701)Date/DateTime functions that have a calendar argument (unicode-org#5692)cal module (unicode-org#5701)day_of_month(), week_of_month(), and week_of_year() to u8 (unicode-org#5702)icu_collator
icu_collectionsicu_normalizer
icu_datetime
DateTimeFormatter and most of the icu_datetime crate. It adds the ability to format specific subsets of fields, conforming with LDML version 46. All call sites of ICU4X 1.x DateTimeFormatter will need to be updated. It is recommended to start fresh with the new crate documentation.icu_decimal
icu_experimental: 0.1.0 -> 0.2.0
UnitsFormatter (unicode-org#5000)LongCurrencyFormatter for Long Currency Formatting (unicode-org#5351)CompactDecimalFormatterOptions in the compactdecimal module (unicode-org#5770)icu_locale
icu_locid and icu_locid_transform)AliasesV1, LikelySubtagsV1 (unicode-org#5337)_manual_slice constructors (unicode-org#5312)is_default instead of is_empty or is_und for locale-ish types (unicode-org#5359)LocaleDirectionality to wrap a LocaleExpander with user-controlled storage (unicode-org#5704)LocaleCanonicalizer to wrap a LocaleExpander with user-controlled storage (unicode-org#5718)canonicalize() on Locale and LanguageIdentifier into canonicalize() and canonicalize_utf8(), and have it return a Cow (unicode-org#5727)canonicalize -> normalize (unicode-org#5766)AsRef in LocaleDirectionality's type parameter (unicode-org#5704)icu_locale_core
icu_locidOrd and PartialOrd impl from extensions::unicode::Unicode (unicode-org#5617)icu_pattern: 0.2.0 -> 0.3.0
icu_plurals
icu_properties
PropertyNames (unicode-org#5575)BidiAuxiliaryProperties as an EnumeratedProperty (unicode-org#5597)Script property API (unicode-org#5628)UnicodeSetData to EmojiSetData (unicode-org#5627)icu_segmenter
icu_timezone
ixdtf for CustomTimeZone and CustomZonedDateTime (unicode-org#5349)WindowsTimeZoneMapper and WindowsZonesToBcp47Map provider (unicode-org#5524)Z correctly in IXDTF (unicode-org#5742)IxdtfParser type (unicode-org#5736)TimeZoneInfo (unicode-org#5747)TimeZoneInfo (unicode-org#5747)ZoneOffsetCalculatorZ, Z[Etc/UTC] and Z[Etc/GMT] in IXDTF parser (unicode-org#5757)ZoneVariant a closed, non-exhaustive enum (unicode-org#5760)CustomTimeZone with TimeZoneInfo (unicode-org#5691)icu_provider_adapters
icu_provider_baked
icu_datagen (unicode-org#5009)icu_provider_blob
icu_provider
AnyPayloadProvider with FixedProvider<M>DataRequest.payload non-optional (unicode-org#5037)IterableDataProvider::supports_request and rename supported_requests to iter_requests (unicode-org#5089)icu_provider (unicode-org#5088)DryDataProvider for dry-run loading of data (unicode-org#5141)icu_provider::marker::ErasedMarker (unicode-org#5590)icu_provider_export
icu_datagen (unicode-org#5172)icu_provider_fsicu4x-datagen
icu_datagen (unicode-org#5011)icu_provider_registry
icu_datagen (unicode-org#5010, unicode-org#5177)icu_provider_source
icu_datagen (unicode-org#5016, unicode-org#5173)icu_testdata
icu_ prefix from icu_capi features (unicode-org#5365)icu_harfbuzzbies: 0.2.2 -> 0.2.3
calendrical_calculations: 0.1.2 -> 0.1.3
crlify: No change (1.0.4)databake, databake_derive: 0.1.8 -> 0.2.0
BakeSize, allowing for the calculation of the size of baked. (unicode-org#5169)
#[derive(Bake)], making it a breaking changetest_bake! (unicode-org#5092, unicode-org#5559)deduplicating_array: 0.1.6 -> 0.1.7
env_preferences: New crate 0.1.0
env_preferences crate (unicode-org#5081)fixed_decimal: 0.5.6 -> 0.6.0
FloatPrecision::Floating renamed to FloatPrecision::RoundTrip (unicode-org#5616)FixedDecimal::concatenated_end() now returns both self and other in the error case. (unicode-org#5623)pad_end function does not accept the 0 position (unicode-org#5319)Err((self, other)) in FixedDecimal::concatenated_end (unicode-org#5623)ixdtf: 0.2.0 -> 0.3.0
&[u8] parsing (unicode-org#4918)litemap: 0.7.3 -> 0.7.4
LiteMap by using correct Store trait method (unicode-org#5113)potential_utf: New crate 0.1.0
zerovec (unicode-org#5364)tzif: New crate 0.2.3 -> 0.3.0
tinystr: 0.7.6 -> 0.8.0
TinyStrError to ParseError (unicode-org#5405)yoke, yoke_derive: 0.7.4 -> 0.7.5
zerofrom, zerofrom_derive: 0.1.4 -> 0.1.5`
zerotrie: 0.1.3 -> 0.2.0
zerovec's new optimizations'zerovec, zerovec_derive: 0.10.4, 0.10.3 -> 0.11.0
VarZeroVecFormat values shipped by default to use the same index and length width. This breaks data layout for all VarZeroVecs. (unicode-org#5594)VarZeroVec format to not store a superfluous 0 index at the beginning of the index array. This breaks data layout for all VarZeroVecs (unicode-org#5601)MultiFieldsULE to not store a length anymore. This breaks data layout for any #[make_varule]-using struct with multiple variable-sized fields. (unicode-org#5522, unicode-org#5593)FlexZeroVec (unicode-org#5604)bytes not byte_slice (unicode-org#5816)Bake for VZV types of different formats (unicode-org#5719)writeable: 0.5.5 -> 0.6.0
Writeable::writeable_cmp_bytes a free function writeable::cmp_bytes (unicode-org#5737)writeable::to_string_or_borrow for writing with reference bytes (unicode-org#5738)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Deprecate Hebrew::new_always_precomputing(), Date::try_new_hebrew_date_with_calendar(), DateTime::try_new_hebrew_datetime_with_calendar(). The new imp…
icu_calendar
DateTime::local_unix_epoch() convenience constructor (https://github.com/unicode-org/icu4x/pull/4479)icu_collections
wasmer to wasmi in icu_codepointtrie_builder (https://github.com/unicode-org/icu4x/pull/4621)icu_normalizer
icu_datetime
Writeable and Display implementations now don't return fmt::Errors that don't originate from the fmt::Write anymore (unicode-org#4732, unicode-org#4851, unicode-org#4863)CldrCalendar trait sealed except with experimental feature (https://github.com/unicode-org/icu4x/pull/4392)FormattedDateTime and FormattedZonedDateTime now implement Clone and Copy (https://github.com/unicode-org/icu4x/pull/4476)icu_experimental
icu_compactdecimal, icu_displaynames, icu_relativetime, icu_transliterate, and icu_unicodeset_parse crates (unicode-org#4564)personnames (unicode-org#4050)dimension
CurrencyFormatter, which can format any currency based on the locale and the width (short and narrow are supported for now).units (unicode-org#4605)
UnitsConverter, which can convert any single or compound units (such as meter and square-meter-per-second) to any compatible single or compound units.icu_locid
total_cmp functions to Locale and other types to make them easier to use in BTreeSet (https://github.com/unicode-org/icu4x/pull/4608)icu_locid_transform
LocaleExpander::minimize_favor_script (https://github.com/unicode-org/icu4x/pull/4752)icu_plurals
CompactDecimal (https://github.com/unicode-org/icu4x/pull/4828)icu_properties
Aran script code (https://github.com/unicode-org/icu4x/pull/4426)const (https://github.com/unicode-org/icu4x/pull/4584, https://github.com/unicode-org/icu4x/pull/4574)icu_segmenter
word_type() and is_word_like() on WordBreakIterator for the last segment in complex script (https://github.com/unicode-org/icu4x/pull/4903)icu_timezone
TimeZoneIdMapper to replace IanaToBcp47Mapper (https://github.com/unicode-org/icu4x/pull/4774)icu_datagen
DatagenDriver to better express the different aspects of FallbackMode (https://github.com/unicode-org/icu4x/issues/4629)IterableDataProvider (unicode-org#4800, unicode-org#4868)DataProvider, instead of from sources (unicode-org#4814)DeduplicationStrategy::RetainBaseLanguages (https://github.com/unicode-org/icu4x/pull/4836)icu_provider
DataPayload::new_owned() is no longer const, this was a mistake (https://github.com/unicode-org/icu4x/pull/4456)NeverMarker to allow for DataProvider bounds that never return data (https://github.com/unicode-org/icu4x/issues/4186)BoundProvider to allow temporal separation between key and request (https://github.com/unicode-org/icu4x/pull/4877)DataPayloadOr for more efficient memory layout to reduce stack size (https://github.com/unicode-org/icu4x/pull/4463)icu_provider_blob
day_of_year getter (https://github.com/unicode-org/icu4x/issues/4891)explicit keyword to internal constructors (https://github.com/rust-diplomat/diplomat/pull/386)diplomat::Result<T, std::monostate> now return std::optional<T> (unicode-org#4635)icu_harfbuzz
calendrical_calculations:
Hebrew as a unit struct, add Date::try_new_hebrew_date(), DateTime::try_new_hebrew_datetime(). (https://github.com/unicode-org/icu4x/pulls/4532)Hebrew::new_always_precomputing(), Date::try_new_hebrew_date_with_calendar(), DateTime::try_new_hebrew_datetime_with_calendar(). The new implementation of the Hebrew calendar is faster and we do not need APIs for precomputation. (https://github.com/unicode-org/icu4x/pulls/4532)databake
impl Bake for PhantomData<T> (https://github.com/unicode-org/icu4x/pull/4663)fixed_decimal
i16 to u8 (https://github.com/unicode-org/icu4x/pull/4828)FixedDecimal (https://github.com/unicode-org/icu4x/pull/4578)icu_pattern
litemap
impl IntoIterator for LiteMap by splitting StoreIterableMut trait (https://github.com/unicode-org/icu4x/pull/4359)yoke
StableDeref bound from Yoke<Y, Option<C>> methods (https://github.com/unicode-org/icu4x/pull/4457)CartableOptionPointer and function to convert from Yoke<Y, Option<C>> (https://github.com/unicode-org/icu4x/pull/4449)\zerofrom
?Sized type parameters which must be Sized to implement ZeroFrom (https://github.com/unicode-org/icu4x/pull/4657)zerotrie
as_borrowed_slice and AsRef impl (https://github.com/unicode-org/icu4x/pull/4381)ZeroTrieSimpleAsciiCursor for manual iteration (https://github.com/unicode-org/icu4x/pull/4383, https://github.com/unicode-org/icu4x/pull/4725)p to solve more perfect hash functions; might break serialized ZeroTriePerfectHash from previous versions (https://github.com/unicode-org/icu4x/pull/4888)zerovec
ZeroHashMap to use twox-hash (https://github.com/unicode-org/icu4x/pull/4592)ZeroVec to reduce memory usage (https://github.com/unicode-org/icu4x/pull/4491)ZeroVec::take_last and ::take_first (https://github.com/unicode-org/icu4x/pull/4651)writeable
TryWriteable for fallibility (https://github.com/unicode-org/icu4x/pull/4787)writeable_cmp_bytes for more efficient comparison (https://github.com/unicode-org/icu4x/pull/4402)Compiled data updated to CLDR 44 and ICU 74
General
Components
icu_calendar
icu_locid
icu_plurals
PluralRulesWithRanges for selecting the plural category for ranges (https://github.com/unicode-org/icu4x/issues/3012)icu_properties
icu_segmenter
icu_unicodeset_parse
Data model and providers
icu_provider
icu_provider_blob
icu_datagen
--format=blob2 (https://github.com/unicode-org/icu4x/pull/4207)supported_locales for collator keys (https://github.com/unicode-org/icu4x/pull/4169)--segmenter-lstm-root such that it does not override icuexportdata-root (https://github.com/unicode-org/icu4x/pull/4277)CARGO_PKG_RUST_VERSION environment variable (https://github.com/unicode-org/icu4x/pull/4292)Utilities
databake
HashSet, HashMap, BTreeSet, BTreeMap (https://github.com/unicode-org/icu4x/pull/4268, https://github.com/unicode-org/icu4x/pull/4274, https://github.com/unicode-org/icu4x/pull/4295)databake::test_bake!() (https://github.com/unicode-org/icu4x/pull/4182)fixed_decimal
litemap
databake::Bake on LiteMap (https://github.com/unicode-org/icu4x/pull/4275)tinystr
zerovec
ZeroMap2d::insert (https://github.com/unicode-org/icu4x/pull/4160)1.3.2 was released to clean up the range dependency on zerovec deliberately introduced in 1.3.0. It includes all previous 1.3.x changes
1.3.2 was released to clean up the range dependency on zerovec deliberately introduced in 1.3.0. It includes all previous 1.3.x changes
Deprecated LocaleFallbacker, use through icu_locid_transform
compiled_data, an efficient default set of data baked in to the component. This is now recommended over using a data provider unless you have specific needs driving it.icu_provider:
DataPayload constructible from &'static M::Yokeable (https://github.com/unicode-org/icu4x/pull/3467)ExportableDataPayload::eq_dyn (https://github.com/unicode-org/icu4x/pull/3639)icu_provider (https://github.com/unicode-org/icu4x/pull/3651)DataPayload::dynamic_cast_mut (https://github.com/unicode-org/icu4x/pull/3952)AuxiliaryKey to DataLocale (https://github.com/unicode-org/icu4x/pull/3872)icu_datagen:
legacy_api default Cargo featurecompiled_data (https://github.com/unicode-org/icu4x/pull/3449, https://github.com/unicode-org/icu4x/pull/3493, https://github.com/unicode-org/icu4x/pull/3549, https://github.com/unicode-org/icu4x/pull/3500, https://github.com/unicode-org/icu4x/pull/3847)--locales all (https://github.com/unicode-org/icu4x/pull/3691)icu_provider_adapters:
LocaleFallbacker, use through icu_locid_transformicu_provider_blob:
ExtraneousLocale in BlobDataProvider (https://github.com/unicode-org/icu4x/pull/3562)BlobDataProvider (https://github.com/unicode-org/icu4x/pull/3551)icu_provider_fs:
icu_provider_fs (https://github.com/unicode-org/icu4x/pull/3682)icu_testdata:
compiled_data and is now deprecated.compiled_data feature that enables constructors that do not require data providers, instead using data compiled into the libraryicu_calendar
Ord and PartialOrd to icu_calendar types (https://github.com/unicode-org/icu4x/pull/3468)FormattableYear (https://github.com/unicode-org/icu4x/pull/3581)icu_casemap
icu_collator
icu_collections
icu_datetime
icu_calendar
Calendar traitTimeZoneFormatter::load_*_format functions:
TimeZoneFormatter::load_*_format gated by compiled_dataTimeZoneFormatter::include_*_format with deprecation warningicu_decimal
icu_list
icu_locid
use icu::locid::extensions::unicode::value now works, instead of use icu::locid::extensions_unicode_valueicu_locid_transform
LocaleFallbacker and fallback module previously found in icu_provider_adaptersLocaleDirectionality to access the right-to-left status of localesicu_normalizer
icu_plurals
icu_properties
sets and maps without load_ prefix: icu::properties::sets::basic_emoji()icu_segmenter
icu_timezone
IanaToBcp47Mapper for converting between IANA time zone names and BCP-47 time zone names (https://github.com/unicode-org/icu4x/pull/2909)calendrical_calculations: New crate: 0.1.0crlify: 1.0.2 -> 1.0.3databake and databake_derive: 1.0.5 -> 1.0.6
:: paths changed (https://github.com/unicode-org/icu4x/pull/3450)deduplicating_array: 0.1.4 -> 0.1.5fixed_decimal: 0.5.3 -> 0.5.4
litemap: 0.7.0 -> 0.7.1
icu_pattern: 0.1.4 -> 0.1.5tinystr: 0.7.1 -> 0.7.2
UnvalidatedTinyAsciiStr (https://github.com/unicode-org/icu4x/pull/3406)T: Bake on ZeroVec (https://github.com/unicode-org/icu4x/pull/3451)tzif: 0.2.1 -> 0.2.2writeable: 0.5.2 -> 0.5.3yoke and yoke_derive: 0.7.1 -> 0.7.2
impl<...> Debug for Yoke<...> implementation sound (https://github.com/unicode-org/icu4x/pull/3686)KindaSortaDangling internal type to make Yoke safe under strong protection (https://github.com/unicode-org/icu4x/pull/3735)zerofrom and zerofrom_derive: 0.1.2 -> 0.1.3
ZeroFrom to cover cases where attrs can borrow (https://github.com/unicode-org/icu4x/pull/3770)ZeroFrom impl on unsized &T (https://github.com/unicode-org/icu4x/pull/3467)zerovec and zerovec_derive: 0.9.4 -> (0.9.6)
ZeroTrie, an efficient string-to-int collection (https://github.com/unicode-org/icu4x/pull/2722)VarZeroVec bytes representation (https://github.com/unicode-org/icu4x/pull/3883)VarZeroVec<VarZeroSlice>, take 2 (https://github.com/unicode-org/icu4x/pull/3649)MultiFieldsULE (https://github.com/unicode-org/icu4x/pull/3642)zeroslice! and zerovec! macros https://github.com/unicode-org/icu4x/pull/3453, Update zerovec!/zeroslice! macro syntax to nested arrays (https://github.com/unicode-org/icu4x/pull/3611)UnvalidatedChar (https://github.com/unicode-org/icu4x/pull/3444)get_copied_by API (https://github.com/unicode-org/icu4x/pull/3351)zerovec and zerovec_derive: 0.9.6 -> 0.10.0:
T: Bake bound on ZeroVec's Bake (https://github.com/unicode-org/icu4x/pull/3451)ICU4XCaseMapperICU4XCaseMapCloserICU4XTitlecaseMapperICU4XTrailingCaseICU4XCodePointSetBuilderICU4XLocaleDirectionICU4XLocaleDirectionalityICU4XLocaleFallbackSupplementICU4XIanaToBcp47Mapperstd::move for inline arguments (https://github.com/rust-diplomat/diplomat/pull/336)bies
icu_compactdecimal
f64 and FixedDecimal (https://github.com/unicode-org/icu4x/pull/3699)displaynames
VariantDisplayNames for accessing display names of locale variant subtags (https://github.com/unicode-org/icu4x/pull/3461)LocaleDisplayNamesFormatter now supports full UTS 35 language identifier formatting (https://github.com/unicode-org/icu4x/pull/3587)harfbuzz
ixdtf
relativetime
transliterate: New crate: 0.1.0unicodeset_parse: New crate: 0.1.0zerotrie: New crate: 0.1.0One column per quarter.