Skip to content

ICU4X 2.0 Beta 1

Latest
Compare
Choose a tag to compare
@sffc sffc released this 23 Nov 20:51
· 17 commits to main since this release

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.