UNPKG

46.9 kBMarkdownView Raw
1### 15.4.0
2
3feat: add meta with codes on warnings to allow conditional logging [1826](https://github.com/i18next/react-i18next/pull/1826)
4
5### 15.3.0
6
7Uses the i18next logger instead of the default console logger, if there is a valid i18next instance. Now the debug i18next option is respected, and you can also inject your own logger module: https://www.i18next.com/misc/creating-own-plugins#logger
8
9### 15.2.0
10
11This version may be breaking if you still use React < v18 with TypeScript.
12For JS users this version is equal to v15.1.4
13
14- fix: Global JSX namespace is deprecated [1823](https://github.com/i18next/react-i18next/issues/1823) with [1822](https://github.com/i18next/react-i18next/pull/1822)
15
16### 15.1.4
17
18- Fix: warning each child should have a unique key [1820](https://github.com/i18next/react-i18next/pull/1820)
19
20### 15.1.3
21
22- fix: Self-closing REACT components in translation strings should not attempt to replace the component's children [1815](https://github.com/i18next/react-i18next/issues/1815) [1816](https://github.com/i18next/react-i18next/pull/1816)
23
24### 15.1.2
25
26- fix: Attempted to assign to readonly property [1813](https://github.com/i18next/react-i18next/pull/1813)
27
28### 15.1.1
29
30- fix: Not all namespaces are loaded when passing the lng option to useTranslate [1809](https://github.com/i18next/react-i18next/issues/1809)
31
32### 15.1.0
33
34- fix: `<Trans />` warns 'Each child in a list should have a unique "key" prop.' for react 19 [1806](https://github.com/i18next/react-i18next/pull/1806)
35
36### 15.0.3
37
38- try to fix [unexpected token issue](https://github.com/i18next/next-i18next/issues/2302)
39
40### 15.0.2
41
42- try to fix Trans handling with alwaysFormat set to true [1801](https://github.com/i18next/react-i18next/issues/1801)
43
44### 15.0.1
45
46- revert arrow function in class property to address [this](https://github.com/i18next/react-i18next/commit/46e8ea5ff69325b73087811a2ce6a2b1faffa971#r145061161)
47
48### 15.0.0
49
50- use optional chaining, nullish coalescing and nullish coalescing assignment [1774](https://github.com/i18next/react-i18next/pull/1774)
51- Build config and optimizations [1769](https://github.com/i18next/react-i18next/pull/1769)
52- some dependency updates [1768](https://github.com/i18next/react-i18next/pull/1768)
53- use modern hasLoadedNamespace code (now requires at least i18next > v19.4.5 (introduced in june 2020))
54
55### 14.1.3
56
57- create a isObject helper function [1766](https://github.com/i18next/react-i18next/pull/1766)
58- optimize nodesToString [1765](https://github.com/i18next/react-i18next/pull/1765)
59- Simplifies hasValidReactChildren [1764](https://github.com/i18next/react-i18next/pull/1764)
60- create a isString helper to avoid code duplication [1763](https://github.com/i18next/react-i18next/pull/1763)
61- use arrow functions where possible [1762](https://github.com/i18next/react-i18next/pull/1762)
62- use the commented out async code [1761](https://github.com/i18next/react-i18next/pull/1761)
63
64### 14.1.2
65
66- bring back internal interpolationOverride handling for Trans component (if there are childrens), fixes [1754](https://github.com/i18next/react-i18next/issues/1754)
67
68### 14.1.1
69
70- do not modify passed tOptions context property to address [1745](https://github.com/i18next/react-i18next/issues/1745)
71
72### 14.1.0
73
74- types(`Trans`): add typechecking on context prop [1732](https://github.com/i18next/react-i18next/pull/1732) (might break if using "internal" `Trans` or `TransProps`)
75
76### 14.0.8
77
78- fix: issue [1728](https://github.com/i18next/react-i18next/issues/1728) when useSuspense is false and default ns [1731](https://github.com/i18next/react-i18next/pull/1731)
79
80### 14.0.7
81
82- try to get rid of internal interpolationOverride handling for Trans component, fixes [1729](https://github.com/i18next/react-i18next/issues/1729)
83
84### 14.0.6
85
86- align context handling of Trans component with t function, fixes [1729](https://github.com/i18next/react-i18next/issues/1729)
87
88### 14.0.5
89
90- Fix [1691](https://github.com/i18next/react-i18next/issues/1691) for strict mode, by preserving change language binding [1720](https://github.com/i18next/react-i18next/pull/1720)
91
92### 14.0.4
93
94- fix interpolation of the count prop [1719](https://github.com/i18next/react-i18next/issues/1719)
95
96### 14.0.3
97
98- revert changes done in v14.0.2 since it breaks normal language change render updates
99
100### 14.0.2
101
102- Fix/bug [1691](https://github.com/i18next/react-i18next/issues/1691) make returned t function identical upon second effect run in strict mode [1716](https://github.com/i18next/react-i18next/pull/1716)
103
104### 14.0.1
105
106- types: fix typo in `CustomInstanceExtensions` [1713](https://github.com/i18next/react-i18next/pull/1713)
107
108### 14.0.0
109
110- types: reportNamespaces is now optional, should fix [1693](https://github.com/i18next/react-i18next/issues/1693)
111
112### 13.5.0
113
114- self-closing components in translation strings should not attempt to replace the component's children [1695](https://github.com/i18next/react-i18next/issues/1695)
115
116### 13.4.1
117
118- types: use CustomInstanceExtenstions to extend reportNamespaces
119
120### 13.4.0
121
122- fix: separate cjs and mjs typings
123
124### 13.3.2
125
126- types: fix consider importing '\*.js'
127
128### 13.3.1
129
130- optimize defaultVariables feature introduced in last release
131
132### 13.3.0
133
134- Respect defaultVariables in the interpolation options [1685](https://github.com/i18next/react-i18next/issues/1685)
135
136### 13.2.2
137
138- Fix missing TransWithoutContext type [1672](https://github.com/i18next/react-i18next/pull/1672)
139
140### 13.2.1
141
142- types: Allow iterable ReactI18NextChildren as children [1669](https://github.com/i18next/react-i18next/pull/1669)
143
144### 13.2.0
145
146- Don't use defaults prop as default key [1664](https://github.com/i18next/react-i18next/pull/1664)
147
148### 13.1.2
149
150- postpone usage of newer ES syntax
151
152### 13.1.1
153
154- Render all children regardless of type when using i18nIsDynamicList prop [1661](https://github.com/i18next/react-i18next/pull/1661)
155
156### 13.1.0
157
158- Fix non-list dynamic content in Trans component [1660](https://github.com/i18next/react-i18next/pull/1660)
159
160### 13.0.3
161
162- fix unescape is not consistently called for all values [1657](https://github.com/i18next/react-i18next/issues/1657)
163
164### 13.0.2
165
166- export icu.macro [1652](https://github.com/i18next/react-i18next/issues/1652)
167
168### 13.0.1
169
170- types: Fix performance issue in Trans component [1646](https://github.com/i18next/react-i18next/pull/1646)
171
172### 13.0.0
173
174- Update types to support t function redesign [1615](https://github.com/i18next/react-i18next/pull/1615)
175- requires i18next >= v23.0.1
176
177### 12.3.1
178
179- optimization for optional lng prop for useTranslation, should now prevent missings when lazy loading translations [1637](https://github.com/i18next/react-i18next/issues/1637)
180
181### 12.3.0
182
183- optional lng prop for useTranslation (helping on server side [1637](https://github.com/i18next/react-i18next/issues/1637))
184
185### 12.2.2
186
187- try to fix conditional exports in package.json
188
189### 12.2.1
190
191- type fix: the type of defaultNS in I18nextProvider should support string[] [1633](https://github.com/i18next/react-i18next/pull/1633)
192
193### 12.2.0
194
195- if defaultValue is passed in not ready t functio (via useTranslation) return that instead of the key, even though the user-land could should be fixed [1618](https://github.com/i18next/react-i18next/issues/1618)
196
197### 12.1.5
198
199- fix react merged types [1606](https://github.com/i18next/react-i18next/pull/1606) originally introduced with #1531 to address #1506
200
201### 12.1.4
202
203- fix crash in gatsby [1594](https://github.com/i18next/react-i18next/issues/1594)
204
205### 12.1.3
206
207- fix fallback of t function in Trans component
208
209### 12.1.2
210
211- fix crash in gatsby [1594](https://github.com/i18next/react-i18next/issues/1594)
212
213### 12.1.1
214
215- fix for node resolution [1589](https://github.com/i18next/react-i18next/issues/1589)
216
217### 12.1.0
218
219- context-less version of Trans component to be used for environments without react context [1588](https://github.com/i18next/react-i18next/pull/1588)
220
221### 12.0.0
222
223- Update t function types to rely on types coming from i18next [1501](https://github.com/i18next/react-i18next/pull/1501)
224
225### 11.18.6
226
227- types: nsMode [1554](https://github.com/i18next/react-i18next/issues/1554)
228
229### 11.18.5
230
231- support unescaping forward slash [1548](https://github.com/i18next/react-i18next/pull/1548)
232
233### 11.18.4
234
235- fix: reset t when keyPrefix is updated [1544](https://github.com/i18next/react-i18next/pull/1544)
236
237### 11.18.3
238
239- types: bindI18n option for UseTranslationOptions
240
241### 11.18.2
242
243- more html entities to unescape by default [1538](https://github.com/i18next/react-i18next/pull/1538)
244
245### 11.18.1
246
247- types: allow iterable with objects as children [1531](https://github.com/i18next/react-i18next/pull/1531)
248
249### 11.18.0
250
251- ability to add custom unescape function [1529](https://github.com/i18next/react-i18next/pull/1529)
252
253### 11.17.4
254
255- fix: UMD build [1527](https://github.com/i18next/react-i18next/issues/1527)
256
257### 11.17.3
258
259- style: explicit React imports [1525](https://github.com/i18next/react-i18next/pull/1525)
260
261### 11.17.2
262
263- reset t if ns changes in useTranslation [1518](https://github.com/i18next/react-i18next/pull/1518)
264
265### 11.17.1
266
267- Stricter typescript type for Trans components prop [1516](https://github.com/i18next/react-i18next/pull/1516)
268
269### 11.17.0
270
271- Add support for keyPrefix in withTranslation [1512](https://github.com/i18next/react-i18next/pull/1512)
272
273### 11.16.11
274
275- types: fix Translation component types regression [1511](https://github.com/i18next/react-i18next/pull/1511)
276
277### 11.16.10
278
279- types: translation component types [1509](https://github.com/i18next/react-i18next/pull/1509)
280
281### 11.16.9
282
283- types: fix missing generic type for HTMLAttributes [1499](https://github.com/i18next/react-i18next/pull/1499)
284
285### 11.16.8
286
287- types: fix Trans component to support react 18 types, by introducing allowObjectInHTMLChildren TS option [1492](https://github.com/i18next/react-i18next/pull/1492)
288
289### 11.16.7
290
291- types: Added objects explicitly to Trans children [1486](https://github.com/i18next/react-i18next/pull/1486)
292
293### 11.16.6
294
295- fix: warn just once 'i18n.languages were undefined or empty' and return true, like before
296
297### 11.16.5
298
299- types: ReactNode should be prefixed with React [1481](https://github.com/i18next/react-i18next/pull/1481)
300
301### 11.16.4
302
303- fix type 'TFunctionResult' is not assignable to type 'ReactNode' on React 18 [1480](https://github.com/i18next/react-i18next/pull/1480)
304
305### 11.16.3
306
307- types: children fix for React v18 [1478](https://github.com/i18next/react-i18next/pull/1478)
308- fix: apply [same fix](https://github.com/i18next/i18next/commit/0dcf7fdede9d58e16f82179b41b09f10eda5aeea) for local hasLoadedNamespace function
309
310### 11.16.2
311
312- update macro to wrap defaults in brackets when necessary [1472](https://github.com/i18next/react-i18next/pull/1472)
313
314### 11.16.1
315
316- types: for context prop of Trans component
317
318### 11.16.0
319
320- fix: transSupportBasicHtmlNodes for keepArray check [1470](https://github.com/i18next/react-i18next/pull/1470)
321- feat: add context prop to Trans component [1464](https://github.com/i18next/react-i18next/issues/1464)
322
323### 11.15.7
324
325- types: add nsSeparator to CustomTypeOptions [1471](https://github.com/i18next/react-i18next/pull/1471)
326
327### 11.15.6
328
329- fix error for typescript 4.6 [1453](https://github.com/i18next/react-i18next/pull/1463)
330
331### 11.15.5
332
333- types: fix never return type when using plurals [1453](https://github.com/i18next/react-i18next/pull/1453)
334
335### 11.15.4
336
337- types: add values field to Plural component in macros [1446](https://github.com/i18next/react-i18next/pull/1446)
338
339### 11.15.3
340
341- types: fix for issue introduced with type extension for react-native [1436](https://github.com/i18next/react-i18next/pull/1436)
342
343### 11.15.2
344
345- types: TypeScript interface for the Trans component does now accept react-native props [1418](https://github.com/i18next/react-i18next/pull/1418)
346
347### 11.15.1
348
349- add missing types for shouldUnescape and useTranslation [1429](https://github.com/i18next/react-i18next/pull/1429)
350
351### 11.15.0
352
353- option to unescape html in Trans [1426](https://github.com/i18next/react-i18next/pull/1426)
354
355### 11.14.3
356
357- types: remove undefined from conditional type [1410](https://github.com/i18next/react-i18next/pull/1410)
358
359### 11.14.2
360
361- Add type-safe support to deep keyPrefix [1403](https://github.com/i18next/react-i18next/pull/1403)
362
363### 11.14.1
364
365- Rollback [1402](https://github.com/i18next/react-i18next/pull/1402): Remove generics from Trans component to suppress warning issue [1400](https://github.com/i18next/react-i18next/pull/1400)
366
367### 11.14.0
368
369- Remove generics from Trans component to suppress warning issue [1400](https://github.com/i18next/react-i18next/pull/1400)
370- Add type support to plurals [1399](https://github.com/i18next/react-i18next/pull/1399)
371
372### 11.13.0
373
374- feat(types): add type-safe support to keyPrefix option [1390](https://github.com/i18next/react-i18next/pull/1390)
375- feat(types): allow key separator augmentation [1367](https://github.com/i18next/react-i18next/pull/1367)
376
377### 11.12.0
378
379- feature: add key prefix support to useTranslation hook [1371](https://github.com/i18next/react-i18next/pull/1371)
380
381### 11.11.4
382
383- typescript: add returnNull and returnEptyString options to TypeOptions interface [1341](https://github.com/i18next/react-i18next/pull/1341)
384
385### 11.11.3
386
387- Trans: parse first, then interpolate [1345](https://github.com/i18next/react-i18next/pull/1345)
388
389### 11.11.2
390
391- feat(typings): support readonly namespaces in TFuncKey [1340](https://github.com/i18next/react-i18next/pull/1340)
392
393### 11.11.1
394
395- feat(types): allow readonly namespaces in useTranslation [1339](https://github.com/i18next/react-i18next/pull/1339)
396
397### 11.11.0
398
399- introduce `CustomTypeOptions` type definition and deprecate the `Resources` type definition [1328](https://github.com/i18next/react-i18next/pull/1328)
400
401### 11.10.0
402
403- add transWrapTextNodes option [1324](https://github.com/i18next/react-i18next/pull/1324) to prevent a well-known Google Translate issue with React apps [1323](https://github.com/i18next/react-i18next/issues/1323), thanks to [feross](https://github.com/feross)
404
405### 11.9.0
406
407- typescript/icu macro: add new syntax for interpolation of complex types [1316](https://github.com/i18next/react-i18next/pull/1316) -> [docs for template usage](https://react.i18next.com/misc/using-with-icu-format#tagged-template-for-icu)
408
409### 11.8.15
410
411- ignore null children in Trans component [1307](https://github.com/i18next/react-i18next/issues/1307)
412
413### 11.8.14
414
415- update html-parse-stringify to fix uppercase elements in Trans component [1304](https://github.com/i18next/react-i18next/issues/1304)
416
417### 11.8.13
418
419- Replace html-parse-stringify2 with html-parse-stringify [1283](https://github.com/i18next/react-i18next/pull/1283) to prevent [CVE-2021-23346](https://github.com/i18next/react-i18next/issues/1275)
420
421### 11.8.12
422
423- refactor: remove unneeded object [1286](https://github.com/i18next/react-i18next/pull/1286)
424
425### 11.8.11
426
427- typescript: Bug fixes [1284](https://github.com/i18next/react-i18next/pull/1284)
428
429### 11.8.10
430
431- typescript: Move type definition files [1276](https://github.com/i18next/react-i18next/pull/1276)
432
433### 11.8.9
434
435- Fix allow to replace i18n in provider with useTranslation hook [1273](https://github.com/i18next/react-i18next/pull/1273)
436
437### 11.8.8
438
439- typescript: Allow `TFuncKey` to be used without specifying the namespace, in the same way TFunction and useTranslation work [1262](https://github.com/i18next/react-i18next/pull/1262)
440
441### 11.8.7
442
443- warning for old wait usage
444
445### 11.8.6
446
447- typescript: Updated TS definitions (adding useSuspense option in TranslationProps) [1247](https://github.com/i18next/react-i18next/pull/1247)
448
449### 11.8.5
450
451- typescript: fix: Inference for specific keys ts 4.1 [1230](https://github.com/i18next/react-i18next/pull/1230)
452
453### 11.8.4
454
455- typescript: Add workaround to suppress infinite instantiation warning [1227](https://github.com/i18next/react-i18next/pull/1227)
456- typescript: withTranslation() typing fix for defaultProps [1226](https://github.com/i18next/react-i18next/pull/1226)
457- typescript: Accept const components prop for Trans [1224](https://github.com/i18next/react-i18next/pull/1224)
458
459### 11.8.3
460
461- Fix: Return type inference for t function (typescript 4.1) [1221](https://github.com/i18next/react-i18next/pull/1221)
462
463### 11.8.2
464
465- fix: type definitions for typescript 4.1 [1220](https://github.com/i18next/react-i18next/pull/1220)
466
467### 11.8.1
468
469- fix: typescript definitions for t function without namespaces [1214](https://github.com/i18next/react-i18next/pull/1214)
470
471### 11.8.0
472
473- typescript: Make the translation function fully type-safe [1193](https://github.com/i18next/react-i18next/pull/1193)
474- trans should work with misleading overloaded empty elements in components [1206](https://github.com/i18next/react-i18next/pull/1206)
475
476### 11.7.4
477
478- fixes passing interpolations options via Trans components tOptions prop [1204](https://github.com/i18next/react-i18next/pull/1204)
479
480### 11.7.3
481
482- Avoid redundant re-rendering in I18nextProvider [1174](https://github.com/i18next/react-i18next/pull/1174)
483
484### 11.7.2
485
486- Avoid setState while react is rendering [1165](https://github.com/i18next/react-i18next/pull/1165)
487
488### 11.7.1
489
490- typescript: fix: typescript definition of context object [1160](https://github.com/i18next/react-i18next/pull/1160)
491
492### 11.7.0
493
494- Trans interpolating self-closing tags in components prop(object) [1140](https://github.com/i18next/react-i18next/pull/1140)
495
496### 11.6.0
497
498- Trans allow components props to be an object containing named interpolation elements
499
500### 11.5.1
501
502- providing filename when running babel.parse in icu.macro [1133](https://github.com/i18next/react-i18next/pull/1133)
503
504### 11.5.0
505
506- Trans: merge option in mapAST [1120](https://github.com/i18next/react-i18next/pull/1120)
507
508### 11.4.0
509
510- Add sideEffects false to package json to allow tree shaking [1097](https://github.com/i18next/react-i18next/pull/1097)
511
512### 11.3.5
513
514- fix returning defaultValue for Trans component [1092](https://github.com/i18next/react-i18next/pull/1092)
515
516### 11.3.4
517
518- [useTranslation] Avoid setting the new `t` function if the component is unmounted. (1051)[https://github.com/i18next/react-i18next/pull/1051]
519
520### 11.3.3
521
522- fixes copying ns in useSSR
523
524### 11.3.2
525
526- typescript: Add optional defaultN [1050](https://github.com/i18next/react-i18next/pull/1050)
527
528### 11.3.1
529
530- typescript: Translation component's ready parameter is missing in TypeScript definition [1044](https://github.com/i18next/react-i18next/pull/1044)
531- change hook condition in Trans to equal useTranslations implementation
532
533### 11.3.0
534
535- useSSR: add namespaces to init options options.ns [1031](https://github.com/i18next/react-i18next/issues/1031)
536- typescript: Fix the type of the components props of Trans [1036](https://github.com/i18next/react-i18next/pull/1036)
537
538### 11.2.7
539
540- typescript: Allow ComponentType for Trans' `parent` type [1021](https://github.com/i18next/react-i18next/pull/1021)
541
542### 11.2.6
543
544- typescript: Allow html props on Trans, fix `parent` prop type [1019](https://github.com/i18next/react-i18next/pull/1019)
545
546### 11.2.5
547
548- handle array fallback on wrongly configured app ;) [1010](https://github.com/i18next/react-i18next/pull/1010)
549
550### 11.2.4
551
552- typescript: Extend withTranslation tests to include optional props [1009](https://github.com/i18next/react-i18next/pull/1009)
553
554### 11.2.3
555
556- Store should be initialized after useSSR [1008](https://github.com/i18next/react-i18next/pull/1008)
557
558### 11.2.2
559
560- Only pass forwardedRef to children if options.withRef is false [999](https://github.com/i18next/react-i18next/pull/999)
561
562### 11.2.1
563
564- remove used jsx in withTranslation to avoid issues while compiling [994](https://github.com/i18next/react-i18next/pull/994)
565
566### 11.2.0
567
568- withTranslation allow not only passing a ref with option withRef but also passing a forwardedRef from outside as props (before forwardedRef was only added to wrapped component if the withRef option was set) [992](https://github.com/i18next/react-i18next/pull/992)
569
570### 11.1.0
571
572- Update `rollup.config.js` for IE11 Transpilations [988](https://github.com/i18next/react-i18next/pull/988)
573
574### 11.0.1
575
576- typescript: Use updated ts export default from i18next [984](https://github.com/i18next/react-i18next/pull/984)
577
578### 11.0.0
579
580- **Breaking** based on i18next changes made in [v18.0.0](https://github.com/i18next/i18next/blob/master/CHANGELOG.md#1800) changing the language should not trigger a Suspense anylonger. The state will be ready and `t` bound to the previous language until `languageChanged` get triggered -> this results in a nicer experience for users (no flickering Suspense while changing the language). Based on issue "Suspence is fired during lang change when useTranslation called in between" [975](https://github.com/i18next/react-i18next/issues/975)
581- the default bindI18n is now `languageChanged` and `languageChanging` was removed from that default
582- Adding `languageChanging` to bindI18n will bring back old behaviour where a language change will trigger a Suspense / ready: false while loading those new translations
583- You can now override the defaults in i18next.options.react for `bindI18n`, `bindI18nStore` and `useSuspense` in the hook by `useTranslation(ns, { bindI18n, bindI18nStore, useSuspense})` or in the HOC by passing those as props.
584
585### 10.13.2
586
587- typescript: Add t function to TransProps types [969](https://github.com/i18next/react-i18next/pull/969)
588- lint: Fix linter errors [966](https://github.com/i18next/react-i18next/pull/966)
589
590### 10.13.1
591
592- avoid conditional hook call in edge case (was only issue in wrong setup useContext outside I18nextProvider) [951](https://github.com/i18next/react-i18next/pull/951)
593
594### 10.13.0
595
596- also use count from `values` object passed to Trans if passed - else use the one on props [947](https://github.com/i18next/react-i18next/pull/947)
597
598### 10.12.5
599
600- typescript: Update types for reportNamespaces [945](https://github.com/i18next/react-i18next/pull/945)
601- typescript: Improve withSSR type definition [943](https://github.com/i18next/react-i18next/pull/943)
602
603### 10.12.4
604
605- ICU: Fixes macro to support count prop and expressions better [939](https://github.com/i18next/react-i18next/pull/939)
606
607### 10.12.3
608
609- avoid conditional hook call in edge case (wrong setup) [935](https://github.com/i18next/react-i18next/pull/935)
610
611### 10.12.2
612
613- Trans: do not replace html tags in translation strings that are not in the transKeepBasicHtmlNodesFor array [919](https://github.com/i18next/react-i18next/issues/919)
614
615### 10.12.1
616
617- Set ready flag to false when i18n instance has not been initialised [918](https://github.com/i18next/react-i18next/pull/918)
618
619### 10.12.0
620
621- fix / extend icu.macro: ICU: Trans macro will parse defaults as alternate to children [917](https://github.com/i18next/react-i18next/pull/917)
622
623### 10.11.5
624
625- typescript: fix types for use() [912](https://github.com/i18next/react-i18next/pull/912)
626
627### 10.11.4
628
629- assert edge case trans component get set a key
630- assert context get destructed of empty object if context gets used falsely on a component got pulled out of main tree from react-portal or similar
631
632### 10.11.3
633
634- only apply initial values in useSSR, withSSR on i18next instances not being a clone (eg. created by express middleware on server) ==> don't apply on serverside
635
636### 10.11.2
637
638- Reload translations whenever namespaces passed to useTranslation() change [878](https://github.com/i18next/react-i18next/pull/878)
639
640### 10.11.1
641
642- fixes a regression in Trans component taking namespace from passed t function [867](https://github.com/i18next/react-i18next/issues/867#issuecomment-502395958)
643
644### 10.11.0
645
646- Restore support passing the defaultNS via I18nextProvider prop [860](https://github.com/i18next/react-i18next/pull/860)
647
648### 10.10.0
649
650- HOC: expose wrapped component as WrappedComponent property [853](https://github.com/i18next/react-i18next/pull/853)
651
652### 10.9.1
653
654- Fix useEffect mount/unmount usage [852](https://github.com/i18next/react-i18next/pull/852)
655
656### 10.9.0
657
658- trigger suspense on languageChanging by add listening to that event too (new in i18next@15.1.0) - if you do not like this behaviour of suspending during languageChange - remove it from bindI18n
659
660### 10.8.1
661
662- expose context [829](https://github.com/i18next/react-i18next/pull/829)
663
664### 10.8.0
665
666- Support taking values for interpolation not only from content but the props count, values too: Replace count prop from <Trans> in translation string automatically [826](https://github.com/i18next/react-i18next/issues/826)
667
668### 10.7.0
669
670- brings back nsMode=default|fallback [822](https://github.com/i18next/react-i18next/pull/822)
671- typescript: Add missing type definition for withTranslation options [821](https://github.com/i18next/react-i18next/pull/821)
672
673### 10.6.2
674
675- Fix Trans component ignore default options [818](https://github.com/i18next/react-i18next/pull/818)
676
677### 10.6.1
678
679- useTranslation useEffect also guard against unmounted for bound events...seems unmount and actual call to useEffect cleanup are not in correct order (component is first unmounted and then unbound - should be vice versa)
680
681### 10.6.0
682
683- use forwardRef for withTranslation [802](https://github.com/i18next/react-i18next/pull/802)
684- fixes Translation reset after component is unmounted with useTranslation [801](https://github.com/i18next/react-i18next/issues/801)
685
686### 10.5.3
687
688- Fix the displayName of HOC components [798](https://github.com/i18next/react-i18next/pull/798)
689
690### 10.5.2
691
692- fixes: transSupportBasicHtmlNodes doesn't work with self-closing Trans [790](https://github.com/i18next/react-i18next/issues/790)
693
694### 10.5.1
695
696- ReferenceError: setImmediate is not defined [787](https://github.com/i18next/react-i18next/issues/787)
697
698### 10.5.0
699
700- Adding support for nested component inside Trans that are a list.map like `<ul>{['a', 'b'].map(item => ( <li key={item}>{item}</li> ))}</ul>` [784](https://github.com/i18next/react-i18next/pull/784) (Adding `<ul i18nIsDynamicList>` will also create correct missing string)
701
702### 10.4.2
703
704- typescript: updated typescript definition of the UseTranslationOptions interface, added the useSuspense configuration property [778](https://github.com/i18next/react-i18next/pull/778)
705
706### 10.4.1
707
708- allow p in Trans
709
710### 10.4.0
711
712- allow br, strong, i tags be used for translations handled by Trans
713
714### 10.3.1
715
716- IE11 sending console as the first argument to apply [774](https://github.com/i18next/react-i18next/pull/774)
717
718### 10.3.0
719
720- Allow to enable/disable useSuspense at a hook or component level [769](https://github.com/i18next/react-i18next/pull/769)
721- typescript: Add ready/tReady type definitions [753](https://github.com/i18next/react-i18next/pull/753)
722
723### 10.2.1
724
725- fix cimode won't load therefore won't be ready [768](https://github.com/i18next/react-i18next/issues/768)
726
727### 10.2.0
728
729- Add bindI18nStore event options to listen to store changes if needed [749](https://github.com/i18next/react-i18next/pull/749)
730
731### 10.1.2
732
733- allow passing ready if i18next not initialized yet but initialStore set (timing issue in razzle)
734
735### 10.1.1
736
737- forward ready state in withTranslation, Translation
738
739### 10.1.0
740
741- better naming for Wrappers in HOC for easier use of react debugger in console
742- allow setting options react.useSuspense to false on i18next.init to avoid usage of suspense
743
744### 10.0.5
745
746- fixes namespace loading for false inital state undefined
747- typescript: Make children optional within TransProps [728](https://github.com/i18next/react-i18next/pull/728)
748
749### 10.0.4
750
751- try avoiding pull in of regenerator runtime for async usage -> use Promise for now
752
753### 10.0.3
754
755- fix initial props on withSSR
756
757### 10.0.2
758
759- refactor ready state in useTranslation
760
761### 10.0.1
762
763- allow object spread `const { t } = useTranslation()` [714](https://github.com/i18next/react-i18next/pull/714)
764- typescript: add types for I18nextProvider [721](https://github.com/i18next/react-i18next/pull/721)
765
766### 10.0.0
767
768- released to npm
769- for MIGRATION READ [https://react.i18next.com/latest/migrating-v9-to-v10](https://react.i18next.com/latest/migrating-v9-to-v10)
770
771### 10.0.0-alpha.3
772
773- hooks: make reportNS bound to the i18n instance - so report is per request [711](https://github.com/i18next/react-i18next/issues/711)
774
775### 10.0.0-alpha.2
776
777- hooks: add Translation render prop [708](https://github.com/i18next/react-i18next/issues/708)
778- hooks: add I18nextProvider for passing i18n instance via context
779- hooks: might fix infinit loop issue on undefined language (set ready to true anyway) [673](https://github.com/i18next/react-i18next/issues/673)
780
781### 10.0.0-alpha.1
782
783- hooks: initial alpha version with all build targets -> preparing v10 release
784
785### 9.0.10
786
787- typescript: Add TS definition for reportNS prop [699](https://github.com/i18next/react-i18next/pull/699)
788
789### 9.0.9
790
791- typescript: fix: useTranslation hooks typing [698](https://github.com/i18next/react-i18next/pull/698)
792
793### 9.0.8
794
795- typescript: TFunction usage inside NamespacesConsumer should behave [694](https://github.com/i18next/react-i18next/pull/694)
796
797### 9.0.7
798
799- fixing react-i18next throwing webpack error when initializeing using @babel/runtime 7.3.0 [685](https://github.com/i18next/react-i18next/issues/685)
800
801### 9.0.6
802
803- updated all deps
804
805### 9.0.5
806
807- UMD: Environment optimization with rollup-plugin-replace support [683](https://github.com/i18next/react-i18next/pull/683)
808
809### 9.0.4
810
811- typescript: add generic type to t function and the tests [665](https://github.com/i18next/react-i18next/pull/665)
812- hooks: enable passing in i18n to useTranslation hook so we could wrap that with a useContext enabled hook
813
814### 9.0.3
815
816- fix useSSR for hooks storing state on i18n instance and not globally [671](https://github.com/i18next/react-i18next/issues/671)
817- should fix case where fallbackLng is set false and invalid lng is loaded in hooks -> never ready [677](https://github.com/i18next/react-i18next/issues/677)
818- multiple typescript improvements
819
820### 9.0.2
821
822- fix hooks ts [658](https://github.com/i18next/react-i18next/pull/658)
823
824### 9.0.1
825
826- fix ts [655](https://github.com/i18next/react-i18next/pull/655)
827
828### 9.0.0
829
830- allow defining `transEmptyNodeValue` in i18next.options.react to set a default fallback value for empty nodes to allow i18next fallback flow [462](https://github.com/i18next/react-i18next/pull/462)
831- Warn if i18next instance is a promise [652](https://github.com/i18next/react-i18next/pull/652)
832- keeping legacy names (no deprecation on them as this will be last version using those -> v10 will be based on hooks)
833
834**BREAKING**
835
836- out of licensing reasons the ponyfill for react-context had to be removed [635](https://github.com/i18next/react-i18next/issues/635)
837
838Using react >= 16.3.0 will be save - in other cases you will need to polyfill react.createContext yourself!!
839
840### 8.4.0
841
842- update typescript definitions for i18next v13 [631](https://github.com/i18next/react-i18next/pull/631)
843
844### 8.3.9
845
846- try fixing hooks ready algorithm [642](https://github.com/i18next/react-i18next/issues/642)
847
848### 8.3.8
849
850- try fixing edge case of unset state: [615](https://github.com/i18next/react-i18next/issues/615)
851
852### 8.3.7
853
854- handle initial SSR props only once
855
856### 8.3.6
857
858- remove componentWillReceiveProps call in I18nextProvider to comply with react strict mode [596](https://github.com/i18next/react-i18next/pull/596)
859
860### 8.3.5
861
862- rename named export to window.ReactI18next for standalone js
863
864### 8.3.4
865
866- try fixing standalone browser build
867
868### 8.3.3
869
870- remove wait option in hooks code (not used anylonger)
871
872### 8.3.2
873
874- use react suspense in hooks experimental code [learn more](https://react.i18next.com/experimental/using-with-hooks)
875
876### 8.3.1
877
878- make export in ./hooks.js explicit
879
880### 8.3.0
881
882- Ensure withI18n hoists static members. [584](https://github.com/i18next/react-i18next/pull/584)
883
884### 8.2.0
885
886- comes with support for hooks that are experimental in react v16.7.0-alpha [learn more](https://react.i18next.com/experimental/using-with-hooks)
887
888### 8.1.2
889
890- publish changes to typescript definitions [567](https://github.com/i18next/react-i18next/pull/567)
891
892### 8.1.1
893
894- persisting generated i18nOptions on withI18n hoc to avoid rerenders on pure components
895
896### 8.1.0
897
898- add typedefinitions [557](https://github.com/i18next/react-i18next/pull/557)
899
900### 8.0.8
901
902- add innerRefs support to withContext, withI18n
903
904### 8.0.7
905
906- replaces getWrappedInstance on withNamespaces / translate with passing a innerRef https://github.com/facebook/react/issues/13456 [534](https://github.com/i18next/react-i18next/issues/534)
907
908### 8.0.6
909
910- fix SSR cases
911
912### 8.0.5
913
914- fix issue with context not applied when merging i18n options
915
916### 8.0.4
917
918- add prop-types to peer deps as long we use the ponyfill create-react-context
919
920### 8.0.3
921
922- remove prop-types in tests
923
924### 8.0.2
925
926- remove proptypes dependency - not needed anylonger as we do not define old context
927- move out ssr stuff to utils
928- move reportNS to the NamespacesConsumer
929
930### 8.0.1
931
932- use @babel/plugin-transform-runtime
933
934### 8.0.0
935
936- translate HOC was renamed to "withNamespaces" as it controls which namespaces should be loaded
937- I18n render prop was renamed to "NamespacesConsumer" as it controls which namespaces should be "consumed"
938- there is a new context.consuming HOC "withI18n" adds i18n, t to component props (without the extra options of withNamespaces)
939
940- there is a simplification for interpolation in translations
941
942`'Hello <1><0>{{name}}</0></1>, you have <3>{{count}}</3> message. Open <5>hear</5>.'`
943
944can be written as:
945
946`'Hello <1>{{name}}</1>, you have {{count}} message. Open <5>hear</5>.'`
947
948=> there is no need to add `<0>...</0>` around interpolated values anylonger
949=> your old files having those extra pseudo tags will still work without needing to change them
950
951- there is a new I18nContext -> I18nContext.provider, I18next.consumer using new react context api
952
953**Using react's new context api**
954
955should be non breaking in most cases, with following exceptions:
956
957- using preact you will have to use preact.createContext plugin (or eventual hope the provided polyfill works for preact too)
958- you used the translate.getWrappedInstance function -> you will need to use instance.getWrappedInstance().getWrappedInstance() now as the translate hoc is now wrapped in an additional I18nContext.Consumer
959
960still we prefer to increase this to a **major version** as beside the described egde cases there might be other effects we not have covered with our tests
961
962### 7.13.0
963
964- Load missing namespaces when updating ns prop on I18n component [523](https://github.com/i18next/react-i18next/pull/523)
965
966### 7.12.0
967
968- pass down lng via props in I18n and translate HOC - for use cases like [508](https://github.com/i18next/react-i18next/issues/508)
969
970### 7.11.1
971
972- fix related to issue #504: also report default Namespace with translate() [506](https://github.com/i18next/react-i18next/pull/506)
973
974### 7.11.0
975
976- Added reportNS function to I18NextProvider to report used namespaces [500](https://github.com/i18next/react-i18next/pull/500)
977
978### 7.10.1
979
980- fix small issue in icu.macro introduced on refactoring
981
982### 7.10.0
983
984- Adds import { Trans, Plural, Select } from `react-i18next/icu.macro` a babel macro to allow nicer components used with ICU format (which as default would result in invalid JSX). [discussion](https://github.com/i18next/react-i18next/issues/439)
985
986### 7.9.1
987
988- Skip custom html tags in Trans component translation [PR482](https://github.com/i18next/react-i18next/pull/482)
989
990### 7.9.0
991
992- Support defaultNS from I18nextProvider props [PR478](https://github.com/i18next/react-i18next/pull/478)
993- Don't polyfill Object.entries globally [476](https://github.com/i18next/react-i18next/pull/476)
994
995### 7.8.1
996
997- i18n in context is optional as it can be passed via props too [474](https://github.com/i18next/react-i18next/pull/474)
998
999### 7.8.0
1000
1001- avoid rerenders triggered by bound i18next events while I18n or translate hoc are not ready yet (omitBoundRerender: true --- is default) [456](https://github.com/i18next/react-i18next/issues/456)
1002
1003### 7.7.0
1004
1005- Allow Trans component to be used with props only for icu use case (next step babel makro) [439](https://github.com/i18next/react-i18next/issues/439)
1006
1007### 7.6.1
1008
1009- Allow to pass a function as parent for <Trans /> component [PR424](https://github.com/i18next/react-i18next/pull/424)
1010
1011### 7.6.0
1012
1013- adds tOptions to Trans component to support ICU
1014- removes componentWillMount lifecycle method from I18n.js render props as it will get deprecated on react 16.3 [404](https://github.com/i18next/react-i18next/issues/404)
1015
1016### 7.5.1
1017
1018- Fix reference to props in constructor [PR411](https://github.com/i18next/react-i18next/pull/411)
1019
1020### 7.5.0
1021
1022- passes down tReady from translate hoc for cases you prefer showing a placeholder instead of default return null in case of wait: true and not yet loaded translations [PR400](https://github.com/i18next/react-i18next/pull/400)
1023- I18n render prop calls with ready as third param
1024
1025### 7.4.0
1026
1027- enables setting prop `ns` on Trans component to override namespace passed by render prop or hoc
1028- allows trans component with no children just returning the string getting from translations
1029
1030### 7.3.6
1031
1032- reorder selection of i18n in I18n render prop
1033
1034### 7.3.5
1035
1036- reorder selection of i18n in I18n render prop
1037
1038### 7.3.4
1039
1040- more save access to options in general
1041
1042### 7.3.3
1043
1044- more save access to options.react
1045
1046### 7.3.2
1047
1048- replace Interpolate PureComponent with Component to assert it gets rerendered on lng change
1049
1050### 7.3.1
1051
1052- remove react-dom from peer dependencies as module is used in react-native too
1053
1054### 7.3.0
1055
1056- Allow translate HOC to take a function for getting namespaces [372](https://github.com/i18next/react-i18next/pull/372)
1057
1058### 7.2.0
1059
1060- Add usePureComponent option [PR357](https://github.com/i18next/react-i18next/pull/357)
1061- Render empty string on empty string as Trans child [PR364](https://github.com/i18next/react-i18next/pull/364)
1062
1063### 7.1.1
1064
1065- fixes: bring back Trans component t fc from context
1066
1067### 7.1.0
1068
1069- optional take i18n.t in Trans component if non t function passed in via props or context
1070
1071### 7.0.2
1072
1073- fixes rendering in Trans component in case of no parent
1074
1075### 7.0.1
1076
1077- working Trans component without the need of setting options.react
1078
1079### 7.0.0
1080
1081- **[BREAKING]** As with react 16 you can return multiple elements from render - based on that we do not need to return a wrapper any longer from Trans component.
1082
1083Starting with v7.0.0 Trans component per default won't add a parent div around content passed as children. It will just return it's children.
1084
1085You still got the option to set a parent if you prefer content being wrapped.
1086
1087If you prefer wrapping for all your Trans components (or for backwards compatibility) you can set option `react.defaultTransParent` to an element on i18next init.
1088
1089### 6.2.0
1090
1091- adds hashTransKey function for custom key generation in case of not passing a key to Trans component and not like having the source value as key
1092
1093### 6.1.0
1094
1095- pre-check namespaces to avoid unnecessary initial `null` render [PR336](https://github.com/i18next/react-i18next/pull/336)
1096
1097### 6.0.6
1098
1099- remove PureComponent from Trans
1100
1101### 6.0.5
1102
1103- fixes support passing i18n and t to Trans as props [PR315](https://github.com/i18next/react-i18next/pull/315)
1104
1105### 6.0.4
1106
1107- fixes translate hoc build
1108
1109### 6.0.3
1110
1111- stop using PureComponent and use Component again...seems we get an issue with react-router v4 if using PureComponents
1112- recreate t function on i18next updates so PureComponents relying on t get an update triggered
1113
1114### 6.0.2
1115
1116- rebuild needed cause of uppercasing for components name was not reflected in last build
1117
1118### 6.0.1
1119
1120- remove react from dependencies - not sure how that came into the package.json
1121
1122### 6.0.0
1123
1124- **[BREAKING]** removes options to set translateFuncName in translate hoc (was not supported in Trans and Interpolate component anyway)
1125- setting i18n instance and defaults can now be done by i18next.use(reactI18nextModule) making I18nextProvider obsolete
1126- As an alternative to the translate hoc you now can use the I18n component supporting a render props (for details about render props https://www.youtube.com/watch?v=BcVAq3YFiuc)
1127
1128### 5.4.1
1129
1130- fixes AST implementation for preact
1131
1132### 5.4.0
1133
1134- replaces regex used to parse nodes from string to an ast implementation solving [#298](https://github.com/i18next/react-i18next/issues/298)
1135
1136### 5.3.0
1137
1138- Pass extra parameters to Trans parent component
1139
1140### 5.2.0
1141
1142- adds module export in package.json pointing to es dist files.
1143
1144### 5.1.0
1145
1146- you now can set i18n instance on translate hoc once using setI18n:
1147
1148```
1149import translate from 'react-i18next';
1150import i18n from './i18n';
1151
1152translate.setI18n(i18n);
1153```
1154
1155### 5.0.0
1156
1157- **[BREAKING]** we no longer accept wait to be specified on i18next init options like `{ wait: true }` -> all overrides for the translate hoc now have to be in child `react` like `{ react: { wait: true } }`
1158- you now can override all the default options for translate hoc by setting them on i18next.init (excluding `translateFuncName` as we need that upfront to define childContextTypes)
1159
1160```
1161i18next.init({
1162 // ... other options
1163 react: {
1164 wait: false,
1165 withRef: false,
1166 bindI18n: 'languageChanged loaded',
1167 bindStore: 'added removed',
1168 nsMode: 'default'
1169 }
1170});
1171```
1172
1173- you now can override all defaults for translate hoc options (including `translateFuncName`) by using:
1174
1175```
1176import translate from 'react-i18next';
1177
1178translate.setDefaults({
1179 wait: false,
1180 withRef: false,
1181 bindI18n: 'languageChanged loaded',
1182 bindStore: 'added removed',
1183 nsMode: 'default',
1184 translateFuncName: 't'
1185});
1186```
1187
1188### 4.8.0
1189
1190- make trans component work with preact and preact-compat
1191- add preact example
1192
1193### 4.7.0
1194
1195- Trans component parent element configurable [PR278](https://github.com/i18next/react-i18next/pull/278)
1196
1197### 4.6.4
1198
1199- optimize generated defaultValue for components not having children
1200
1201### 4.6.3
1202
1203- move react, prop-types, ... to peerDependency again
1204
1205### 4.6.2
1206
1207- optimize trans component output
1208
1209### 4.6.1
1210
1211- fixes issue in changeLanguage on set via translate hoc ssr
1212
1213### 4.6.0
1214
1215- allow passing initialI18nStore and initialLanguage to I18nextProvider via props to support simpler ssr
1216- adds a serverside rendering sample based on razzle
1217
1218### 4.5.0
1219
1220- pass i18n instance to context inside translate hoc to simplify usage in nextjs
1221- options.react.exposeNamespace will expose namespace on data-i18next-options for consuming in editors
1222
1223### 4.4.0
1224
1225- introduces Trans component which enables you to translate nested components incl. interpolation by resulting in one translatable string. [learn more](https://react.i18next.com/components/trans-component.html)
1226
1227### 4.3.0
1228
1229- allow passing down initialI18nStore and initialLanguage to translate hoc to support ssr scenario better see example/nextjs
1230
1231### 4.2.0
1232
1233- allow passing i18next instance in translate hoc options makes integration in nextjs easier
1234
1235### 4.1.2
1236
1237- Remove workaround to set ready if there was no initialized signal [PR263](https://github.com/i18next/react-i18next/pull/263)
1238
1239### 4.1.1
1240
1241- Fix react-i18next to work with TypeScript [PR261](https://github.com/i18next/react-i18next/pull/261)
1242
1243### 4.1.0
1244
1245- eslint cleanup
1246- a lot more tests
1247- flag nsMode: 'fallback' -> uses namespaces passed to translate hoc as fallbacks [#254](https://github.com/i18next/react-i18next/issues/254)
1248
1249### 4.0.0
1250
1251- deploys 3.1.1 as possible breaking: fixes issue in fixing t function - pass only first namespace not an array of namespaces (access other namespaces like: this.props.t('namespace:key'))
1252
1253### 3.1.2
1254
1255- reverts last change
1256
1257### 3.1.1
1258
1259- fixes issue in fixing t function - pass only first namespace not an array of namespaces
1260
1261### 3.1.0
1262
1263- fixes wrong warning of missing prop on interpolate with format
1264- the wait flag on translate hoc can now be set globally on i18next options `i18next.init({ wait: true })`
1265
1266### 3.0.0
1267
1268- [BREAKING] assert you install prop-types as a peerDependency based on changes in react >= 15.5.x
1269- update react to 15.5.x use prop-types module to remove react warnings [PR248](https://github.com/i18next/react-i18next/pull/248)
1270- update all dependencies
1271- move react, prop-types to peerDependencies
1272
1273### 2.2.3
1274
1275- try not access store if undefined for hmr
1276
1277### 2.2.1
1278
1279- fixes validation for missing prop in interpolate component
1280
1281### 2.2.0
1282
1283- support formatting inside interpolate component
1284
1285### 2.1.0
1286
1287- tanslate hoc: expose the i18n instance via props
1288
1289### 2.0.0
1290
1291- translate hoc wait option asserts now that i18next is initialized before rendering (waits for lng detection)
1292- [BREAKING] needs i18next >= 4.2.0
1293
1294### 1.11.0
1295
1296- pass style prop to interpolate component
1297- define i18next as a peerDependency
1298
1299### 1.10.1
1300
1301- Suppresses required context type warning if passing i18n as a prop [PR205](https://github.com/i18next/react-i18next/pull/205)
1302
1303### 1.10.0
1304
1305- allow passing i18next instance via props to translate hoc [PR203](https://github.com/i18next/react-i18next/pull/203)
1306
1307### 1.9.0
1308
1309- adds options bindI18n, bindStore can be set to false or string of events to bind for triggering updates
1310
1311### 1.8.0
1312
1313- allows to set a className on interpolate component
1314- update all dependencies and devDependencies
1315
1316### 1.7.0
1317
1318- add option to change t function name to something else [PR196](https://github.com/i18next/react-i18next/pull/196)
1319- Added an option of using the <Interpolate /> with a raw HTML [PR195](https://github.com/i18next/react-i18next/pull/195)
1320
1321### 1.6.3
1322
1323- only trigger loaded namespaces if mounted
1324
1325### 1.6.2
1326
1327- update for react 15.2, eliminates Unknown Prop Warning
1328
1329### 1.6.1
1330
1331- Added conditional warning on unmatched variable during interpolation [PR 160](https://github.com/i18next/react-i18next/pull/160
1332
1333### 1.6.0
1334
1335- Hoist non react statics [PR 150](https://github.com/i18next/react-i18next/pull/150
1336
1337### 1.5.3
1338
1339- Handle i18next added and removed resource events [PR 150](https://github.com/i18next/react-i18next/pull/150
1340
1341### 1.5.2
1342
1343- move ns loading to did mount
1344
1345### 1.5.1
1346
1347- possible fix for HRM issues
1348
1349### 1.5.0
1350
1351- adds wait option, which delays initial rendering until translations are loaded
1352
1353### 1.4.2
1354
1355- possible fix for HRM issues
1356
1357### 1.4.1
1358
1359- change global name
1360
1361### 1.4.0
1362
1363- adds getWrappedInstance() to translate wrapper
1364
1365### 1.3.0
1366
1367- Support for universal apps / server-side rendering [PR 52](https://github.com/i18next/react-i18next/pull/52)
1368
1369### 1.2.2
1370
1371- fixes bower json - bower publish only
1372
1373### 1.2.0
1374
1375- change build to rollup
1376
1377### 1.1.0
1378
1379- added WrappedComponent property to translate wrapper [PR 15](https://github.com/i18next/react-i18next/pull/15)
1380
1381### 1.0.1
1382
1383- fixing export of index
1384
1385### 1.0.0
1386
1387- change package.json main to `/lib/index.js`
1388- move build from gulp to npm run script