The ICU4X Technical Committee is happy to announce ICU4X 2.1, an update to our modular, portable, and secure i18n library.
ICU4X is Unicode's modern, lightweight, portable, and secure i18n library. Built from the ground up, its binary size and memory usage footprint is 50-90% smaller than ICU4C. It is memory-safe, written in Rust with interfaces into C++, JavaScript, Dart, TypeScript — with other languages in the timeline. Mozilla Firefox, Google Chrome, Google Pixel Watch, core Android, numerous Flutter apps, and more clients are already using ICU4X.
Important changes since ICU4X 2.0 include:
- Latest i18n data: This release includes an update to CLDR 48. 
- Calendar improvements: ICU4X is now being used to implement Temporal in V8 and SpiderMonkey via temporal_rs. icu_calendar has received many fixes and improvements in service of that, including new experimental arithmetic APIs. 
- 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. 
- 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 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
Check out our quickstart tutorial, interactive demo, or C++, TypeScript, and (experimental) Dart documentation.
As before, the Rust crate is available at crates.io, with documentation at docs.rs.
Please post any questions via GitHub Discussions.
----------------------------------------------
Adopt a Character and Support Unicode’s Mission
Looking to give that special someone a special something?
Or maybe something to treat yourself?
🕉️💗🏎️🐨🔥🚀爱₿♜🍀
Adopt a character or emoji to give it the attention it deserves, while also supporting Unicode’s mission to ensure everyone can communicate in their own languages across all devices.
Each adoption includes a digital badge and certificate that you can proudly display!
Have fun and support a good cause
You can also donate funds or gift stock
 
 
 
 
 Posts
Posts
 
