Releases: sakuro/icu4x
Releases · sakuro/icu4x
icu4x v0.9.0
Added
hour12option forICU4X::DateTimeFormatas a simpler alternative tohour_cycle(#132)- Default behavior for
ICU4X::DateTimeFormatwhen 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) forNumberFormat,DateTimeFormat, andRelativeTimeFormat(#127) hour_cycleoption forICU4X::DateTimeFormatto control 12/24-hour time display (#112)ICU4X::RelativeTimeFormat#format_to_partsmethod for breaking down formatted output into typed parts (#117)ICU4X::ListFormat#format_to_partsmethod for breaking down formatted output into typed parts (#116)ICU4X::NumberFormat#format_to_partsmethod for breaking down formatted output into typed parts (#115)ICU4X::DateTimeFormat#format_to_partsmethod for breaking down formatted output into typed parts (#114)ICU4X::FormattedPartdata class for representing formatted parts (#113)ICU4X::PluralRules#select_rangemethod for plural category selection on number ranges (#106)- Allow data gems to be required by gem name (#104)
ICU4X::Locale.parse_bcp47method for explicit BCP 47 parsing;parseis now an alias (#108)
icu4x v0.8.1
Added
- Add Ruby 4.0 prebuilt binary support (#101)
icu4x v0.8.0
Added
ICU4X::Locale#maximize!and#maximizemethods to expand locale using Likely Subtags algorithm (UTS #35)ICU4X::Locale#minimize!and#minimizemethods to remove redundant subtags
icu4x v0.7.0
Added
DateTimeFormat#formatnow accepts any object responding to#to_time(e.g.,Date,DateTime)
icu4x v0.6.2
Fixed
- Fix incorrect
Segment#text→#segmentin 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
Changed
- Re-release to publish companion data gems with Trusted Publisher configuration
icu4x v0.5.2
Fixed
- Fix native extension loader for precompiled gems (#61)
icu4x v0.5.1
Fixed
- Include
icu4x_macroscrate and Cargo workspace files in source gem (#57)
icu4x v0.5.0
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