icu4x 0.8.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a97e647de7657f35756c1c2fb3f03132773ad7fcc0f275a53c939995307d31d
4
- data.tar.gz: 6484dfe98f82c00e2036d884ae31a5bc91c5122e96b6eff5db2ca5d8b6551080
3
+ metadata.gz: e325a3954b6ced7e74233f9932c136e417028cda9f87770fe3f6d46daadd6e93
4
+ data.tar.gz: 61fdc9da91abc2e3f1146e1398be2ac7248dd8e37f8158f5c4f9acd71a065b05
5
5
  SHA512:
6
- metadata.gz: 83845dc2f7a88a6719ce992842fd9e30276f324a2a370a496fe076608a51f6695d0fb7f327195aad8bdbef01d8a768f3edcc67bf8f4da69b5b11b1b329beac42
7
- data.tar.gz: 9e9fdaea6e4004c4671b3a4491cd0a251408be272ad233c7d3bbc59871d98bab23ef7e95e50c50be319bcadb3440713cb714d591bdaa589970fa9fee5d295979
6
+ metadata.gz: 50ffdd36e7e8aaff6cb04136616314b295c7bec0909357d770d2cb8307a892d54820298cebf35221afc99587d4fcbbb55a4ac68bdfa125b3de46af93c59c2d5a
7
+ data.tar.gz: 0b632c37b59bb2abbada6686dd3a51b32b59d7619f41893f2da1b070cef59a53e896dc6aa15b564c9c7a41ca23f6cda39e8009e6aff50314b27e8f1944d0ca83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.10.0] - 2026-05-08
4
+
5
+ ### Added
6
+
7
+ - `era:` option for `ICU4X::DateTimeFormat` to control era display (`:auto`, `:full`, `:with_era`, `:never`) (#144)
8
+ - Locale variant APIs: `ICU4X::Locale#variants`, `#add_variant!`, `#add_variant`, `#remove_variant!`, `#remove_variant` (#143)
9
+
10
+ ### Fixed
11
+
12
+ - `hour12: true/false` now maps to `Clock12`/`Clock24` for locale-aware hour cycle preference, not fixed `H12`/`H23` (#145)
13
+ - Declare `bigdecimal` as an explicit runtime dependency (#149)
14
+ - Remove deprecated `AnyCalendarKind::JapaneseExtended` (#141)
15
+
16
+ ### Changed
17
+
18
+ - Update ICU4X crates from 2.1 to 2.2 (CLDR 48.2, TZDB 2026a) (#138)
19
+
20
+ ## [0.9.0] - 2026-02-01
21
+
22
+ ### Added
23
+
24
+ - `hour12` option for `ICU4X::DateTimeFormat` as a simpler alternative to `hour_cycle` (#132)
25
+ - Default behavior for `ICU4X::DateTimeFormat` when no options specified, matching JavaScript Intl.DateTimeFormat (#130)
26
+ - Component options for `ICU4X::DateTimeFormat` (`year`, `month`, `day`, `weekday`, `hour`, `minute`, `second`) as an alternative to style options (#129)
27
+ - Document numbering system support via BCP 47 locale extensions (`-u-nu-xxx`) for `NumberFormat`, `DateTimeFormat`, and `RelativeTimeFormat` (#127)
28
+ - `hour_cycle` option for `ICU4X::DateTimeFormat` to control 12/24-hour time display (#112)
29
+ - `ICU4X::RelativeTimeFormat#format_to_parts` method for breaking down formatted output into typed parts (#117)
30
+ - `ICU4X::ListFormat#format_to_parts` method for breaking down formatted output into typed parts (#116)
31
+ - `ICU4X::NumberFormat#format_to_parts` method for breaking down formatted output into typed parts (#115)
32
+ - `ICU4X::DateTimeFormat#format_to_parts` method for breaking down formatted output into typed parts (#114)
33
+ - `ICU4X::FormattedPart` data class for representing formatted parts (#113)
34
+ - `ICU4X::PluralRules#select_range` method for plural category selection on number ranges (#106)
35
+ - Allow data gems to be required by gem name (#104)
36
+ - `ICU4X::Locale.parse_bcp47` method for explicit BCP 47 parsing; `parse` is now an alias (#108)
37
+
3
38
  ## [0.8.1] - 2026-01-12
4
39
 
5
40
  ### Added