Skip to content

Releases: sakuro/icu4x

icu4x v0.9.0

01 Feb 10:45

Choose a tag to compare

Added

  • hour12 option for ICU4X::DateTimeFormat as a simpler alternative to hour_cycle (#132)
  • Default behavior for ICU4X::DateTimeFormat when no options specified, matching JavaScript Intl.DateTimeFormat (#130)
  • Component options for ICU4X::DateTimeFormat (year, month, day, weekday, hour, minute, second) as an alternative to style options (#129)
  • Document numbering system support via BCP 47 locale extensions (-u-nu-xxx) for NumberFormat, DateTimeFormat, and RelativeTimeFormat (#127)
  • hour_cycle option for ICU4X::DateTimeFormat to control 12/24-hour time display (#112)
  • ICU4X::RelativeTimeFormat#format_to_parts method for breaking down formatted output into typed parts (#117)
  • ICU4X::ListFormat#format_to_parts method for breaking down formatted output into typed parts (#116)
  • ICU4X::NumberFormat#format_to_parts method for breaking down formatted output into typed parts (#115)
  • ICU4X::DateTimeFormat#format_to_parts method for breaking down formatted output into typed parts (#114)
  • ICU4X::FormattedPart data class for representing formatted parts (#113)
  • ICU4X::PluralRules#select_range method for plural category selection on number ranges (#106)
  • Allow data gems to be required by gem name (#104)
  • ICU4X::Locale.parse_bcp47 method for explicit BCP 47 parsing; parse is now an alias (#108)

icu4x v0.8.1

12 Jan 00:52

Choose a tag to compare

Added

  • Add Ruby 4.0 prebuilt binary support (#101)

icu4x v0.8.0

10 Jan 11:22

Choose a tag to compare

Added

  • ICU4X::Locale#maximize! and #maximize methods to expand locale using Likely Subtags algorithm (UTS #35)
  • ICU4X::Locale#minimize! and #minimize methods to remove redundant subtags

icu4x v0.7.0

09 Jan 13:30

Choose a tag to compare

Added

  • DateTimeFormat#format now accepts any object responding to #to_time (e.g., Date, DateTime)

icu4x v0.6.2

02 Jan 05:24
c902239

Choose a tag to compare

Fixed

  • Fix incorrect Segment#text#segment in README example
  • Improve README Setup section (mention prebuilt binary gems, add Data Preparation heading)
  • Replace YARD +...+ syntax with markdown backticks for consistency

icu4x v0.6.1

02 Jan 03:12
04eb11a

Choose a tag to compare

Changed

  • Re-release to publish companion data gems with Trusted Publisher configuration

icu4x v0.5.2

01 Jan 14:46

Choose a tag to compare

Fixed

  • Fix native extension loader for precompiled gems (#61)

icu4x v0.5.1

01 Jan 14:14

Choose a tag to compare

Fixed

  • Include icu4x_macros crate and Cargo workspace files in source gem (#57)

icu4x v0.5.0

01 Jan 13:17

Choose a tag to compare

Added

  • Locale: BCP 47 (parse) and POSIX (parse_posix) locale parsing
  • DateTimeFormat: Date/time formatting with timezone and calendar support
  • NumberFormat: Decimal, currency, and percent formatting with configurable options
  • PluralRules: Cardinal and ordinal plural category selection
  • Collator: Locale-sensitive string comparison with sensitivity and numeric options
  • ListFormat: Conjunction, disjunction, and unit list formatting
  • RelativeTimeFormat: Relative time formatting for all time units
  • DisplayNames: Localized names for languages, regions, scripts, and locales
  • Segmenter: Text segmentation by grapheme, word, sentence, or line
  • DataProvider: Blob data loading with automatic locale fallback
  • DataGenerator: CLDR data export with locale and marker filtering