babel-plugin-formatjs 10.3.26 → 10.3.27

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.
Files changed (52) hide show
  1. package/index.d.ts +10 -0
  2. package/index.d.ts.map +1 -0
  3. package/index.js +69 -0
  4. package/package.json +3 -3
  5. package/types.d.ts +31 -0
  6. package/types.d.ts.map +1 -0
  7. package/types.js +2 -0
  8. package/utils.d.ts +34 -0
  9. package/utils.d.ts.map +1 -0
  10. package/utils.js +152 -0
  11. package/visitors/call-expression.d.ts +6 -0
  12. package/visitors/call-expression.d.ts.map +1 -0
  13. package/visitors/call-expression.js +124 -0
  14. package/visitors/jsx-opening-element.d.ts +6 -0
  15. package/visitors/jsx-opening-element.d.ts.map +1 -0
  16. package/visitors/jsx-opening-element.js +87 -0
  17. package/BUILD +0 -90
  18. package/CHANGELOG.md +0 -1139
  19. package/index.ts +0 -88
  20. package/integration-tests/BUILD +0 -21
  21. package/integration-tests/package.json +0 -5
  22. package/integration-tests/vue/fixtures/App.vue +0 -19
  23. package/integration-tests/vue/fixtures/app.js +0 -6
  24. package/integration-tests/vue/integration.test.ts +0 -62
  25. package/tests/__snapshots__/index.test.ts.snap +0 -1246
  26. package/tests/fixtures/2663.js +0 -3
  27. package/tests/fixtures/FormattedMessage.js +0 -14
  28. package/tests/fixtures/additionalComponentNames.js +0 -15
  29. package/tests/fixtures/additionalFunctionNames.js +0 -23
  30. package/tests/fixtures/ast.js +0 -45
  31. package/tests/fixtures/defineMessage.js +0 -57
  32. package/tests/fixtures/defineMessages.js +0 -49
  33. package/tests/fixtures/descriptionsAsObjects.js +0 -18
  34. package/tests/fixtures/empty.js +0 -8
  35. package/tests/fixtures/extractFromFormatMessageCall.js +0 -47
  36. package/tests/fixtures/extractFromFormatMessageCallStateless.js +0 -46
  37. package/tests/fixtures/extractSourceLocation.js +0 -8
  38. package/tests/fixtures/formatMessageCall.js +0 -38
  39. package/tests/fixtures/icuSyntax.js +0 -18
  40. package/tests/fixtures/idInterpolationPattern.js +0 -40
  41. package/tests/fixtures/inline.js +0 -26
  42. package/tests/fixtures/overrideIdFn.js +0 -48
  43. package/tests/fixtures/preserveWhitespace.js +0 -79
  44. package/tests/fixtures/removeDefaultMessage.js +0 -36
  45. package/tests/fixtures/skipExtractionFormattedMessage.js +0 -12
  46. package/tests/fixtures/templateLiteral.js +0 -21
  47. package/tests/index.test.ts +0 -221
  48. package/tsconfig.json +0 -5
  49. package/types.ts +0 -46
  50. package/utils.ts +0 -226
  51. package/visitors/call-expression.ts +0 -208
  52. package/visitors/jsx-opening-element.ts +0 -147
