You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
4
4
5
-
## v5.x to v6.0
5
+
## v6.0.0
6
6
7
7
### New Requirements
8
8
@@ -12,10 +12,14 @@
12
12
13
13
-`LocaleId` is generated from the CLDR. It represents an available locale ID.
14
14
-`LocaleNotAvailable` is thrown when a requested locale ID is not available.
15
-
-`TerritoryCode` is generated from the CLDR. It represents a territory ID.
16
-
-`Currency` is generated from the CLDR. It represents a currency, including fraction information.
15
+
-`TerritoryCodeData` is generated from the CLDR. It represents a territory ID.
16
+
-`CurrencyData` is generated from the CLDR. It represents a currency, including fraction information.
17
17
- Added the `Warmable` interface to features that can warm the CLDR cache.
18
18
19
+
### Deprecated Features
20
+
21
+
None
22
+
19
23
### Backward Incompatible Changes
20
24
21
25
-`Units::LENGTH_*` constants are replaced by the `UnitLength` enum.
@@ -33,19 +37,15 @@
33
37
- Removed `Locale::localize()` and repurposed the `Localizable` interface.
34
38
- Removed `__invoke` on formatters, use `$formatter->format(...)` instead.
35
39
36
-
### Deprecated Features
37
-
38
-
None
39
-
40
40
### Other Changes
41
41
42
-
-Use CLDR 45.0.0.
42
+
-Targets CLDR 47.0.0.
43
43
- Some code is now generated from CLDR data, such as `Units` getters and methods, or `LocaleId`.
44
44
- JSON data is stored as PHP instead of JSON to leverage opcache.
45
45
46
46
47
47
48
-
## v4.x to v5.0
48
+
## v5.0.0
49
49
50
50
### New Requirements
51
51
@@ -74,6 +74,10 @@ None
74
74
echo $euro_fraction->cash_rounding; // 0
75
75
```
76
76
77
+
### Deprecated Features
78
+
79
+
None
80
+
77
81
### Backward Incompatible Changes
78
82
79
83
-`PathMapper` was replaced by `GitHub\UrlResolver`.
@@ -98,10 +102,6 @@ None
98
102
99
103
- Renamed `Units::format_combination()` as `format_compound()` to [match the language used by Unicode](http://unicode.org/reports/tr35/tr35-general.html#compound-units).
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ and conventions established by the [Unicode Common Locale Data Repository][cldr]
9
9
valuable locale information such as names for territories, languages, days… as well as formatters
10
10
for numbers, currencies, dates and times, units, sequences, and lists.
11
11
12
-
> **Note**
12
+
> [!NOTE]
13
13
>
14
-
> The package targets [CLDR version 45](https://github.com/unicode-org/cldr-json/tree/45.0.0); [Revision 72](https://www.unicode.org/reports/tr35/tr35-72/tr35.html).
14
+
> The package targets [CLDR version 47](https://github.com/unicode-org/cldr-json/tree/47.0.0); [Revision 75](https://www.unicode.org/reports/tr35/tr35-75/tr35.html).
0 commit comments