formatjs formatjs_intl_numberformat_v0.2.0

formatjs_intl_numberformat_v0.2.0

formatjs_intl_numberformat: 0.2.0

Added 2
  • Port DateTimeFormat to Rust and Hermes in intl_datetimeformat
  • Port NumberFormat to Rust and Hermes in intl_numberformat
Changed 10
  • Retain prepared matchers in intl_locale native registries for improved performance
  • Skip simple decimal pattern parsing in intl_numberformat for improved performance
  • Skip standard exponent preview in intl_numberformat for improved performance
  • Stream grouping in intl_numberformat without temporary vectors for improved performance
  • Reuse canonical decimal text in intl_pluralrules for improved performance
  • Render strings through borrowed number pieces in intl_relativetimeformat for improved performance
Fixed 4
  • Align best fit locale matching in @formatjs/intl-localematcher with ICU defaults
  • Use latn compact currency patterns in @formatjs/intl-numberformat when a numbering system has none
  • Prefer likely script when resolving locale aliases in intl_locale
  • Release Intl crates through Bazel and the shared workflow

From formatjs

0.2.0 (2026-10-30)
Features
  • intl_datetimeformat: port DateTimeFormat to Rust and Hermes (#7698) (270aa61)
  • intl_numberformat: port NumberFormat to Rust and Hermes (#7696) (9951dec)
Bug Fixes
  • @formatjs/intl-localematcher: align best fit with ICU defaults (#7745) (9898211)
  • @formatjs/intl-numberformat: use latn compact currency patterns when a numbering system has none (#7703) (dd0f9fe)
  • intl_locale: prefer likely script for locale aliases (#7744) (f6103eb)
  • release Intl crates through Bazel and shared workflow (#7727) (53de4af)
Performance Improvements
  • intl_locale: retain prepared matchers in native registries (#7768) (a395be7)
  • intl_numberformat: skip simple decimal pattern parsing (#7737) (9406ed1)
  • intl_numberformat: skip standard exponent preview (#7738) (a4d5a67)
  • intl_numberformat: stream grouping without temporary vectors (#7784) (b472423)
  • intl_pluralrules: reuse canonical decimal text (#7778) (9892a41)
  • intl_relativetimeformat: render strings through borrowed number pieces (#7785) (fa48b30)
  • intl_relativetimeformat: reuse decimal text buffers (#7790) (776107a)
  • intl_relativetimeformat: reuse number part buffers (#7775) (254ef50)
  • intl_relativetimeformat: share numeric rounding (#7739) (b81a827)
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • formatjs_intl_data bumped from 0.1.0 to 0.2.0
      • formatjs_intl_getcanonicallocales bumped from 0.1.0 to 0.2.0
      • formatjs_intl_locale bumped from 0.1.0 to 0.2.0
      • formatjs_intl_pluralrules bumped from 0.1.0 to 0.2.0
View original

Upgraded? How did it go?

Discussion