intl-messageformat 10.1.2 → 10.1.3
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.
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +13 -0
- package/intl-messageformat.esm.js +3131 -0
- package/intl-messageformat.iife.js +3212 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/src/core.d.ts +34 -0
- package/lib/src/core.d.ts.map +1 -0
- package/lib/src/core.js +240 -0
- package/lib/src/error.d.ts +28 -0
- package/lib/src/error.d.ts.map +1 -0
- package/lib/src/error.js +48 -0
- package/lib/src/formatters.d.ts +47 -0
- package/lib/src/formatters.d.ts.map +1 -0
- package/lib/src/formatters.js +177 -0
- package/package.json +4 -4
- package/src/core.d.ts +34 -0
- package/src/core.d.ts.map +1 -0
- package/src/core.js +243 -0
- package/src/error.d.ts +28 -0
- package/src/error.d.ts.map +1 -0
- package/src/error.js +51 -0
- package/src/formatters.d.ts +47 -0
- package/src/formatters.d.ts.map +1 -0
- package/src/formatters.js +182 -0
- package/BUILD +0 -126
- package/CHANGELOG.md +0 -1141
- package/index.ts +0 -11
- package/src/core.ts +0 -294
- package/src/error.ts +0 -65
- package/src/formatters.ts +0 -311
- package/tests/benchmark.ts +0 -103
- package/tests/index.test.ts +0 -968
- package/tsconfig.json +0 -5
package/CHANGELOG.md
DELETED
|
@@ -1,1141 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [10.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@10.1.1...intl-messageformat@10.1.2) (2022-08-18)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package intl-messageformat
|
|
9
|
-
|
|
10
|
-
## [10.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@10.1.0...intl-messageformat@10.1.1) (2022-07-04)
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package intl-messageformat
|
|
13
|
-
|
|
14
|
-
# [10.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@10.0.1...intl-messageformat@10.1.0) (2022-06-06)
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* **@formatjs/intl:** allow module augmentation for custom formatters ([#3634](https://github.com/formatjs/formatjs/issues/3634)) ([49b2588](https://github.com/formatjs/formatjs/commit/49b2588e1efe135debed9935cb217d2cb5937f07))
|
|
19
|
-
|
|
20
|
-
## [10.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@10.0.0...intl-messageformat@10.0.1) (2022-05-19)
|
|
21
|
-
|
|
22
|
-
**Note:** Version bump only for package intl-messageformat
|
|
23
|
-
|
|
24
|
-
# [10.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.13.0...intl-messageformat@10.0.0) (2022-05-19)
|
|
25
|
-
|
|
26
|
-
### Bug Fixes
|
|
27
|
-
|
|
28
|
-
* **intl-messageformat:** check Intl.Locale existence before usage ([590f1f8](https://github.com/formatjs/formatjs/commit/590f1f81b26934c6dc7a55fff938df5436c6f158)), closes [#3588](https://github.com/formatjs/formatjs/issues/3588)
|
|
29
|
-
* **react-intl:** fix type issue with react18, fix [#3550](https://github.com/formatjs/formatjs/issues/3550) ([2567b93](https://github.com/formatjs/formatjs/commit/2567b932c5d18b097a43842563046c20ce0c49f1))
|
|
30
|
-
|
|
31
|
-
### Features
|
|
32
|
-
|
|
33
|
-
* **@formatjs/cli:** package CLI into a single file ([1760787](https://github.com/formatjs/formatjs/commit/176078792894d18b0af72ce1f413f25835f7eb44)), closes [#3547](https://github.com/formatjs/formatjs/issues/3547)
|
|
34
|
-
|
|
35
|
-
### BREAKING CHANGES
|
|
36
|
-
|
|
37
|
-
* **@formatjs/cli:** we push @vue/compiler-core out to `peerDependencies` so if u use vue u should pull this in manuallywip on packaging cli.
|
|
38
|
-
|
|
39
|
-
# [9.13.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.12.0...intl-messageformat@9.13.0) (2022-04-27)
|
|
40
|
-
|
|
41
|
-
### Features
|
|
42
|
-
|
|
43
|
-
* **@formatjs/icu-messageformat-parser:** preprocess 'j' date time skeleton before parsing as suggested in the Unicode guide ([#3544](https://github.com/formatjs/formatjs/issues/3544)) ([7173e29](https://github.com/formatjs/formatjs/commit/7173e297a229254dd9faed4abe25db17fb96dc68))
|
|
44
|
-
|
|
45
|
-
# [9.12.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.11.4...intl-messageformat@9.12.0) (2022-03-26)
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* **intl-messageformat:** default undefined time style to medium to match with ICU ([10400af](https://github.com/formatjs/formatjs/commit/10400af24dbcf397f1bf40e621ca13df66ccaf97)), closes [#3497](https://github.com/formatjs/formatjs/issues/3497)
|
|
50
|
-
|
|
51
|
-
## [9.11.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.11.3...intl-messageformat@9.11.4) (2022-02-06)
|
|
52
|
-
|
|
53
|
-
**Note:** Version bump only for package intl-messageformat
|
|
54
|
-
|
|
55
|
-
## [9.11.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.11.2...intl-messageformat@9.11.3) (2022-01-24)
|
|
56
|
-
|
|
57
|
-
**Note:** Version bump only for package intl-messageformat
|
|
58
|
-
|
|
59
|
-
## [9.11.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.11.1...intl-messageformat@9.11.2) (2022-01-14)
|
|
60
|
-
|
|
61
|
-
**Note:** Version bump only for package intl-messageformat
|
|
62
|
-
|
|
63
|
-
## [9.11.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.11.0...intl-messageformat@9.11.1) (2022-01-03)
|
|
64
|
-
|
|
65
|
-
**Note:** Version bump only for package intl-messageformat
|
|
66
|
-
|
|
67
|
-
# [9.11.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.10.0...intl-messageformat@9.11.0) (2021-12-20)
|
|
68
|
-
|
|
69
|
-
### Features
|
|
70
|
-
|
|
71
|
-
* **react-intl:** Allow setting a stricter type for locale ([#3284](https://github.com/formatjs/formatjs/issues/3284)) ([c4693d4](https://github.com/formatjs/formatjs/commit/c4693d4c69d3e3036544524720b5a077f3b17786))
|
|
72
|
-
|
|
73
|
-
# [9.10.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.6...intl-messageformat@9.10.0) (2021-12-01)
|
|
74
|
-
|
|
75
|
-
### Features
|
|
76
|
-
|
|
77
|
-
* support TS 4.5, fix [#3276](https://github.com/formatjs/formatjs/issues/3276) ([31e0699](https://github.com/formatjs/formatjs/commit/31e069972aa16e14532531b9e597cff73a3f4897))
|
|
78
|
-
|
|
79
|
-
## [9.9.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.5...intl-messageformat@9.9.6) (2021-11-14)
|
|
80
|
-
|
|
81
|
-
### Reverts
|
|
82
|
-
|
|
83
|
-
* Revert "fix(intl-messageformat): throw when a value is `undefined` or `null` (#3256)" ([11127cb](https://github.com/formatjs/formatjs/commit/11127cb0f6f605ea613974e1be489f151cbae73b)), closes [#3256](https://github.com/formatjs/formatjs/issues/3256) [#3263](https://github.com/formatjs/formatjs/issues/3263)
|
|
84
|
-
|
|
85
|
-
## [9.9.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.4...intl-messageformat@9.9.5) (2021-11-09)
|
|
86
|
-
|
|
87
|
-
### Bug Fixes
|
|
88
|
-
|
|
89
|
-
* **intl-messageformat:** throw when a value is `undefined` or `null` ([#3256](https://github.com/formatjs/formatjs/issues/3256)) ([b3ac86d](https://github.com/formatjs/formatjs/commit/b3ac86d9a3eb082e349b1683312131df96796231))
|
|
90
|
-
|
|
91
|
-
## [9.9.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.3...intl-messageformat@9.9.4) (2021-10-22)
|
|
92
|
-
|
|
93
|
-
**Note:** Version bump only for package intl-messageformat
|
|
94
|
-
|
|
95
|
-
## [9.9.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.2...intl-messageformat@9.9.3) (2021-10-17)
|
|
96
|
-
|
|
97
|
-
**Note:** Version bump only for package intl-messageformat
|
|
98
|
-
|
|
99
|
-
## [9.9.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.1...intl-messageformat@9.9.2) (2021-09-27)
|
|
100
|
-
|
|
101
|
-
**Note:** Version bump only for package intl-messageformat
|
|
102
|
-
|
|
103
|
-
## [9.9.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.9.0...intl-messageformat@9.9.1) (2021-08-21)
|
|
104
|
-
|
|
105
|
-
**Note:** Version bump only for package intl-messageformat
|
|
106
|
-
|
|
107
|
-
# [9.9.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.8.2...intl-messageformat@9.9.0) (2021-08-15)
|
|
108
|
-
|
|
109
|
-
### Features
|
|
110
|
-
|
|
111
|
-
* **@formatjs/fast-memoize:** remove unused Cache.has ([#3102](https://github.com/formatjs/formatjs/issues/3102)) ([5e9a425](https://github.com/formatjs/formatjs/commit/5e9a425519fd2b2473172687fccb58a6979ec81e))
|
|
112
|
-
|
|
113
|
-
## [9.8.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.8.1...intl-messageformat@9.8.2) (2021-08-06)
|
|
114
|
-
|
|
115
|
-
**Note:** Version bump only for package intl-messageformat
|
|
116
|
-
|
|
117
|
-
## [9.8.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.8.0...intl-messageformat@9.8.1) (2021-07-24)
|
|
118
|
-
|
|
119
|
-
**Note:** Version bump only for package intl-messageformat
|
|
120
|
-
|
|
121
|
-
# [9.8.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.7.1...intl-messageformat@9.8.0) (2021-07-23)
|
|
122
|
-
|
|
123
|
-
### Features
|
|
124
|
-
|
|
125
|
-
* **intl-messageformat:** generate modern web bundle as intl-messageformat.esm.js ([#3063](https://github.com/formatjs/formatjs/issues/3063)) ([829870d](https://github.com/formatjs/formatjs/commit/829870d8256957a7f46ec2a516e4a8b19cfb3e02))
|
|
126
|
-
|
|
127
|
-
## [9.7.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.7.0...intl-messageformat@9.7.1) (2021-06-26)
|
|
128
|
-
|
|
129
|
-
**Note:** Version bump only for package intl-messageformat
|
|
130
|
-
|
|
131
|
-
# [9.7.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.18...intl-messageformat@9.7.0) (2021-06-21)
|
|
132
|
-
|
|
133
|
-
### Features
|
|
134
|
-
|
|
135
|
-
* **intl-messageformat:** support argstyle integer natively, fix [#2989](https://github.com/formatjs/formatjs/issues/2989) ([ac94068](https://github.com/formatjs/formatjs/commit/ac94068752b38cb53f8c49a08adce16336e7b721))
|
|
136
|
-
|
|
137
|
-
## [9.6.18](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.17...intl-messageformat@9.6.18) (2021-06-05)
|
|
138
|
-
|
|
139
|
-
**Note:** Version bump only for package intl-messageformat
|
|
140
|
-
|
|
141
|
-
## [9.6.17](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.16...intl-messageformat@9.6.17) (2021-06-01)
|
|
142
|
-
|
|
143
|
-
**Note:** Version bump only for package intl-messageformat
|
|
144
|
-
|
|
145
|
-
## [9.6.16](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.15...intl-messageformat@9.6.16) (2021-05-23)
|
|
146
|
-
|
|
147
|
-
**Note:** Version bump only for package intl-messageformat
|
|
148
|
-
|
|
149
|
-
## [9.6.15](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.14...intl-messageformat@9.6.15) (2021-05-20)
|
|
150
|
-
|
|
151
|
-
**Note:** Version bump only for package intl-messageformat
|
|
152
|
-
|
|
153
|
-
## [9.6.14](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.13...intl-messageformat@9.6.14) (2021-05-17)
|
|
154
|
-
|
|
155
|
-
**Note:** Version bump only for package intl-messageformat
|
|
156
|
-
|
|
157
|
-
## [9.6.13](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.12...intl-messageformat@9.6.13) (2021-05-10)
|
|
158
|
-
|
|
159
|
-
**Note:** Version bump only for package intl-messageformat
|
|
160
|
-
|
|
161
|
-
## [9.6.12](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.11...intl-messageformat@9.6.12) (2021-05-02)
|
|
162
|
-
|
|
163
|
-
**Note:** Version bump only for package intl-messageformat
|
|
164
|
-
|
|
165
|
-
## [9.6.11](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.10...intl-messageformat@9.6.11) (2021-04-26)
|
|
166
|
-
|
|
167
|
-
**Note:** Version bump only for package intl-messageformat
|
|
168
|
-
|
|
169
|
-
## [9.6.10](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.9...intl-messageformat@9.6.10) (2021-04-26)
|
|
170
|
-
|
|
171
|
-
**Note:** Version bump only for package intl-messageformat
|
|
172
|
-
|
|
173
|
-
## [9.6.9](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.8...intl-messageformat@9.6.9) (2021-04-26)
|
|
174
|
-
|
|
175
|
-
### Bug Fixes
|
|
176
|
-
|
|
177
|
-
* **intl-messageformat:** fix fast-memoize import ([0065f99](https://github.com/formatjs/formatjs/commit/0065f990b084dee0abea1c5ad21517091c50c2e4))
|
|
178
|
-
* **intl-messageformat:** use fast-memoize ESM fork ([87596b1](https://github.com/formatjs/formatjs/commit/87596b1535eea645b3d140d8b79b9b465e61cb5e))
|
|
179
|
-
|
|
180
|
-
## [9.6.8](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.7...intl-messageformat@9.6.8) (2021-04-21)
|
|
181
|
-
|
|
182
|
-
**Note:** Version bump only for package intl-messageformat
|
|
183
|
-
|
|
184
|
-
## [9.6.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.6...intl-messageformat@9.6.7) (2021-04-12)
|
|
185
|
-
|
|
186
|
-
**Note:** Version bump only for package intl-messageformat
|
|
187
|
-
|
|
188
|
-
## [9.6.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.5...intl-messageformat@9.6.6) (2021-04-04)
|
|
189
|
-
|
|
190
|
-
**Note:** Version bump only for package intl-messageformat
|
|
191
|
-
|
|
192
|
-
## [9.6.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.4...intl-messageformat@9.6.5) (2021-04-03)
|
|
193
|
-
|
|
194
|
-
**Note:** Version bump only for package intl-messageformat
|
|
195
|
-
|
|
196
|
-
## [9.6.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.3...intl-messageformat@9.6.4) (2021-03-30)
|
|
197
|
-
|
|
198
|
-
**Note:** Version bump only for package intl-messageformat
|
|
199
|
-
|
|
200
|
-
## [9.6.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.2...intl-messageformat@9.6.3) (2021-03-28)
|
|
201
|
-
|
|
202
|
-
**Note:** Version bump only for package intl-messageformat
|
|
203
|
-
|
|
204
|
-
## [9.6.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.1...intl-messageformat@9.6.2) (2021-03-28)
|
|
205
|
-
|
|
206
|
-
**Note:** Version bump only for package intl-messageformat
|
|
207
|
-
|
|
208
|
-
## [9.6.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.6.0...intl-messageformat@9.6.1) (2021-03-27)
|
|
209
|
-
|
|
210
|
-
### Bug Fixes
|
|
211
|
-
|
|
212
|
-
* **intl-messageformat:** fix missing dep ([d2e6721](https://github.com/formatjs/formatjs/commit/d2e672145e50705e43ad526ee2e9f2307e8697a1))
|
|
213
|
-
|
|
214
|
-
# [9.6.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.5.4...intl-messageformat@9.6.0) (2021-03-27)
|
|
215
|
-
|
|
216
|
-
### Features
|
|
217
|
-
|
|
218
|
-
* **intl-messageformat:** switch parser to @formatjs/icu-messageformat-parser (6x faster) ([c53882f](https://github.com/formatjs/formatjs/commit/c53882fc5eab514607d6c00ee4e377999925a909))
|
|
219
|
-
|
|
220
|
-
## [9.5.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.5.3...intl-messageformat@9.5.4) (2021-03-26)
|
|
221
|
-
|
|
222
|
-
**Note:** Version bump only for package intl-messageformat
|
|
223
|
-
|
|
224
|
-
## [9.5.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.5.2...intl-messageformat@9.5.3) (2021-03-15)
|
|
225
|
-
|
|
226
|
-
**Note:** Version bump only for package intl-messageformat
|
|
227
|
-
|
|
228
|
-
## [9.5.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.5.1...intl-messageformat@9.5.2) (2021-03-01)
|
|
229
|
-
|
|
230
|
-
**Note:** Version bump only for package intl-messageformat
|
|
231
|
-
|
|
232
|
-
## [9.5.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.5.0...intl-messageformat@9.5.1) (2021-02-25)
|
|
233
|
-
|
|
234
|
-
### Bug Fixes
|
|
235
|
-
|
|
236
|
-
* bump tslib version dep ([37577d2](https://github.com/formatjs/formatjs/commit/37577d22bf28d23de1d8013ba0047cf221ad8840)), closes [#2645](https://github.com/formatjs/formatjs/issues/2645)
|
|
237
|
-
|
|
238
|
-
# [9.5.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.9...intl-messageformat@9.5.0) (2021-02-25)
|
|
239
|
-
|
|
240
|
-
### Features
|
|
241
|
-
|
|
242
|
-
* **intl-messageformat:** support TS4.2 ([fdacd6f](https://github.com/formatjs/formatjs/commit/fdacd6fda410e00818c2802a97ac72dab1bf8e62))
|
|
243
|
-
|
|
244
|
-
## [9.4.9](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.8...intl-messageformat@9.4.9) (2021-02-22)
|
|
245
|
-
|
|
246
|
-
**Note:** Version bump only for package intl-messageformat
|
|
247
|
-
|
|
248
|
-
## [9.4.8](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.7...intl-messageformat@9.4.8) (2021-02-21)
|
|
249
|
-
|
|
250
|
-
**Note:** Version bump only for package intl-messageformat
|
|
251
|
-
|
|
252
|
-
## [9.4.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.6...intl-messageformat@9.4.7) (2021-02-13)
|
|
253
|
-
|
|
254
|
-
**Note:** Version bump only for package intl-messageformat
|
|
255
|
-
|
|
256
|
-
## [9.4.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.5...intl-messageformat@9.4.6) (2021-01-27)
|
|
257
|
-
|
|
258
|
-
**Note:** Version bump only for package intl-messageformat
|
|
259
|
-
|
|
260
|
-
## [9.4.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.4...intl-messageformat@9.4.5) (2021-01-26)
|
|
261
|
-
|
|
262
|
-
**Note:** Version bump only for package intl-messageformat
|
|
263
|
-
|
|
264
|
-
## [9.4.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.3...intl-messageformat@9.4.4) (2021-01-25)
|
|
265
|
-
|
|
266
|
-
**Note:** Version bump only for package intl-messageformat
|
|
267
|
-
|
|
268
|
-
## [9.4.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.2...intl-messageformat@9.4.3) (2021-01-05)
|
|
269
|
-
|
|
270
|
-
**Note:** Version bump only for package intl-messageformat
|
|
271
|
-
|
|
272
|
-
## [9.4.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.1...intl-messageformat@9.4.2) (2021-01-02)
|
|
273
|
-
|
|
274
|
-
**Note:** Version bump only for package intl-messageformat
|
|
275
|
-
|
|
276
|
-
## [9.4.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.4.0...intl-messageformat@9.4.1) (2021-01-01)
|
|
277
|
-
|
|
278
|
-
**Note:** Version bump only for package intl-messageformat
|
|
279
|
-
|
|
280
|
-
# [9.4.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.20...intl-messageformat@9.4.0) (2020-12-17)
|
|
281
|
-
|
|
282
|
-
### Features
|
|
283
|
-
|
|
284
|
-
* **intl-messageformat:** format scale stem in number skeleton correctly, fix [#2414](https://github.com/formatjs/formatjs/issues/2414) ([e48b60c](https://github.com/formatjs/formatjs/commit/e48b60c776725ca3d0f52e677d25ab86e1a7d91a))
|
|
285
|
-
|
|
286
|
-
## [9.3.20](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.19...intl-messageformat@9.3.20) (2020-11-27)
|
|
287
|
-
|
|
288
|
-
**Note:** Version bump only for package intl-messageformat
|
|
289
|
-
|
|
290
|
-
## [9.3.19](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.18...intl-messageformat@9.3.19) (2020-11-20)
|
|
291
|
-
|
|
292
|
-
**Note:** Version bump only for package intl-messageformat
|
|
293
|
-
|
|
294
|
-
## [9.3.18](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.17...intl-messageformat@9.3.18) (2020-11-12)
|
|
295
|
-
|
|
296
|
-
**Note:** Version bump only for package intl-messageformat
|
|
297
|
-
|
|
298
|
-
## [9.3.17](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.16...intl-messageformat@9.3.17) (2020-11-09)
|
|
299
|
-
|
|
300
|
-
**Note:** Version bump only for package intl-messageformat
|
|
301
|
-
|
|
302
|
-
## [9.3.16](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.15...intl-messageformat@9.3.16) (2020-11-09)
|
|
303
|
-
|
|
304
|
-
**Note:** Version bump only for package intl-messageformat
|
|
305
|
-
|
|
306
|
-
## [9.3.15](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.14...intl-messageformat@9.3.15) (2020-11-05)
|
|
307
|
-
|
|
308
|
-
**Note:** Version bump only for package intl-messageformat
|
|
309
|
-
|
|
310
|
-
## [9.3.14](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.13...intl-messageformat@9.3.14) (2020-11-05)
|
|
311
|
-
|
|
312
|
-
### Bug Fixes
|
|
313
|
-
|
|
314
|
-
* **intl-messageformat:** lock down monorepo dep version ([5f7db81](https://github.com/formatjs/formatjs/commit/5f7db81c43bce97639c5236425ee36c173b0701a))
|
|
315
|
-
|
|
316
|
-
## [9.3.13](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.12...intl-messageformat@9.3.13) (2020-11-04)
|
|
317
|
-
|
|
318
|
-
**Note:** Version bump only for package intl-messageformat
|
|
319
|
-
|
|
320
|
-
## [9.3.12](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.11...intl-messageformat@9.3.12) (2020-10-25)
|
|
321
|
-
|
|
322
|
-
**Note:** Version bump only for package intl-messageformat
|
|
323
|
-
|
|
324
|
-
## [9.3.11](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.10...intl-messageformat@9.3.11) (2020-10-10)
|
|
325
|
-
|
|
326
|
-
**Note:** Version bump only for package intl-messageformat
|
|
327
|
-
|
|
328
|
-
## [9.3.10](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.9...intl-messageformat@9.3.10) (2020-10-08)
|
|
329
|
-
|
|
330
|
-
**Note:** Version bump only for package intl-messageformat
|
|
331
|
-
|
|
332
|
-
## [9.3.9](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.8...intl-messageformat@9.3.9) (2020-10-01)
|
|
333
|
-
|
|
334
|
-
**Note:** Version bump only for package intl-messageformat
|
|
335
|
-
|
|
336
|
-
## [9.3.8](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.7...intl-messageformat@9.3.8) (2020-09-18)
|
|
337
|
-
|
|
338
|
-
**Note:** Version bump only for package intl-messageformat
|
|
339
|
-
|
|
340
|
-
## [9.3.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.6...intl-messageformat@9.3.7) (2020-09-09)
|
|
341
|
-
|
|
342
|
-
**Note:** Version bump only for package intl-messageformat
|
|
343
|
-
|
|
344
|
-
## [9.3.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.5...intl-messageformat@9.3.6) (2020-08-28)
|
|
345
|
-
|
|
346
|
-
**Note:** Version bump only for package intl-messageformat
|
|
347
|
-
|
|
348
|
-
## [9.3.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.4...intl-messageformat@9.3.5) (2020-08-25)
|
|
349
|
-
|
|
350
|
-
**Note:** Version bump only for package intl-messageformat
|
|
351
|
-
|
|
352
|
-
## [9.3.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.3...intl-messageformat@9.3.4) (2020-08-22)
|
|
353
|
-
|
|
354
|
-
**Note:** Version bump only for package intl-messageformat
|
|
355
|
-
|
|
356
|
-
## [9.3.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.2...intl-messageformat@9.3.3) (2020-08-21)
|
|
357
|
-
|
|
358
|
-
**Note:** Version bump only for package intl-messageformat
|
|
359
|
-
|
|
360
|
-
## [9.3.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.1...intl-messageformat@9.3.2) (2020-08-20)
|
|
361
|
-
|
|
362
|
-
### Bug Fixes
|
|
363
|
-
|
|
364
|
-
* bump intl-messageformat-parser ([8bbfa04](https://github.com/formatjs/formatjs/commit/8bbfa047da159662700b7e500879da20e54c0f0b))
|
|
365
|
-
|
|
366
|
-
## [9.3.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.3.0...intl-messageformat@9.3.1) (2020-08-19)
|
|
367
|
-
|
|
368
|
-
**Note:** Version bump only for package intl-messageformat
|
|
369
|
-
|
|
370
|
-
# [9.3.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.5...intl-messageformat@9.3.0) (2020-08-19)
|
|
371
|
-
|
|
372
|
-
### Features
|
|
373
|
-
|
|
374
|
-
* **intl-messageformat:** use parser shouldParseSkeleton ([00fa8b0](https://github.com/formatjs/formatjs/commit/00fa8b0d1e4815b96b3b663578dcaf6cb6212159))
|
|
375
|
-
|
|
376
|
-
## [9.2.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.4...intl-messageformat@9.2.5) (2020-08-18)
|
|
377
|
-
|
|
378
|
-
**Note:** Version bump only for package intl-messageformat
|
|
379
|
-
|
|
380
|
-
## [9.2.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.3...intl-messageformat@9.2.4) (2020-08-17)
|
|
381
|
-
|
|
382
|
-
**Note:** Version bump only for package intl-messageformat
|
|
383
|
-
|
|
384
|
-
## [9.2.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.2...intl-messageformat@9.2.3) (2020-08-14)
|
|
385
|
-
|
|
386
|
-
**Note:** Version bump only for package intl-messageformat
|
|
387
|
-
|
|
388
|
-
## [9.2.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.1...intl-messageformat@9.2.2) (2020-08-14)
|
|
389
|
-
|
|
390
|
-
**Note:** Version bump only for package intl-messageformat
|
|
391
|
-
|
|
392
|
-
## [9.2.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.2.0...intl-messageformat@9.2.1) (2020-08-13)
|
|
393
|
-
|
|
394
|
-
**Note:** Version bump only for package intl-messageformat
|
|
395
|
-
|
|
396
|
-
# [9.2.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.7...intl-messageformat@9.2.0) (2020-07-30)
|
|
397
|
-
|
|
398
|
-
### Features
|
|
399
|
-
|
|
400
|
-
* **intl-messageformat:** rm dep on intl-format-cache and use fast-memoize ([1a7eb02](https://github.com/formatjs/formatjs/commit/1a7eb0210f1a171eb5291a79bb9f3cc855c5e12f))
|
|
401
|
-
|
|
402
|
-
## [9.1.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.6...intl-messageformat@9.1.7) (2020-07-24)
|
|
403
|
-
|
|
404
|
-
**Note:** Version bump only for package intl-messageformat
|
|
405
|
-
|
|
406
|
-
## [9.1.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.5...intl-messageformat@9.1.6) (2020-07-21)
|
|
407
|
-
|
|
408
|
-
**Note:** Version bump only for package intl-messageformat
|
|
409
|
-
|
|
410
|
-
## [9.1.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.4...intl-messageformat@9.1.5) (2020-07-17)
|
|
411
|
-
|
|
412
|
-
### Bug Fixes
|
|
413
|
-
|
|
414
|
-
* **intl-messageformat:** add back intl-messageformat.umd.js, fix [#1846](https://github.com/formatjs/formatjs/issues/1846) ([81465b0](https://github.com/formatjs/formatjs/commit/81465b09bbaf44957d13d4e0f4ace23a2030047d))
|
|
415
|
-
|
|
416
|
-
## [9.1.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.3...intl-messageformat@9.1.4) (2020-07-16)
|
|
417
|
-
|
|
418
|
-
**Note:** Version bump only for package intl-messageformat
|
|
419
|
-
|
|
420
|
-
## [9.1.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.1...intl-messageformat@9.1.3) (2020-07-14)
|
|
421
|
-
|
|
422
|
-
### Bug Fixes
|
|
423
|
-
|
|
424
|
-
* **react-intl:** fix rollup'ed type def file ([bddb88e](https://github.com/formatjs/formatjs/commit/bddb88e7435854b3152f2fbdc72b50054d9bad76))
|
|
425
|
-
|
|
426
|
-
## [9.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.1...intl-messageformat@9.1.2) (2020-07-14)
|
|
427
|
-
|
|
428
|
-
### Bug Fixes
|
|
429
|
-
|
|
430
|
-
* **react-intl:** fix rollup'ed type def file ([bddb88e](https://github.com/formatjs/formatjs/commit/bddb88e7435854b3152f2fbdc72b50054d9bad76))
|
|
431
|
-
|
|
432
|
-
## [9.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.1.0...intl-messageformat@9.1.1) (2020-07-14)
|
|
433
|
-
|
|
434
|
-
**Note:** Version bump only for package intl-messageformat
|
|
435
|
-
|
|
436
|
-
# [9.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.0.2...intl-messageformat@9.1.0) (2020-07-14)
|
|
437
|
-
|
|
438
|
-
### Features
|
|
439
|
-
|
|
440
|
-
* publish ([b6e3465](https://github.com/formatjs/formatjs/commit/b6e3465ac95b3fa481f3c89f077a66ac004f7c27))
|
|
441
|
-
|
|
442
|
-
## [9.0.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.0.2...intl-messageformat@9.0.3) (2020-07-09)
|
|
443
|
-
|
|
444
|
-
**Note:** Version bump only for package intl-messageformat
|
|
445
|
-
|
|
446
|
-
## [9.0.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.0.1...intl-messageformat@9.0.2) (2020-07-03)
|
|
447
|
-
|
|
448
|
-
**Note:** Version bump only for package intl-messageformat
|
|
449
|
-
|
|
450
|
-
## [9.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@9.0.0...intl-messageformat@9.0.1) (2020-07-03)
|
|
451
|
-
|
|
452
|
-
**Note:** Version bump only for package intl-messageformat
|
|
453
|
-
|
|
454
|
-
# [9.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.4.1...intl-messageformat@9.0.0) (2020-07-03)
|
|
455
|
-
|
|
456
|
-
### Features
|
|
457
|
-
|
|
458
|
-
* **intl-messageformat:** make FormatXMLElementFn non-variadic ([f2963bf](https://github.com/formatjs/formatjs/commit/f2963bf17ec9809b13fffdb52d68f70439ba186b))
|
|
459
|
-
|
|
460
|
-
### BREAKING CHANGES
|
|
461
|
-
|
|
462
|
-
* **intl-messageformat:** This effectively change the signature for formatter
|
|
463
|
-
function from `(...chunks) => any` to `(chunks) => any`. This solves a
|
|
464
|
-
couple of issues:
|
|
465
|
-
1. We received user feedback that variadic function is not as ergonomic
|
|
466
|
-
2. Right now there's not way to distinguish between 2 chunks that have
|
|
467
|
-
the same tag, e.g `<b>on</b> and <b>on</b>`. The function would
|
|
468
|
-
receive 2 chunks that are identical. By consoliding to the 1st param we
|
|
469
|
-
can reserve additional params to provide mode metadata in the future
|
|
470
|
-
|
|
471
|
-
## [8.4.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.4.0...intl-messageformat@8.4.1) (2020-07-01)
|
|
472
|
-
|
|
473
|
-
**Note:** Version bump only for package intl-messageformat
|
|
474
|
-
|
|
475
|
-
# [8.4.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.26...intl-messageformat@8.4.0) (2020-06-26)
|
|
476
|
-
|
|
477
|
-
### Features
|
|
478
|
-
|
|
479
|
-
* **intl-messageformat:** pass `ignoreTag` to parser ([386459b](https://github.com/formatjs/formatjs/commit/386459ba472734ff21ba19374e2700e52382cd22)), closes [#1755](https://github.com/formatjs/formatjs/issues/1755)
|
|
480
|
-
|
|
481
|
-
## [8.3.26](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.25...intl-messageformat@8.3.26) (2020-06-23)
|
|
482
|
-
|
|
483
|
-
**Note:** Version bump only for package intl-messageformat
|
|
484
|
-
|
|
485
|
-
## [8.3.25](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.24...intl-messageformat@8.3.25) (2020-06-23)
|
|
486
|
-
|
|
487
|
-
**Note:** Version bump only for package intl-messageformat
|
|
488
|
-
|
|
489
|
-
## [8.3.24](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.23...intl-messageformat@8.3.24) (2020-06-20)
|
|
490
|
-
|
|
491
|
-
**Note:** Version bump only for package intl-messageformat
|
|
492
|
-
|
|
493
|
-
## [8.3.23](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.22...intl-messageformat@8.3.23) (2020-06-06)
|
|
494
|
-
|
|
495
|
-
**Note:** Version bump only for package intl-messageformat
|
|
496
|
-
|
|
497
|
-
## [8.3.22](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.21...intl-messageformat@8.3.22) (2020-06-06)
|
|
498
|
-
|
|
499
|
-
**Note:** Version bump only for package intl-messageformat
|
|
500
|
-
|
|
501
|
-
## [8.3.21](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.20...intl-messageformat@8.3.21) (2020-06-04)
|
|
502
|
-
|
|
503
|
-
**Note:** Version bump only for package intl-messageformat
|
|
504
|
-
|
|
505
|
-
## [8.3.20](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.19...intl-messageformat@8.3.20) (2020-06-04)
|
|
506
|
-
|
|
507
|
-
**Note:** Version bump only for package intl-messageformat
|
|
508
|
-
|
|
509
|
-
## [8.3.19](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.18...intl-messageformat@8.3.19) (2020-06-03)
|
|
510
|
-
|
|
511
|
-
**Note:** Version bump only for package intl-messageformat
|
|
512
|
-
|
|
513
|
-
## [8.3.18](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.17...intl-messageformat@8.3.18) (2020-05-28)
|
|
514
|
-
|
|
515
|
-
**Note:** Version bump only for package intl-messageformat
|
|
516
|
-
|
|
517
|
-
## [8.3.17](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.16...intl-messageformat@8.3.17) (2020-05-27)
|
|
518
|
-
|
|
519
|
-
**Note:** Version bump only for package intl-messageformat
|
|
520
|
-
|
|
521
|
-
## [8.3.16](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.15...intl-messageformat@8.3.16) (2020-05-25)
|
|
522
|
-
|
|
523
|
-
**Note:** Version bump only for package intl-messageformat
|
|
524
|
-
|
|
525
|
-
## [8.3.15](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.14...intl-messageformat@8.3.15) (2020-05-23)
|
|
526
|
-
|
|
527
|
-
**Note:** Version bump only for package intl-messageformat
|
|
528
|
-
|
|
529
|
-
## [8.3.14](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.13...intl-messageformat@8.3.14) (2020-05-23)
|
|
530
|
-
|
|
531
|
-
**Note:** Version bump only for package intl-messageformat
|
|
532
|
-
|
|
533
|
-
## [8.3.13](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.12...intl-messageformat@8.3.13) (2020-05-21)
|
|
534
|
-
|
|
535
|
-
### Bug Fixes
|
|
536
|
-
|
|
537
|
-
* **intl-messageformat:** fix rendering tag inside plural, fix [#1680](https://github.com/formatjs/formatjs/issues/1680) ([dd4f6c6](https://github.com/formatjs/formatjs/commit/dd4f6c626055688b8b596b164f0836e9ea65fb1e))
|
|
538
|
-
|
|
539
|
-
## [8.3.12](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.11...intl-messageformat@8.3.12) (2020-05-21)
|
|
540
|
-
|
|
541
|
-
**Note:** Version bump only for package intl-messageformat
|
|
542
|
-
|
|
543
|
-
## [8.3.11](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.10...intl-messageformat@8.3.11) (2020-05-16)
|
|
544
|
-
|
|
545
|
-
**Note:** Version bump only for package intl-messageformat
|
|
546
|
-
|
|
547
|
-
## [8.3.10](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.9...intl-messageformat@8.3.10) (2020-05-05)
|
|
548
|
-
|
|
549
|
-
**Note:** Version bump only for package intl-messageformat
|
|
550
|
-
|
|
551
|
-
## 8.3.9 (2020-04-28)
|
|
552
|
-
|
|
553
|
-
### Bug Fixes
|
|
554
|
-
|
|
555
|
-
* **intl-messageformat:** fix issue where skeleton not getting parsed in date format ([9cc6049](https://github.com/formatjs/formatjs/commit/9cc6049b7139f8c9c843542a10a48c7faa64a880))
|
|
556
|
-
|
|
557
|
-
## [8.3.8](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.7...intl-messageformat@8.3.8) (2020-04-24)
|
|
558
|
-
|
|
559
|
-
### Bug Fixes
|
|
560
|
-
|
|
561
|
-
* **eslint-plugin-formatjs:** add missing dep ([776390e](https://github.com/formatjs/formatjs/commit/776390e9d6cb3bc1eef07b2e92057136cfe95b76))
|
|
562
|
-
|
|
563
|
-
## [8.3.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.6...intl-messageformat@8.3.7) (2020-04-20)
|
|
564
|
-
|
|
565
|
-
### Bug Fixes
|
|
566
|
-
|
|
567
|
-
* **intl-messageformat:** IntlMessageFormat.defaultLocale is upda… ([#653](https://github.com/formatjs/formatjs/issues/653)) ([31d1422](https://github.com/formatjs/formatjs/commit/31d14226543765e4fb6dba535d6159a8bfa2719a)), closes [#587](https://github.com/formatjs/formatjs/issues/587)
|
|
568
|
-
|
|
569
|
-
## [8.3.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.5...intl-messageformat@8.3.6) (2020-04-14)
|
|
570
|
-
|
|
571
|
-
### Bug Fixes
|
|
572
|
-
|
|
573
|
-
* clean up tsbuildinfo before full build ([c301ca0](https://github.com/formatjs/formatjs/commit/c301ca02e0c319a0eb03921533053f0334ae5df1))
|
|
574
|
-
|
|
575
|
-
## [8.3.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.4...intl-messageformat@8.3.5) (2020-04-12)
|
|
576
|
-
|
|
577
|
-
**Note:** Version bump only for package intl-messageformat
|
|
578
|
-
|
|
579
|
-
## [8.3.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.3...intl-messageformat@8.3.4) (2020-04-11)
|
|
580
|
-
|
|
581
|
-
**Note:** Version bump only for package intl-messageformat
|
|
582
|
-
|
|
583
|
-
## [8.3.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.2...intl-messageformat@8.3.3) (2020-03-30)
|
|
584
|
-
|
|
585
|
-
**Note:** Version bump only for package intl-messageformat
|
|
586
|
-
|
|
587
|
-
## [8.3.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.1...intl-messageformat@8.3.2) (2020-03-28)
|
|
588
|
-
|
|
589
|
-
### Bug Fixes
|
|
590
|
-
|
|
591
|
-
* **intl-messageformat:** add FormatXMLElementFn generic return type ([9b4516c](https://github.com/formatjs/formatjs/commit/9b4516cd1be9fcc1d98fecef31949caa415530c2))
|
|
592
|
-
|
|
593
|
-
## [8.3.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.3.0...intl-messageformat@8.3.1) (2020-03-26)
|
|
594
|
-
|
|
595
|
-
### Bug Fixes
|
|
596
|
-
|
|
597
|
-
* **intl-messageformat:** add missing import to formatters ([be26f59](https://github.com/formatjs/formatjs/commit/be26f591fb373cfca5c0469572bf6a24692bacdc))
|
|
598
|
-
|
|
599
|
-
# [8.3.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.2.3...intl-messageformat@8.3.0) (2020-03-26)
|
|
600
|
-
|
|
601
|
-
### Features
|
|
602
|
-
|
|
603
|
-
* **intl-messageformat:** add more debug info to errors ([58dd475](https://github.com/formatjs/formatjs/commit/58dd475f90d1d11c8085fa554c9229b0f1f65a1d))
|
|
604
|
-
|
|
605
|
-
## [8.2.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.2.2...intl-messageformat@8.2.3) (2020-03-21)
|
|
606
|
-
|
|
607
|
-
### Bug Fixes
|
|
608
|
-
|
|
609
|
-
* **intl-messageformat:** change ErrorCode to string enum ([db8662a](https://github.com/formatjs/formatjs/commit/db8662aaf7571ce035f716611901882a89e193da))
|
|
610
|
-
|
|
611
|
-
## [8.2.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.2.1...intl-messageformat@8.2.2) (2020-03-18)
|
|
612
|
-
|
|
613
|
-
**Note:** Version bump only for package intl-messageformat
|
|
614
|
-
|
|
615
|
-
## [8.2.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.2.0...intl-messageformat@8.2.1) (2020-03-05)
|
|
616
|
-
|
|
617
|
-
### Bug Fixes
|
|
618
|
-
|
|
619
|
-
* **intl-messageformat:** export Error obj ([614debb](https://github.com/formatjs/formatjs/commit/614debb80f654966bc3ba832d6e5603be88da3d9))
|
|
620
|
-
|
|
621
|
-
# [8.2.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.1.0...intl-messageformat@8.2.0) (2020-03-05)
|
|
622
|
-
|
|
623
|
-
### Features
|
|
624
|
-
|
|
625
|
-
* **intl-messageformat:** Add error type for better debugging ([6200573](https://github.com/formatjs/formatjs/commit/6200573c9f88b23f157bede7305fcc5da64b842b))
|
|
626
|
-
|
|
627
|
-
# [8.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@8.0.0...intl-messageformat@8.1.0) (2020-03-05)
|
|
628
|
-
|
|
629
|
-
### Features
|
|
630
|
-
|
|
631
|
-
* **intl-messageformat-parser:** Allow - in embedded HTML tag ([43aa6a7](https://github.com/formatjs/formatjs/commit/43aa6a727ab6fd5eb3fb4d8c4035039a2c27b6c5)), closes [#545](https://github.com/formatjs/formatjs/issues/545)
|
|
632
|
-
|
|
633
|
-
# [8.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.8.3...intl-messageformat@8.0.0) (2020-03-04)
|
|
634
|
-
|
|
635
|
-
### Features
|
|
636
|
-
|
|
637
|
-
* **intl-messageformat:** combine formatHTMLMessage into format ([d59fbf1](https://github.com/formatjs/formatjs/commit/d59fbf1a4a017a3a023254cb9947575eef9cf803))
|
|
638
|
-
|
|
639
|
-
### BREAKING CHANGES
|
|
640
|
-
|
|
641
|
-
* **intl-messageformat:** We've modified the way we parse and format embedded
|
|
642
|
-
XML/HTML as follow:
|
|
643
|
-
|
|
644
|
-
1. `formatHTMLMessage` has been combined with `format`
|
|
645
|
-
2. All tags specified must have corresponding values and will throw
|
|
646
|
-
error if it's missing, e.g: `new IntlMessageFormat("a
|
|
647
|
-
<b>strong</b>").format({ b: (...chunks) => <strong>chunks</strong> })`
|
|
648
|
-
3. Self-closing tags are treated as string literal by default. We don't
|
|
649
|
-
allow formatting self-closing tags because we already use ICU
|
|
650
|
-
`{placeholder}` syntax for that.
|
|
651
|
-
4. XML/HTML tags are escaped using apostrophe just like other ICU
|
|
652
|
-
constructs.
|
|
653
|
-
5. Remove dependency on DOMParser and restrictions on void element like
|
|
654
|
-
`<link>`. This effectively means you don't need to polyfill DOMParser in
|
|
655
|
-
Node anymore
|
|
656
|
-
|
|
657
|
-
fix(intl-messageformat-parser): fix escaping for XML tag
|
|
658
|
-
|
|
659
|
-
## [7.8.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.8.3...intl-messageformat@7.8.4) (2020-01-27)
|
|
660
|
-
|
|
661
|
-
**Note:** Version bump only for package intl-messageformat
|
|
662
|
-
|
|
663
|
-
## [7.8.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.8.2...intl-messageformat@7.8.3) (2020-01-22)
|
|
664
|
-
|
|
665
|
-
**Note:** Version bump only for package intl-messageformat
|
|
666
|
-
|
|
667
|
-
## [7.8.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.8.1...intl-messageformat@7.8.2) (2020-01-09)
|
|
668
|
-
|
|
669
|
-
**Note:** Version bump only for package intl-messageformat
|
|
670
|
-
|
|
671
|
-
## [7.8.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.8.0...intl-messageformat@7.8.1) (2020-01-08)
|
|
672
|
-
|
|
673
|
-
**Note:** Version bump only for package intl-messageformat
|
|
674
|
-
|
|
675
|
-
# [7.8.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.5...intl-messageformat@7.8.0) (2020-01-06)
|
|
676
|
-
|
|
677
|
-
### Bug Fixes
|
|
678
|
-
|
|
679
|
-
* **eslint-plugin-format:** fix eslint-plugin-formatjs type error ([b647552](https://github.com/formatjs/formatjs/commit/b6475523bf816e2ac3be6c03d0b565fccb2b5c29))
|
|
680
|
-
|
|
681
|
-
### Features
|
|
682
|
-
|
|
683
|
-
* **intl-messageformat:** use the new pound element AST node in plural argument ([9519103](https://github.com/formatjs/formatjs/commit/95191035397901ccc72564be57de3fa77ef9af96))
|
|
684
|
-
|
|
685
|
-
## [7.7.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.4...intl-messageformat@7.7.5) (2019-12-27)
|
|
686
|
-
|
|
687
|
-
**Note:** Version bump only for package intl-messageformat
|
|
688
|
-
|
|
689
|
-
## [7.7.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.3...intl-messageformat@7.7.4) (2019-12-27)
|
|
690
|
-
|
|
691
|
-
**Note:** Version bump only for package intl-messageformat
|
|
692
|
-
|
|
693
|
-
## [7.7.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.2...intl-messageformat@7.7.3) (2019-12-26)
|
|
694
|
-
|
|
695
|
-
**Note:** Version bump only for package intl-messageformat
|
|
696
|
-
|
|
697
|
-
## [7.7.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.1...intl-messageformat@7.7.2) (2019-12-04)
|
|
698
|
-
|
|
699
|
-
**Note:** Version bump only for package intl-messageformat
|
|
700
|
-
|
|
701
|
-
## [7.7.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.7.0...intl-messageformat@7.7.1) (2019-12-02)
|
|
702
|
-
|
|
703
|
-
**Note:** Version bump only for package intl-messageformat
|
|
704
|
-
|
|
705
|
-
# [7.7.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.6.2...intl-messageformat@7.7.0) (2019-12-01)
|
|
706
|
-
|
|
707
|
-
### Features
|
|
708
|
-
|
|
709
|
-
* **intl-messageformat:** Integrate parser's number skeleton ([c4ec029](https://github.com/formatjs/formatjs/commit/c4ec029322de34477997531ae8e9bb937cb0d52d))
|
|
710
|
-
|
|
711
|
-
## [7.6.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.6.1...intl-messageformat@7.6.2) (2019-12-01)
|
|
712
|
-
|
|
713
|
-
**Note:** Version bump only for package intl-messageformat
|
|
714
|
-
|
|
715
|
-
## [7.6.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.6.0...intl-messageformat@7.6.1) (2019-11-26)
|
|
716
|
-
|
|
717
|
-
**Note:** Version bump only for package intl-messageformat
|
|
718
|
-
|
|
719
|
-
# [7.6.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.6...intl-messageformat@7.6.0) (2019-11-25)
|
|
720
|
-
|
|
721
|
-
### Bug Fixes
|
|
722
|
-
|
|
723
|
-
* **intl-messageformat:** remove re-export for parseDateTimeSkeleton ([8611aa4](https://github.com/formatjs/formatjs/commit/8611aa4f950ee1d42ea5e631a6fc8b50bae0383a))
|
|
724
|
-
|
|
725
|
-
### Features
|
|
726
|
-
|
|
727
|
-
* **eslint-plugin-formatjs:** add supported-datetime-skeleton rules ([c121a9a](https://github.com/formatjs/formatjs/commit/c121a9a9a52f21fbe1fdfc70e31c0275efbd0f8d))
|
|
728
|
-
* **intl-messageformat:** add limited support for date time skeleton ([07795b9](https://github.com/formatjs/formatjs/commit/07795b9e5e0116ffaf5f410c4e1c1a375f86ba8a))
|
|
729
|
-
|
|
730
|
-
## [7.5.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.5...intl-messageformat@7.5.6) (2019-11-25)
|
|
731
|
-
|
|
732
|
-
**Note:** Version bump only for package intl-messageformat
|
|
733
|
-
|
|
734
|
-
## [7.5.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.4...intl-messageformat@7.5.5) (2019-11-23)
|
|
735
|
-
|
|
736
|
-
**Note:** Version bump only for package intl-messageformat
|
|
737
|
-
|
|
738
|
-
## [7.5.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.3...intl-messageformat@7.5.4) (2019-11-21)
|
|
739
|
-
|
|
740
|
-
### Bug Fixes
|
|
741
|
-
|
|
742
|
-
* **intl-messageformat:** use api-extractor to combine type definitions ([6c6af9d](https://github.com/formatjs/formatjs/commit/6c6af9d837d13938fa647cbbbaf2f417935908fd))
|
|
743
|
-
|
|
744
|
-
## [7.5.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.2...intl-messageformat@7.5.3) (2019-11-20)
|
|
745
|
-
|
|
746
|
-
### Bug Fixes
|
|
747
|
-
|
|
748
|
-
* **lint:** fix lint config and rerun ([041eb99](https://github.com/formatjs/formatjs/commit/041eb99706164048b5b8ce7079955897ce27ed70))
|
|
749
|
-
|
|
750
|
-
## [7.5.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.1...intl-messageformat@7.5.2) (2019-11-11)
|
|
751
|
-
|
|
752
|
-
**Note:** Version bump only for package intl-messageformat
|
|
753
|
-
|
|
754
|
-
## [7.5.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.5.0...intl-messageformat@7.5.1) (2019-11-10)
|
|
755
|
-
|
|
756
|
-
### Bug Fixes
|
|
757
|
-
|
|
758
|
-
* **intl-messageformat:** pass raw locales down to individual formatters ([3a74c2e](https://github.com/formatjs/formatjs/commit/3a74c2e7c6592de3a4f5ca182c5846fe095abe55)), closes [#255](https://github.com/formatjs/formatjs/issues/255)
|
|
759
|
-
|
|
760
|
-
# [7.5.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.3.3...intl-messageformat@7.5.0) (2019-10-30)
|
|
761
|
-
|
|
762
|
-
### Features
|
|
763
|
-
|
|
764
|
-
* **@formatjs/cli:** A CLI for formatjs ([#234](https://github.com/formatjs/formatjs/issues/234)) ([1f57a0b](https://github.com/formatjs/formatjs/commit/1f57a0b0921e0228cf3fd4eff756b0cd17e28fb5))
|
|
765
|
-
|
|
766
|
-
# [7.4.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.3.3...intl-messageformat@7.4.0) (2019-10-30)
|
|
767
|
-
|
|
768
|
-
### Features
|
|
769
|
-
|
|
770
|
-
* **@formatjs/cli:** A CLI for formatjs ([#234](https://github.com/formatjs/formatjs/issues/234)) ([1f57a0b](https://github.com/formatjs/formatjs/commit/1f57a0b0921e0228cf3fd4eff756b0cd17e28fb5))
|
|
771
|
-
|
|
772
|
-
## [7.3.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.3.2...intl-messageformat@7.3.3) (2019-10-23)
|
|
773
|
-
|
|
774
|
-
### Bug Fixes
|
|
775
|
-
|
|
776
|
-
* **intl-messageformat:** fix formatHTMLMessage @ regex ([d1b7c8c](https://github.com/formatjs/formatjs/commit/d1b7c8c14a0b90f8d059a8dc3e12ce7976192975)), closes [#217](https://github.com/formatjs/formatjs/issues/217)
|
|
777
|
-
* **intl-messageformat:** handle nested # in plural correctly, fix [#202](https://github.com/formatjs/formatjs/issues/202) ([22121b2](https://github.com/formatjs/formatjs/commit/22121b210b566ad3dd509e4cbf47d3c245742928))
|
|
778
|
-
|
|
779
|
-
## [7.3.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.3.1...intl-messageformat@7.3.2) (2019-10-01)
|
|
780
|
-
|
|
781
|
-
**Note:** Version bump only for package intl-messageformat
|
|
782
|
-
|
|
783
|
-
## [7.3.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.3.0...intl-messageformat@7.3.1) (2019-09-27)
|
|
784
|
-
|
|
785
|
-
**Note:** Version bump only for package intl-messageformat
|
|
786
|
-
|
|
787
|
-
# [7.3.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.2.4...intl-messageformat@7.3.0) (2019-09-20)
|
|
788
|
-
|
|
789
|
-
### Bug Fixes
|
|
790
|
-
|
|
791
|
-
* **@formatjs/intl-pluralrules:** rm side effects array due to build complication ([f22e552](https://github.com/formatjs/formatjs/commit/f22e552))
|
|
792
|
-
|
|
793
|
-
### Features
|
|
794
|
-
|
|
795
|
-
* **intl-messageformat:** mark the package as side-effects free ([a1a08ae](https://github.com/formatjs/formatjs/commit/a1a08ae))
|
|
796
|
-
* **intl-messageformat:** throw FormatError when trying to format plural but Intl.PluralRules is not available ([6294570](https://github.com/formatjs/formatjs/commit/6294570))
|
|
797
|
-
|
|
798
|
-
## [7.2.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.2.3...intl-messageformat@7.2.4) (2019-09-17)
|
|
799
|
-
|
|
800
|
-
**Note:** Version bump only for package intl-messageformat
|
|
801
|
-
|
|
802
|
-
## [7.2.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.2.2...intl-messageformat@7.2.3) (2019-09-15)
|
|
803
|
-
|
|
804
|
-
**Note:** Version bump only for package intl-messageformat
|
|
805
|
-
|
|
806
|
-
## [7.2.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.2.1...intl-messageformat@7.2.2) (2019-09-13)
|
|
807
|
-
|
|
808
|
-
### Bug Fixes
|
|
809
|
-
|
|
810
|
-
* **intl-messageformat:** fix chrome v77 issue where NumberFormat.supportedLocalesOf(cy) broke ([4b1605c](https://github.com/formatjs/formatjs/commit/4b1605c))
|
|
811
|
-
|
|
812
|
-
## [7.2.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.2.0...intl-messageformat@7.2.1) (2019-09-09)
|
|
813
|
-
|
|
814
|
-
### Bug Fixes
|
|
815
|
-
|
|
816
|
-
* **intl-messageformat:** handle closing tag nested inside regular tag ([08c970a](https://github.com/formatjs/formatjs/commit/08c970a))
|
|
817
|
-
|
|
818
|
-
# [7.2.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.6...intl-messageformat@7.2.0) (2019-09-09)
|
|
819
|
-
|
|
820
|
-
### Features
|
|
821
|
-
|
|
822
|
-
* **intl-messageformat:** support nested tag, fix [#176](https://github.com/formatjs/formatjs/issues/176) ([a857239](https://github.com/formatjs/formatjs/commit/a857239))
|
|
823
|
-
|
|
824
|
-
## [7.1.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.5...intl-messageformat@7.1.6) (2019-09-03)
|
|
825
|
-
|
|
826
|
-
**Note:** Version bump only for package intl-messageformat
|
|
827
|
-
|
|
828
|
-
## [7.1.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.4...intl-messageformat@7.1.5) (2019-09-03)
|
|
829
|
-
|
|
830
|
-
**Note:** Version bump only for package intl-messageformat
|
|
831
|
-
|
|
832
|
-
## [7.1.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.3...intl-messageformat@7.1.4) (2019-09-03)
|
|
833
|
-
|
|
834
|
-
**Note:** Version bump only for package intl-messageformat
|
|
835
|
-
|
|
836
|
-
## [7.1.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.2...intl-messageformat@7.1.3) (2019-09-03)
|
|
837
|
-
|
|
838
|
-
**Note:** Version bump only for package intl-messageformat
|
|
839
|
-
|
|
840
|
-
## [7.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.1...intl-messageformat@7.1.2) (2019-08-29)
|
|
841
|
-
|
|
842
|
-
**Note:** Version bump only for package intl-messageformat
|
|
843
|
-
|
|
844
|
-
## [7.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.1.0...intl-messageformat@7.1.1) (2019-08-29)
|
|
845
|
-
|
|
846
|
-
### Bug Fixes
|
|
847
|
-
|
|
848
|
-
* **intl-messageformat-parser:** throw when there are duplicates in select/plural, fix [#168](https://github.com/formatjs/formatjs/issues/168) ([0c3a0e0](https://github.com/formatjs/formatjs/commit/0c3a0e0))
|
|
849
|
-
|
|
850
|
-
# [7.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@7.0.0...intl-messageformat@7.1.0) (2019-08-28)
|
|
851
|
-
|
|
852
|
-
### Features
|
|
853
|
-
|
|
854
|
-
* **intl-messageformat:** throw FormatError if self-closing tag is used ([#166](https://github.com/formatjs/formatjs/issues/166)) ([3e0934d](https://github.com/formatjs/formatjs/commit/3e0934d))
|
|
855
|
-
|
|
856
|
-
# [7.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.11...intl-messageformat@7.0.0) (2019-08-26)
|
|
857
|
-
|
|
858
|
-
### Bug Fixes
|
|
859
|
-
|
|
860
|
-
* **intl-messageformat:** Fix case-sensitive tag ([69b6eae](https://github.com/formatjs/formatjs/commit/69b6eae))
|
|
861
|
-
|
|
862
|
-
### Features
|
|
863
|
-
|
|
864
|
-
* **intl-messageformat:** switch to text/html to parse HTML message ([f1d952f](https://github.com/formatjs/formatjs/commit/f1d952f)), closes [#152](https://github.com/formatjs/formatjs/issues/152) [#148](https://github.com/formatjs/formatjs/issues/148)
|
|
865
|
-
|
|
866
|
-
### BREAKING CHANGES
|
|
867
|
-
|
|
868
|
-
* **intl-messageformat:** Rename `formatXMLMessage` to `formatHTMLMessage`
|
|
869
|
-
|
|
870
|
-
## [6.1.11](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.10...intl-messageformat@6.1.11) (2019-08-19)
|
|
871
|
-
|
|
872
|
-
**Note:** Version bump only for package intl-messageformat
|
|
873
|
-
|
|
874
|
-
## [6.1.10](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.9...intl-messageformat@6.1.10) (2019-08-21)
|
|
875
|
-
|
|
876
|
-
### Bug Fixes
|
|
877
|
-
|
|
878
|
-
* **intl-messageformat:** filter out XML a bit more aggressively ([36af40e](https://github.com/formatjs/formatjs/commit/36af40e)), closes [#148](https://github.com/formatjs/formatjs/issues/148)
|
|
879
|
-
|
|
880
|
-
## [6.1.9](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.8...intl-messageformat@6.1.9) (2019-08-19)
|
|
881
|
-
|
|
882
|
-
**Note:** Version bump only for package intl-messageformat
|
|
883
|
-
|
|
884
|
-
## [6.1.8](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.7...intl-messageformat@6.1.8) (2019-08-16)
|
|
885
|
-
|
|
886
|
-
**Note:** Version bump only for package intl-messageformat
|
|
887
|
-
|
|
888
|
-
## [6.1.7](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.6...intl-messageformat@6.1.7) (2019-08-16)
|
|
889
|
-
|
|
890
|
-
**Note:** Version bump only for package intl-messageformat
|
|
891
|
-
|
|
892
|
-
## [6.1.6](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.5...intl-messageformat@6.1.6) (2019-08-16)
|
|
893
|
-
|
|
894
|
-
### Bug Fixes
|
|
895
|
-
|
|
896
|
-
* **intl-messageformat:** fix empty value in formatting ([9f820ea](https://github.com/formatjs/formatjs/commit/9f820ea)), closes [#156](https://github.com/formatjs/formatjs/issues/156)
|
|
897
|
-
|
|
898
|
-
## [6.1.5](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.4...intl-messageformat@6.1.5) (2019-08-13)
|
|
899
|
-
|
|
900
|
-
### Bug Fixes
|
|
901
|
-
|
|
902
|
-
* **intl-messageformat:** handle formatXMLMessage better ([c03ecf8](https://github.com/formatjs/formatjs/commit/c03ecf8))
|
|
903
|
-
|
|
904
|
-
## [6.1.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.3...intl-messageformat@6.1.4) (2019-08-12)
|
|
905
|
-
|
|
906
|
-
**Note:** Version bump only for package intl-messageformat
|
|
907
|
-
|
|
908
|
-
## [6.1.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.2...intl-messageformat@6.1.3) (2019-08-11)
|
|
909
|
-
|
|
910
|
-
### Bug Fixes
|
|
911
|
-
|
|
912
|
-
* generate lib instead of mjs ([05e63b3](https://github.com/formatjs/formatjs/commit/05e63b3))
|
|
913
|
-
|
|
914
|
-
## [6.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.1...intl-messageformat@6.1.2) (2019-08-10)
|
|
915
|
-
|
|
916
|
-
### Bug Fixes
|
|
917
|
-
|
|
918
|
-
* **intl-messageformat-parser:** allow negative in plural rule, fixes [#146](https://github.com/formatjs/formatjs/issues/146) ([50c7710](https://github.com/formatjs/formatjs/commit/50c7710))
|
|
919
|
-
|
|
920
|
-
## [6.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.1.0...intl-messageformat@6.1.1) (2019-08-09)
|
|
921
|
-
|
|
922
|
-
**Note:** Version bump only for package intl-messageformat
|
|
923
|
-
|
|
924
|
-
# [6.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.0.4...intl-messageformat@6.1.0) (2019-08-08)
|
|
925
|
-
|
|
926
|
-
### Features
|
|
927
|
-
|
|
928
|
-
* **intl-messageformat:** rm core bundle for now ([5311ac2](https://github.com/formatjs/formatjs/commit/5311ac2))
|
|
929
|
-
|
|
930
|
-
## [6.0.4](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.0.3...intl-messageformat@6.0.4) (2019-08-07)
|
|
931
|
-
|
|
932
|
-
**Note:** Version bump only for package intl-messageformat
|
|
933
|
-
|
|
934
|
-
## [6.0.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.0.2...intl-messageformat@6.0.3) (2019-08-06)
|
|
935
|
-
|
|
936
|
-
### Bug Fixes
|
|
937
|
-
|
|
938
|
-
* generate .mjs instead of lib ([0c34ee4](https://github.com/formatjs/formatjs/commit/0c34ee4))
|
|
939
|
-
|
|
940
|
-
## [6.0.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.0.1...intl-messageformat@6.0.2) (2019-08-02)
|
|
941
|
-
|
|
942
|
-
**Note:** Version bump only for package intl-messageformat
|
|
943
|
-
|
|
944
|
-
## [6.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@6.0.0...intl-messageformat@6.0.1) (2019-07-29)
|
|
945
|
-
|
|
946
|
-
### Bug Fixes
|
|
947
|
-
|
|
948
|
-
* **intl-messageformat-parser:** argStyleText can contain syntax characters and quoted string now ([#136](https://github.com/formatjs/formatjs/issues/136)) ([b39ea08](https://github.com/formatjs/formatjs/commit/b39ea08)), closes [#135](https://github.com/formatjs/formatjs/issues/135)
|
|
949
|
-
|
|
950
|
-
# [6.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.4.3...intl-messageformat@6.0.0) (2019-07-29)
|
|
951
|
-
|
|
952
|
-
### Features
|
|
953
|
-
|
|
954
|
-
* **intl-messageformat-parser:** add parser for number skeleton and date skeleton ([#131](https://github.com/formatjs/formatjs/issues/131)) ([dbe6799](https://github.com/formatjs/formatjs/commit/dbe6799))
|
|
955
|
-
* **intl-messageformat-parser:** revamped quote rule ([#134](https://github.com/formatjs/formatjs/issues/134)) ([5661177](https://github.com/formatjs/formatjs/commit/5661177))
|
|
956
|
-
|
|
957
|
-
### BREAKING CHANGES
|
|
958
|
-
|
|
959
|
-
* **intl-messageformat-parser:** This changes how we escape chars in messages, instead of `\` we now use apostrophe which is more aligned with ICU4J & ICU4C
|
|
960
|
-
|
|
961
|
-
## [5.4.3](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.4.2...intl-messageformat@5.4.3) (2019-07-25)
|
|
962
|
-
|
|
963
|
-
### Bug Fixes
|
|
964
|
-
|
|
965
|
-
* **intl-messageformat:** fix regex, fix [#130](https://github.com/formatjs/formatjs/issues/130) ([f597630](https://github.com/formatjs/formatjs/commit/f597630))
|
|
966
|
-
|
|
967
|
-
## [5.4.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.4.1...intl-messageformat@5.4.2) (2019-07-25)
|
|
968
|
-
|
|
969
|
-
### Bug Fixes
|
|
970
|
-
|
|
971
|
-
* **intl-messageformat:** Include Date in PrimitiveType ([1feca57](https://github.com/formatjs/formatjs/commit/1feca57)), closes [#127](https://github.com/formatjs/formatjs/issues/127)
|
|
972
|
-
|
|
973
|
-
## [5.4.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.4.0...intl-messageformat@5.4.1) (2019-07-25)
|
|
974
|
-
|
|
975
|
-
### Bug Fixes
|
|
976
|
-
|
|
977
|
-
* **intl-messageformat:** fix formatXMLMessage w/o tag ([8d3bfcd](https://github.com/formatjs/formatjs/commit/8d3bfcd))
|
|
978
|
-
|
|
979
|
-
# [5.4.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.3.0...intl-messageformat@5.4.0) (2019-07-25)
|
|
980
|
-
|
|
981
|
-
### Features
|
|
982
|
-
|
|
983
|
-
* **intl-messageformat:** allow mixed placeholder & XML together… ([#126](https://github.com/formatjs/formatjs/issues/126)) ([4a624c0](https://github.com/formatjs/formatjs/commit/4a624c0))
|
|
984
|
-
|
|
985
|
-
# [5.3.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.2.0...intl-messageformat@5.3.0) (2019-07-25)
|
|
986
|
-
|
|
987
|
-
### Features
|
|
988
|
-
|
|
989
|
-
* **intl-messageformat:** allow passing in object to formatXMLMessage ([ce05b8a](https://github.com/formatjs/formatjs/commit/ce05b8a))
|
|
990
|
-
|
|
991
|
-
# [5.2.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.1.2...intl-messageformat@5.2.0) (2019-07-25)
|
|
992
|
-
|
|
993
|
-
### Features
|
|
994
|
-
|
|
995
|
-
* **intl-messageformat:** Add xml formatting ([#124](https://github.com/formatjs/formatjs/issues/124)) ([72cdafc](https://github.com/formatjs/formatjs/commit/72cdafc))
|
|
996
|
-
|
|
997
|
-
## [5.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.1.1...intl-messageformat@5.1.2) (2019-07-23)
|
|
998
|
-
|
|
999
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1000
|
-
|
|
1001
|
-
## [5.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.1.0...intl-messageformat@5.1.1) (2019-07-12)
|
|
1002
|
-
|
|
1003
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1004
|
-
|
|
1005
|
-
# [5.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.0.1...intl-messageformat@5.1.0) (2019-07-12)
|
|
1006
|
-
|
|
1007
|
-
### Features
|
|
1008
|
-
|
|
1009
|
-
- **intl-messageformat:** Add `formatToParts` ([0680f58](https://github.com/formatjs/formatjs/commit/0680f58))
|
|
1010
|
-
- **intl-messageformat:** export Part types ([450c495](https://github.com/formatjs/formatjs/commit/450c495))
|
|
1011
|
-
- **intl-messageformat-parser:** add printer to print AST to string ([ec0eaa2](https://github.com/formatjs/formatjs/commit/ec0eaa2))
|
|
1012
|
-
|
|
1013
|
-
## [5.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@5.0.0...intl-messageformat@5.0.1) (2019-07-09)
|
|
1014
|
-
|
|
1015
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1016
|
-
|
|
1017
|
-
# [5.0.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.4.0...intl-messageformat@5.0.0) (2019-07-08)
|
|
1018
|
-
|
|
1019
|
-
### Features
|
|
1020
|
-
|
|
1021
|
-
- **intl-messageformat-parser:** Rewrite grammar ([#112](https://github.com/formatjs/formatjs/issues/112)) ([093de35](https://github.com/formatjs/formatjs/commit/093de35))
|
|
1022
|
-
|
|
1023
|
-
### BREAKING CHANGES
|
|
1024
|
-
|
|
1025
|
-
- **intl-messageformat-parser:** This completely changes the AST produced by the parser
|
|
1026
|
-
|
|
1027
|
-
Before:
|
|
1028
|
-
|
|
1029
|
-
```
|
|
1030
|
-
complex_msg AST length 12567
|
|
1031
|
-
normal_msg AST length 2638
|
|
1032
|
-
simple_msg AST length 567
|
|
1033
|
-
string_msg AST length 288
|
|
1034
|
-
complex_msg x 3,405 ops/sec ±5.44% (81 runs sampled)
|
|
1035
|
-
normal_msg x 27,513 ops/sec ±2.14% (87 runs sampled)
|
|
1036
|
-
simple_msg x 113,043 ops/sec ±1.20% (89 runs sampled)
|
|
1037
|
-
string_msg x 147,838 ops/sec ±0.78% (90 runs sampled)
|
|
1038
|
-
```
|
|
1039
|
-
|
|
1040
|
-
After:
|
|
1041
|
-
|
|
1042
|
-
```
|
|
1043
|
-
complex_msg AST length 2053
|
|
1044
|
-
normal_msg AST length 410
|
|
1045
|
-
simple_msg AST length 79
|
|
1046
|
-
string_msg AST length 36
|
|
1047
|
-
complex_msg x 3,926 ops/sec ±2.37% (90 runs sampled)
|
|
1048
|
-
normal_msg x 27,641 ops/sec ±3.93% (86 runs sampled)
|
|
1049
|
-
simple_msg x 100,764 ops/sec ±5.35% (79 runs sampled)
|
|
1050
|
-
string_msg x 120,362 ops/sec ±7.11% (74 runs sampled)
|
|
1051
|
-
```
|
|
1052
|
-
|
|
1053
|
-
- feat: normalize hashtag token in plural
|
|
1054
|
-
|
|
1055
|
-
- feat(intl-messageformat): adapt to new AST
|
|
1056
|
-
|
|
1057
|
-
- feat(babel-plugin-react-intl): adapt to new AST
|
|
1058
|
-
|
|
1059
|
-
# [4.4.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.3.0...intl-messageformat@4.4.0) (2019-06-28)
|
|
1060
|
-
|
|
1061
|
-
### Features
|
|
1062
|
-
|
|
1063
|
-
- **intl-messageformat:** export core entry point ([ca7eeae](https://github.com/formatjs/formatjs/commit/ca7eeae))
|
|
1064
|
-
|
|
1065
|
-
# [4.3.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.2.1...intl-messageformat@4.3.0) (2019-06-27)
|
|
1066
|
-
|
|
1067
|
-
### Features
|
|
1068
|
-
|
|
1069
|
-
- **intl-messageformat:** allow passing in formatters ([#107](https://github.com/formatjs/formatjs/issues/107)) ([3605693](https://github.com/formatjs/formatjs/commit/3605693))
|
|
1070
|
-
|
|
1071
|
-
## [4.2.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.2.0...intl-messageformat@4.2.1) (2019-06-26)
|
|
1072
|
-
|
|
1073
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1074
|
-
|
|
1075
|
-
# [4.2.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.1.2...intl-messageformat@4.2.0) (2019-06-27)
|
|
1076
|
-
|
|
1077
|
-
### Features
|
|
1078
|
-
|
|
1079
|
-
- **intl-relativetimeformat:** make intl-relativetimeformat test262-compliant ([#95](https://github.com/formatjs/formatjs/issues/95)) ([91669a3](https://github.com/formatjs/formatjs/commit/91669a3))
|
|
1080
|
-
- **intl-utils:** Add intl-utils ([#98](https://github.com/formatjs/formatjs/issues/98)) ([2329c57](https://github.com/formatjs/formatjs/commit/2329c57))
|
|
1081
|
-
|
|
1082
|
-
## [4.1.2](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.1.1...intl-messageformat@4.1.2) (2019-06-18)
|
|
1083
|
-
|
|
1084
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1085
|
-
|
|
1086
|
-
## [4.1.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.1.0...intl-messageformat@4.1.1) (2019-06-18)
|
|
1087
|
-
|
|
1088
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1089
|
-
|
|
1090
|
-
# [4.1.0](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.0.1...intl-messageformat@4.1.0) (2019-06-18)
|
|
1091
|
-
|
|
1092
|
-
### Features
|
|
1093
|
-
|
|
1094
|
-
- **intl-format-cache:** fix TS definition ([71ae9eb](https://github.com/formatjs/formatjs/commit/71ae9eb))
|
|
1095
|
-
|
|
1096
|
-
## [4.0.1](https://github.com/formatjs/formatjs/compare/intl-messageformat@4.0.0...intl-messageformat@4.0.1) (2019-06-12)
|
|
1097
|
-
|
|
1098
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1099
|
-
|
|
1100
|
-
# [4.0.0](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.3.0...intl-messageformat@4.0.0) (2019-06-05)
|
|
1101
|
-
|
|
1102
|
-
### Features
|
|
1103
|
-
|
|
1104
|
-
- add package intl-relativetimeformat ([#51](https://github.com/formatjs/intl-messageformat/issues/51)) ([48c0f43](https://github.com/formatjs/intl-messageformat/commit/48c0f43))
|
|
1105
|
-
- **intl-messageformat:** rm bundled intl-pluralrules ([a8526c3](https://github.com/formatjs/intl-messageformat/commit/a8526c3))
|
|
1106
|
-
- **intl-messageformat:** rm rolluped dist ([a126939](https://github.com/formatjs/intl-messageformat/commit/a126939))
|
|
1107
|
-
|
|
1108
|
-
### BREAKING CHANGES
|
|
1109
|
-
|
|
1110
|
-
- **intl-messageformat:** Change dist files packaged. Entry point should stay the
|
|
1111
|
-
same though.
|
|
1112
|
-
- **intl-messageformat:** We no longer include intl-pluralrules in our main index
|
|
1113
|
-
file. Consumer should polyfill accordingly.
|
|
1114
|
-
|
|
1115
|
-
# [3.3.0](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.1.4...intl-messageformat@3.3.0) (2019-06-03)
|
|
1116
|
-
|
|
1117
|
-
### Features
|
|
1118
|
-
|
|
1119
|
-
- **intl-messageformat:** Add `getAst` method ([3d6c289](https://github.com/formatjs/intl-messageformat/commit/3d6c289))
|
|
1120
|
-
|
|
1121
|
-
# [3.2.0](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.1.4...intl-messageformat@3.2.0) (2019-06-03)
|
|
1122
|
-
|
|
1123
|
-
### Features
|
|
1124
|
-
|
|
1125
|
-
- **intl-messageformat:** Add `getAst` method ([3d6c289](https://github.com/formatjs/intl-messageformat/commit/3d6c289))
|
|
1126
|
-
|
|
1127
|
-
## [3.1.4](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.1.3...intl-messageformat@3.1.4) (2019-05-31)
|
|
1128
|
-
|
|
1129
|
-
**Note:** Version bump only for package intl-messageformat
|
|
1130
|
-
|
|
1131
|
-
## [3.1.3](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.1.2...intl-messageformat@3.1.3) (2019-05-28)
|
|
1132
|
-
|
|
1133
|
-
### Bug Fixes
|
|
1134
|
-
|
|
1135
|
-
- **intl-messageformat:** fix [#36](https://github.com/formatjs/intl-messageformat/issues/36) and config merging ([#40](https://github.com/formatjs/intl-messageformat/issues/40)) ([4a9969f](https://github.com/formatjs/intl-messageformat/commit/4a9969f))
|
|
1136
|
-
|
|
1137
|
-
## [3.1.2](https://github.com/formatjs/intl-messageformat/compare/intl-messageformat@3.1.2...intl-messageformat@3.1.2) (2019-05-28)
|
|
1138
|
-
|
|
1139
|
-
### Bug Fixes
|
|
1140
|
-
|
|
1141
|
-
- **intl-messageformat:** fix [#36](https://github.com/formatjs/intl-messageformat/issues/36) and config merging ([#40](https://github.com/formatjs/intl-messageformat/issues/40)) ([4a9969f](https://github.com/formatjs/intl-messageformat/commit/4a9969f))
|