react-intl 6.0.5 → 6.0.6
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/BUILD +130 -0
- package/CHANGELOG.md +1384 -0
- package/LICENSE.md +0 -0
- package/README.md +0 -0
- package/example-sandboxes/rescripts/.rescriptsrc.js +28 -0
- package/example-sandboxes/rescripts/package-lock.json +18035 -0
- package/example-sandboxes/rescripts/package.json +35 -0
- package/example-sandboxes/rescripts/public/index.html +42 -0
- package/example-sandboxes/rescripts/src/App.tsx +16 -0
- package/example-sandboxes/rescripts/src/index.tsx +5 -0
- package/example-sandboxes/rescripts/src/react-app-env.d.ts +1 -0
- package/example-sandboxes/rescripts/src/styles.css +4 -0
- package/example-sandboxes/rescripts/tsconfig.json +20 -0
- package/example-sandboxes/strict-locale-type/.env +1 -0
- package/example-sandboxes/strict-locale-type/package-lock.json +14595 -0
- package/example-sandboxes/strict-locale-type/package.json +35 -0
- package/example-sandboxes/strict-locale-type/src/App.tsx +48 -0
- package/example-sandboxes/strict-locale-type/src/index.html +28 -0
- package/example-sandboxes/strict-locale-type/src/index.tsx +7 -0
- package/example-sandboxes/strict-locale-type/src/styles.css +4 -0
- package/example-sandboxes/strict-locale-type/tsconfig.json +7 -0
- package/example-sandboxes/strict-message-types/.env +1 -0
- package/example-sandboxes/strict-message-types/package-lock.json +14596 -0
- package/example-sandboxes/strict-message-types/package.json +35 -0
- package/example-sandboxes/strict-message-types/src/App.tsx +31 -0
- package/example-sandboxes/strict-message-types/src/index.html +28 -0
- package/example-sandboxes/strict-message-types/src/index.tsx +7 -0
- package/example-sandboxes/strict-message-types/src/styles.css +4 -0
- package/example-sandboxes/strict-message-types/tsconfig.json +7 -0
- package/examples/BUILD +70 -0
- package/examples/Bug2727.tsx +37 -0
- package/examples/HandleChange.tsx +48 -0
- package/examples/Hooks.tsx +126 -0
- package/examples/Injected.tsx +41 -0
- package/examples/Messages.tsx +82 -0
- package/examples/StaticTypeSafetyAndCodeSplitting/StaticTypeSafetyAndCodeSplitting.tsx +44 -0
- package/examples/StaticTypeSafetyAndCodeSplitting/en.json +3 -0
- package/examples/StaticTypeSafetyAndCodeSplitting/intlHelpers.tsx +39 -0
- package/examples/StaticTypeSafetyAndCodeSplitting/it.json +3 -0
- package/examples/TimeZone.tsx +44 -0
- package/examples/advanced/Advanced.tsx +68 -0
- package/examples/advanced/compiled-lang/en.json +77 -0
- package/examples/advanced/compiled-lang/fr.json +77 -0
- package/examples/index.html +20 -0
- package/examples/index.tsx +44 -0
- package/examples/package.json +20 -0
- package/index.ts +127 -0
- package/jest.config.js +27 -0
- package/package.json +12 -8
- package/src/components/createFormattedComponent.tsx +123 -0
- package/src/components/dateTimeRange.tsx +26 -0
- package/src/components/injectIntl.tsx +111 -0
- package/src/components/message.tsx +73 -0
- package/src/components/plural.tsx +45 -0
- package/src/components/provider.tsx +196 -0
- package/src/components/relative.tsx +192 -0
- package/src/components/useIntl.ts +10 -0
- package/src/types.ts +29 -0
- package/src/utils.ts +77 -0
- package/tests/functional/index.ts +18 -0
- package/tests/functional/support/build.ts +16 -0
- package/tests/functional/support/format.tsx +112 -0
- package/tests/perf/index.tsx +196 -0
- package/tests/setup.js +10 -0
- package/tests/unit/components/__snapshots__/displayName.tsx.snap +19 -0
- package/tests/unit/components/__snapshots__/message.tsx.snap +41 -0
- package/tests/unit/components/__snapshots__/relative.tsx.snap +11 -0
- package/tests/unit/components/__snapshots__/useIntl.tsx.snap +25 -0
- package/tests/unit/components/date.tsx +233 -0
- package/tests/unit/components/dateTimeRange.tsx +103 -0
- package/tests/unit/components/displayName.tsx +57 -0
- package/tests/unit/components/message.tsx +509 -0
- package/tests/unit/components/number.tsx +198 -0
- package/tests/unit/components/plural.tsx +116 -0
- package/tests/unit/components/provider.tsx +215 -0
- package/tests/unit/components/relative.tsx +263 -0
- package/tests/unit/components/time.tsx +242 -0
- package/tests/unit/components/useIntl.tsx +64 -0
- package/tests/unit/components/withIntl.tsx +66 -0
- package/tests/unit/react-intl.ts +88 -0
- package/tests/unit/testUtils.tsx +42 -0
- package/tsconfig.json +5 -0
- package/index.d.ts +0 -43
- package/index.d.ts.map +0 -1
- package/index.js +0 -51
- package/lib/index.d.ts +0 -43
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -26
- package/lib/src/components/createFormattedComponent.d.ts +0 -29
- package/lib/src/components/createFormattedComponent.d.ts.map +0 -1
- package/lib/src/components/createFormattedComponent.js +0 -62
- package/lib/src/components/dateTimeRange.d.ts +0 -11
- package/lib/src/components/dateTimeRange.d.ts.map +0 -1
- package/lib/src/components/dateTimeRange.js +0 -15
- package/lib/src/components/injectIntl.d.ts +0 -22
- package/lib/src/components/injectIntl.d.ts.map +0 -1
- package/lib/src/components/injectIntl.js +0 -29
- package/lib/src/components/message.d.ts +0 -12
- package/lib/src/components/message.d.ts.map +0 -1
- package/lib/src/components/message.js +0 -35
- package/lib/src/components/plural.d.ts +0 -15
- package/lib/src/components/plural.d.ts.map +0 -1
- package/lib/src/components/plural.js +0 -26
- package/lib/src/components/provider.d.ts +0 -35
- package/lib/src/components/provider.d.ts.map +0 -1
- package/lib/src/components/provider.js +0 -108
- package/lib/src/components/relative.d.ts +0 -12
- package/lib/src/components/relative.d.ts.map +0 -1
- package/lib/src/components/relative.js +0 -129
- package/lib/src/components/useIntl.d.ts +0 -3
- package/lib/src/components/useIntl.d.ts.map +0 -1
- package/lib/src/components/useIntl.js +0 -8
- package/lib/src/types.d.ts +0 -12
- package/lib/src/types.d.ts.map +0 -1
- package/lib/src/types.js +0 -1
- package/lib/src/utils.d.ts +0 -14
- package/lib/src/utils.d.ts.map +0 -1
- package/lib/src/utils.js +0 -43
- package/react-intl.iife.js +0 -7485
- package/src/components/createFormattedComponent.d.ts +0 -29
- package/src/components/createFormattedComponent.d.ts.map +0 -1
- package/src/components/createFormattedComponent.js +0 -69
- package/src/components/dateTimeRange.d.ts +0 -11
- package/src/components/dateTimeRange.d.ts.map +0 -1
- package/src/components/dateTimeRange.js +0 -17
- package/src/components/injectIntl.d.ts +0 -22
- package/src/components/injectIntl.d.ts.map +0 -1
- package/src/components/injectIntl.js +0 -33
- package/src/components/message.d.ts +0 -12
- package/src/components/message.d.ts.map +0 -1
- package/src/components/message.js +0 -37
- package/src/components/plural.d.ts +0 -15
- package/src/components/plural.d.ts.map +0 -1
- package/src/components/plural.js +0 -29
- package/src/components/provider.d.ts +0 -35
- package/src/components/provider.d.ts.map +0 -1
- package/src/components/provider.js +0 -112
- package/src/components/relative.d.ts +0 -12
- package/src/components/relative.d.ts.map +0 -1
- package/src/components/relative.js +0 -131
- package/src/components/useIntl.d.ts +0 -3
- package/src/components/useIntl.d.ts.map +0 -1
- package/src/components/useIntl.js +0 -12
- package/src/types.d.ts +0 -12
- package/src/types.d.ts.map +0 -1
- package/src/types.js +0 -2
- package/src/utils.d.ts +0 -14
- package/src/utils.d.ts.map +0 -1
- package/src/utils.js +0 -49
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,1384 @@
|
|
|
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
|
+
## [6.0.6](https://github.com/formatjs/formatjs/compare/react-intl@6.0.5...react-intl@6.0.6) (2022-08-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package react-intl
|
|
9
|
+
|
|
10
|
+
## [6.0.5](https://github.com/formatjs/formatjs/compare/react-intl@6.0.4...react-intl@6.0.5) (2022-07-04)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package react-intl
|
|
13
|
+
|
|
14
|
+
## [6.0.4](https://github.com/formatjs/formatjs/compare/react-intl@6.0.3...react-intl@6.0.4) (2022-06-06)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package react-intl
|
|
17
|
+
|
|
18
|
+
## [6.0.3](https://github.com/formatjs/formatjs/compare/react-intl@6.0.2...react-intl@6.0.3) (2022-05-24)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package react-intl
|
|
21
|
+
|
|
22
|
+
## [6.0.2](https://github.com/formatjs/formatjs/compare/react-intl@6.0.1...react-intl@6.0.2) (2022-05-23)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **react-intl:** bump minimum react version req to 16.6.0 ([cd21549](https://github.com/formatjs/formatjs/commit/cd21549fe22a64045a65caef2d394d30042a705b)), closes [#3612](https://github.com/formatjs/formatjs/issues/3612)
|
|
27
|
+
|
|
28
|
+
## [6.0.1](https://github.com/formatjs/formatjs/compare/react-intl@6.0.0...react-intl@6.0.1) (2022-05-19)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package react-intl
|
|
31
|
+
|
|
32
|
+
# [6.0.0](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.0) (2022-05-19)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* **react-intl:** fix type issue with react18, fix [#3550](https://github.com/formatjs/formatjs/issues/3550) ([2567b93](https://github.com/formatjs/formatjs/commit/2567b932c5d18b097a43842563046c20ce0c49f1))
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **@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)
|
|
41
|
+
|
|
42
|
+
### BREAKING CHANGES
|
|
43
|
+
|
|
44
|
+
* **@formatjs/cli:** we push @vue/compiler-core out to `peerDependencies` so if u use vue u should pull this in manuallywip on packaging cli.
|
|
45
|
+
|
|
46
|
+
## [5.25.1](https://github.com/formatjs/formatjs/compare/react-intl@5.25.0...react-intl@5.25.1) (2022-04-27)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package react-intl
|
|
49
|
+
|
|
50
|
+
# [5.25.0](https://github.com/formatjs/formatjs/compare/react-intl@5.24.8...react-intl@5.25.0) (2022-04-17)
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **@formatjs/intl:** change constrains of react and react-dom versions to allow version 18 ([8808a95](https://github.com/formatjs/formatjs/commit/8808a95c3b377ee9b4e765ecfce74b45fd1c7700)), closes [#3526](https://github.com/formatjs/formatjs/issues/3526) [#3510](https://github.com/formatjs/formatjs/issues/3510)
|
|
55
|
+
* **react-intl:** add onWarn ([#3506](https://github.com/formatjs/formatjs/issues/3506)) ([09273e3](https://github.com/formatjs/formatjs/commit/09273e3b183252bee0dbcbcb3066bb77d79c4de1))
|
|
56
|
+
|
|
57
|
+
## [5.24.8](https://github.com/formatjs/formatjs/compare/react-intl@5.24.7...react-intl@5.24.8) (2022-03-26)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package react-intl
|
|
60
|
+
|
|
61
|
+
## [5.24.7](https://github.com/formatjs/formatjs/compare/react-intl@5.24.6...react-intl@5.24.7) (2022-03-13)
|
|
62
|
+
|
|
63
|
+
**Note:** Version bump only for package react-intl
|
|
64
|
+
|
|
65
|
+
## [5.24.6](https://github.com/formatjs/formatjs/compare/react-intl@5.24.5...react-intl@5.24.6) (2022-02-06)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package react-intl
|
|
68
|
+
|
|
69
|
+
## [5.24.5](https://github.com/formatjs/formatjs/compare/react-intl@5.24.4...react-intl@5.24.5) (2022-02-06)
|
|
70
|
+
|
|
71
|
+
### Bug Fixes
|
|
72
|
+
|
|
73
|
+
* **react-intl:** createIntl now correctly sets fallbackOnEmptyString ([#3396](https://github.com/formatjs/formatjs/issues/3396)) ([6f7aa1d](https://github.com/formatjs/formatjs/commit/6f7aa1df37a2fdd12e0b55486765caf47544c770))
|
|
74
|
+
|
|
75
|
+
## [5.24.4](https://github.com/formatjs/formatjs/compare/react-intl@5.24.3...react-intl@5.24.4) (2022-01-24)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package react-intl
|
|
78
|
+
|
|
79
|
+
## [5.24.3](https://github.com/formatjs/formatjs/compare/react-intl@5.24.2...react-intl@5.24.3) (2022-01-14)
|
|
80
|
+
|
|
81
|
+
**Note:** Version bump only for package react-intl
|
|
82
|
+
|
|
83
|
+
## [5.24.2](https://github.com/formatjs/formatjs/compare/react-intl@5.24.1...react-intl@5.24.2) (2022-01-09)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package react-intl
|
|
86
|
+
|
|
87
|
+
## [5.24.1](https://github.com/formatjs/formatjs/compare/react-intl@5.24.0...react-intl@5.24.1) (2022-01-03)
|
|
88
|
+
|
|
89
|
+
**Note:** Version bump only for package react-intl
|
|
90
|
+
|
|
91
|
+
# [5.24.0](https://github.com/formatjs/formatjs/compare/react-intl@5.23.0...react-intl@5.24.0) (2021-12-20)
|
|
92
|
+
|
|
93
|
+
### Features
|
|
94
|
+
|
|
95
|
+
* **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))
|
|
96
|
+
|
|
97
|
+
# [5.23.0](https://github.com/formatjs/formatjs/compare/react-intl@5.22.0...react-intl@5.23.0) (2021-12-01)
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
* support TS 4.5, fix [#3276](https://github.com/formatjs/formatjs/issues/3276) ([31e0699](https://github.com/formatjs/formatjs/commit/31e069972aa16e14532531b9e597cff73a3f4897))
|
|
102
|
+
|
|
103
|
+
# [5.22.0](https://github.com/formatjs/formatjs/compare/react-intl@5.21.2...react-intl@5.22.0) (2021-11-23)
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
|
|
107
|
+
* **react-intl:** allow setting a stricter type for message IDs ([#3242](https://github.com/formatjs/formatjs/issues/3242)) ([b7cac44](https://github.com/formatjs/formatjs/commit/b7cac443a2ecf791004138699959d46ddc3d4808))
|
|
108
|
+
|
|
109
|
+
## [5.21.2](https://github.com/formatjs/formatjs/compare/react-intl@5.21.1...react-intl@5.21.2) (2021-11-14)
|
|
110
|
+
|
|
111
|
+
**Note:** Version bump only for package react-intl
|
|
112
|
+
|
|
113
|
+
## [5.21.1](https://github.com/formatjs/formatjs/compare/react-intl@5.21.0...react-intl@5.21.1) (2021-11-09)
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
* **react-intl:** named esm exports ([#3261](https://github.com/formatjs/formatjs/issues/3261)) ([05edd2c](https://github.com/formatjs/formatjs/commit/05edd2cf1eefd5311280e6f64e80d6e078808b7d))
|
|
118
|
+
|
|
119
|
+
# [5.21.0](https://github.com/formatjs/formatjs/compare/react-intl@5.20.13...react-intl@5.21.0) (2021-10-22)
|
|
120
|
+
|
|
121
|
+
### Features
|
|
122
|
+
|
|
123
|
+
* **@formatjs/intl:** add fallbackOnEmptyString option ([#3201](https://github.com/formatjs/formatjs/issues/3201)) ([5c67c28](https://github.com/formatjs/formatjs/commit/5c67c28b60aa361e076bb098a6d081c3f8a1fbd2))
|
|
124
|
+
* **react-intl:** upgrade to TS 4.4 ([b7f79b4](https://github.com/formatjs/formatjs/commit/b7f79b4a5567f76e3026abd90f3a2b3d894c17c0))
|
|
125
|
+
|
|
126
|
+
## [5.20.13](https://github.com/formatjs/formatjs/compare/react-intl@5.20.12...react-intl@5.20.13) (2021-10-17)
|
|
127
|
+
|
|
128
|
+
### Bug Fixes
|
|
129
|
+
|
|
130
|
+
* **react-intl:** fix iife dist file, fix [#3188](https://github.com/formatjs/formatjs/issues/3188) ([a0767b6](https://github.com/formatjs/formatjs/commit/a0767b6a54c5596a25c45cec830611b1a82608f5))
|
|
131
|
+
|
|
132
|
+
## [5.20.12](https://github.com/formatjs/formatjs/compare/react-intl@5.20.11...react-intl@5.20.12) (2021-09-27)
|
|
133
|
+
|
|
134
|
+
### Bug Fixes
|
|
135
|
+
|
|
136
|
+
* **react-intl:** use indexOf instead of includes ([aed19a2](https://github.com/formatjs/formatjs/commit/aed19a2719b8c28dbe064482e54da70f8aae1160))
|
|
137
|
+
|
|
138
|
+
## [5.20.11](https://github.com/formatjs/formatjs/compare/react-intl@5.20.10...react-intl@5.20.11) (2021-09-26)
|
|
139
|
+
|
|
140
|
+
### Bug Fixes
|
|
141
|
+
|
|
142
|
+
* **react-intl:** allow @types/react 16 as well ([7a8cef1](https://github.com/formatjs/formatjs/commit/7a8cef142a20c96e847ac5c10efcd88dd032a074)), closes [#3138](https://github.com/formatjs/formatjs/issues/3138)
|
|
143
|
+
|
|
144
|
+
## [5.20.10](https://github.com/formatjs/formatjs/compare/react-intl@5.20.9...react-intl@5.20.10) (2021-08-21)
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
* **react-intl:** fix missing deps, fix [#3122](https://github.com/formatjs/formatjs/issues/3122) ([f3b9c0f](https://github.com/formatjs/formatjs/commit/f3b9c0f2a8e3bc5c0698df6dc29b2d6eaa0a2889))
|
|
149
|
+
|
|
150
|
+
## [5.20.9](https://github.com/formatjs/formatjs/compare/react-intl@5.20.8...react-intl@5.20.9) (2021-08-16)
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
* **react-intl:** fix children type of FormattedMessage, fix [#3117](https://github.com/formatjs/formatjs/issues/3117) ([567a131](https://github.com/formatjs/formatjs/commit/567a131a910e0bc2584cc031235b8987d91d815a))
|
|
155
|
+
|
|
156
|
+
## [5.20.8](https://github.com/formatjs/formatjs/compare/react-intl@5.20.7...react-intl@5.20.8) (2021-08-15)
|
|
157
|
+
|
|
158
|
+
### Bug Fixes
|
|
159
|
+
|
|
160
|
+
* **react-intl:** add generic constraint to defineMessage for better intellisense experience ([#3111](https://github.com/formatjs/formatjs/issues/3111)) ([9eae9cd](https://github.com/formatjs/formatjs/commit/9eae9cdc12e2f073767d89e18d03f70917d7d1b0))
|
|
161
|
+
|
|
162
|
+
## [5.20.7](https://github.com/formatjs/formatjs/compare/react-intl@5.20.6...react-intl@5.20.7) (2021-08-06)
|
|
163
|
+
|
|
164
|
+
**Note:** Version bump only for package react-intl
|
|
165
|
+
|
|
166
|
+
## [5.20.6](https://github.com/formatjs/formatjs/compare/react-intl@5.20.5...react-intl@5.20.6) (2021-07-24)
|
|
167
|
+
|
|
168
|
+
**Note:** Version bump only for package react-intl
|
|
169
|
+
|
|
170
|
+
## [5.20.5](https://github.com/formatjs/formatjs/compare/react-intl@5.20.4...react-intl@5.20.5) (2021-07-23)
|
|
171
|
+
|
|
172
|
+
**Note:** Version bump only for package react-intl
|
|
173
|
+
|
|
174
|
+
## [5.20.4](https://github.com/formatjs/formatjs/compare/react-intl@5.20.3...react-intl@5.20.4) (2021-06-26)
|
|
175
|
+
|
|
176
|
+
**Note:** Version bump only for package react-intl
|
|
177
|
+
|
|
178
|
+
## [5.20.3](https://github.com/formatjs/formatjs/compare/react-intl@5.20.2...react-intl@5.20.3) (2021-06-21)
|
|
179
|
+
|
|
180
|
+
**Note:** Version bump only for package react-intl
|
|
181
|
+
|
|
182
|
+
## [5.20.2](https://github.com/formatjs/formatjs/compare/react-intl@5.20.1...react-intl@5.20.2) (2021-06-09)
|
|
183
|
+
|
|
184
|
+
**Note:** Version bump only for package react-intl
|
|
185
|
+
|
|
186
|
+
## [5.20.1](https://github.com/formatjs/formatjs/compare/react-intl@5.20.0...react-intl@5.20.1) (2021-06-05)
|
|
187
|
+
|
|
188
|
+
**Note:** Version bump only for package react-intl
|
|
189
|
+
|
|
190
|
+
# [5.20.0](https://github.com/formatjs/formatjs/compare/react-intl@5.19.0...react-intl@5.20.0) (2021-06-05)
|
|
191
|
+
|
|
192
|
+
### Features
|
|
193
|
+
|
|
194
|
+
* **@formatjs/intl:** allow formatList & FormattedList to take in readonly array ([#2950](https://github.com/formatjs/formatjs/issues/2950)) ([1d7896c](https://github.com/formatjs/formatjs/commit/1d7896c6d2aff31e215fae07f16e7509484a8ba6))
|
|
195
|
+
|
|
196
|
+
# [5.19.0](https://github.com/formatjs/formatjs/compare/react-intl@5.18.3...react-intl@5.19.0) (2021-06-04)
|
|
197
|
+
|
|
198
|
+
### Features
|
|
199
|
+
|
|
200
|
+
* **@formatjs/ts-transformer:** support ts-jest 27, fix [#2942](https://github.com/formatjs/formatjs/issues/2942) ([7d994e4](https://github.com/formatjs/formatjs/commit/7d994e485f0e615f8e08fe3befb78d4416edbaaa))
|
|
201
|
+
|
|
202
|
+
## [5.18.3](https://github.com/formatjs/formatjs/compare/react-intl@5.18.2...react-intl@5.18.3) (2021-06-02)
|
|
203
|
+
|
|
204
|
+
### Bug Fixes
|
|
205
|
+
|
|
206
|
+
* **react-intl:** make React external to react-intl, fix [#2939](https://github.com/formatjs/formatjs/issues/2939) ([f744ccc](https://github.com/formatjs/formatjs/commit/f744ccc39bc7925a8d9764ef3e644333b28ee4e7))
|
|
207
|
+
|
|
208
|
+
## [5.18.2](https://github.com/formatjs/formatjs/compare/react-intl@5.18.1...react-intl@5.18.2) (2021-06-01)
|
|
209
|
+
|
|
210
|
+
**Note:** Version bump only for package react-intl
|
|
211
|
+
|
|
212
|
+
## [5.18.1](https://github.com/formatjs/formatjs/compare/react-intl@5.18.0...react-intl@5.18.1) (2021-05-23)
|
|
213
|
+
|
|
214
|
+
**Note:** Version bump only for package react-intl
|
|
215
|
+
|
|
216
|
+
# [5.18.0](https://github.com/formatjs/formatjs/compare/react-intl@5.17.7...react-intl@5.18.0) (2021-05-20)
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
|
|
220
|
+
* **react-intl:** add FormattedListParts, fix [#2901](https://github.com/formatjs/formatjs/issues/2901) ([eb9f193](https://github.com/formatjs/formatjs/commit/eb9f193e084328f5471b183ec36eadba0edf3cf6))
|
|
221
|
+
|
|
222
|
+
## [5.17.7](https://github.com/formatjs/formatjs/compare/react-intl@5.17.6...react-intl@5.17.7) (2021-05-17)
|
|
223
|
+
|
|
224
|
+
**Note:** Version bump only for package react-intl
|
|
225
|
+
|
|
226
|
+
## [5.17.6](https://github.com/formatjs/formatjs/compare/react-intl@5.17.5...react-intl@5.17.6) (2021-05-14)
|
|
227
|
+
|
|
228
|
+
**Note:** Version bump only for package react-intl
|
|
229
|
+
|
|
230
|
+
## [5.17.5](https://github.com/formatjs/formatjs/compare/react-intl@5.17.4...react-intl@5.17.5) (2021-05-10)
|
|
231
|
+
|
|
232
|
+
**Note:** Version bump only for package react-intl
|
|
233
|
+
|
|
234
|
+
## [5.17.4](https://github.com/formatjs/formatjs/compare/react-intl@5.17.3...react-intl@5.17.4) (2021-05-02)
|
|
235
|
+
|
|
236
|
+
**Note:** Version bump only for package react-intl
|
|
237
|
+
|
|
238
|
+
## [5.17.3](https://github.com/formatjs/formatjs/compare/react-intl@5.17.2...react-intl@5.17.3) (2021-05-02)
|
|
239
|
+
|
|
240
|
+
**Note:** Version bump only for package react-intl
|
|
241
|
+
|
|
242
|
+
## [5.17.2](https://github.com/formatjs/formatjs/compare/react-intl@5.17.1...react-intl@5.17.2) (2021-04-29)
|
|
243
|
+
|
|
244
|
+
### Bug Fixes
|
|
245
|
+
|
|
246
|
+
* **react-intl:** update react provider to match GetDerivedStateFromProps declaration. ([#2852](https://github.com/formatjs/formatjs/issues/2852)) ([7248d37](https://github.com/formatjs/formatjs/commit/7248d37af8b26ace9d94c15dd305bd5aab4d13dd)), closes [/github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/v16/index.d.ts#L646](https://github.com//github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/v16/index.d.ts/issues/L646)
|
|
247
|
+
|
|
248
|
+
## [5.17.1](https://github.com/formatjs/formatjs/compare/react-intl@5.17.0...react-intl@5.17.1) (2021-04-26)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package react-intl
|
|
251
|
+
|
|
252
|
+
# [5.17.0](https://github.com/formatjs/formatjs/compare/react-intl@5.16.2...react-intl@5.17.0) (2021-04-26)
|
|
253
|
+
|
|
254
|
+
### Features
|
|
255
|
+
|
|
256
|
+
* **react-intl:** expose ESM & IIFE versions ([06409a7](https://github.com/formatjs/formatjs/commit/06409a77e41e1b75eea39d18e4d4f3b099f14bc1))
|
|
257
|
+
|
|
258
|
+
## [5.16.2](https://github.com/formatjs/formatjs/compare/react-intl@5.16.1...react-intl@5.16.2) (2021-04-26)
|
|
259
|
+
|
|
260
|
+
**Note:** Version bump only for package react-intl
|
|
261
|
+
|
|
262
|
+
## [5.16.1](https://github.com/formatjs/formatjs/compare/react-intl@5.16.0...react-intl@5.16.1) (2021-04-26)
|
|
263
|
+
|
|
264
|
+
**Note:** Version bump only for package react-intl
|
|
265
|
+
|
|
266
|
+
# [5.16.0](https://github.com/formatjs/formatjs/compare/react-intl@5.15.8...react-intl@5.16.0) (2021-04-21)
|
|
267
|
+
|
|
268
|
+
### Features
|
|
269
|
+
|
|
270
|
+
* **react-intl:** rename OptionalIntlConfig to IntlConfig and IntlConfig to ResolvedIntlConfig ([779a957](https://github.com/formatjs/formatjs/commit/779a957b190dc8ab6cc0549e11acd43bdeba4b82))
|
|
271
|
+
|
|
272
|
+
## [5.15.8](https://github.com/formatjs/formatjs/compare/react-intl@5.15.7...react-intl@5.15.8) (2021-04-12)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package react-intl
|
|
275
|
+
|
|
276
|
+
## [5.15.7](https://github.com/formatjs/formatjs/compare/react-intl@5.15.6...react-intl@5.15.7) (2021-04-04)
|
|
277
|
+
|
|
278
|
+
**Note:** Version bump only for package react-intl
|
|
279
|
+
|
|
280
|
+
## [5.15.6](https://github.com/formatjs/formatjs/compare/react-intl@5.15.5...react-intl@5.15.6) (2021-04-03)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package react-intl
|
|
283
|
+
|
|
284
|
+
## [5.15.5](https://github.com/formatjs/formatjs/compare/react-intl@5.15.4...react-intl@5.15.5) (2021-03-30)
|
|
285
|
+
|
|
286
|
+
**Note:** Version bump only for package react-intl
|
|
287
|
+
|
|
288
|
+
## [5.15.4](https://github.com/formatjs/formatjs/compare/react-intl@5.15.3...react-intl@5.15.4) (2021-03-30)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package react-intl
|
|
291
|
+
|
|
292
|
+
## [5.15.3](https://github.com/formatjs/formatjs/compare/react-intl@5.15.2...react-intl@5.15.3) (2021-03-28)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package react-intl
|
|
295
|
+
|
|
296
|
+
## [5.15.2](https://github.com/formatjs/formatjs/compare/react-intl@5.15.1...react-intl@5.15.2) (2021-03-28)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package react-intl
|
|
299
|
+
|
|
300
|
+
## [5.15.1](https://github.com/formatjs/formatjs/compare/react-intl@5.15.0...react-intl@5.15.1) (2021-03-27)
|
|
301
|
+
|
|
302
|
+
### Bug Fixes
|
|
303
|
+
|
|
304
|
+
* **react-intl:** fix missing dep ([cb97f8a](https://github.com/formatjs/formatjs/commit/cb97f8a83c46f5cd2682dad2aa96024c2b125f8d))
|
|
305
|
+
|
|
306
|
+
# [5.15.0](https://github.com/formatjs/formatjs/compare/react-intl@5.14.1...react-intl@5.15.0) (2021-03-27)
|
|
307
|
+
|
|
308
|
+
### Features
|
|
309
|
+
|
|
310
|
+
* **react-intl:** switch parser to @formatjs/icu-messageformat-parser (6x faster) ([c3c211f](https://github.com/formatjs/formatjs/commit/c3c211fde60513d84e915fd36dd715999575cd00))
|
|
311
|
+
|
|
312
|
+
## [5.14.1](https://github.com/formatjs/formatjs/compare/react-intl@5.14.0...react-intl@5.14.1) (2021-03-26)
|
|
313
|
+
|
|
314
|
+
### Bug Fixes
|
|
315
|
+
|
|
316
|
+
* **react-intl:** add back top level displayName, fix [#2751](https://github.com/formatjs/formatjs/issues/2751) ([613b746](https://github.com/formatjs/formatjs/commit/613b746e5194ae92d28310283c01815521fe4839))
|
|
317
|
+
|
|
318
|
+
# [5.14.0](https://github.com/formatjs/formatjs/compare/react-intl@5.13.5...react-intl@5.14.0) (2021-03-26)
|
|
319
|
+
|
|
320
|
+
### Bug Fixes
|
|
321
|
+
|
|
322
|
+
* **react-intl:** fix displayName in FormattedMessage, fix [#2751](https://github.com/formatjs/formatjs/issues/2751) ([d185ef3](https://github.com/formatjs/formatjs/commit/d185ef37fd5e428de03c0fda726ced2ae9595574))
|
|
323
|
+
|
|
324
|
+
### Features
|
|
325
|
+
|
|
326
|
+
* **faster-messageformat-parser:** add the new ICU message format parser ([#2732](https://github.com/formatjs/formatjs/issues/2732)) ([8fa6a6e](https://github.com/formatjs/formatjs/commit/8fa6a6e73732001638ef3512ec73461d5543ba8c)), closes [#xB7](https://github.com/formatjs/formatjs/issues/xB7) [#xC0](https://github.com/formatjs/formatjs/issues/xC0) [-#xD6](https://github.com/-/issues/xD6) [#xD8](https://github.com/formatjs/formatjs/issues/xD8) [-#xF6](https://github.com/-/issues/xF6) [#xF8](https://github.com/formatjs/formatjs/issues/xF8) [-#x37](https://github.com/-/issues/x37) [#x37](https://github.com/formatjs/formatjs/issues/x37) [F-#x1](https://github.com/F-/issues/x1) [#x200](https://github.com/formatjs/formatjs/issues/x200) [C-#x200](https://github.com/C-/issues/x200) [#x203](https://github.com/formatjs/formatjs/issues/x203) [F-#x2040](https://github.com/F-/issues/x2040) [#x2070](https://github.com/formatjs/formatjs/issues/x2070) [-#x218](https://github.com/-/issues/x218) [#x2C00](https://github.com/formatjs/formatjs/issues/x2C00) [-#x2](https://github.com/-/issues/x2) [#x3001](https://github.com/formatjs/formatjs/issues/x3001) [-#xD7](https://github.com/-/issues/xD7) [#xF900](https://github.com/formatjs/formatjs/issues/xF900) [#xFDF0](https://github.com/formatjs/formatjs/issues/xFDF0) [#x10000](https://github.com/formatjs/formatjs/issues/x10000)
|
|
327
|
+
|
|
328
|
+
## [5.13.5](https://github.com/formatjs/formatjs/compare/react-intl@5.13.4...react-intl@5.13.5) (2021-03-19)
|
|
329
|
+
|
|
330
|
+
### Bug Fixes
|
|
331
|
+
|
|
332
|
+
* **react-intl:** fix FormattedRelativeTime update after unmount, fix [#2727](https://github.com/formatjs/formatjs/issues/2727) ([bdc0586](https://github.com/formatjs/formatjs/commit/bdc0586e677fc0cfc962c9994bfb4de2821a1705))
|
|
333
|
+
|
|
334
|
+
## [5.13.4](https://github.com/formatjs/formatjs/compare/react-intl@5.13.3...react-intl@5.13.4) (2021-03-17)
|
|
335
|
+
|
|
336
|
+
### Bug Fixes
|
|
337
|
+
|
|
338
|
+
* **react-intl:** trim down dependencies thanks to TS4.2 ([be2a3cf](https://github.com/formatjs/formatjs/commit/be2a3cf0128d9dece9508f8523dc9783b682624c))
|
|
339
|
+
|
|
340
|
+
## [5.13.3](https://github.com/formatjs/formatjs/compare/react-intl@5.13.2...react-intl@5.13.3) (2021-03-15)
|
|
341
|
+
|
|
342
|
+
**Note:** Version bump only for package react-intl
|
|
343
|
+
|
|
344
|
+
## [5.13.2](https://github.com/formatjs/formatjs/compare/react-intl@5.13.1...react-intl@5.13.2) (2021-03-01)
|
|
345
|
+
|
|
346
|
+
### Bug Fixes
|
|
347
|
+
|
|
348
|
+
* **react-intl:** remove shallow-equal dep, change FormattedMessage for functional component ([ab4959f](https://github.com/formatjs/formatjs/commit/ab4959fdc0ace628d7668a9793489be9d6cceac3))
|
|
349
|
+
|
|
350
|
+
## [5.13.1](https://github.com/formatjs/formatjs/compare/react-intl@5.13.0...react-intl@5.13.1) (2021-02-25)
|
|
351
|
+
|
|
352
|
+
### Bug Fixes
|
|
353
|
+
|
|
354
|
+
* bump tslib version dep ([37577d2](https://github.com/formatjs/formatjs/commit/37577d22bf28d23de1d8013ba0047cf221ad8840)), closes [#2645](https://github.com/formatjs/formatjs/issues/2645)
|
|
355
|
+
|
|
356
|
+
# [5.13.0](https://github.com/formatjs/formatjs/compare/react-intl@5.12.5...react-intl@5.13.0) (2021-02-25)
|
|
357
|
+
|
|
358
|
+
### Features
|
|
359
|
+
|
|
360
|
+
* **react-intl:** support TS4.2 ([78b8766](https://github.com/formatjs/formatjs/commit/78b8766cfca3363b477bd9d0b01c8d4b36a7c1cf))
|
|
361
|
+
|
|
362
|
+
## [5.12.5](https://github.com/formatjs/formatjs/compare/react-intl@5.12.4...react-intl@5.12.5) (2021-02-22)
|
|
363
|
+
|
|
364
|
+
### Bug Fixes
|
|
365
|
+
|
|
366
|
+
* **@formatjs/intl-displaynames:** fix script canonicalization, fix [#2622](https://github.com/formatjs/formatjs/issues/2622) ([be07282](https://github.com/formatjs/formatjs/commit/be072825c3d8f5171b3a2aed8f382f6fde6b12ca))
|
|
367
|
+
|
|
368
|
+
## [5.12.4](https://github.com/formatjs/formatjs/compare/react-intl@5.12.3...react-intl@5.12.4) (2021-02-21)
|
|
369
|
+
|
|
370
|
+
**Note:** Version bump only for package react-intl
|
|
371
|
+
|
|
372
|
+
## [5.12.3](https://github.com/formatjs/formatjs/compare/react-intl@5.12.2...react-intl@5.12.3) (2021-02-13)
|
|
373
|
+
|
|
374
|
+
**Note:** Version bump only for package react-intl
|
|
375
|
+
|
|
376
|
+
## [5.12.2](https://github.com/formatjs/formatjs/compare/react-intl@5.12.1...react-intl@5.12.2) (2021-02-09)
|
|
377
|
+
|
|
378
|
+
**Note:** Version bump only for package react-intl
|
|
379
|
+
|
|
380
|
+
## [5.12.1](https://github.com/formatjs/formatjs/compare/react-intl@5.12.0...react-intl@5.12.1) (2021-02-04)
|
|
381
|
+
|
|
382
|
+
### Bug Fixes
|
|
383
|
+
|
|
384
|
+
* **react-intl:** re-export MessageFormatElement, fix [#2559](https://github.com/formatjs/formatjs/issues/2559) ([365e104](https://github.com/formatjs/formatjs/commit/365e104b34b5b95f7bbc008711eeeb3f3d31f442))
|
|
385
|
+
|
|
386
|
+
# [5.12.0](https://github.com/formatjs/formatjs/compare/react-intl@5.10.19...react-intl@5.12.0) (2021-02-02)
|
|
387
|
+
|
|
388
|
+
### Bug Fixes
|
|
389
|
+
|
|
390
|
+
* **react-intl:** pass opts to format message, fix [#2538](https://github.com/formatjs/formatjs/issues/2538) ([f7f4535](https://github.com/formatjs/formatjs/commit/f7f4535176c5f9ecd75ff08dd6c4ca6c5a3e97c2))
|
|
391
|
+
|
|
392
|
+
### Features
|
|
393
|
+
|
|
394
|
+
* **react-intl:** allow FormattedMessage to pass in ignoreTag, fix [#2538](https://github.com/formatjs/formatjs/issues/2538) ([a615cf9](https://github.com/formatjs/formatjs/commit/a615cf92bc947274e27bb75233bc3919d13b097c))
|
|
395
|
+
|
|
396
|
+
# [5.11.0](https://github.com/formatjs/formatjs/compare/react-intl@5.10.19...react-intl@5.11.0) (2021-01-29)
|
|
397
|
+
|
|
398
|
+
### Features
|
|
399
|
+
|
|
400
|
+
* **react-intl:** allow FormattedMessage to pass in ignoreTag, fix [#2538](https://github.com/formatjs/formatjs/issues/2538) ([15d4854](https://github.com/formatjs/formatjs/commit/15d4854b4fffef387102905f5a159910860d8e15))
|
|
401
|
+
|
|
402
|
+
## [5.10.19](https://github.com/formatjs/formatjs/compare/react-intl@5.10.18...react-intl@5.10.19) (2021-01-27)
|
|
403
|
+
|
|
404
|
+
**Note:** Version bump only for package react-intl
|
|
405
|
+
|
|
406
|
+
## [5.10.18](https://github.com/formatjs/formatjs/compare/react-intl@5.10.17...react-intl@5.10.18) (2021-01-26)
|
|
407
|
+
|
|
408
|
+
**Note:** Version bump only for package react-intl
|
|
409
|
+
|
|
410
|
+
## [5.10.17](https://github.com/formatjs/formatjs/compare/react-intl@5.10.16...react-intl@5.10.17) (2021-01-25)
|
|
411
|
+
|
|
412
|
+
**Note:** Version bump only for package react-intl
|
|
413
|
+
|
|
414
|
+
## [5.10.16](https://github.com/formatjs/formatjs/compare/react-intl@5.10.15...react-intl@5.10.16) (2021-01-13)
|
|
415
|
+
|
|
416
|
+
**Note:** Version bump only for package react-intl
|
|
417
|
+
|
|
418
|
+
## [5.10.15](https://github.com/formatjs/formatjs/compare/react-intl@5.10.14...react-intl@5.10.15) (2021-01-12)
|
|
419
|
+
|
|
420
|
+
**Note:** Version bump only for package react-intl
|
|
421
|
+
|
|
422
|
+
## [5.10.14](https://github.com/formatjs/formatjs/compare/react-intl@5.10.13...react-intl@5.10.14) (2021-01-08)
|
|
423
|
+
|
|
424
|
+
**Note:** Version bump only for package react-intl
|
|
425
|
+
|
|
426
|
+
## [5.10.13](https://github.com/formatjs/formatjs/compare/react-intl@5.10.12...react-intl@5.10.13) (2021-01-06)
|
|
427
|
+
|
|
428
|
+
**Note:** Version bump only for package react-intl
|
|
429
|
+
|
|
430
|
+
## [5.10.12](https://github.com/formatjs/formatjs/compare/react-intl@5.10.11...react-intl@5.10.12) (2021-01-05)
|
|
431
|
+
|
|
432
|
+
**Note:** Version bump only for package react-intl
|
|
433
|
+
|
|
434
|
+
## [5.10.11](https://github.com/formatjs/formatjs/compare/react-intl@5.10.10...react-intl@5.10.11) (2021-01-02)
|
|
435
|
+
|
|
436
|
+
**Note:** Version bump only for package react-intl
|
|
437
|
+
|
|
438
|
+
## [5.10.10](https://github.com/formatjs/formatjs/compare/react-intl@5.10.9...react-intl@5.10.10) (2021-01-01)
|
|
439
|
+
|
|
440
|
+
**Note:** Version bump only for package react-intl
|
|
441
|
+
|
|
442
|
+
## [5.10.9](https://github.com/formatjs/formatjs/compare/react-intl@5.10.8...react-intl@5.10.9) (2020-12-18)
|
|
443
|
+
|
|
444
|
+
**Note:** Version bump only for package react-intl
|
|
445
|
+
|
|
446
|
+
## [5.10.8](https://github.com/formatjs/formatjs/compare/react-intl@5.10.7...react-intl@5.10.8) (2020-12-17)
|
|
447
|
+
|
|
448
|
+
**Note:** Version bump only for package react-intl
|
|
449
|
+
|
|
450
|
+
## [5.10.7](https://github.com/formatjs/formatjs/compare/react-intl@5.10.6...react-intl@5.10.7) (2020-12-16)
|
|
451
|
+
|
|
452
|
+
**Note:** Version bump only for package react-intl
|
|
453
|
+
|
|
454
|
+
## [5.10.6](https://github.com/formatjs/formatjs/compare/react-intl@5.10.5...react-intl@5.10.6) (2020-11-27)
|
|
455
|
+
|
|
456
|
+
**Note:** Version bump only for package react-intl
|
|
457
|
+
|
|
458
|
+
## [5.10.5](https://github.com/formatjs/formatjs/compare/react-intl@5.10.4...react-intl@5.10.5) (2020-11-26)
|
|
459
|
+
|
|
460
|
+
**Note:** Version bump only for package react-intl
|
|
461
|
+
|
|
462
|
+
## [5.10.4](https://github.com/formatjs/formatjs/compare/react-intl@5.10.3...react-intl@5.10.4) (2020-11-21)
|
|
463
|
+
|
|
464
|
+
### Bug Fixes
|
|
465
|
+
|
|
466
|
+
* **react-intl:** only warn about non-AST messages during initialization, fix [#2258](https://github.com/formatjs/formatjs/issues/2258) ([b1e1fd0](https://github.com/formatjs/formatjs/commit/b1e1fd0734aaa0340f7d43cfe86566ba639369e3))
|
|
467
|
+
|
|
468
|
+
## [5.10.3](https://github.com/formatjs/formatjs/compare/react-intl@5.10.2...react-intl@5.10.3) (2020-11-20)
|
|
469
|
+
|
|
470
|
+
**Note:** Version bump only for package react-intl
|
|
471
|
+
|
|
472
|
+
## [5.10.2](https://github.com/formatjs/formatjs/compare/react-intl@5.10.1...react-intl@5.10.2) (2020-11-19)
|
|
473
|
+
|
|
474
|
+
### Bug Fixes
|
|
475
|
+
|
|
476
|
+
* **react-intl:** fix type decl for createIntl, fix [#2320](https://github.com/formatjs/formatjs/issues/2320) ([feae85b](https://github.com/formatjs/formatjs/commit/feae85bf083d9e2ade72f6464cef3a8b4d30ae10))
|
|
477
|
+
|
|
478
|
+
## [5.10.1](https://github.com/formatjs/formatjs/compare/react-intl@5.10.0...react-intl@5.10.1) (2020-11-12)
|
|
479
|
+
|
|
480
|
+
**Note:** Version bump only for package react-intl
|
|
481
|
+
|
|
482
|
+
# [5.10.0](https://github.com/formatjs/formatjs/compare/react-intl@5.9.4...react-intl@5.10.0) (2020-11-10)
|
|
483
|
+
|
|
484
|
+
### Bug Fixes
|
|
485
|
+
|
|
486
|
+
* **react-intl:** set typescript dep as optional ([678d290](https://github.com/formatjs/formatjs/commit/678d29057066d53345799a6f948db388c0e6266c))
|
|
487
|
+
|
|
488
|
+
### Features
|
|
489
|
+
|
|
490
|
+
* **react-intl:** support react 17 ([#2301](https://github.com/formatjs/formatjs/issues/2301)) ([782eabe](https://github.com/formatjs/formatjs/commit/782eabe9754a377a677888433c23b71c8971f014)), closes [#2298](https://github.com/formatjs/formatjs/issues/2298)
|
|
491
|
+
|
|
492
|
+
## [5.9.4](https://github.com/formatjs/formatjs/compare/react-intl@5.9.3...react-intl@5.9.4) (2020-11-09)
|
|
493
|
+
|
|
494
|
+
**Note:** Version bump only for package react-intl
|
|
495
|
+
|
|
496
|
+
## [5.9.3](https://github.com/formatjs/formatjs/compare/react-intl@5.9.2...react-intl@5.9.3) (2020-11-09)
|
|
497
|
+
|
|
498
|
+
**Note:** Version bump only for package react-intl
|
|
499
|
+
|
|
500
|
+
## [5.9.2](https://github.com/formatjs/formatjs/compare/react-intl@5.9.1...react-intl@5.9.2) (2020-11-05)
|
|
501
|
+
|
|
502
|
+
### Bug Fixes
|
|
503
|
+
|
|
504
|
+
* **@formatjs/intl:** fix default config for formatDateTimeRange ([60087d8](https://github.com/formatjs/formatjs/commit/60087d8df70d70b3c11dd733bb1961d389b0e211))
|
|
505
|
+
|
|
506
|
+
## [5.9.1](https://github.com/formatjs/formatjs/compare/react-intl@5.9.0...react-intl@5.9.1) (2020-11-05)
|
|
507
|
+
|
|
508
|
+
**Note:** Version bump only for package react-intl
|
|
509
|
+
|
|
510
|
+
# [5.9.0](https://github.com/formatjs/formatjs/compare/react-intl@5.8.9...react-intl@5.9.0) (2020-11-05)
|
|
511
|
+
|
|
512
|
+
### Bug Fixes
|
|
513
|
+
|
|
514
|
+
* **react-intl:** lock down monorepo dep version ([7869092](https://github.com/formatjs/formatjs/commit/7869092fc8f9b245cacd2497d511c155085e769a))
|
|
515
|
+
|
|
516
|
+
### Features
|
|
517
|
+
|
|
518
|
+
* **react-intl:** introduce FormattedDateTimeRange, a stage-3 API ([ebff2a3](https://github.com/formatjs/formatjs/commit/ebff2a3d0732da3fcdadfc091f9ef898fff9b020))
|
|
519
|
+
|
|
520
|
+
## [5.8.9](https://github.com/formatjs/formatjs/compare/react-intl@5.8.8...react-intl@5.8.9) (2020-11-04)
|
|
521
|
+
|
|
522
|
+
**Note:** Version bump only for package react-intl
|
|
523
|
+
|
|
524
|
+
## [5.8.8](https://github.com/formatjs/formatjs/compare/react-intl@5.8.7...react-intl@5.8.8) (2020-10-26)
|
|
525
|
+
|
|
526
|
+
**Note:** Version bump only for package react-intl
|
|
527
|
+
|
|
528
|
+
## [5.8.7](https://github.com/formatjs/formatjs/compare/react-intl@5.8.6...react-intl@5.8.7) (2020-10-25)
|
|
529
|
+
|
|
530
|
+
**Note:** Version bump only for package react-intl
|
|
531
|
+
|
|
532
|
+
## [5.8.6](https://github.com/formatjs/formatjs/compare/react-intl@5.8.5...react-intl@5.8.6) (2020-10-10)
|
|
533
|
+
|
|
534
|
+
**Note:** Version bump only for package react-intl
|
|
535
|
+
|
|
536
|
+
## [5.8.5](https://github.com/formatjs/formatjs/compare/react-intl@5.8.4...react-intl@5.8.5) (2020-10-08)
|
|
537
|
+
|
|
538
|
+
**Note:** Version bump only for package react-intl
|
|
539
|
+
|
|
540
|
+
## [5.8.4](https://github.com/formatjs/formatjs/compare/react-intl@5.8.3...react-intl@5.8.4) (2020-10-01)
|
|
541
|
+
|
|
542
|
+
**Note:** Version bump only for package react-intl
|
|
543
|
+
|
|
544
|
+
## [5.8.3](https://github.com/formatjs/formatjs/compare/react-intl@5.8.2...react-intl@5.8.3) (2020-09-25)
|
|
545
|
+
|
|
546
|
+
**Note:** Version bump only for package react-intl
|
|
547
|
+
|
|
548
|
+
## [5.8.2](https://github.com/formatjs/formatjs/compare/react-intl@5.8.1...react-intl@5.8.2) (2020-09-18)
|
|
549
|
+
|
|
550
|
+
### Bug Fixes
|
|
551
|
+
|
|
552
|
+
* **@formatjs/intl-displaynames:** follow ES2021 spec and make type option required ([#2103](https://github.com/formatjs/formatjs/issues/2103)) ([3e00688](https://github.com/formatjs/formatjs/commit/3e00688f955587ac155c9d6c2fa519b07df17a70))
|
|
553
|
+
|
|
554
|
+
## [5.8.1](https://github.com/formatjs/formatjs/compare/react-intl@5.8.0...react-intl@5.8.1) (2020-09-09)
|
|
555
|
+
|
|
556
|
+
### Bug Fixes
|
|
557
|
+
|
|
558
|
+
* **react-intl:** add typescript as peerDependency, fix [#2066](https://github.com/formatjs/formatjs/issues/2066) ([#2067](https://github.com/formatjs/formatjs/issues/2067)) ([c2fac57](https://github.com/formatjs/formatjs/commit/c2fac57ab11fe43a01bd5ae57635557beb45ad67))
|
|
559
|
+
* **react-intl:** fix TS typing entry point path ([f01ab86](https://github.com/formatjs/formatjs/commit/f01ab8612ef4ea4cef8bdbfb597455c9553f149e))
|
|
560
|
+
|
|
561
|
+
# [5.8.0](https://github.com/formatjs/formatjs/compare/react-intl@5.7.2...react-intl@5.8.0) (2020-08-30)
|
|
562
|
+
|
|
563
|
+
### Features
|
|
564
|
+
|
|
565
|
+
* **react-intl:** upgrade TS to 4.0 ([15fe44e](https://github.com/formatjs/formatjs/commit/15fe44e29339fd3f0658a6d43f96ca9771b2cf88))
|
|
566
|
+
|
|
567
|
+
## [5.7.2](https://github.com/formatjs/formatjs/compare/react-intl@5.7.1...react-intl@5.7.2) (2020-08-28)
|
|
568
|
+
|
|
569
|
+
**Note:** Version bump only for package react-intl
|
|
570
|
+
|
|
571
|
+
## [5.7.1](https://github.com/formatjs/formatjs/compare/react-intl@5.7.0...react-intl@5.7.1) (2020-08-25)
|
|
572
|
+
|
|
573
|
+
**Note:** Version bump only for package react-intl
|
|
574
|
+
|
|
575
|
+
# [5.7.0](https://github.com/formatjs/formatjs/compare/react-intl@5.6.10...react-intl@5.7.0) (2020-08-23)
|
|
576
|
+
|
|
577
|
+
### Features
|
|
578
|
+
|
|
579
|
+
* **@formatjs/intl:** expose createIntl, fix [#2015](https://github.com/formatjs/formatjs/issues/2015) ([a15cc1b](https://github.com/formatjs/formatjs/commit/a15cc1bb371cfe4990031f8af8be217493ff2b99))
|
|
580
|
+
|
|
581
|
+
## [5.6.10](https://github.com/formatjs/formatjs/compare/react-intl@5.6.9...react-intl@5.6.10) (2020-08-22)
|
|
582
|
+
|
|
583
|
+
**Note:** Version bump only for package react-intl
|
|
584
|
+
|
|
585
|
+
## [5.6.9](https://github.com/formatjs/formatjs/compare/react-intl@5.6.8...react-intl@5.6.9) (2020-08-21)
|
|
586
|
+
|
|
587
|
+
**Note:** Version bump only for package react-intl
|
|
588
|
+
|
|
589
|
+
## [5.6.8](https://github.com/formatjs/formatjs/compare/react-intl@5.6.7...react-intl@5.6.8) (2020-08-20)
|
|
590
|
+
|
|
591
|
+
### Bug Fixes
|
|
592
|
+
|
|
593
|
+
* bump intl-messageformat-parser ([8bbfa04](https://github.com/formatjs/formatjs/commit/8bbfa047da159662700b7e500879da20e54c0f0b))
|
|
594
|
+
|
|
595
|
+
## [5.6.7](https://github.com/formatjs/formatjs/compare/react-intl@5.6.6...react-intl@5.6.7) (2020-08-19)
|
|
596
|
+
|
|
597
|
+
**Note:** Version bump only for package react-intl
|
|
598
|
+
|
|
599
|
+
## [5.6.6](https://github.com/formatjs/formatjs/compare/react-intl@5.6.5...react-intl@5.6.6) (2020-08-19)
|
|
600
|
+
|
|
601
|
+
**Note:** Version bump only for package react-intl
|
|
602
|
+
|
|
603
|
+
## [5.6.5](https://github.com/formatjs/formatjs/compare/react-intl@5.6.4...react-intl@5.6.5) (2020-08-18)
|
|
604
|
+
|
|
605
|
+
**Note:** Version bump only for package react-intl
|
|
606
|
+
|
|
607
|
+
## [5.6.4](https://github.com/formatjs/formatjs/compare/react-intl@5.6.3...react-intl@5.6.4) (2020-08-17)
|
|
608
|
+
|
|
609
|
+
**Note:** Version bump only for package react-intl
|
|
610
|
+
|
|
611
|
+
## [5.6.3](https://github.com/formatjs/formatjs/compare/react-intl@5.6.2...react-intl@5.6.3) (2020-08-15)
|
|
612
|
+
|
|
613
|
+
### Bug Fixes
|
|
614
|
+
|
|
615
|
+
* **react-intl:** fix err message conditions for defaultRichTextElements, fix [#1972](https://github.com/formatjs/formatjs/issues/1972) ([7e6f311](https://github.com/formatjs/formatjs/commit/7e6f311f16f6ef4a4668f1fe9eeeac0b962b29b9))
|
|
616
|
+
|
|
617
|
+
## [5.6.2](https://github.com/formatjs/formatjs/compare/react-intl@5.6.1...react-intl@5.6.2) (2020-08-15)
|
|
618
|
+
|
|
619
|
+
**Note:** Version bump only for package react-intl
|
|
620
|
+
|
|
621
|
+
## [5.6.1](https://github.com/formatjs/formatjs/compare/react-intl@5.6.0...react-intl@5.6.1) (2020-08-14)
|
|
622
|
+
|
|
623
|
+
**Note:** Version bump only for package react-intl
|
|
624
|
+
|
|
625
|
+
# [5.6.0](https://github.com/formatjs/formatjs/compare/react-intl@5.5.0...react-intl@5.6.0) (2020-08-14)
|
|
626
|
+
|
|
627
|
+
### Features
|
|
628
|
+
|
|
629
|
+
* **react-intl:** expose react-intl-no-parser.umd.js that does not contain intl-messageformat-parser, fix [#1945](https://github.com/formatjs/formatjs/issues/1945) ([5330073](https://github.com/formatjs/formatjs/commit/53300732d0da380a572a2ffd12967c0924a36484))
|
|
630
|
+
|
|
631
|
+
# [5.5.0](https://github.com/formatjs/formatjs/compare/react-intl@5.4.8...react-intl@5.5.0) (2020-08-14)
|
|
632
|
+
|
|
633
|
+
### Features
|
|
634
|
+
|
|
635
|
+
* **react-intl:** add support for default rich text elements with defaultRichTextElements, fix [#1752](https://github.com/formatjs/formatjs/issues/1752) ([f18c6d3](https://github.com/formatjs/formatjs/commit/f18c6d3f41154197f6541b8584c54d970a881ccd))
|
|
636
|
+
* **react-intl:** tweak MessageDescriptor defaultMessage type to be AST as well ([d110f8e](https://github.com/formatjs/formatjs/commit/d110f8e15ea49a416741445ad102340cc3a82d1a))
|
|
637
|
+
|
|
638
|
+
## [5.4.8](https://github.com/formatjs/formatjs/compare/react-intl@5.4.7...react-intl@5.4.8) (2020-08-13)
|
|
639
|
+
|
|
640
|
+
**Note:** Version bump only for package react-intl
|
|
641
|
+
|
|
642
|
+
## [5.4.7](https://github.com/formatjs/formatjs/compare/react-intl@5.4.6...react-intl@5.4.7) (2020-08-11)
|
|
643
|
+
|
|
644
|
+
**Note:** Version bump only for package react-intl
|
|
645
|
+
|
|
646
|
+
## [5.4.6](https://github.com/formatjs/formatjs/compare/react-intl@5.4.5...react-intl@5.4.6) (2020-08-06)
|
|
647
|
+
|
|
648
|
+
### Bug Fixes
|
|
649
|
+
|
|
650
|
+
* **react-intl:** fix Object.create(null) case for messages, fix [#1914](https://github.com/formatjs/formatjs/issues/1914) ([4a0f555](https://github.com/formatjs/formatjs/commit/4a0f555f5c11d33358ba85aec239e11090d59e86))
|
|
651
|
+
* **react-intl:** just use Object.prototype.hasOwnProperty.call instead ([269adc4](https://github.com/formatjs/formatjs/commit/269adc4a81af5d0cfe84ab02bd5242b4335e4a00))
|
|
652
|
+
|
|
653
|
+
## [5.4.5](https://github.com/formatjs/formatjs/compare/react-intl@5.4.4...react-intl@5.4.5) (2020-07-30)
|
|
654
|
+
|
|
655
|
+
**Note:** Version bump only for package react-intl
|
|
656
|
+
|
|
657
|
+
## [5.4.4](https://github.com/formatjs/formatjs/compare/react-intl@5.4.3...react-intl@5.4.4) (2020-07-30)
|
|
658
|
+
|
|
659
|
+
### Bug Fixes
|
|
660
|
+
|
|
661
|
+
* **react-intl:** fix UMD build, re-enable functional tests ([8257db7](https://github.com/formatjs/formatjs/commit/8257db7cda27ac758a21e5d848e9e81e945867a1))
|
|
662
|
+
|
|
663
|
+
## [5.4.3](https://github.com/formatjs/formatjs/compare/react-intl@5.4.2...react-intl@5.4.3) (2020-07-29)
|
|
664
|
+
|
|
665
|
+
### Bug Fixes
|
|
666
|
+
|
|
667
|
+
* **react-intl:** fix crash when message id is __proto__, fix [#1885](https://github.com/formatjs/formatjs/issues/1885) ([a42cdec](https://github.com/formatjs/formatjs/commit/a42cdec44c5cba184832ad9703cf2aa7cf2f1be4))
|
|
668
|
+
|
|
669
|
+
## [5.4.2](https://github.com/formatjs/formatjs/compare/react-intl@5.4.1...react-intl@5.4.2) (2020-07-25)
|
|
670
|
+
|
|
671
|
+
### Bug Fixes
|
|
672
|
+
|
|
673
|
+
* **react-intl:** hot path literal AST message rendering ([1d726de](https://github.com/formatjs/formatjs/commit/1d726de0deb87bf9c09e5d089adb3efbddb7a856))
|
|
674
|
+
|
|
675
|
+
## [5.4.1](https://github.com/formatjs/formatjs/compare/react-intl@5.4.0...react-intl@5.4.1) (2020-07-24)
|
|
676
|
+
|
|
677
|
+
**Note:** Version bump only for package react-intl
|
|
678
|
+
|
|
679
|
+
# [5.4.0](https://github.com/formatjs/formatjs/compare/react-intl@5.3.2...react-intl@5.4.0) (2020-07-21)
|
|
680
|
+
|
|
681
|
+
### Features
|
|
682
|
+
|
|
683
|
+
* **@formatjs/intl-datetimeformat:** adding implementation of tc39/proposal-intl-datetime-style ([#1859](https://github.com/formatjs/formatjs/issues/1859)) ([e3c329e](https://github.com/formatjs/formatjs/commit/e3c329e755aa615a9de542778626d0350487c253)), closes [#1847](https://github.com/formatjs/formatjs/issues/1847)
|
|
684
|
+
|
|
685
|
+
## [5.3.2](https://github.com/formatjs/formatjs/compare/react-intl@5.3.1...react-intl@5.3.2) (2020-07-17)
|
|
686
|
+
|
|
687
|
+
### Bug Fixes
|
|
688
|
+
|
|
689
|
+
* **react-intl:** add back react-intl.umd.js ([ac4b435](https://github.com/formatjs/formatjs/commit/ac4b435be0c8b168896c4a24dbc61c419c48fd6e))
|
|
690
|
+
|
|
691
|
+
## [5.3.1](https://github.com/formatjs/formatjs/compare/react-intl@5.3.0...react-intl@5.3.1) (2020-07-16)
|
|
692
|
+
|
|
693
|
+
### Bug Fixes
|
|
694
|
+
|
|
695
|
+
* **react-intl:** drop TS req to 3.8 ([140dd37](https://github.com/formatjs/formatjs/commit/140dd375c08149ffe3b602be868b6653b188d85f))
|
|
696
|
+
|
|
697
|
+
### Reverts
|
|
698
|
+
|
|
699
|
+
* Revert "feat(@formatjs/intl-utils): remove custom LDMLPluralRuleType and use TS3.9 type" ([1a6eeac](https://github.com/formatjs/formatjs/commit/1a6eeac8c59184825968ffddc35374c83f3fe782))
|
|
700
|
+
|
|
701
|
+
# [5.3.0](https://github.com/formatjs/formatjs/compare/react-intl@5.2.2...react-intl@5.3.0) (2020-07-15)
|
|
702
|
+
|
|
703
|
+
### Features
|
|
704
|
+
|
|
705
|
+
* **react-intl:** add Enum support to defineMessages, fix [#1677](https://github.com/formatjs/formatjs/issues/1677) ([177420b](https://github.com/formatjs/formatjs/commit/177420bb54815ccd883e44973e56ec5b8113cc58))
|
|
706
|
+
|
|
707
|
+
## [5.2.2](https://github.com/formatjs/formatjs/compare/react-intl@5.2.0...react-intl@5.2.2) (2020-07-14)
|
|
708
|
+
|
|
709
|
+
### Bug Fixes
|
|
710
|
+
|
|
711
|
+
* **react-intl:** fix rollup'ed type def file ([bddb88e](https://github.com/formatjs/formatjs/commit/bddb88e7435854b3152f2fbdc72b50054d9bad76))
|
|
712
|
+
|
|
713
|
+
## [5.2.1](https://github.com/formatjs/formatjs/compare/react-intl@5.2.0...react-intl@5.2.1) (2020-07-14)
|
|
714
|
+
|
|
715
|
+
### Bug Fixes
|
|
716
|
+
|
|
717
|
+
* **react-intl:** fix rollup'ed type def file ([bddb88e](https://github.com/formatjs/formatjs/commit/bddb88e7435854b3152f2fbdc72b50054d9bad76))
|
|
718
|
+
|
|
719
|
+
# [5.2.0](https://github.com/formatjs/formatjs/compare/react-intl@5.1.0...react-intl@5.2.0) (2020-07-14)
|
|
720
|
+
|
|
721
|
+
### Bug Fixes
|
|
722
|
+
|
|
723
|
+
* **@formatjs/intl-displaynames:** rm files restriction from package.json ([b89a780](https://github.com/formatjs/formatjs/commit/b89a780803aa682fddf020ca742dc896401e68e0))
|
|
724
|
+
|
|
725
|
+
### Features
|
|
726
|
+
|
|
727
|
+
* **@formatjs/intl-utils:** remove custom LDMLPluralRuleType and use TS3.9 type ([8e433d5](https://github.com/formatjs/formatjs/commit/8e433d5afdbf64f7a952d6345e50cad29bbb7083))
|
|
728
|
+
|
|
729
|
+
# [5.1.0](https://github.com/formatjs/formatjs/compare/react-intl@5.0.2...react-intl@5.1.0) (2020-07-14)
|
|
730
|
+
|
|
731
|
+
### Bug Fixes
|
|
732
|
+
|
|
733
|
+
* **react-intl:** add original exception message to stack ([b4e3f55](https://github.com/formatjs/formatjs/commit/b4e3f558bcbd47f97a8451614f85300708d05d7f))
|
|
734
|
+
* **react-intl:** fix type issue for TS3.9 ([97ef395](https://github.com/formatjs/formatjs/commit/97ef395f04dff86546bda5d5eb605684835af457))
|
|
735
|
+
|
|
736
|
+
### Features
|
|
737
|
+
|
|
738
|
+
* publish ([b6e3465](https://github.com/formatjs/formatjs/commit/b6e3465ac95b3fa481f3c89f077a66ac004f7c27))
|
|
739
|
+
|
|
740
|
+
## [5.0.3](https://github.com/formatjs/formatjs/compare/react-intl@5.0.2...react-intl@5.0.3) (2020-07-09)
|
|
741
|
+
|
|
742
|
+
**Note:** Version bump only for package react-intl
|
|
743
|
+
|
|
744
|
+
## [5.0.2](https://github.com/formatjs/formatjs/compare/react-intl@5.0.1...react-intl@5.0.2) (2020-07-03)
|
|
745
|
+
|
|
746
|
+
**Note:** Version bump only for package react-intl
|
|
747
|
+
|
|
748
|
+
## [5.0.1](https://github.com/formatjs/formatjs/compare/react-intl@5.0.0...react-intl@5.0.1) (2020-07-03)
|
|
749
|
+
|
|
750
|
+
**Note:** Version bump only for package react-intl
|
|
751
|
+
|
|
752
|
+
# [5.0.0](https://github.com/formatjs/formatjs/compare/react-intl@4.7.6...react-intl@5.0.0) (2020-07-03)
|
|
753
|
+
|
|
754
|
+
### Features
|
|
755
|
+
|
|
756
|
+
* **intl-messageformat:** make FormatXMLElementFn non-variadic ([f2963bf](https://github.com/formatjs/formatjs/commit/f2963bf17ec9809b13fffdb52d68f70439ba186b))
|
|
757
|
+
* **react-intl:** fail fast when intl Provider is missing ([42fa3c1](https://github.com/formatjs/formatjs/commit/42fa3c1c084b6da969790ee0b77b2f7fd6353488))
|
|
758
|
+
* **react-intl:** merge chunks in FormatXMLElementFn ([1b5892f](https://github.com/formatjs/formatjs/commit/1b5892febb8bbd71613761ba253f702dc18fb522)), closes [#1623](https://github.com/formatjs/formatjs/issues/1623)
|
|
759
|
+
|
|
760
|
+
### BREAKING CHANGES
|
|
761
|
+
|
|
762
|
+
* **react-intl:** This also comes from Dropbox internal developer feedback. `FormattedMessage` has a default English renderer that masks `Provider` setup issues which causes them to not be handled during testing phase.
|
|
763
|
+
* **intl-messageformat:** This effectively change the signature for formatter
|
|
764
|
+
function from `(...chunks) => any` to `(chunks) => any`. This solves a
|
|
765
|
+
couple of issues:
|
|
766
|
+
1. We received user feedback that variadic function is not as ergonomic
|
|
767
|
+
2. Right now there's not way to distinguish between 2 chunks that have
|
|
768
|
+
the same tag, e.g `<b>on</b> and <b>on</b>`. The function would
|
|
769
|
+
receive 2 chunks that are identical. By consoliding to the 1st param we
|
|
770
|
+
can reserve additional params to provide mode metadata in the future
|
|
771
|
+
* **react-intl:** This turns rich text formatting callback function to
|
|
772
|
+
non-variadic. So `(...chunks) => React.ReactNode` becomes `(chunks) =>
|
|
773
|
+
React.ReactNode`. This solves a couple of issues:
|
|
774
|
+
1. We receive feedback that variadic callback fn is not ergonomic
|
|
775
|
+
2. This solves the missing key issue when we render rich text
|
|
776
|
+
3. This allows us to utilize extra param to distinguish when 2 React
|
|
777
|
+
element are exactly the same except for their indices, e.g `<b>one</b>
|
|
778
|
+
and <b>one</b>` and you want to render them differently
|
|
779
|
+
|
|
780
|
+
## [4.7.6](https://github.com/formatjs/formatjs/compare/react-intl@4.7.5...react-intl@4.7.6) (2020-07-01)
|
|
781
|
+
|
|
782
|
+
**Note:** Version bump only for package react-intl
|
|
783
|
+
|
|
784
|
+
## [4.7.5](https://github.com/formatjs/formatjs/compare/react-intl@4.7.4...react-intl@4.7.5) (2020-06-26)
|
|
785
|
+
|
|
786
|
+
**Note:** Version bump only for package react-intl
|
|
787
|
+
|
|
788
|
+
## [4.7.4](https://github.com/formatjs/formatjs/compare/react-intl@4.7.3...react-intl@4.7.4) (2020-06-26)
|
|
789
|
+
|
|
790
|
+
**Note:** Version bump only for package react-intl
|
|
791
|
+
|
|
792
|
+
## [4.7.3](https://github.com/formatjs/formatjs/compare/react-intl@4.7.2...react-intl@4.7.3) (2020-06-26)
|
|
793
|
+
|
|
794
|
+
### Bug Fixes
|
|
795
|
+
|
|
796
|
+
* **react-intl:** fix d.ts rollup ([#1741](https://github.com/formatjs/formatjs/issues/1741)) ([cb95b4a](https://github.com/formatjs/formatjs/commit/cb95b4ac230f3597fc3937e50aa5dea0107727b0))
|
|
797
|
+
|
|
798
|
+
## [4.7.2](https://github.com/formatjs/formatjs/compare/react-intl@4.7.1...react-intl@4.7.2) (2020-06-23)
|
|
799
|
+
|
|
800
|
+
**Note:** Version bump only for package react-intl
|
|
801
|
+
|
|
802
|
+
## [4.7.1](https://github.com/formatjs/formatjs/compare/react-intl@4.7.0...react-intl@4.7.1) (2020-06-23)
|
|
803
|
+
|
|
804
|
+
**Note:** Version bump only for package react-intl
|
|
805
|
+
|
|
806
|
+
# [4.7.0](https://github.com/formatjs/formatjs/compare/react-intl@4.6.10...react-intl@4.7.0) (2020-06-23)
|
|
807
|
+
|
|
808
|
+
### Features
|
|
809
|
+
|
|
810
|
+
* **@formatjs/intl-datetimeformat:** generate rolluped d.ts ([c6c9b19](https://github.com/formatjs/formatjs/commit/c6c9b19c1f2703203f341c93df46f28175456a6e)), closes [#1739](https://github.com/formatjs/formatjs/issues/1739)
|
|
811
|
+
|
|
812
|
+
## [4.6.10](https://github.com/formatjs/formatjs/compare/react-intl@4.6.9...react-intl@4.6.10) (2020-06-20)
|
|
813
|
+
|
|
814
|
+
### Bug Fixes
|
|
815
|
+
|
|
816
|
+
* **react-intl:** add children prop type to IntlProvider ([#1717](https://github.com/formatjs/formatjs/issues/1717)) ([94db34b](https://github.com/formatjs/formatjs/commit/94db34b28d7a96b44c8ade79b57e15b161ed2488))
|
|
817
|
+
* **react-intl:** add children typing to injectIntl ([#1716](https://github.com/formatjs/formatjs/issues/1716)) ([90fbd5f](https://github.com/formatjs/formatjs/commit/90fbd5f5deb36b615b5882d5de26d8528f8a3889))
|
|
818
|
+
* **react-intl:** Remove `values: {}` from FormattedMessage defaultProps ([f80648c](https://github.com/formatjs/formatjs/commit/f80648cc112fc2312c31a84b145f6c0556e76cad)), closes [#1706](https://github.com/formatjs/formatjs/issues/1706)
|
|
819
|
+
|
|
820
|
+
## [4.6.9](https://github.com/formatjs/formatjs/compare/react-intl@4.6.8...react-intl@4.6.9) (2020-06-06)
|
|
821
|
+
|
|
822
|
+
**Note:** Version bump only for package react-intl
|
|
823
|
+
|
|
824
|
+
## [4.6.8](https://github.com/formatjs/formatjs/compare/react-intl@4.6.7...react-intl@4.6.8) (2020-06-06)
|
|
825
|
+
|
|
826
|
+
**Note:** Version bump only for package react-intl
|
|
827
|
+
|
|
828
|
+
## [4.6.7](https://github.com/formatjs/formatjs/compare/react-intl@4.6.6...react-intl@4.6.7) (2020-06-06)
|
|
829
|
+
|
|
830
|
+
### Bug Fixes
|
|
831
|
+
|
|
832
|
+
* **react-intl:** Allow ES2020 options for DateTimeFormat, fix [#1695](https://github.com/formatjs/formatjs/issues/1695) ([27d02ee](https://github.com/formatjs/formatjs/commit/27d02ee6a34a67b0dca00b66a4cafbd5b628108c))
|
|
833
|
+
|
|
834
|
+
## [4.6.6](https://github.com/formatjs/formatjs/compare/react-intl@4.6.5...react-intl@4.6.6) (2020-06-04)
|
|
835
|
+
|
|
836
|
+
**Note:** Version bump only for package react-intl
|
|
837
|
+
|
|
838
|
+
## [4.6.5](https://github.com/formatjs/formatjs/compare/react-intl@4.6.4...react-intl@4.6.5) (2020-06-04)
|
|
839
|
+
|
|
840
|
+
**Note:** Version bump only for package react-intl
|
|
841
|
+
|
|
842
|
+
## [4.6.4](https://github.com/formatjs/formatjs/compare/react-intl@4.6.3...react-intl@4.6.4) (2020-06-03)
|
|
843
|
+
|
|
844
|
+
**Note:** Version bump only for package react-intl
|
|
845
|
+
|
|
846
|
+
## [4.6.3](https://github.com/formatjs/formatjs/compare/react-intl@4.6.2...react-intl@4.6.3) (2020-05-28)
|
|
847
|
+
|
|
848
|
+
**Note:** Version bump only for package react-intl
|
|
849
|
+
|
|
850
|
+
## [4.6.2](https://github.com/formatjs/formatjs/compare/react-intl@4.6.1...react-intl@4.6.2) (2020-05-28)
|
|
851
|
+
|
|
852
|
+
### Bug Fixes
|
|
853
|
+
|
|
854
|
+
* **react-intl:** export all errors, fix types ([0920323](https://github.com/formatjs/formatjs/commit/0920323b1e602de816fad0ba9c3a4aecdc2344e8))
|
|
855
|
+
|
|
856
|
+
## [4.6.1](https://github.com/formatjs/formatjs/compare/react-intl@4.6.0...react-intl@4.6.1) (2020-05-27)
|
|
857
|
+
|
|
858
|
+
### Bug Fixes
|
|
859
|
+
|
|
860
|
+
* **react-intl:** Fix formatMessage types when format function returns a string ([3de8077](https://github.com/formatjs/formatjs/commit/3de80771f4e9083cb1163b2534882b906e695df2))
|
|
861
|
+
|
|
862
|
+
# [4.6.0](https://github.com/formatjs/formatjs/compare/react-intl@4.5.12...react-intl@4.6.0) (2020-05-27)
|
|
863
|
+
|
|
864
|
+
### Bug Fixes
|
|
865
|
+
|
|
866
|
+
* **website:** editorial fixes of Intl.NumberFormat links ([#1690](https://github.com/formatjs/formatjs/issues/1690)) ([1b4a248](https://github.com/formatjs/formatjs/commit/1b4a2482ea85c4f9d3754d46c8aadd67a0b17d93))
|
|
867
|
+
|
|
868
|
+
### Features
|
|
869
|
+
|
|
870
|
+
* **formatjs-extract-cldr-data:** rm this package ([62bdd32](https://github.com/formatjs/formatjs/commit/62bdd32aadef899228a5303e01865f69fd729fa3))
|
|
871
|
+
|
|
872
|
+
## [4.5.12](https://github.com/formatjs/formatjs/compare/react-intl@4.5.11...react-intl@4.5.12) (2020-05-25)
|
|
873
|
+
|
|
874
|
+
**Note:** Version bump only for package react-intl
|
|
875
|
+
|
|
876
|
+
## [4.5.11](https://github.com/formatjs/formatjs/compare/react-intl@4.5.10...react-intl@4.5.11) (2020-05-23)
|
|
877
|
+
|
|
878
|
+
**Note:** Version bump only for package react-intl
|
|
879
|
+
|
|
880
|
+
## [4.5.10](https://github.com/formatjs/formatjs/compare/react-intl@4.5.9...react-intl@4.5.10) (2020-05-23)
|
|
881
|
+
|
|
882
|
+
**Note:** Version bump only for package react-intl
|
|
883
|
+
|
|
884
|
+
## [4.5.9](https://github.com/formatjs/formatjs/compare/react-intl@4.5.8...react-intl@4.5.9) (2020-05-22)
|
|
885
|
+
|
|
886
|
+
### Bug Fixes
|
|
887
|
+
|
|
888
|
+
* **eslint-plugin-formatjs:** add no-id to index ([8e5c0af](https://github.com/formatjs/formatjs/commit/8e5c0afe69944d52653b92c2f08e15363246834a))
|
|
889
|
+
|
|
890
|
+
## [4.5.8](https://github.com/formatjs/formatjs/compare/react-intl@4.5.7...react-intl@4.5.8) (2020-05-21)
|
|
891
|
+
|
|
892
|
+
### Bug Fixes
|
|
893
|
+
|
|
894
|
+
* **react-intl:** hot path message lookup without values ([1e58679](https://github.com/formatjs/formatjs/commit/1e58679064ba8f883849c6af384bb6650ee1b2e8))
|
|
895
|
+
|
|
896
|
+
## [4.5.7](https://github.com/formatjs/formatjs/compare/react-intl@4.5.6...react-intl@4.5.7) (2020-05-21)
|
|
897
|
+
|
|
898
|
+
**Note:** Version bump only for package react-intl
|
|
899
|
+
|
|
900
|
+
## [4.5.6](https://github.com/formatjs/formatjs/compare/react-intl@4.5.5...react-intl@4.5.6) (2020-05-21)
|
|
901
|
+
|
|
902
|
+
### Bug Fixes
|
|
903
|
+
|
|
904
|
+
* **@formatjs/intl-numberformat:** rename intl-unified-numberformat to intl-numberformat ([8f183d3](https://github.com/formatjs/formatjs/commit/8f183d314756d43b1f887af03727af349f6de731))
|
|
905
|
+
|
|
906
|
+
## [4.5.5](https://github.com/formatjs/formatjs/compare/react-intl@4.5.4...react-intl@4.5.5) (2020-05-18)
|
|
907
|
+
|
|
908
|
+
### Bug Fixes
|
|
909
|
+
|
|
910
|
+
* **react-intl:** reduce onError chattiness ([42d0ac4](https://github.com/formatjs/formatjs/commit/42d0ac433d4d31629bd2aadb2dafb49775d01aac))
|
|
911
|
+
|
|
912
|
+
## [4.5.4](https://github.com/formatjs/formatjs/compare/react-intl@4.5.3...react-intl@4.5.4) (2020-05-16)
|
|
913
|
+
|
|
914
|
+
**Note:** Version bump only for package react-intl
|
|
915
|
+
|
|
916
|
+
## [4.5.3](https://github.com/formatjs/formatjs/compare/react-intl@4.5.2...react-intl@4.5.3) (2020-05-06)
|
|
917
|
+
|
|
918
|
+
**Note:** Version bump only for package react-intl
|
|
919
|
+
|
|
920
|
+
## [4.5.2](https://github.com/formatjs/formatjs/compare/react-intl@4.5.1...react-intl@4.5.2) (2020-05-05)
|
|
921
|
+
|
|
922
|
+
### Bug Fixes
|
|
923
|
+
|
|
924
|
+
* **react-intl:** envify dist/react-intl.js so we do not leak process.env ([43a54d6](https://github.com/formatjs/formatjs/commit/43a54d61544b42d2d28776359b39f2c7a2c057ab))
|
|
925
|
+
|
|
926
|
+
## 4.5.1 (2020-04-28)
|
|
927
|
+
|
|
928
|
+
**Note:** Version bump only for package react-intl
|
|
929
|
+
|
|
930
|
+
# Changelog
|
|
931
|
+
|
|
932
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
933
|
+
|
|
934
|
+
## [4.5.0](https://github.com/formatjs/react-intl/compare/v4.4.0...v4.5.0) (2020-04-20)
|
|
935
|
+
|
|
936
|
+
### Features
|
|
937
|
+
|
|
938
|
+
* upgrade intl-messageformat & parser ([cbbd6cf](https://github.com/formatjs/react-intl/commit/cbbd6cf93ee6294bdfbc28af3e33227df0e621e4))
|
|
939
|
+
|
|
940
|
+
## [4.4.0](https://github.com/formatjs/react-intl/compare/v4.3.1...v4.4.0) (2020-04-14)
|
|
941
|
+
|
|
942
|
+
### Features
|
|
943
|
+
|
|
944
|
+
* add `defineMessage` macro to tag single message ([8bd9ad8](https://github.com/formatjs/react-intl/commit/8bd9ad8ddf632f500f4b3e0e7786a48c227c9961))
|
|
945
|
+
|
|
946
|
+
### [4.3.1](https://github.com/formatjs/react-intl/compare/v4.3.0...v4.3.1) (2020-03-28)
|
|
947
|
+
|
|
948
|
+
### Bug Fixes
|
|
949
|
+
|
|
950
|
+
* tweak FormatXMLElementFn ([a914dc0](https://github.com/formatjs/react-intl/commit/a914dc059cc8d0c04baec6a63513cb686ff6dad3))
|
|
951
|
+
|
|
952
|
+
## [4.3.0](https://github.com/formatjs/react-intl/compare/v4.2.2...v4.3.0) (2020-03-26)
|
|
953
|
+
|
|
954
|
+
### Features
|
|
955
|
+
|
|
956
|
+
* **react-intl:** store original message descriptor in the error ([22531bd](https://github.com/formatjs/react-intl/commit/22531bde78e0f3846b583b5bf0e4115e872f9a54))
|
|
957
|
+
|
|
958
|
+
### [4.2.2](https://github.com/formatjs/react-intl/compare/v4.2.1...v4.2.2) (2020-03-21)
|
|
959
|
+
|
|
960
|
+
### Bug Fixes
|
|
961
|
+
|
|
962
|
+
* turn on preserveConstEnums so we export ReactIntlErrorCode ([8e00610](https://github.com/formatjs/react-intl/commit/8e006105a7286aba0efdb985eb588d03597b186b))
|
|
963
|
+
|
|
964
|
+
### [4.2.1](https://github.com/formatjs/react-intl/compare/v4.2.0...v4.2.1) (2020-03-21)
|
|
965
|
+
|
|
966
|
+
### Bug Fixes
|
|
967
|
+
|
|
968
|
+
* include intl-displaynames types in bundled react-intl.d.ts ([77ef36c](https://github.com/formatjs/react-intl/commit/77ef36cb2f522587c454469241d9a4974963ccb8))
|
|
969
|
+
|
|
970
|
+
## [4.2.0](https://github.com/formatjs/react-intl/compare/v4.1.1...v4.2.0) (2020-03-21)
|
|
971
|
+
|
|
972
|
+
### Features
|
|
973
|
+
|
|
974
|
+
* add wrapRichTextChunksInFragment option ([7864e1c](https://github.com/formatjs/react-intl/commit/7864e1c8704b5aba3d82d8318f94ef789e045d04))
|
|
975
|
+
|
|
976
|
+
### [4.1.1](https://github.com/formatjs/react-intl/compare/v4.1.0...v4.1.1) (2020-03-06)
|
|
977
|
+
|
|
978
|
+
### Bug Fixes
|
|
979
|
+
|
|
980
|
+
* dont warn if locale is the same as defaultLocale ([c8b178b](https://github.com/formatjs/react-intl/commit/c8b178b1e825b3e1abc2417c3ec60d92ab1911f6)), closes [#1594](https://github.com/formatjs/react-intl/issues/1594)
|
|
981
|
+
|
|
982
|
+
## [4.1.0](https://github.com/formatjs/react-intl/compare/v4.0.0...v4.1.0) (2020-03-05)
|
|
983
|
+
|
|
984
|
+
### Features
|
|
985
|
+
|
|
986
|
+
* Introduce ReactIntlErrorCode so we can distinguish and log things differently ([5b2b034](https://github.com/formatjs/react-intl/commit/5b2b034b0afd03479943cf4d1162be532deb95b8))
|
|
987
|
+
|
|
988
|
+
## [4.0.0](https://github.com/formatjs/react-intl/compare/v3.12.1...v4.0.0) (2020-03-05)
|
|
989
|
+
|
|
990
|
+
### ⚠ BREAKING CHANGES
|
|
991
|
+
|
|
992
|
+
* This release contains subtle changes to the way we handle embedded HTML Message:
|
|
993
|
+
|
|
994
|
+
1. All tags specified must have corresponding values and will throw
|
|
995
|
+
error if it's missing, e.g:
|
|
996
|
+
```
|
|
997
|
+
new IntlMessageFormat("a<b>strong</b>").format({ b: (...chunks) => <strong>chunks</strong> })
|
|
998
|
+
```
|
|
999
|
+
2. We don't allow formatting self-closing tags because we already use ICU `{placeholder}` syntax for that.
|
|
1000
|
+
3. XML/HTML tags are escaped using apostrophe just like other ICU constructs.
|
|
1001
|
+
4. Remove dependency on DOMParser and restrictions on void element like `<link>`. This effectively means you don't need to polyfill DOMParser in Node anymore.
|
|
1002
|
+
5. `FormattedHTMLMessage` & `intl.formatHTMLMessage` have been removed since `FormattedMessage` now fully supports embedded HTML tag.
|
|
1003
|
+
|
|
1004
|
+
Why are we doing those changes?
|
|
1005
|
+
- `FormattedHTMLMessage` & `intl.formatHTMLMessage` were originally created when React was fairly new. These components helped ease migration over from raw HTML to JSX. Given that current popularity of React right now and the fact that `FormattedMessage` allow rendering embedded HTML tag, this is no longer needed.
|
|
1006
|
+
- Initially during the 1st iteration of embedded HTML support, we allow any tag that doesn’t have a corresponding formatter to be rendered as raw HTML. We’ve received feedbacks internally that allowing embedded HTML tag to be rendered as-is without sanitization is a XSS security risk. Therefore, in order to allow raw HTML tag you have to opt-in by escaping them using apostrophe. We will update our linter to check for this as well.
|
|
1007
|
+
|
|
1008
|
+
### Features
|
|
1009
|
+
|
|
1010
|
+
* Upgrade intl-messageformat & intl-messageformat-parser, remove FormattedHTMLMessage ([fae69e9](https://github.com/formatjs/react-intl/commit/fae69e9da2cfd395eeb5d7333a637f6627d94ade))
|
|
1011
|
+
|
|
1012
|
+
### [3.12.1](https://github.com/formatjs/react-intl/compare/v3.12.0...v3.12.1) (2020-03-04)
|
|
1013
|
+
|
|
1014
|
+
### Bug Fixes
|
|
1015
|
+
|
|
1016
|
+
* clarify err messages ([b207d80](https://github.com/formatjs/react-intl/commit/b207d805a9e5609983ac1b2ca8f9708030e12337))
|
|
1017
|
+
* inline defineMessages macro, fix [#1592](https://github.com/formatjs/react-intl/issues/1592) ([5ae8349](https://github.com/formatjs/react-intl/commit/5ae8349dc2ee08b54a54a2a521b8a9c052960d04))
|
|
1018
|
+
|
|
1019
|
+
## [3.12.0](https://github.com/formatjs/react-intl/compare/v3.11.0...v3.12.0) (2020-02-04)
|
|
1020
|
+
|
|
1021
|
+
### Features
|
|
1022
|
+
|
|
1023
|
+
* add formatDisplayName and FormattedDisplayName ([#1567](https://github.com/formatjs/react-intl/issues/1567)) ([10bcbe2](https://github.com/formatjs/react-intl/commit/10bcbe2e7e92902d60810a7c00568d3043b09db3)), closes [#1547](https://github.com/formatjs/react-intl/issues/1547)
|
|
1024
|
+
|
|
1025
|
+
## [3.11.0](https://github.com/formatjs/react-intl/compare/v3.10.0...v3.11.0) (2020-01-09)
|
|
1026
|
+
|
|
1027
|
+
### Features
|
|
1028
|
+
|
|
1029
|
+
* Allow MessageDescriptor ID to be `number` ([#1553](https://github.com/formatjs/react-intl/issues/1553)) ([95298b2](https://github.com/formatjs/react-intl/commit/95298b2b5f09173258fe9648d49fc9fa1ad673fc))
|
|
1030
|
+
|
|
1031
|
+
### Bug Fixes
|
|
1032
|
+
|
|
1033
|
+
* add a parser for chunks emitted from formatHTMLMessage ([#1550](https://github.com/formatjs/react-intl/issues/1550)) ([8c3c5c7](https://github.com/formatjs/react-intl/commit/8c3c5c78afa16d605933c82571f3b92b15363c27))
|
|
1034
|
+
* update formatjs deps ([1745c21](https://github.com/formatjs/react-intl/commit/1745c21b9ae5e6443f1ad5209f77cc9cb6ad66eb))
|
|
1035
|
+
|
|
1036
|
+
## [3.10.0](https://github.com/formatjs/react-intl/compare/v3.9.2...v3.10.0) (2019-12-26)
|
|
1037
|
+
|
|
1038
|
+
### Features
|
|
1039
|
+
|
|
1040
|
+
* Upgrade intl-unified-numberformat & TypeScript ([ddf411a](https://github.com/formatjs/react-intl/commit/ddf411a6089005671f3d1ab8d11e04564da0f2e7))
|
|
1041
|
+
|
|
1042
|
+
### [3.9.2](https://github.com/formatjs/react-intl/compare/v3.9.1...v3.9.2) (2019-12-10)
|
|
1043
|
+
|
|
1044
|
+
### Bug Fixes
|
|
1045
|
+
|
|
1046
|
+
* add type overload for formatList, fix [#1537](https://github.com/formatjs/react-intl/issues/1537) ([6629899](https://github.com/formatjs/react-intl/commit/662989973c8d08f7972a3ba75f70b19abc507bb9))
|
|
1047
|
+
* fix list formatter generation types ([0e5f205](https://github.com/formatjs/react-intl/commit/0e5f2058d7cba2d886693e219f58366582f0a6ac))
|
|
1048
|
+
|
|
1049
|
+
### [3.9.1](https://github.com/formatjs/react-intl/compare/v3.9.0...v3.9.1) (2019-12-02)
|
|
1050
|
+
|
|
1051
|
+
### Bug Fixes
|
|
1052
|
+
|
|
1053
|
+
* Add src to packaged tar for sourcemap ([bce9bc7](https://github.com/formatjs/react-intl/commit/bce9bc7f6e014ec5ac1d67aa5daedc9214b75297))
|
|
1054
|
+
|
|
1055
|
+
## [3.9.0](https://github.com/formatjs/react-intl/compare/v3.8.0...v3.9.0) (2019-12-02)
|
|
1056
|
+
|
|
1057
|
+
### Features
|
|
1058
|
+
|
|
1059
|
+
* Upgrade intl-messageformat-parser with support for unit-width in skeleton ([4b8f09f](https://github.com/formatjs/react-intl/commit/4b8f09f567ea09c5f5b576113ed963523832f942))
|
|
1060
|
+
|
|
1061
|
+
## [3.8.0](https://github.com/formatjs/react-intl/compare/v3.7.0...v3.8.0) (2019-12-01)
|
|
1062
|
+
|
|
1063
|
+
### Features
|
|
1064
|
+
|
|
1065
|
+
* Upgrade intl-messageformat-parser ([c12c99d](https://github.com/formatjs/react-intl/commit/c12c99dfdd8dfabf3d0103ce3c02e35b22d03be6))
|
|
1066
|
+
|
|
1067
|
+
Following our previous release with preliminary DateTimeFormat's
|
|
1068
|
+
skeleton parser, this release comes with a subset of ICU NumberFormat's
|
|
1069
|
+
skeleton parser. The full feature set can be found [here](unicode-org/icu:docs/userguide/format_parse/numbers/skeletons.md@master).
|
|
1070
|
+
|
|
1071
|
+
This, in combination with [intl-unified-numberformat](tc39/proposal-unified-intl-numberformat) allows you to write shorthand
|
|
1072
|
+
NumberFormat in your messages like `{amount, number, ::currency/CAD .00}`
|
|
1073
|
+
|
|
1074
|
+
## [3.7.0](https://github.com/formatjs/react-intl/compare/v3.6.2...v3.7.0) (2019-11-25)
|
|
1075
|
+
|
|
1076
|
+
### Features
|
|
1077
|
+
|
|
1078
|
+
* Introduce support for DateTime skeleton ([568d013](https://github.com/formatjs/react-intl/commit/568d01342299135e9b049f9d4014193315fac41e))
|
|
1079
|
+
|
|
1080
|
+
This bumps the version of `intl-messageformat`, thus introducing a
|
|
1081
|
+
subset of
|
|
1082
|
+
[DateTime Skeleton](https://github.com/formatjs/formatjs/tree/master/packages/intl-messageformat-parser#supported-datetime-skeleton)
|
|
1083
|
+
to react-intl.
|
|
1084
|
+
The skeleton syntax per ICU is `today is {ts, time, ::yyyyMMdd}`.
|
|
1085
|
+
Further documentation can be read at
|
|
1086
|
+
https://unicode-org.github.io/icu/userguide/format_parse/datetimedatetime.
|
|
1087
|
+
|
|
1088
|
+
### [3.6.2](https://github.com/formatjs/react-intl/compare/v3.6.1...v3.6.2) (2019-11-21)
|
|
1089
|
+
|
|
1090
|
+
### Bug Fixes
|
|
1091
|
+
|
|
1092
|
+
* fix main types file path in package.json ([14048bb](https://github.com/formatjs/react-intl/commit/14048bba41a7e02a8a0669ef14aa510acb089dc9))
|
|
1093
|
+
|
|
1094
|
+
### [3.6.1](https://github.com/formatjs/react-intl/compare/v3.6.0...v3.6.1) (2019-11-19)
|
|
1095
|
+
|
|
1096
|
+
### Bug Fixes
|
|
1097
|
+
|
|
1098
|
+
* make `id` optional in MessageDescriptor ([15ca429](https://github.com/formatjs/react-intl/commit/15ca4292faf0fd82a392c024f027196393e52124))
|
|
1099
|
+
* use `files` instead of .npmignore, update contributors ([b0c0fdb](https://github.com/formatjs/react-intl/commit/b0c0fdb1efa4dd9dfcf1d8c5709c5454bf242fce))
|
|
1100
|
+
|
|
1101
|
+
## [3.6.0](https://github.com/formatjs/react-intl/compare/v3.4.0...v3.6.0) (2019-11-12)
|
|
1102
|
+
|
|
1103
|
+
### Bug Fixes
|
|
1104
|
+
|
|
1105
|
+
* remove babel.config.js from npm package ([5c1f1ed](https://github.com/formatjs/react-intl/commit/5c1f1ed)), closes [#1512](https://github.com/formatjs/react-intl/issues/1512)
|
|
1106
|
+
|
|
1107
|
+
## [3.5.0](https://github.com/formatjs/react-intl/compare/v3.4.0...v3.5.0) (2019-11-10)
|
|
1108
|
+
|
|
1109
|
+
### Features
|
|
1110
|
+
|
|
1111
|
+
* add `formatList` & `FormattedList` ([#1494](https://github.com/formatjs/react-intl/issues/1494)) ([f5eacbf](https://github.com/formatjs/react-intl/commit/f5eacbf))
|
|
1112
|
+
* alias `defineMessages` to `@formatjs/macro` and deprecate our own ([f6ab2f1](https://github.com/formatjs/react-intl/commit/f6ab2f1))
|
|
1113
|
+
|
|
1114
|
+
## [3.4.0](https://github.com/formatjs/react-intl/compare/v3.3.2...v3.4.0) (2019-10-23)
|
|
1115
|
+
|
|
1116
|
+
### Bug Fixes
|
|
1117
|
+
|
|
1118
|
+
* fix format merging for message ([0a564dc](https://github.com/formatjs/react-intl/commit/0a564dc)), closes [#1500](https://github.com/formatjs/react-intl/issues/1500)
|
|
1119
|
+
|
|
1120
|
+
### Features
|
|
1121
|
+
|
|
1122
|
+
* add support for unified numberformat new options, fix [#1501](https://github.com/formatjs/react-intl/issues/1501) ([ff2629b](https://github.com/formatjs/react-intl/commit/ff2629b))
|
|
1123
|
+
|
|
1124
|
+
### [3.3.2](https://github.com/formatjs/react-intl/compare/v3.3.1...v3.3.2) (2019-09-27)
|
|
1125
|
+
|
|
1126
|
+
### Bug Fixes
|
|
1127
|
+
|
|
1128
|
+
* merge timeZone into formats when formatting message ([aea3f56](https://github.com/formatjs/react-intl/commit/aea3f56)), closes [#1219](https://github.com/formatjs/react-intl/issues/1219)
|
|
1129
|
+
* remove custom unescaping of static message ([aefb68b](https://github.com/formatjs/react-intl/commit/aefb68b))
|
|
1130
|
+
|
|
1131
|
+
### [3.3.1](https://github.com/formatjs/react-intl/compare/v3.3.0...v3.3.1) (2019-09-26)
|
|
1132
|
+
|
|
1133
|
+
### Bug Fixes
|
|
1134
|
+
|
|
1135
|
+
* properly override timeZone in formats/defaultFormats ([f2b93e6](https://github.com/formatjs/react-intl/commit/f2b93e6)), closes [#1219](https://github.com/formatjs/react-intl/issues/1219)
|
|
1136
|
+
|
|
1137
|
+
## [3.3.0](https://github.com/formatjs/react-intl/compare/v3.2.3...v3.3.0) (2019-09-19)
|
|
1138
|
+
|
|
1139
|
+
### Bug Fixes
|
|
1140
|
+
|
|
1141
|
+
* fix copy-paste issue in polyfill, fixes [#1488](https://github.com/formatjs/react-intl/issues/1488) ([0f9ec81](https://github.com/formatjs/react-intl/commit/0f9ec81))
|
|
1142
|
+
|
|
1143
|
+
### Features
|
|
1144
|
+
|
|
1145
|
+
* mark react-intl as side effect free ([704a964](https://github.com/formatjs/react-intl/commit/704a964))
|
|
1146
|
+
|
|
1147
|
+
### [3.2.4](https://github.com/formatjs/react-intl/compare/v3.2.3...v3.2.4) (2019-09-19)
|
|
1148
|
+
|
|
1149
|
+
### Bug Fixes
|
|
1150
|
+
|
|
1151
|
+
* fix copy-paste issue in polyfill, fixes [#1488](https://github.com/formatjs/react-intl/issues/1488) ([0f9ec81](https://github.com/formatjs/react-intl/commit/0f9ec81))
|
|
1152
|
+
|
|
1153
|
+
### [3.2.3](https://github.com/formatjs/react-intl/compare/v3.2.1...v3.2.3) (2019-09-18)
|
|
1154
|
+
|
|
1155
|
+
### Bug Fixes
|
|
1156
|
+
|
|
1157
|
+
* check PluralRules & RelativeTimeFormat lazily instead ([3ed95fe](https://github.com/formatjs/react-intl/commit/3ed95fe)), closes [#1487](https://github.com/formatjs/react-intl/issues/1487)
|
|
1158
|
+
|
|
1159
|
+
### [3.2.2](https://github.com/formatjs/react-intl/compare/v3.2.1...v3.2.2) (2019-09-17)
|
|
1160
|
+
|
|
1161
|
+
### [3.2.1](https://github.com/formatjs/react-intl/compare/v3.2.0...v3.2.1) (2019-09-09)
|
|
1162
|
+
|
|
1163
|
+
### Bug Fixes
|
|
1164
|
+
|
|
1165
|
+
* upgrade intl-messageformat ([40aa758](https://github.com/formatjs/react-intl/commit/40aa758))
|
|
1166
|
+
|
|
1167
|
+
## [3.2.0](https://github.com/formatjs/react-intl/compare/v3.2.0-rc.2...v3.2.0) (2019-09-04)
|
|
1168
|
+
|
|
1169
|
+
## [3.2.0-rc.2](https://github.com/formatjs/react-intl/compare/v3.2.0-rc.1...v3.2.0-rc.2) (2019-08-29)
|
|
1170
|
+
|
|
1171
|
+
### Bug Fixes
|
|
1172
|
+
|
|
1173
|
+
* fix tests & add corresponding formatToParts fns ([855e272](https://github.com/formatjs/react-intl/commit/855e272))
|
|
1174
|
+
|
|
1175
|
+
### Features
|
|
1176
|
+
|
|
1177
|
+
* extend numberformat to unified ([#1462](https://github.com/formatjs/react-intl/issues/1462)) ([a7f2104](https://github.com/formatjs/react-intl/commit/a7f2104))
|
|
1178
|
+
|
|
1179
|
+
## [3.2.0-rc.1](https://github.com/formatjs/react-intl/compare/v3.2.0-rc.0...v3.2.0-rc.1) (2019-08-29)
|
|
1180
|
+
|
|
1181
|
+
## [3.2.0-rc.0](https://github.com/formatjs/react-intl/compare/v3.1.2...v3.2.0-rc.0) (2019-08-29)
|
|
1182
|
+
|
|
1183
|
+
### Features
|
|
1184
|
+
|
|
1185
|
+
* add support for formatToParts ([e8167f3](https://github.com/formatjs/react-intl/commit/e8167f3))
|
|
1186
|
+
* introduce Parts component ([a1b5ff1](https://github.com/formatjs/react-intl/commit/a1b5ff1)), closes [#1048](https://github.com/formatjs/react-intl/issues/1048)
|
|
1187
|
+
|
|
1188
|
+
### [3.1.13](https://github.com/formatjs/react-intl/compare/v3.1.12...v3.1.13) (2019-08-28)
|
|
1189
|
+
|
|
1190
|
+
### Bug Fixes
|
|
1191
|
+
|
|
1192
|
+
* handle relative time when it hits 0 ([3b9df15](https://github.com/formatjs/react-intl/commit/3b9df15)), closes [#1455](https://github.com/formatjs/react-intl/issues/1455)
|
|
1193
|
+
|
|
1194
|
+
### [3.1.12](https://github.com/formatjs/react-intl/compare/v3.1.11...v3.1.12) (2019-08-26)
|
|
1195
|
+
|
|
1196
|
+
### Bug Fixes
|
|
1197
|
+
|
|
1198
|
+
* type def for forwardRef in injectIntl, fix [#1444](https://github.com/formatjs/react-intl/issues/1444) ([45887bf](https://github.com/formatjs/react-intl/commit/45887bf))
|
|
1199
|
+
* update intl-messageformat ([d1271b6](https://github.com/formatjs/react-intl/commit/d1271b6)), closes [#1451](https://github.com/formatjs/react-intl/issues/1451) [#1442](https://github.com/formatjs/react-intl/issues/1442)
|
|
1200
|
+
|
|
1201
|
+
### [3.1.11](https://github.com/formatjs/react-intl/compare/v3.1.10...v3.1.11) (2019-08-21)
|
|
1202
|
+
|
|
1203
|
+
### Bug Fixes
|
|
1204
|
+
|
|
1205
|
+
* remove params spread, potentially fix [#1424](https://github.com/formatjs/react-intl/issues/1424) ([aeb177c](https://github.com/formatjs/react-intl/commit/aeb177c))
|
|
1206
|
+
|
|
1207
|
+
### [3.1.10](https://github.com/formatjs/react-intl/compare/v3.1.9...v3.1.10) (2019-08-20)
|
|
1208
|
+
|
|
1209
|
+
### Bug Fixes
|
|
1210
|
+
|
|
1211
|
+
* fix UMD build ([fc17473](https://github.com/formatjs/react-intl/commit/fc17473)), closes [#1423](https://github.com/formatjs/react-intl/issues/1423)
|
|
1212
|
+
* fix UMD build, defer react-is to external ([4731805](https://github.com/formatjs/react-intl/commit/4731805))
|
|
1213
|
+
|
|
1214
|
+
### [3.1.9](https://github.com/formatjs/react-intl/compare/v3.1.8...v3.1.9) (2019-08-16)
|
|
1215
|
+
|
|
1216
|
+
### Bug Fixes
|
|
1217
|
+
|
|
1218
|
+
* fix UMD build ([ad78e3f](https://github.com/formatjs/react-intl/commit/ad78e3f)), closes [#1423](https://github.com/formatjs/react-intl/issues/1423)
|
|
1219
|
+
* move react & @types/react to devDep, fixes [#1389](https://github.com/formatjs/react-intl/issues/1389) ([0133241](https://github.com/formatjs/react-intl/commit/0133241)), closes [/github.com/yarnpkg/yarn/issues/3951#issuecomment-316424639](https://github.com/formatjs//github.com/yarnpkg/yarn/issues/3951/issues/issuecomment-316424639)
|
|
1220
|
+
|
|
1221
|
+
### [3.1.8](https://github.com/formatjs/react-intl/compare/v3.1.7...v3.1.8) (2019-08-13)
|
|
1222
|
+
|
|
1223
|
+
### Bug Fixes
|
|
1224
|
+
|
|
1225
|
+
* remove injectIntl types from component props ([#1415](https://github.com/formatjs/react-intl/issues/1415)) ([9b359ec](https://github.com/formatjs/react-intl/commit/9b359ec)), closes [#1414](https://github.com/formatjs/react-intl/issues/1414)
|
|
1226
|
+
|
|
1227
|
+
### [3.1.7](https://github.com/formatjs/react-intl/compare/v3.1.5...v3.1.7) (2019-08-13)
|
|
1228
|
+
|
|
1229
|
+
### Bug Fixes
|
|
1230
|
+
|
|
1231
|
+
* avoid wrapping components with injectIntl ([#1413](https://github.com/formatjs/react-intl/issues/1413)), fixes [#1412](https://github.com/formatjs/react-intl/issues/1412) ([ce560e7](https://github.com/formatjs/react-intl/commit/ce560e7))
|
|
1232
|
+
* fix state typo, fixes [#1411](https://github.com/formatjs/react-intl/issues/1411) ([46ad1c8](https://github.com/formatjs/react-intl/commit/46ad1c8))
|
|
1233
|
+
|
|
1234
|
+
### [3.1.6](https://github.com/formatjs/react-intl/compare/v3.1.5...v3.1.6) (2019-08-12)
|
|
1235
|
+
|
|
1236
|
+
### Bug Fixes
|
|
1237
|
+
|
|
1238
|
+
* fix state typo, fixes [#1411](https://github.com/formatjs/react-intl/issues/1411) ([46ad1c8](https://github.com/formatjs/react-intl/commit/46ad1c8))
|
|
1239
|
+
|
|
1240
|
+
### [3.1.5](https://github.com/formatjs/react-intl/compare/v3.1.4...v3.1.5) (2019-08-11)
|
|
1241
|
+
|
|
1242
|
+
### Bug Fixes
|
|
1243
|
+
|
|
1244
|
+
* drop @types/react version to 16.0 ([1669f0e](https://github.com/formatjs/react-intl/commit/1669f0e))
|
|
1245
|
+
|
|
1246
|
+
### [3.1.4](https://github.com/formatjs/react-intl/compare/v3.1.3...v3.1.4) (2019-08-11)
|
|
1247
|
+
|
|
1248
|
+
### Bug Fixes
|
|
1249
|
+
|
|
1250
|
+
* Fix broken links in Getting Started (fix [#1403](https://github.com/formatjs/react-intl/issues/1403)) ([#1405](https://github.com/formatjs/react-intl/issues/1405)) ([57f0748](https://github.com/formatjs/react-intl/commit/57f0748))
|
|
1251
|
+
* generate lib instead of mjs ([99f9257](https://github.com/formatjs/react-intl/commit/99f9257)), closes [#1395](https://github.com/formatjs/react-intl/issues/1395) [#1407](https://github.com/formatjs/react-intl/issues/1407)
|
|
1252
|
+
|
|
1253
|
+
### [3.1.3](https://github.com/formatjs/react-intl/compare/v3.1.1...v3.1.3) (2019-08-09)
|
|
1254
|
+
|
|
1255
|
+
### Bug Fixes
|
|
1256
|
+
|
|
1257
|
+
* allow string in formatDate & formatTime ([aed8c68](https://github.com/formatjs/react-intl/commit/aed8c68)), closes [#1396](https://github.com/formatjs/react-intl/issues/1396)
|
|
1258
|
+
* create initial intl for Provider ([4306275](https://github.com/formatjs/react-intl/commit/4306275))
|
|
1259
|
+
* formatRelativeTime type def unit param ([cb7da58](https://github.com/formatjs/react-intl/commit/cb7da58))
|
|
1260
|
+
* remove contextType usage ([660a546](https://github.com/formatjs/react-intl/commit/660a546))
|
|
1261
|
+
|
|
1262
|
+
### [3.1.2](https://github.com/formatjs/react-intl/compare/v3.1.1...v3.1.2) (2019-08-09)
|
|
1263
|
+
|
|
1264
|
+
### Bug Fixes
|
|
1265
|
+
|
|
1266
|
+
* allow string in formatDate & formatTime ([aed8c68](https://github.com/formatjs/react-intl/commit/aed8c68)), closes [#1396](https://github.com/formatjs/react-intl/issues/1396)
|
|
1267
|
+
* formatRelativeTime type def unit param ([cb7da58](https://github.com/formatjs/react-intl/commit/cb7da58))
|
|
1268
|
+
* remove contextType usage ([660a546](https://github.com/formatjs/react-intl/commit/660a546))
|
|
1269
|
+
|
|
1270
|
+
### [3.1.1](https://github.com/yahoo/react-intl/compare/v3.1.0...v3.1.1) (2019-08-02)
|
|
1271
|
+
|
|
1272
|
+
### Bug Fixes
|
|
1273
|
+
|
|
1274
|
+
* only createIntl from filteredProps ([d665f31](https://github.com/yahoo/react-intl/commit/d665f31))
|
|
1275
|
+
|
|
1276
|
+
## [3.1.0](https://github.com/yahoo/react-intl/compare/v3.0.0...v3.1.0) (2019-08-06)
|
|
1277
|
+
|
|
1278
|
+
### Bug Fixes
|
|
1279
|
+
|
|
1280
|
+
* add "types" property to package.json ([#1394](https://github.com/yahoo/react-intl/issues/1394)) ([a82ddd0](https://github.com/yahoo/react-intl/commit/a82ddd0))
|
|
1281
|
+
* add createIntlCache to top level index, fixes [#1393](https://github.com/yahoo/react-intl/issues/1393) ([19398d7](https://github.com/yahoo/react-intl/commit/19398d7))
|
|
1282
|
+
|
|
1283
|
+
### Features
|
|
1284
|
+
|
|
1285
|
+
* generate .mjs instead of lib ([5fd070d](https://github.com/yahoo/react-intl/commit/5fd070d))
|
|
1286
|
+
|
|
1287
|
+
## [3.0.0](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.23...v3.0.0) (2019-08-06)
|
|
1288
|
+
|
|
1289
|
+
### Bug Fixes
|
|
1290
|
+
|
|
1291
|
+
* rm core pkg for now ([223d2cf](https://github.com/yahoo/react-intl/commit/223d2cf))
|
|
1292
|
+
* rm rollup for core, reduce @types/react version ([336d365](https://github.com/yahoo/react-intl/commit/336d365))
|
|
1293
|
+
* type definitions and make behavior match spec more ([2030bdd](https://github.com/yahoo/react-intl/commit/2030bdd))
|
|
1294
|
+
|
|
1295
|
+
## [3.0.0-beta.23](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.22...v3.0.0-beta.23) (2019-08-02)
|
|
1296
|
+
|
|
1297
|
+
### Features
|
|
1298
|
+
|
|
1299
|
+
- simplify provider inheritance, add new APIs ([#1387](https://github.com/yahoo/react-intl/issues/1387)) ([227a444](https://github.com/yahoo/react-intl/commit/227a444)), closes [#1386](https://github.com/yahoo/react-intl/issues/1386) [#1376](https://github.com/yahoo/react-intl/issues/1376)
|
|
1300
|
+
|
|
1301
|
+
## [3.0.0-beta.22](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.21...v3.0.0-beta.22) (2019-07-29)
|
|
1302
|
+
|
|
1303
|
+
### Bug Fixes
|
|
1304
|
+
|
|
1305
|
+
- rm componentWillReceiveProps from relative ([964159b](https://github.com/yahoo/react-intl/commit/964159b))
|
|
1306
|
+
|
|
1307
|
+
### Features
|
|
1308
|
+
|
|
1309
|
+
- upgrade intl-messageformat with new apostrophe escape ([f59607e](https://github.com/yahoo/react-intl/commit/f59607e))
|
|
1310
|
+
|
|
1311
|
+
## [3.0.0-beta.21](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.20...v3.0.0-beta.21) (2019-07-28)
|
|
1312
|
+
|
|
1313
|
+
### Bug Fixes
|
|
1314
|
+
|
|
1315
|
+
- fix doc for rich text formatting ([00cbf80](https://github.com/yahoo/react-intl/commit/00cbf80))
|
|
1316
|
+
- FormattedRelativeTime with high seconds values ([#1385](https://github.com/yahoo/react-intl/issues/1385)) ([a7f1dfa](https://github.com/yahoo/react-intl/commit/a7f1dfa))
|
|
1317
|
+
|
|
1318
|
+
## [3.0.0-beta.20](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.19...v3.0.0-beta.20) (2019-07-25)
|
|
1319
|
+
|
|
1320
|
+
### Bug Fixes
|
|
1321
|
+
|
|
1322
|
+
- upgrade intl-messageformat and tests ([1dfe7fd](https://github.com/yahoo/react-intl/commit/1dfe7fd))
|
|
1323
|
+
|
|
1324
|
+
## [3.0.0-beta.19](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2019-07-25)
|
|
1325
|
+
|
|
1326
|
+
### Features
|
|
1327
|
+
|
|
1328
|
+
- allow formatDate and formatTime to take string type ([#1369](https://github.com/yahoo/react-intl/issues/1369)) ([d110548](https://github.com/yahoo/react-intl/commit/d110548))
|
|
1329
|
+
- Allow formatting embedded XML ([#1379](https://github.com/yahoo/react-intl/issues/1379)) ([61d3c1b](https://github.com/yahoo/react-intl/commit/61d3c1b))
|
|
1330
|
+
- Upgrade guide implementing RelativeTime behavior ([#1374](https://github.com/yahoo/react-intl/issues/1374)) ([f8ddcd0](https://github.com/yahoo/react-intl/commit/f8ddcd0))
|
|
1331
|
+
|
|
1332
|
+
## [3.0.0-beta.18](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2019-07-12)
|
|
1333
|
+
|
|
1334
|
+
### Bug Fixes
|
|
1335
|
+
|
|
1336
|
+
- **types:** Change type to allow autocompletion and existence checking ([#1368](https://github.com/yahoo/react-intl/issues/1368)) ([20d39e6](https://github.com/yahoo/react-intl/commit/20d39e6))
|
|
1337
|
+
|
|
1338
|
+
### Features
|
|
1339
|
+
|
|
1340
|
+
- make `formatMessage` take in `ReactElement` ([#1367](https://github.com/yahoo/react-intl/issues/1367)) ([15ed625](https://github.com/yahoo/react-intl/commit/15ed625))
|
|
1341
|
+
|
|
1342
|
+
## [3.0.0-beta.17](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.16...v3.0.0-beta.17) (2019-07-11)
|
|
1343
|
+
|
|
1344
|
+
### Bug Fixes
|
|
1345
|
+
|
|
1346
|
+
- add default tagName to HTML message ([#1361](https://github.com/yahoo/react-intl/issues/1361)) ([e86befe](https://github.com/yahoo/react-intl/commit/e86befe))
|
|
1347
|
+
|
|
1348
|
+
## [3.0.0-beta.16](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.15...v3.0.0-beta.16) (2019-07-09)
|
|
1349
|
+
|
|
1350
|
+
### Features
|
|
1351
|
+
|
|
1352
|
+
- expose a core bundle w/o parser ([#1358](https://github.com/yahoo/react-intl/issues/1358)) ([0a6ca3f](https://github.com/yahoo/react-intl/commit/0a6ca3f))
|
|
1353
|
+
- support textComponent="", fixes [#1330](https://github.com/yahoo/react-intl/issues/1330) ([#1354](https://github.com/yahoo/react-intl/issues/1354)) ([3f27902](https://github.com/yahoo/react-intl/commit/3f27902))
|
|
1354
|
+
- upgrade formatjs dev ([#1357](https://github.com/yahoo/react-intl/issues/1357)) ([61b536b](https://github.com/yahoo/react-intl/commit/61b536b))
|
|
1355
|
+
|
|
1356
|
+
## [3.0.0-beta.15](https://github.com/yahoo/react-intl/compare/v3.0.0-beta-8...v3.0.0-beta.15) (2019-06-28)
|
|
1357
|
+
|
|
1358
|
+
### Bug Fixes
|
|
1359
|
+
|
|
1360
|
+
- escape defaultMessage properly, fixes [#1158](https://github.com/yahoo/react-intl/issues/1158) ([#1345](https://github.com/yahoo/react-intl/issues/1345)) ([96e9bae](https://github.com/yahoo/react-intl/commit/96e9bae))
|
|
1361
|
+
- reduce TS version to 3.3 ([#1348](https://github.com/yahoo/react-intl/issues/1348)) ([6dfef2b](https://github.com/yahoo/react-intl/commit/6dfef2b))
|
|
1362
|
+
- **deps:** move @formatjs/intl-relativetimeformat to deps ([#1349](https://github.com/yahoo/react-intl/issues/1349)) ([310bb62](https://github.com/yahoo/react-intl/commit/310bb62))
|
|
1363
|
+
|
|
1364
|
+
### Features
|
|
1365
|
+
|
|
1366
|
+
- add standard-version ([b656847](https://github.com/yahoo/react-intl/commit/b656847))
|
|
1367
|
+
- pass in formatters to IntlMessageFormat for perf ([#1343](https://github.com/yahoo/react-intl/issues/1343)) ([303a4ea](https://github.com/yahoo/react-intl/commit/303a4ea))
|
|
1368
|
+
- switch to npm ([#1334](https://github.com/yahoo/react-intl/issues/1334)) ([0eab294](https://github.com/yahoo/react-intl/commit/0eab294))
|
|
1369
|
+
- Use React.Fragment as default textComponent ([#1326](https://github.com/yahoo/react-intl/issues/1326)) ([6e03fa3](https://github.com/yahoo/react-intl/commit/6e03fa3))
|
|
1370
|
+
- **types:** export WithIntlProps ([#1350](https://github.com/yahoo/react-intl/issues/1350)) ([16d7ed9](https://github.com/yahoo/react-intl/commit/16d7ed9))
|
|
1371
|
+
- **types:** export WrappedComponentProps ([#1351](https://github.com/yahoo/react-intl/issues/1351)) ([af650b4](https://github.com/yahoo/react-intl/commit/af650b4))
|
|
1372
|
+
|
|
1373
|
+
## [3.0.0-beta.14](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.13...v3.0.0-beta.14) (2019-07-03)
|
|
1374
|
+
|
|
1375
|
+
### Bug Fixes
|
|
1376
|
+
|
|
1377
|
+
- **deps:** move @formatjs/intl-relativetimeformat to deps ([#1349](https://github.com/yahoo/react-intl/issues/1349)) ([310bb62](https://github.com/yahoo/react-intl/commit/310bb62))
|
|
1378
|
+
|
|
1379
|
+
## [3.0.0-beta.13](https://github.com/yahoo/react-intl/compare/v3.0.0-beta.12...v3.0.0-beta.13) (2019-07-03)
|
|
1380
|
+
|
|
1381
|
+
### Bug Fixes
|
|
1382
|
+
|
|
1383
|
+
- escape defaultMessage properly, fixes [#1158](https://github.com/yahoo/react-intl/issues/1158) ([#1345](https://github.com/yahoo/react-intl/issues/1345)) ([96e9bae](https://github.com/yahoo/react-intl/commit/96e9bae))
|
|
1384
|
+
- reduce TS version to 3.3 ([#1348](https://github.com/yahoo/react-intl/issues/1348)) ([6dfef2b](https://github.com/yahoo/react-intl/commit/6dfef2b))
|