package/CHANGELOG.md DELETED
@@ -1,1139 +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.3.26](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.25...babel-plugin-formatjs@10.3.26) (2022-08-18)
7
-
8
- **Note:** Version bump only for package babel-plugin-formatjs
9
-
10
- ## [10.3.25](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.24...babel-plugin-formatjs@10.3.25) (2022-07-04)
11
-
12
- **Note:** Version bump only for package babel-plugin-formatjs
13
-
14
- ## [10.3.24](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.23...babel-plugin-formatjs@10.3.24) (2022-06-06)
15
-
16
- **Note:** Version bump only for package babel-plugin-formatjs
17
-
18
- ## [10.3.23](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.22...babel-plugin-formatjs@10.3.23) (2022-05-20)
19
-
20
- **Note:** Version bump only for package babel-plugin-formatjs
21
-
22
- ## [10.3.22](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.21...babel-plugin-formatjs@10.3.22) (2022-05-19)
23
-
24
- **Note:** Version bump only for package babel-plugin-formatjs
25
-
26
- ## [10.3.21](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.20...babel-plugin-formatjs@10.3.21) (2022-05-19)
27
-
28
- ### Bug Fixes
29
-
30
- * **react-intl:** fix type issue with react18, fix [#3550](https://github.com/formatjs/formatjs/issues/3550) ([2567b93](https://github.com/formatjs/formatjs/commit/2567b932c5d18b097a43842563046c20ce0c49f1))
31
-
32
- ## [10.3.20](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.19...babel-plugin-formatjs@10.3.20) (2022-04-27)
33
-
34
- **Note:** Version bump only for package babel-plugin-formatjs
35
-
36
- ## [10.3.19](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.18...babel-plugin-formatjs@10.3.19) (2022-03-26)
37
-
38
- **Note:** Version bump only for package babel-plugin-formatjs
39
-
40
- ## [10.3.18](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.17...babel-plugin-formatjs@10.3.18) (2022-02-06)
41
-
42
- **Note:** Version bump only for package babel-plugin-formatjs
43
-
44
- ## [10.3.17](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.16...babel-plugin-formatjs@10.3.17) (2022-01-24)
45
-
46
- **Note:** Version bump only for package babel-plugin-formatjs
47
-
48
- ## [10.3.16](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.15...babel-plugin-formatjs@10.3.16) (2022-01-20)
49
-
50
- **Note:** Version bump only for package babel-plugin-formatjs
51
-
52
- ## [10.3.15](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.14...babel-plugin-formatjs@10.3.15) (2022-01-09)
53
-
54
- **Note:** Version bump only for package babel-plugin-formatjs
55
-
56
- ## [10.3.14](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.13...babel-plugin-formatjs@10.3.14) (2022-01-03)
57
-
58
- **Note:** Version bump only for package babel-plugin-formatjs
59
-
60
- ## [10.3.13](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.12...babel-plugin-formatjs@10.3.13) (2022-01-03)
61
-
62
- **Note:** Version bump only for package babel-plugin-formatjs
63
-
64
- ## [10.3.12](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.11...babel-plugin-formatjs@10.3.12) (2021-12-01)
65
-
66
- **Note:** Version bump only for package babel-plugin-formatjs
67
-
68
- ## [10.3.11](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.10...babel-plugin-formatjs@10.3.11) (2021-10-22)
69
-
70
- **Note:** Version bump only for package babel-plugin-formatjs
71
-
72
- ## [10.3.10](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.9...babel-plugin-formatjs@10.3.10) (2021-10-17)
73
-
74
- **Note:** Version bump only for package babel-plugin-formatjs
75
-
76
- ## [10.3.9](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.8...babel-plugin-formatjs@10.3.9) (2021-09-27)
77
-
78
- **Note:** Version bump only for package babel-plugin-formatjs
79
-
80
- ## [10.3.8](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.7...babel-plugin-formatjs@10.3.8) (2021-09-04)
81
-
82
- ### Bug Fixes
83
-
84
- * **babel-plugin-formatjs:** dont try to compile already compiled messages, fix [#3112](https://github.com/formatjs/formatjs/issues/3112) ([c29db02](https://github.com/formatjs/formatjs/commit/c29db02fee342964e42fda2bd224a48df92e474b))
85
-
86
- ## [10.3.7](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.6...babel-plugin-formatjs@10.3.7) (2021-08-24)
87
-
88
- **Note:** Version bump only for package babel-plugin-formatjs
89
-
90
- ## [10.3.6](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.5...babel-plugin-formatjs@10.3.6) (2021-08-21)
91
-
92
- **Note:** Version bump only for package babel-plugin-formatjs
93
-
94
- ## [10.3.5](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.4...babel-plugin-formatjs@10.3.5) (2021-08-15)
95
-
96
- **Note:** Version bump only for package babel-plugin-formatjs
97
-
98
- ## [10.3.4](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.3...babel-plugin-formatjs@10.3.4) (2021-08-06)
99
-
100
- **Note:** Version bump only for package babel-plugin-formatjs
101
-
102
- ## [10.3.3](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.2...babel-plugin-formatjs@10.3.3) (2021-07-24)
103
-
104
- **Note:** Version bump only for package babel-plugin-formatjs
105
-
106
- ## [10.3.2](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.1...babel-plugin-formatjs@10.3.2) (2021-07-06)
107
-
108
- **Note:** Version bump only for package babel-plugin-formatjs
109
-
110
- ## [10.3.1](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.3.0...babel-plugin-formatjs@10.3.1) (2021-06-26)
111
-
112
- **Note:** Version bump only for package babel-plugin-formatjs
113
-
114
- # [10.3.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.20...babel-plugin-formatjs@10.3.0) (2021-06-21)
115
-
116
- ### Features
117
-
118
- * **babel-plugin-formatjs:** skip message extraction if defaultMessage isn't provided ([#2975](https://github.com/formatjs/formatjs/issues/2975)) ([cb4e5bd](https://github.com/formatjs/formatjs/commit/cb4e5bd960105641116c3ed1dc5bf413d4184a6f))
119
-
120
- ## [10.2.20](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.19...babel-plugin-formatjs@10.2.20) (2021-06-14)
121
-
122
- **Note:** Version bump only for package babel-plugin-formatjs
123
-
124
- ## [10.2.19](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.18...babel-plugin-formatjs@10.2.19) (2021-06-09)
125
-
126
- **Note:** Version bump only for package babel-plugin-formatjs
127
-
128
- ## [10.2.18](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.17...babel-plugin-formatjs@10.2.18) (2021-06-05)
129
-
130
- **Note:** Version bump only for package babel-plugin-formatjs
131
-
132
- ## [10.2.17](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.16...babel-plugin-formatjs@10.2.17) (2021-06-04)
133
-
134
- **Note:** Version bump only for package babel-plugin-formatjs
135
-
136
- ## [10.2.16](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.15...babel-plugin-formatjs@10.2.16) (2021-06-01)
137
-
138
- **Note:** Version bump only for package babel-plugin-formatjs
139
-
140
- ## [10.2.15](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.14...babel-plugin-formatjs@10.2.15) (2021-05-23)
141
-
142
- **Note:** Version bump only for package babel-plugin-formatjs
143
-
144
- ## [10.2.14](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.13...babel-plugin-formatjs@10.2.14) (2021-05-20)
145
-
146
- **Note:** Version bump only for package babel-plugin-formatjs
147
-
148
- ## [10.2.13](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.12...babel-plugin-formatjs@10.2.13) (2021-05-17)
149
-
150
- **Note:** Version bump only for package babel-plugin-formatjs
151
-
152
- ## [10.2.12](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.11...babel-plugin-formatjs@10.2.12) (2021-05-10)
153
-
154
- **Note:** Version bump only for package babel-plugin-formatjs
155
-
156
- ## [10.2.11](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.10...babel-plugin-formatjs@10.2.11) (2021-05-02)
157
-
158
- **Note:** Version bump only for package babel-plugin-formatjs
159
-
160
- ## [10.2.10](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.9...babel-plugin-formatjs@10.2.10) (2021-04-26)
161
-
162
- **Note:** Version bump only for package babel-plugin-formatjs
163
-
164
- ## [10.2.9](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.8...babel-plugin-formatjs@10.2.9) (2021-04-26)
165
-
166
- **Note:** Version bump only for package babel-plugin-formatjs
167
-
168
- ## [10.2.8](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.7...babel-plugin-formatjs@10.2.8) (2021-04-21)
169
-
170
- **Note:** Version bump only for package babel-plugin-formatjs
171
-
172
- ## [10.2.7](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.6...babel-plugin-formatjs@10.2.7) (2021-04-12)
173
-
174
- **Note:** Version bump only for package babel-plugin-formatjs
175
-
176
- ## [10.2.6](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.5...babel-plugin-formatjs@10.2.6) (2021-04-04)
177
-
178
- **Note:** Version bump only for package babel-plugin-formatjs
179
-
180
- ## [10.2.5](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.4...babel-plugin-formatjs@10.2.5) (2021-04-03)
181
-
182
- **Note:** Version bump only for package babel-plugin-formatjs
183
-
184
- ## [10.2.4](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.3...babel-plugin-formatjs@10.2.4) (2021-03-30)
185
-
186
- ### Bug Fixes
187
-
188
- * **babel-plugin-formatjs:** Support string literal keys for defineMessage ([#2775](https://github.com/formatjs/formatjs/issues/2775)) ([23c564f](https://github.com/formatjs/formatjs/commit/23c564ff38c4b95ce925618df09441eb2004320f))
189
-
190
- ## [10.2.3](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.2...babel-plugin-formatjs@10.2.3) (2021-03-28)
191
-
192
- **Note:** Version bump only for package babel-plugin-formatjs
193
-
194
- ## [10.2.2](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.1...babel-plugin-formatjs@10.2.2) (2021-03-28)
195
-
196
- **Note:** Version bump only for package babel-plugin-formatjs
197
-
198
- ## [10.2.1](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.2.0...babel-plugin-formatjs@10.2.1) (2021-03-27)
199
-
200
- ### Bug Fixes
201
-
202
- * **babel-plugin-formatjs:** fix missing dep ([9908e58](https://github.com/formatjs/formatjs/commit/9908e58e2089783a570921b9c684aa6f455f54e0))
203
-
204
- # [10.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.1.0...babel-plugin-formatjs@10.2.0) (2021-03-27)
205
-
206
- ### Features
207
-
208
- * **babel-plugin-formatjs:** switch parser to @formatjs/icu-messageformat-parser (6x faster) ([89fdade](https://github.com/formatjs/formatjs/commit/89fdade3b96f56fadf62e2126b9e7f5483b67cfe))
209
-
210
- # [10.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@10.0.0...babel-plugin-formatjs@10.1.0) (2021-03-26)
211
-
212
- ### Features
213
-
214
- * **babel-plugin-formatjs:** specify default idInterpolationPattern, fix [#2755](https://github.com/formatjs/formatjs/issues/2755) ([6fbc344](https://github.com/formatjs/formatjs/commit/6fbc344103ca67b96754f1fa18e5ad4096d15621))
215
-
216
- # [10.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.5...babel-plugin-formatjs@10.0.0) (2021-03-26)
217
-
218
- ### Features
219
-
220
- * **babel-plugin-formatjs:** change default value for idInterpolationPattern to [sha512:contenthash:base64:6] in order to avoid hash collisions happening with [contenthash:5] ([635633d](https://github.com/formatjs/formatjs/commit/635633d9aa6db0c02e340c96cb56fffe2cde54ee))
221
-
222
- ### BREAKING CHANGES
223
-
224
- * **babel-plugin-formatjs:** If you don't explicitly set the ID pattern this will result in a new IDs for your lang files
225
-
226
- ## [9.2.5](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.4...babel-plugin-formatjs@9.2.5) (2021-03-15)
227
-
228
- **Note:** Version bump only for package babel-plugin-formatjs
229
-
230
- ## [9.2.4](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.3...babel-plugin-formatjs@9.2.4) (2021-03-10)
231
-
232
- ### Bug Fixes
233
-
234
- * **babel-plugin-formatjs:** fix node insertion issue, fix [#2663](https://github.com/formatjs/formatjs/issues/2663) ([d06d410](https://github.com/formatjs/formatjs/commit/d06d4107d5dedf91f99cd6d433f346aa65c6fe1e))
235
-
236
- ## [9.2.3](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.2...babel-plugin-formatjs@9.2.3) (2021-03-08)
237
-
238
- ### Bug Fixes
239
-
240
- * **babel-plugin-formatjs:** remove msg aggregation, fix [#2663](https://github.com/formatjs/formatjs/issues/2663) ([4dbbec9](https://github.com/formatjs/formatjs/commit/4dbbec9ce41ed29af1acd6ba2e544836ddb23a5c))
241
-
242
- ## [9.2.2](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.1...babel-plugin-formatjs@9.2.2) (2021-03-01)
243
-
244
- **Note:** Version bump only for package babel-plugin-formatjs
245
-
246
- ## [9.2.1](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.2.0...babel-plugin-formatjs@9.2.1) (2021-02-25)
247
-
248
- ### Bug Fixes
249
-
250
- * bump tslib version dep ([37577d2](https://github.com/formatjs/formatjs/commit/37577d22bf28d23de1d8013ba0047cf221ad8840)), closes [#2645](https://github.com/formatjs/formatjs/issues/2645)
251
-
252
- # [9.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.1.4...babel-plugin-formatjs@9.2.0) (2021-02-25)
253
-
254
- ### Features
255
-
256
- * **babel-plugin-formatjs:** relax function call check to allow foobar.formatMessage ([d26dfdd](https://github.com/formatjs/formatjs/commit/d26dfdd0bf431b00df6bd7411e3fd4ff98b6e2b4))
257
-
258
- ## [9.1.4](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.1.3...babel-plugin-formatjs@9.1.4) (2021-02-25)
259
-
260
- **Note:** Version bump only for package babel-plugin-formatjs
261
-
262
- ## [9.1.3](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.1.2...babel-plugin-formatjs@9.1.3) (2021-02-22)
263
-
264
- **Note:** Version bump only for package babel-plugin-formatjs
265
-
266
- ## [9.1.2](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.1.1...babel-plugin-formatjs@9.1.2) (2021-02-21)
267
-
268
- **Note:** Version bump only for package babel-plugin-formatjs
269
-
270
- ## [9.1.1](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.1.0...babel-plugin-formatjs@9.1.1) (2021-02-21)
271
-
272
- **Note:** Version bump only for package babel-plugin-formatjs
273
-
274
- # [9.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.0.4...babel-plugin-formatjs@9.1.0) (2021-02-13)
275
-
276
- ### Features
277
-
278
- * **babel-plugin-formatjs:** support preserving whitespace and newlines ([0172f46](https://github.com/formatjs/formatjs/commit/0172f46e3e4b554c25579bb7c3563b2879522d91))
279
-
280
- ## [9.0.4](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.0.3...babel-plugin-formatjs@9.0.4) (2021-01-27)
281
-
282
- **Note:** Version bump only for package babel-plugin-formatjs
283
-
284
- ## [9.0.3](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.0.2...babel-plugin-formatjs@9.0.3) (2021-01-26)
285
-
286
- **Note:** Version bump only for package babel-plugin-formatjs
287
-
288
- ## [9.0.2](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.0.1...babel-plugin-formatjs@9.0.2) (2021-01-25)
289
-
290
- **Note:** Version bump only for package babel-plugin-formatjs
291
-
292
- ## [9.0.1](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@9.0.0...babel-plugin-formatjs@9.0.1) (2021-01-05)
293
-
294
- **Note:** Version bump only for package babel-plugin-formatjs
295
-
296
- # [9.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@8.4.0...babel-plugin-formatjs@9.0.0) (2021-01-04)
297
-
298
- ### Bug Fixes
299
-
300
- * **babel-plugin-formatjs:** fix package description ([69c509d](https://github.com/formatjs/formatjs/commit/69c509dc7a7d76c37263bb6b185af26c939a7028))
301
-
302
- ### Features
303
-
304
- * **babel-plugin-formatjs:** change result metadata key from react-intl to formatjs ([73a8d2f](https://github.com/formatjs/formatjs/commit/73a8d2f01977aa16055dfe275a2f66584e279a10))
305
- * **babel-plugin-formatjs:** remove moduleSourceName and extractFromFormatMessageCall (on by default) ([e310baf](https://github.com/formatjs/formatjs/commit/e310baf561b0313f251d16e9b97109cd40cbcf0e))
306
-
307
- ### BREAKING CHANGES
308
-
309
- * **babel-plugin-formatjs:** `moduleSourceName` is not relevant and used a whole
310
- lot. We've removed `extractFromFormatMessageCall` and turn it on by
311
- default to avoid config confusion.
312
- * **babel-plugin-formatjs:** If you use this plugin programmatically,
313
- `metadata['react-int']` is now `metadata['formatjs']`
314
-
315
- # [8.4.0](https://github.com/formatjs/formatjs/compare/babel-plugin-formatjs@8.3.0...babel-plugin-formatjs@8.4.0) (2021-01-04)
316
-
317
- ### Features
318
-
319
- * **babel-plugin-formatjs:** add additionalFunctionNames feature to extract from custom function calls ([043ac50](https://github.com/formatjs/formatjs/commit/043ac509da0e55a8639877a35550df81385a3155))
320
-
321
- # 8.3.0 (2021-01-04)
322
-
323
- ### Features
324
-
325
- * **babel-plugin-formatjs:** rename babel-plugin-react-intl to babel-plugin-formatjs ([c9357b7](https://github.com/formatjs/formatjs/commit/c9357b7968c3c7e5c9335ff0058e47da0cb5c6c7))
326
-
327
- ## [8.2.25](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.24...babel-plugin-react-intl@8.2.25) (2021-01-04)
328
-
329
- **Note:** Version bump only for package babel-plugin-react-intl
330
-
331
- ## [8.2.24](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.23...babel-plugin-react-intl@8.2.24) (2021-01-02)
332
-
333
- **Note:** Version bump only for package babel-plugin-react-intl
334
-
335
- ## [8.2.23](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.22...babel-plugin-react-intl@8.2.23) (2021-01-01)
336
-
337
- **Note:** Version bump only for package babel-plugin-react-intl
338
-
339
- ## [8.2.22](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.21...babel-plugin-react-intl@8.2.22) (2020-12-17)
340
-
341
- **Note:** Version bump only for package babel-plugin-react-intl
342
-
343
- ## [8.2.21](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.20...babel-plugin-react-intl@8.2.21) (2020-11-27)
344
-
345
- **Note:** Version bump only for package babel-plugin-react-intl
346
-
347
- ## [8.2.20](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.19...babel-plugin-react-intl@8.2.20) (2020-11-26)
348
-
349
- **Note:** Version bump only for package babel-plugin-react-intl
350
-
351
- ## [8.2.19](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.18...babel-plugin-react-intl@8.2.19) (2020-11-20)
352
-
353
- **Note:** Version bump only for package babel-plugin-react-intl
354
-
355
- ## [8.2.18](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.17...babel-plugin-react-intl@8.2.18) (2020-11-19)
356
-
357
- ### Bug Fixes
358
-
359
- * **babel-plugin-react-intl:** idInterpolationPattern ([#2311](https://github.com/formatjs/formatjs/issues/2311)) ([2cb1249](https://github.com/formatjs/formatjs/commit/2cb1249ef68b04ca75c0ce2d1e55ec1086de2532))
360
-
361
- ## [8.2.17](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.16...babel-plugin-react-intl@8.2.17) (2020-11-12)
362
-
363
- ### Bug Fixes
364
-
365
- * **babel-plugin-react-intl:** fix babel crash with `removeDefaultMessage` ([#2306](https://github.com/formatjs/formatjs/issues/2306)) ([847bee8](https://github.com/formatjs/formatjs/commit/847bee8c084e0093dc233d578719aff3702a7939)), closes [#2305](https://github.com/formatjs/formatjs/issues/2305)
366
-
367
- ## [8.2.16](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.15...babel-plugin-react-intl@8.2.16) (2020-11-10)
368
-
369
- **Note:** Version bump only for package babel-plugin-react-intl
370
-
371
- ## [8.2.15](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.14...babel-plugin-react-intl@8.2.15) (2020-11-09)
372
-
373
- **Note:** Version bump only for package babel-plugin-react-intl
374
-
375
- ## [8.2.14](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.13...babel-plugin-react-intl@8.2.14) (2020-11-09)
376
-
377
- **Note:** Version bump only for package babel-plugin-react-intl
378
-
379
- ## [8.2.13](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.12...babel-plugin-react-intl@8.2.13) (2020-11-05)
380
-
381
- **Note:** Version bump only for package babel-plugin-react-intl
382
-
383
- ## [8.2.12](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.11...babel-plugin-react-intl@8.2.12) (2020-11-05)
384
-
385
- ### Bug Fixes
386
-
387
- * **babel-plugin-react-intl:** lock down monorepo dep version ([652daa7](https://github.com/formatjs/formatjs/commit/652daa754a91e35384a4a17f64916478126696e2))
388
-
389
- ## [8.2.11](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.10...babel-plugin-react-intl@8.2.11) (2020-11-04)
390
-
391
- **Note:** Version bump only for package babel-plugin-react-intl
392
-
393
- ## [8.2.10](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.9...babel-plugin-react-intl@8.2.10) (2020-10-28)
394
-
395
- **Note:** Version bump only for package babel-plugin-react-intl
396
-
397
- ## [8.2.9](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.8...babel-plugin-react-intl@8.2.9) (2020-10-27)
398
-
399
- **Note:** Version bump only for package babel-plugin-react-intl
400
-
401
- ## [8.2.8](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.7...babel-plugin-react-intl@8.2.8) (2020-10-25)
402
-
403
- **Note:** Version bump only for package babel-plugin-react-intl
404
-
405
- ## [8.2.7](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.6...babel-plugin-react-intl@8.2.7) (2020-10-10)
406
-
407
- **Note:** Version bump only for package babel-plugin-react-intl
408
-
409
- ## [8.2.6](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.5...babel-plugin-react-intl@8.2.6) (2020-10-08)
410
-
411
- **Note:** Version bump only for package babel-plugin-react-intl
412
-
413
- ## [8.2.5](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.4...babel-plugin-react-intl@8.2.5) (2020-10-01)
414
-
415
- **Note:** Version bump only for package babel-plugin-react-intl
416
-
417
- ## [8.2.4](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.3...babel-plugin-react-intl@8.2.4) (2020-09-25)
418
-
419
- **Note:** Version bump only for package babel-plugin-react-intl
420
-
421
- ## [8.2.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.2...babel-plugin-react-intl@8.2.3) (2020-09-18)
422
-
423
- **Note:** Version bump only for package babel-plugin-react-intl
424
-
425
- ## [8.2.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.1...babel-plugin-react-intl@8.2.2) (2020-09-12)
426
-
427
- **Note:** Version bump only for package babel-plugin-react-intl
428
-
429
- ## [8.2.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.2.0...babel-plugin-react-intl@8.2.1) (2020-09-09)
430
-
431
- **Note:** Version bump only for package babel-plugin-react-intl
432
-
433
- # [8.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.11...babel-plugin-react-intl@8.2.0) (2020-09-03)
434
-
435
- ### Features
436
-
437
- * **babel-plugin-react-intl:** trim trailing/leading spaces, newlines & consecutive whitespaces ([9d0ead2](https://github.com/formatjs/formatjs/commit/9d0ead288c7f2de8047de658d604e810664236d8)), closes [#2028](https://github.com/formatjs/formatjs/issues/2028)
438
-
439
- ## [8.1.11](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.10...babel-plugin-react-intl@8.1.11) (2020-08-30)
440
-
441
- **Note:** Version bump only for package babel-plugin-react-intl
442
-
443
- ## [8.1.10](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.9...babel-plugin-react-intl@8.1.10) (2020-08-28)
444
-
445
- **Note:** Version bump only for package babel-plugin-react-intl
446
-
447
- ## [8.1.9](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.8...babel-plugin-react-intl@8.1.9) (2020-08-25)
448
-
449
- **Note:** Version bump only for package babel-plugin-react-intl
450
-
451
- ## [8.1.8](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.7...babel-plugin-react-intl@8.1.8) (2020-08-22)
452
-
453
- **Note:** Version bump only for package babel-plugin-react-intl
454
-
455
- ## [8.1.7](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.6...babel-plugin-react-intl@8.1.7) (2020-08-21)
456
-
457
- **Note:** Version bump only for package babel-plugin-react-intl
458
-
459
- ## [8.1.6](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.5...babel-plugin-react-intl@8.1.6) (2020-08-20)
460
-
461
- ### Bug Fixes
462
-
463
- * bump intl-messageformat-parser ([8bbfa04](https://github.com/formatjs/formatjs/commit/8bbfa047da159662700b7e500879da20e54c0f0b))
464
-
465
- ## [8.1.5](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.4...babel-plugin-react-intl@8.1.5) (2020-08-19)
466
-
467
- **Note:** Version bump only for package babel-plugin-react-intl
468
-
469
- ## [8.1.4](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.3...babel-plugin-react-intl@8.1.4) (2020-08-19)
470
-
471
- **Note:** Version bump only for package babel-plugin-react-intl
472
-
473
- ## [8.1.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.2...babel-plugin-react-intl@8.1.3) (2020-08-18)
474
-
475
- **Note:** Version bump only for package babel-plugin-react-intl
476
-
477
- ## [8.1.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.1...babel-plugin-react-intl@8.1.2) (2020-08-17)
478
-
479
- **Note:** Version bump only for package babel-plugin-react-intl
480
-
481
- ## [8.1.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.1.0...babel-plugin-react-intl@8.1.1) (2020-08-14)
482
-
483
- **Note:** Version bump only for package babel-plugin-react-intl
484
-
485
- # [8.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.0.1...babel-plugin-react-intl@8.1.0) (2020-08-14)
486
-
487
- ### Features
488
-
489
- * **babel-plugin-react-intl:** add --ast flag to compile defaultMessage to AST during transpilation ([1953149](https://github.com/formatjs/formatjs/commit/19531490a70c6d9a43ffdfe85c0b48a0ad0efa92))
490
-
491
- ## [8.0.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@8.0.0...babel-plugin-react-intl@8.0.1) (2020-08-13)
492
-
493
- **Note:** Version bump only for package babel-plugin-react-intl
494
-
495
- # [8.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.4...babel-plugin-react-intl@8.0.0) (2020-08-09)
496
-
497
- ### Features
498
-
499
- * **babel-plugin-react-intl:** remove `messagesDir`, `workspaceRoot`, `outputEmptyJson` ([47ca556](https://github.com/formatjs/formatjs/commit/47ca556c1405eec7b7b2660275ae84a019112b2b))
500
-
501
- ### BREAKING CHANGES
502
-
503
- * **babel-plugin-react-intl:** Since we've introduced `@formatjs/cli` and multiple
504
- guides regarding i18n workflow, we want to consolidate extraction to the
505
- CLI instead of combining it with code transformation as a side effects.
506
- Therefore, since this release `babel-plugin-react-intl` will be purely
507
- for code transformation such as validating messages, remove description,
508
- autoinject IDs and remove descriptions.
509
- All extractions should be done using `@formatjs/cli` using `npx formatjs
510
- extract` & `npx formatjs compile`.
511
-
512
- ## [7.9.4](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.3...babel-plugin-react-intl@7.9.4) (2020-08-07)
513
-
514
- **Note:** Version bump only for package babel-plugin-react-intl
515
-
516
- ## [7.9.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.2...babel-plugin-react-intl@7.9.3) (2020-08-06)
517
-
518
- **Note:** Version bump only for package babel-plugin-react-intl
519
-
520
- ## [7.9.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.1...babel-plugin-react-intl@7.9.2) (2020-07-29)
521
-
522
- **Note:** Version bump only for package babel-plugin-react-intl
523
-
524
- ## [7.9.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.0...babel-plugin-react-intl@7.9.1) (2020-07-25)
525
-
526
- ### Bug Fixes
527
-
528
- * **babel-plugin-react-intl:** tweak overrideIdFn signature in options ([4fd8163](https://github.com/formatjs/formatjs/commit/4fd81632722bea7dcad54588dca5d711e8e9cb64))
529
-
530
- # [7.9.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.8.3...babel-plugin-react-intl@7.9.0) (2020-07-24)
531
-
532
- ### Bug Fixes
533
-
534
- * **babel-plugin-react-intl:** default idInterpolationPattern to [contenthash:5] ([1530f78](https://github.com/formatjs/formatjs/commit/1530f7870b849e8fab3f140a642e719877f0000e))
535
-
536
- ### Features
537
-
538
- * **babel-plugin-react-intl:** introduce idInterpolationPattern option ([61eb96e](https://github.com/formatjs/formatjs/commit/61eb96ed70c4698e24373ba33110419fcea746c1))
539
-
540
- ## [7.8.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.8.2...babel-plugin-react-intl@7.8.3) (2020-07-21)
541
-
542
- **Note:** Version bump only for package babel-plugin-react-intl
543
-
544
- ## [7.8.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.8.1...babel-plugin-react-intl@7.8.2) (2020-07-17)
545
-
546
- **Note:** Version bump only for package babel-plugin-react-intl
547
-
548
- ## [7.8.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.8.0...babel-plugin-react-intl@7.8.1) (2020-07-16)
549
-
550
- **Note:** Version bump only for package babel-plugin-react-intl
551
-
552
- # [7.8.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.7.3...babel-plugin-react-intl@7.8.0) (2020-07-15)
553
-
554
- ### Features
555
-
556
- * **babel-plugin-react-intl:** add `workspaceRoot` option, fix [#1649](https://github.com/formatjs/formatjs/issues/1649) ([16df60b](https://github.com/formatjs/formatjs/commit/16df60bc091a517df6d9cf072b5c6dba49de3a8c))
557
-
558
- ## [7.7.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.7.1...babel-plugin-react-intl@7.7.3) (2020-07-14)
559
-
560
- **Note:** Version bump only for package babel-plugin-react-intl
561
-
562
- ## [7.7.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.7.1...babel-plugin-react-intl@7.7.2) (2020-07-14)
563
-
564
- **Note:** Version bump only for package babel-plugin-react-intl
565
-
566
- ## [7.7.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.7.0...babel-plugin-react-intl@7.7.1) (2020-07-14)
567
-
568
- **Note:** Version bump only for package babel-plugin-react-intl
569
-
570
- # [7.7.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.28...babel-plugin-react-intl@7.7.0) (2020-07-14)
571
-
572
- ### Features
573
-
574
- * publish ([b6e3465](https://github.com/formatjs/formatjs/commit/b6e3465ac95b3fa481f3c89f077a66ac004f7c27))
575
- * **babel-plugin-react-intl:** rm references to @formatjs/macro ([508df3b](https://github.com/formatjs/formatjs/commit/508df3bbbfcd3aafdeb368e67062581a7f804154))
576
-
577
- # [7.6.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.28...babel-plugin-react-intl@7.6.0) (2020-07-09)
578
-
579
- ### Features
580
-
581
- * **babel-plugin-react-intl:** rm references to @formatjs/macro ([508df3b](https://github.com/formatjs/formatjs/commit/508df3bbbfcd3aafdeb368e67062581a7f804154))
582
-
583
- ## [7.5.28](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.27...babel-plugin-react-intl@7.5.28) (2020-07-03)
584
-
585
- **Note:** Version bump only for package babel-plugin-react-intl
586
-
587
- ## [7.5.27](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.26...babel-plugin-react-intl@7.5.27) (2020-07-03)
588
-
589
- **Note:** Version bump only for package babel-plugin-react-intl
590
-
591
- ## [7.5.26](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.25...babel-plugin-react-intl@7.5.26) (2020-07-03)
592
-
593
- **Note:** Version bump only for package babel-plugin-react-intl
594
-
595
- ## [7.5.25](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.24...babel-plugin-react-intl@7.5.25) (2020-07-01)
596
-
597
- **Note:** Version bump only for package babel-plugin-react-intl
598
-
599
- ## [7.5.24](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.23...babel-plugin-react-intl@7.5.24) (2020-06-26)
600
-
601
- **Note:** Version bump only for package babel-plugin-react-intl
602
-
603
- ## [7.5.23](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.22...babel-plugin-react-intl@7.5.23) (2020-06-23)
604
-
605
- **Note:** Version bump only for package babel-plugin-react-intl
606
-
607
- ## [7.5.22](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.21...babel-plugin-react-intl@7.5.22) (2020-06-23)
608
-
609
- **Note:** Version bump only for package babel-plugin-react-intl
610
-
611
- ## [7.5.21](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.20...babel-plugin-react-intl@7.5.21) (2020-06-20)
612
-
613
- **Note:** Version bump only for package babel-plugin-react-intl
614
-
615
- ## [7.5.20](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.19...babel-plugin-react-intl@7.5.20) (2020-06-06)
616
-
617
- **Note:** Version bump only for package babel-plugin-react-intl
618
-
619
- ## [7.5.19](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.18...babel-plugin-react-intl@7.5.19) (2020-06-06)
620
-
621
- **Note:** Version bump only for package babel-plugin-react-intl
622
-
623
- ## [7.5.18](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.17...babel-plugin-react-intl@7.5.18) (2020-06-04)
624
-
625
- **Note:** Version bump only for package babel-plugin-react-intl
626
-
627
- ## [7.5.17](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.16...babel-plugin-react-intl@7.5.17) (2020-06-04)
628
-
629
- **Note:** Version bump only for package babel-plugin-react-intl
630
-
631
- ## [7.5.16](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.15...babel-plugin-react-intl@7.5.16) (2020-06-03)
632
-
633
- **Note:** Version bump only for package babel-plugin-react-intl
634
-
635
- ## [7.5.15](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.14...babel-plugin-react-intl@7.5.15) (2020-05-28)
636
-
637
- **Note:** Version bump only for package babel-plugin-react-intl
638
-
639
- ## [7.5.14](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.13...babel-plugin-react-intl@7.5.14) (2020-05-27)
640
-
641
- **Note:** Version bump only for package babel-plugin-react-intl
642
-
643
- ## [7.5.13](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.12...babel-plugin-react-intl@7.5.13) (2020-05-25)
644
-
645
- **Note:** Version bump only for package babel-plugin-react-intl
646
-
647
- ## [7.5.12](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.11...babel-plugin-react-intl@7.5.12) (2020-05-23)
648
-
649
- **Note:** Version bump only for package babel-plugin-react-intl
650
-
651
- ## [7.5.11](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.10...babel-plugin-react-intl@7.5.11) (2020-05-23)
652
-
653
- **Note:** Version bump only for package babel-plugin-react-intl
654
-
655
- ## [7.5.10](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.9...babel-plugin-react-intl@7.5.10) (2020-05-21)
656
-
657
- **Note:** Version bump only for package babel-plugin-react-intl
658
-
659
- ## [7.5.9](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.8...babel-plugin-react-intl@7.5.9) (2020-05-21)
660
-
661
- **Note:** Version bump only for package babel-plugin-react-intl
662
-
663
- ## [7.5.8](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.7...babel-plugin-react-intl@7.5.8) (2020-05-16)
664
-
665
- **Note:** Version bump only for package babel-plugin-react-intl
666
-
667
- ## [7.5.7](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.6...babel-plugin-react-intl@7.5.7) (2020-05-08)
668
-
669
- **Note:** Version bump only for package babel-plugin-react-intl
670
-
671
- ## [7.5.6](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.5...babel-plugin-react-intl@7.5.6) (2020-05-06)
672
-
673
- ### Bug Fixes
674
-
675
- * **babel-plugin-react-intl:** extract from `useIntl`, fix [#1633](https://github.com/formatjs/formatjs/issues/1633) ([3f14e5d](https://github.com/formatjs/formatjs/commit/3f14e5da118f51ab350037c5ff1a05701e9779e9))
676
-
677
- ## [7.5.5](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.4...babel-plugin-react-intl@7.5.5) (2020-05-05)
678
-
679
- **Note:** Version bump only for package babel-plugin-react-intl
680
-
681
- ## 7.5.4 (2020-04-28)
682
-
683
- **Note:** Version bump only for package babel-plugin-react-intl
684
-
685
- ## [7.5.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.2...babel-plugin-react-intl@7.5.3) (2020-04-25)
686
-
687
- **Note:** Version bump only for package babel-plugin-react-intl
688
-
689
- ## [7.5.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.1...babel-plugin-react-intl@7.5.2) (2020-04-24)
690
-
691
- ### Bug Fixes
692
-
693
- * **eslint-plugin-formatjs:** add missing dep ([776390e](https://github.com/formatjs/formatjs/commit/776390e9d6cb3bc1eef07b2e92057136cfe95b76))
694
-
695
- ## [7.5.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.5.0...babel-plugin-react-intl@7.5.1) (2020-04-20)
696
-
697
- **Note:** Version bump only for package babel-plugin-react-intl
698
-
699
- # [7.5.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.4.3...babel-plugin-react-intl@7.5.0) (2020-04-14)
700
-
701
- ### Bug Fixes
702
-
703
- * clean up tsbuildinfo before full build ([c301ca0](https://github.com/formatjs/formatjs/commit/c301ca02e0c319a0eb03921533053f0334ae5df1))
704
-
705
- ### Features
706
-
707
- * **babel-plugin-react-intl:** support extracting single message from `defineMessage` macro ([f7ce912](https://github.com/formatjs/formatjs/commit/f7ce912a13e8d1050fe9c2b363390c3c7f3b290b))
708
-
709
- ## [7.4.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.4.2...babel-plugin-react-intl@7.4.3) (2020-04-13)
710
-
711
- ### Bug Fixes
712
-
713
- * **babel-plugin-react-intl:** fix README link ([afc92d4](https://github.com/formatjs/formatjs/commit/afc92d4e35aa00756fcdba0d4f3ac0ace8fb7954))
714
-
715
- ## [7.4.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.4.1...babel-plugin-react-intl@7.4.2) (2020-04-12)
716
-
717
- **Note:** Version bump only for package babel-plugin-react-intl
718
-
719
- ## [7.4.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.4.0...babel-plugin-react-intl@7.4.1) (2020-04-12)
720
-
721
- ### Bug Fixes
722
-
723
- * **babel-plugin-react-intl:** fix pragma parsing so it can search for non-import nodes ([7df5060](https://github.com/formatjs/formatjs/commit/7df50602899b5e4a6ce945ce093c9c1781d7565a))
724
-
725
- # [7.4.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.3.0...babel-plugin-react-intl@7.4.0) (2020-04-11)
726
-
727
- ### Features
728
-
729
- * **@formatjs/cli:** add support for pragma ([b6c8352](https://github.com/formatjs/formatjs/commit/b6c8352f5181bcb1adbb520cca01191527bc20bb))
730
- * **babel-plugin-react-intl:** add option to parse pragma ([af58ad2](https://github.com/formatjs/formatjs/commit/af58ad2f2fcb06bf20804e2f5cb357c739f34003))
731
-
732
- # [7.3.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.2.1...babel-plugin-react-intl@7.3.0) (2020-04-11)
733
-
734
- ### Features
735
-
736
- * **@formatjs/cli:** add --throws option to prevent throwing on a single file ([7539936](https://github.com/formatjs/formatjs/commit/75399368f6ddd591b3fbe9c3ed6d9a30bea3586f))
737
-
738
- ## [7.2.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.2.0...babel-plugin-react-intl@7.2.1) (2020-04-11)
739
-
740
- ### Bug Fixes
741
-
742
- * **@formatjs/cli:** export raw extraction method that returns all messages ([45fc546](https://github.com/formatjs/formatjs/commit/45fc5464e05a30071d4f058a66de35f5f0a08e43))
743
- * **babel-plugin-react-intl:** add missing dep, fix [#586](https://github.com/formatjs/formatjs/issues/586) ([1419526](https://github.com/formatjs/formatjs/commit/14195267916f15ba2f4f0635c519797efeef9fb5))
744
-
745
- # [7.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.1.1...babel-plugin-react-intl@7.2.0) (2020-04-11)
746
-
747
- ### Features
748
-
749
- * **@formatjs/cli:** export extracting API ([08db726](https://github.com/formatjs/formatjs/commit/08db7261721137a1a275fd2c29a0633c19034fd3))
750
-
751
- ## [7.1.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.1.0...babel-plugin-react-intl@7.1.1) (2020-03-30)
752
-
753
- **Note:** Version bump only for package babel-plugin-react-intl
754
-
755
- # [7.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.0.0...babel-plugin-react-intl@7.1.0) (2020-03-29)
756
-
757
- ### Features
758
-
759
- * **babel-plugin-react-intl:** add destructured formatMessage su… ([#582](https://github.com/formatjs/formatjs/issues/582)) ([8549258](https://github.com/formatjs/formatjs/commit/854925800a8fc206292055c184015c5e603b9807))
760
-
761
- # [7.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@6.2.0...babel-plugin-react-intl@7.0.0) (2020-03-22)
762
-
763
- ### Features
764
-
765
- * **babel-plugin-react-intl:** remove FormattedHTMLMessage extraction ([f962fdf](https://github.com/formatjs/formatjs/commit/f962fdf06118bda5bfb7f239962defced5597920))
766
-
767
- ### BREAKING CHANGES
768
-
769
- * **babel-plugin-react-intl:** As of react-intl@4.x, `FormattedHTMLMessage` is no longer supported so
770
- we're removing this from our babel plugin as well
771
-
772
- # [6.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@6.1.0...babel-plugin-react-intl@6.2.0) (2020-03-18)
773
-
774
- ### Features
775
-
776
- * **babel-plugin-react-intl:** add outputEmptyJson option ([a4f85ab](https://github.com/formatjs/formatjs/commit/a4f85ab47af4c2f2500363c3d5cc053ec126644c))
777
-
778
- # [6.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@6.0.1...babel-plugin-react-intl@6.1.0) (2020-03-18)
779
-
780
- ### Bug Fixes
781
-
782
- * **babel-plugin-react-intl:** extract messages without defaultMessage, fix [#536](https://github.com/formatjs/formatjs/issues/536) ([dafa46b](https://github.com/formatjs/formatjs/commit/dafa46b2bd5a8f22f2d57e2adf7a33c51095f18b))
783
-
784
- ### Features
785
-
786
- * **babel-plugin-react-intl:** add filename as param to overrideIdFn ([30b9de9](https://github.com/formatjs/formatjs/commit/30b9de9e631928d3f543ee2b8094a1b608ee95d0)), closes [#495](https://github.com/formatjs/formatjs/issues/495) [#496](https://github.com/formatjs/formatjs/issues/496)
787
- * **babel-plugin-react-intl:** output file with empty [] if src has no messages ([43dae5b](https://github.com/formatjs/formatjs/commit/43dae5b2a1554de8d40d4248a9c4a3622904406b)), closes [#553](https://github.com/formatjs/formatjs/issues/553)
788
-
789
- ## [6.0.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@6.0.0...babel-plugin-react-intl@6.0.1) (2020-03-05)
790
-
791
- **Note:** Version bump only for package babel-plugin-react-intl
792
-
793
- # [6.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.17...babel-plugin-react-intl@6.0.0) (2020-03-04)
794
-
795
- ### Features
796
-
797
- * **intl-messageformat-parser:** Add native support for parsing XML tag ([51c49fa](https://github.com/formatjs/formatjs/commit/51c49faa46880ae6e005125c59fa23b59f0e7083))
798
-
799
- ### BREAKING CHANGES
800
-
801
- * **intl-messageformat-parser:** This changes the AST and causes potential conflicts
802
- with previous parser version
803
- fix(eslint-plugin-formatjs): Adapt to new parser
804
- chore(babel-plugin-react-intl): update package lock
805
-
806
- ## [5.1.18](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.17...babel-plugin-react-intl@5.1.18) (2020-01-27)
807
-
808
- **Note:** Version bump only for package babel-plugin-react-intl
809
-
810
- ## [5.1.17](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.16...babel-plugin-react-intl@5.1.17) (2020-01-22)
811
-
812
- **Note:** Version bump only for package babel-plugin-react-intl
813
-
814
- ## [5.1.16](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.15...babel-plugin-react-intl@5.1.16) (2020-01-09)
815
-
816
- **Note:** Version bump only for package babel-plugin-react-intl
817
-
818
- ## [5.1.15](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.14...babel-plugin-react-intl@5.1.15) (2020-01-08)
819
-
820
- **Note:** Version bump only for package babel-plugin-react-intl
821
-
822
- ## [5.1.14](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.13...babel-plugin-react-intl@5.1.14) (2020-01-06)
823
-
824
- **Note:** Version bump only for package babel-plugin-react-intl
825
-
826
- ## [5.1.13](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.12...babel-plugin-react-intl@5.1.13) (2019-12-27)
827
-
828
- **Note:** Version bump only for package babel-plugin-react-intl
829
-
830
- ## [5.1.12](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.11...babel-plugin-react-intl@5.1.12) (2019-12-26)
831
-
832
- **Note:** Version bump only for package babel-plugin-react-intl
833
-
834
- ## [5.1.11](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.10...babel-plugin-react-intl@5.1.11) (2019-12-04)
835
-
836
- **Note:** Version bump only for package babel-plugin-react-intl
837
-
838
- ## [5.1.10](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.9...babel-plugin-react-intl@5.1.10) (2019-12-02)
839
-
840
- **Note:** Version bump only for package babel-plugin-react-intl
841
-
842
- ## [5.1.9](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.8...babel-plugin-react-intl@5.1.9) (2019-12-01)
843
-
844
- **Note:** Version bump only for package babel-plugin-react-intl
845
-
846
- ## [5.1.8](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.7...babel-plugin-react-intl@5.1.8) (2019-11-26)
847
-
848
- **Note:** Version bump only for package babel-plugin-react-intl
849
-
850
- ## [5.1.7](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.6...babel-plugin-react-intl@5.1.7) (2019-11-25)
851
-
852
- **Note:** Version bump only for package babel-plugin-react-intl
853
-
854
- ## [5.1.6](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.5...babel-plugin-react-intl@5.1.6) (2019-11-25)
855
-
856
- **Note:** Version bump only for package babel-plugin-react-intl
857
-
858
- ## [5.1.5](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.4...babel-plugin-react-intl@5.1.5) (2019-11-23)
859
-
860
- **Note:** Version bump only for package babel-plugin-react-intl
861
-
862
- ## [5.1.4](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.3...babel-plugin-react-intl@5.1.4) (2019-11-21)
863
-
864
- **Note:** Version bump only for package babel-plugin-react-intl
865
-
866
- ## [5.1.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.2...babel-plugin-react-intl@5.1.3) (2019-11-20)
867
-
868
- ### Bug Fixes
869
-
870
- * **lint:** fix lint config and rerun ([041eb99](https://github.com/formatjs/formatjs/commit/041eb99706164048b5b8ce7079955897ce27ed70))
871
-
872
- ## [5.1.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.1...babel-plugin-react-intl@5.1.2) (2019-11-10)
873
-
874
- **Note:** Version bump only for package babel-plugin-react-intl
875
-
876
- ## [5.1.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.1.0...babel-plugin-react-intl@5.1.1) (2019-11-05)
877
-
878
- **Note:** Version bump only for package babel-plugin-react-intl
879
-
880
- # [5.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.0.0...babel-plugin-react-intl@5.1.0) (2019-11-01)
881
-
882
- ### Features
883
-
884
- * **@formatjs/cli:** add --outFile & --idInterpolationPattern ([0c5e675](https://github.com/formatjs/formatjs/commit/0c5e675ed38f18987674a875fa6ed908ce907fc9))
885
- * **babel-plugin-react-intl:** allow parsing from @formatjs/macro ([196dcc4](https://github.com/formatjs/formatjs/commit/196dcc44faec56637f3b74db4ed2c13d6842bc61))
886
-
887
- ## [5.0.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@5.0.0...babel-plugin-react-intl@5.0.1) (2019-10-31)
888
-
889
- **Note:** Version bump only for package babel-plugin-react-intl
890
-
891
- # [5.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.3.0...babel-plugin-react-intl@5.0.0) (2019-10-31)
892
-
893
- ### Features
894
-
895
- * **babel-plugin-react-intl:** remove enforceDescription and enforceDefaultMessage ([72ff434](https://github.com/formatjs/formatjs/commit/72ff4345170f9b240f7331aa6fa36df96a8c823b))
896
-
897
- ### BREAKING CHANGES
898
-
899
- * **babel-plugin-react-intl:** We want to move things like `enforceDescription` and
900
- `enforceDefaultMessage` to the new eslint-plugin-formatjs instead of
901
- using this babel plugin for linting.
902
- feat(@formatjs/cli): Remove enforceDescription and enforceDefaultMessage
903
-
904
- # [4.3.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.21...babel-plugin-react-intl@4.3.0) (2019-10-30)
905
-
906
- ### Features
907
-
908
- * **@formatjs/cli:** A CLI for formatjs ([#234](https://github.com/formatjs/formatjs/issues/234)) ([1f57a0b](https://github.com/formatjs/formatjs/commit/1f57a0b0921e0228cf3fd4eff756b0cd17e28fb5))
909
-
910
- # [4.2.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.21...babel-plugin-react-intl@4.2.0) (2019-10-30)
911
-
912
- ### Features
913
-
914
- * **@formatjs/cli:** A CLI for formatjs ([#234](https://github.com/formatjs/formatjs/issues/234)) ([1f57a0b](https://github.com/formatjs/formatjs/commit/1f57a0b0921e0228cf3fd4eff756b0cd17e28fb5))
915
-
916
- ## [4.1.21](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.20...babel-plugin-react-intl@4.1.21) (2019-10-23)
917
-
918
- **Note:** Version bump only for package babel-plugin-react-intl
919
-
920
- ## [4.1.20](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.19...babel-plugin-react-intl@4.1.20) (2019-10-01)
921
-
922
- **Note:** Version bump only for package babel-plugin-react-intl
923
-
924
- ## [4.1.19](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.18...babel-plugin-react-intl@4.1.19) (2019-09-20)
925
-
926
- **Note:** Version bump only for package babel-plugin-react-intl
927
-
928
- ## [4.1.18](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.17...babel-plugin-react-intl@4.1.18) (2019-09-15)
929
-
930
- **Note:** Version bump only for package babel-plugin-react-intl
931
-
932
- ## [4.1.17](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.16...babel-plugin-react-intl@4.1.17) (2019-09-13)
933
-
934
- **Note:** Version bump only for package babel-plugin-react-intl
935
-
936
- ## [4.1.16](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.15...babel-plugin-react-intl@4.1.16) (2019-09-03)
937
-
938
- **Note:** Version bump only for package babel-plugin-react-intl
939
-
940
- ## [4.1.15](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.14...babel-plugin-react-intl@4.1.15) (2019-08-29)
941
-
942
- **Note:** Version bump only for package babel-plugin-react-intl
943
-
944
- ## [4.1.14](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.13...babel-plugin-react-intl@4.1.14) (2019-08-19)
945
-
946
- ### Bug Fixes
947
-
948
- * **babel-plugin-react-intl:** return raw message without re-printing, fix [#160](https://github.com/formatjs/formatjs/issues/160) ([6897ca9](https://github.com/formatjs/formatjs/commit/6897ca9))
949
-
950
- ## [4.1.13](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.12...babel-plugin-react-intl@4.1.13) (2019-08-21)
951
-
952
- ### Bug Fixes
953
-
954
- * **babel-plugin-react-intl:** dont trim ws ([f9f4e54](https://github.com/formatjs/formatjs/commit/f9f4e54)), closes [#158](https://github.com/formatjs/formatjs/issues/158)
955
-
956
- ## [4.1.12](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.11...babel-plugin-react-intl@4.1.12) (2019-08-12)
957
-
958
- **Note:** Version bump only for package babel-plugin-react-intl
959
-
960
- ## [4.1.11](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.10...babel-plugin-react-intl@4.1.11) (2019-08-11)
961
-
962
- ### Bug Fixes
963
-
964
- * **babel-plugin-react-intl:** check if `descriptorPath.id` is present in JSX element ([#150](https://github.com/formatjs/formatjs/issues/150)) ([5e2dffa](https://github.com/formatjs/formatjs/commit/5e2dffa))
965
-
966
- ## [4.1.10](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.9...babel-plugin-react-intl@4.1.10) (2019-08-11)
967
-
968
- ### Bug Fixes
969
-
970
- * generate lib instead of mjs ([05e63b3](https://github.com/formatjs/formatjs/commit/05e63b3))
971
-
972
- ## [4.1.9](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.8...babel-plugin-react-intl@4.1.9) (2019-08-10)
973
-
974
- **Note:** Version bump only for package babel-plugin-react-intl
975
-
976
- ## [4.1.8](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.7...babel-plugin-react-intl@4.1.8) (2019-08-08)
977
-
978
- **Note:** Version bump only for package babel-plugin-react-intl
979
-
980
- ## [4.1.7](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.6...babel-plugin-react-intl@4.1.7) (2019-08-07)
981
-
982
- **Note:** Version bump only for package babel-plugin-react-intl
983
-
984
- ## [4.1.6](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.5...babel-plugin-react-intl@4.1.6) (2019-08-06)
985
-
986
- ### Bug Fixes
987
-
988
- * generate .mjs instead of lib ([0c34ee4](https://github.com/formatjs/formatjs/commit/0c34ee4))
989
-
990
- ## [4.1.5](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.4...babel-plugin-react-intl@4.1.5) (2019-07-29)
991
-
992
- **Note:** Version bump only for package babel-plugin-react-intl
993
-
994
- ## [4.1.4](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.3...babel-plugin-react-intl@4.1.4) (2019-07-29)
995
-
996
- **Note:** Version bump only for package babel-plugin-react-intl
997
-
998
- ## [4.1.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.2...babel-plugin-react-intl@4.1.3) (2019-07-25)
999
-
1000
- **Note:** Version bump only for package babel-plugin-react-intl
1001
-
1002
- ## [4.1.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.1...babel-plugin-react-intl@4.1.2) (2019-07-23)
1003
-
1004
- **Note:** Version bump only for package babel-plugin-react-intl
1005
-
1006
- ## [4.1.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.1.0...babel-plugin-react-intl@4.1.1) (2019-07-12)
1007
-
1008
- **Note:** Version bump only for package babel-plugin-react-intl
1009
-
1010
- # [4.1.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.0.1...babel-plugin-react-intl@4.1.0) (2019-07-12)
1011
-
1012
- ### Features
1013
-
1014
- - **intl-messageformat-parser:** add printer to print AST to string ([ec0eaa2](https://github.com/formatjs/formatjs/commit/ec0eaa2))
1015
-
1016
- ## [4.0.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@4.0.0...babel-plugin-react-intl@4.0.1) (2019-07-09)
1017
-
1018
- **Note:** Version bump only for package babel-plugin-react-intl
1019
-
1020
- # [4.0.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.5.1...babel-plugin-react-intl@4.0.0) (2019-07-08)
1021
-
1022
- ### Features
1023
-
1024
- - **intl-messageformat-parser:** Rewrite grammar ([#112](https://github.com/formatjs/formatjs/issues/112)) ([093de35](https://github.com/formatjs/formatjs/commit/093de35))
1025
-
1026
- ### BREAKING CHANGES
1027
-
1028
- - **intl-messageformat-parser:** This completely changes the AST produced by the parser
1029
-
1030
- Before:
1031
-
1032
- ```
1033
- complex_msg AST length 12567
1034
- normal_msg AST length 2638
1035
- simple_msg AST length 567
1036
- string_msg AST length 288
1037
- complex_msg x 3,405 ops/sec ±5.44% (81 runs sampled)
1038
- normal_msg x 27,513 ops/sec ±2.14% (87 runs sampled)
1039
- simple_msg x 113,043 ops/sec ±1.20% (89 runs sampled)
1040
- string_msg x 147,838 ops/sec ±0.78% (90 runs sampled)
1041
- ```
1042
-
1043
- After:
1044
-
1045
- ```
1046
- complex_msg AST length 2053
1047
- normal_msg AST length 410
1048
- simple_msg AST length 79
1049
- string_msg AST length 36
1050
- complex_msg x 3,926 ops/sec ±2.37% (90 runs sampled)
1051
- normal_msg x 27,641 ops/sec ±3.93% (86 runs sampled)
1052
- simple_msg x 100,764 ops/sec ±5.35% (79 runs sampled)
1053
- string_msg x 120,362 ops/sec ±7.11% (74 runs sampled)
1054
- ```
1055
-
1056
- - feat: normalize hashtag token in plural
1057
-
1058
- - feat(intl-messageformat): adapt to new AST
1059
-
1060
- - feat(babel-plugin-react-intl): adapt to new AST
1061
-
1062
- ## [3.5.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.5.0...babel-plugin-react-intl@3.5.1) (2019-06-28)
1063
-
1064
- **Note:** Version bump only for package babel-plugin-react-intl
1065
-
1066
- # [3.5.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.4.1...babel-plugin-react-intl@3.5.0) (2019-06-27)
1067
-
1068
- ### Features
1069
-
1070
- - **intl-messageformat:** allow passing in formatters ([#107](https://github.com/formatjs/formatjs/issues/107)) ([3605693](https://github.com/formatjs/formatjs/commit/3605693))
1071
-
1072
- ## [3.4.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.4.0...babel-plugin-react-intl@3.4.1) (2019-06-26)
1073
-
1074
- **Note:** Version bump only for package babel-plugin-react-intl
1075
-
1076
- # [3.4.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.3.3...babel-plugin-react-intl@3.4.0) (2019-06-27)
1077
-
1078
- ### Features
1079
-
1080
- - **intl-utils:** Add intl-utils ([#98](https://github.com/formatjs/formatjs/issues/98)) ([2329c57](https://github.com/formatjs/formatjs/commit/2329c57))
1081
-
1082
- ## [3.3.3](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.3.2...babel-plugin-react-intl@3.3.3) (2019-06-18)
1083
-
1084
- ### Bug Fixes
1085
-
1086
- - **babel-plugin-react-intl:** add back messages to `metadata`, fixes [#92](https://github.com/formatjs/formatjs/issues/92) ([643f8e5](https://github.com/formatjs/formatjs/commit/643f8e5))
1087
-
1088
- ## [3.3.2](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.3.1...babel-plugin-react-intl@3.3.2) (2019-06-18)
1089
-
1090
- **Note:** Version bump only for package babel-plugin-react-intl
1091
-
1092
- ## [3.3.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.3.0...babel-plugin-react-intl@3.3.1) (2019-06-18)
1093
-
1094
- **Note:** Version bump only for package babel-plugin-react-intl
1095
-
1096
- # [3.3.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.2.1...babel-plugin-react-intl@3.3.0) (2019-06-18)
1097
-
1098
- ### Features
1099
-
1100
- - **babel-plugin-react-intl:** rewrite using new babel 7 APIs ([#89](https://github.com/formatjs/formatjs/issues/89)) ([5bc18b0](https://github.com/formatjs/formatjs/commit/5bc18b0))
1101
-
1102
- ## [3.2.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@3.2.0...babel-plugin-react-intl@3.2.1) (2019-06-12)
1103
-
1104
- **Note:** Version bump only for package babel-plugin-react-intl
1105
-
1106
- # [3.2.0](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.1.3...babel-plugin-react-intl@3.2.0) (2019-06-05)
1107
-
1108
- ### Features
1109
-
1110
- - **babel-plugin-react-intl:** Add enforceDefaultMessage ([#61](https://github.com/formatjs/babel-plugin-react-intl/issues/61)) ([8dbb1c3](https://github.com/formatjs/babel-plugin-react-intl/commit/8dbb1c3))
1111
-
1112
- ## [3.1.3](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.1.1...babel-plugin-react-intl@3.1.3) (2019-06-03)
1113
-
1114
- **Note:** Version bump only for package babel-plugin-react-intl
1115
-
1116
- ## [3.1.2](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.1.1...babel-plugin-react-intl@3.1.2) (2019-06-03)
1117
-
1118
- **Note:** Version bump only for package babel-plugin-react-intl
1119
-
1120
- ## [3.1.1](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.1.0...babel-plugin-react-intl@3.1.1) (2019-05-31)
1121
-
1122
- **Note:** Version bump only for package babel-plugin-react-intl
1123
-
1124
- # [3.1.0](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.0.2...babel-plugin-react-intl@3.1.0) (2019-05-28)
1125
-
1126
- ### Features
1127
-
1128
- - **babel-plugin-react-intl:** add `extractFromFormatMessageCall` option to opt-in extracting from `intl.formatMessage`, fixes [#37](https://github.com/formatjs/babel-plugin-react-intl/issues/37) ([#39](https://github.com/formatjs/babel-plugin-react-intl/issues/39)) ([5d0bb43](https://github.com/formatjs/babel-plugin-react-intl/commit/5d0bb43))
1129
-
1130
- ## [3.0.2](https://github.com/formatjs/babel-plugin-react-intl/compare/babel-plugin-react-intl@3.0.2...babel-plugin-react-intl@3.0.2) (2019-05-28)
1131
-
1132
- ### Bug Fixes
1133
-
1134
- - **relativePath:** path -> p ([a764377](https://github.com/formatjs/babel-plugin-react-intl/commit/a764377))
1135
-
1136
- ### Features
1137
-
1138
- - **babel-plugin-react-intl:** add `extractFromFormatMessageCall` option to opt-in extracting from `intl.formatMessage`, fixes [#37](https://github.com/formatjs/babel-plugin-react-intl/issues/37) ([#39](https://github.com/formatjs/babel-plugin-react-intl/issues/39)) ([5d0bb43](https://github.com/formatjs/babel-plugin-react-intl/commit/5d0bb43))
1139
- - **test:** Add test suite. ([a7b611a](https://github.com/formatjs/babel-plugin-react-intl/commit/a7b611a))