|
| 1 | +## 3.5.3 (April 18, 2019) |
| 2 | + |
| 3 | +- Update typescript definition for onMissingTranslationFunction function |
| 4 | + |
1 | 5 | ## 3.5.2 (January 24, 2019) |
2 | 6 |
|
3 | | -* Update typescript definition for localizeReducer function |
| 7 | +- Update typescript definition for localizeReducer function |
4 | 8 |
|
5 | 9 | ## 3.5.1 (November 9, 2018) |
6 | 10 |
|
7 | | -* ensure that store from props is initialized with initialize from props. [#136](https://github.com/ryandrewjohnson/react-localize-redux/pull/136) |
| 11 | +- ensure that store from props is initialized with initialize from props. [#136](https://github.com/ryandrewjohnson/react-localize-redux/pull/136) |
8 | 12 |
|
9 | 13 | ## 3.5.0 (October 17, 2018) |
10 | 14 |
|
11 | | -* adds to withLocalize HOC automatic hoisting to non react statics using hoist-non-react-statics [#130](https://github.com/ryandrewjohnson/react-localize-redux/pull/130) |
| 15 | +- adds to withLocalize HOC automatic hoisting to non react statics using hoist-non-react-statics [#130](https://github.com/ryandrewjohnson/react-localize-redux/pull/130) |
12 | 16 |
|
13 | 17 | ## 3.4.1 (September 28, 2018) |
14 | 18 |
|
15 | | -* Remove remaining references to redux in source [#129](https://github.com/ryandrewjohnson/react-localize-redux/pull/129) |
| 19 | +- Remove remaining references to redux in source [#129](https://github.com/ryandrewjohnson/react-localize-redux/pull/129) |
16 | 20 |
|
17 | 21 | ## 3.4.0 (September 12, 2018) |
18 | 22 |
|
19 | | -* Add initialize prop to LocaizeProvider to support SSR [#127](https://github.com/ryandrewjohnson/react-localize-redux/pull/127) |
| 23 | +- Add initialize prop to LocaizeProvider to support SSR [#127](https://github.com/ryandrewjohnson/react-localize-redux/pull/127) |
20 | 24 |
|
21 | 25 | ## 3.3.2 (August 22, 2018) |
22 | 26 |
|
23 | | -* Fix too eager templater reg exp [#118](https://github.com/ryandrewjohnson/react-localize-redux/pull/118) |
| 27 | +- Fix too eager templater reg exp [#118](https://github.com/ryandrewjohnson/react-localize-redux/pull/118) |
24 | 28 |
|
25 | 29 | ## 3.3.1 (August 16, 2018) |
26 | 30 |
|
27 | | -* Handle falsy values in data. [#117](https://github.com/ryandrewjohnson/react-localize-redux/pull/117) |
| 31 | +- Handle falsy values in data. [#117](https://github.com/ryandrewjohnson/react-localize-redux/pull/117) |
28 | 32 |
|
29 | 33 | ## 3.3.0 (July 25, 2018) |
30 | 34 |
|
31 | | -* Add `getState` prop to `LocalizeProvider` to allow for ImmutableJS support [#112](https://github.com/ryandrewjohnson/react-localize-redux/pull/112) |
| 35 | +- Add `getState` prop to `LocalizeProvider` to allow for ImmutableJS support [#112](https://github.com/ryandrewjohnson/react-localize-redux/pull/112) |
32 | 36 |
|
33 | 37 | ## 3.2.4 (July 19, 2018) |
34 | 38 |
|
35 | | -* Fix issue where bad `getOptions` selector was causing unnecessary re-renders [#111](https://github.com/ryandrewjohnson/react-localize-redux/issues/111) |
| 39 | +- Fix issue where bad `getOptions` selector was causing unnecessary re-renders [#111](https://github.com/ryandrewjohnson/react-localize-redux/issues/111) |
36 | 40 |
|
37 | 41 | ## 3.2.3 (July 13, 2018) |
38 | 42 |
|
39 | | -* Fix issue with onMissingTranslation not handling defaultTranslation properly [#110](https://github.com/ryandrewjohnson/react-localize-redux/pull/110) |
| 43 | +- Fix issue with onMissingTranslation not handling defaultTranslation properly [#110](https://github.com/ryandrewjohnson/react-localize-redux/pull/110) |
40 | 44 |
|
41 | 45 | ## 3.2.2 (July 11, 2018) |
42 | 46 |
|
43 | | -* Fix bad import in TypeScript definition [#106](https://github.com/ryandrewjohnson/react-localize-redux/pull/106) |
| 47 | +- Fix bad import in TypeScript definition [#106](https://github.com/ryandrewjohnson/react-localize-redux/pull/106) |
44 | 48 |
|
45 | 49 | ## 3.2.1 (July 9, 2018) |
46 | 50 |
|
47 | | -* Fix issue where onMissingTranslation would through error when defaultLanguage is not set [#101](https://github.com/ryandrewjohnson/react-localize-redux/issues/101) |
| 51 | +- Fix issue where onMissingTranslation would through error when defaultLanguage is not set [#101](https://github.com/ryandrewjohnson/react-localize-redux/issues/101) |
48 | 52 |
|
49 | 53 | ## 3.2.0 (June 24, 2018) |
50 | 54 |
|
51 | | -* Allow React components as dynamic data arguments [#100](https://github.com/ryandrewjohnson/react-localize-redux/pull/100) |
52 | | -* Ensure that addDefaultTranslation gets called [#99](https://github.com/ryandrewjohnson/react-localize-redux/pull/99) |
| 55 | +- Allow React components as dynamic data arguments [#100](https://github.com/ryandrewjohnson/react-localize-redux/pull/100) |
| 56 | +- Ensure that addDefaultTranslation gets called [#99](https://github.com/ryandrewjohnson/react-localize-redux/pull/99) |
53 | 57 |
|
54 | 58 | ## 3.1.2 (June 22, 2018) |
55 | 59 |
|
56 | | -* Update the TypeScript definition for withLocalize [#98](https://github.com/ryandrewjohnson/react-localize-redux/pull/98) |
| 60 | +- Update the TypeScript definition for withLocalize [#98](https://github.com/ryandrewjohnson/react-localize-redux/pull/98) |
57 | 61 |
|
58 | 62 | ## 3.1.1 (June 17, 2018) |
59 | 63 |
|
60 | | -* Make performance imporvements to `getTranslationsForLanguage` and `getSingleToMultilanguageTranslation` method. [#92](https://github.com/ryandrewjohnson/react-localize-redux/pull/92) |
| 64 | +- Make performance imporvements to `getTranslationsForLanguage` and `getSingleToMultilanguageTranslation` method. [#92](https://github.com/ryandrewjohnson/react-localize-redux/pull/92) |
61 | 65 |
|
62 | 66 | ## 3.1.0 (June 14, 2018) |
63 | 67 |
|
64 | | -* Add [ignoreTranslateChildren](https://ryandrewjohnson.github.io/react-localize-redux-docs/#initialize) to initialize options. [#91](https://github.com/ryandrewjohnson/react-localize-redux-docs/pull/1) |
65 | | -* Fix issue where Warning: Cannot update during an existing state transition message was appearing [#88](https://github.com/ryandrewjohnson/react-localize-redux/pull/88) |
| 68 | +- Add [ignoreTranslateChildren](https://ryandrewjohnson.github.io/react-localize-redux-docs/#initialize) to initialize options. [#91](https://github.com/ryandrewjohnson/react-localize-redux-docs/pull/1) |
| 69 | +- Fix issue where Warning: Cannot update during an existing state transition message was appearing [#88](https://github.com/ryandrewjohnson/react-localize-redux/pull/88) |
66 | 70 |
|
67 | 71 | ## 3.0.2 (June 11, 2018) |
68 | 72 |
|
69 | | -* remove `console.log` in `LocalizeProvider` |
| 73 | +- remove `console.log` in `LocalizeProvider` |
70 | 74 |
|
71 | 75 | ## 3.0.1 (June 4, 2018) |
72 | 76 |
|
73 | | -* Update package.json peerDependencies react version to 16.3.0 as the `Translate` component requires [getDerivedStateFromProps](https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops). |
| 77 | +- Update package.json peerDependencies react version to 16.3.0 as the `Translate` component requires [getDerivedStateFromProps](https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops). |
74 | 78 |
|
75 | 79 | ## 3.0.0 (June 3, 2018) |
76 | 80 |
|
77 | | -* Now works without Redux by defualt. |
78 | | -* Add [LoclaizeProvider](https://ryandrewjohnson.github.io/react-localize-redux-docs//#localizeprovider) a wrapper around React's [Context.Provider](https://reactjs.org/docs/context.html#provider) |
79 | | -* Add [LocalizeContext](https://ryandrewjohnson.github.io/react-localize-redux-docs/#localizecontext) built on [React.createContext](https://reactjs.org/docs/context.html#reactcreatecontext). |
80 | | -* Add [withLocalize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#withlocalize) higher-order component |
81 | | -* Add [onMissingTranslation](https://ryandrewjohnson.github.io/react-localize-redux-docs/#handle-missing-translations) initialize option that provides more control over handling missing translations. |
82 | | -* Optionally supports Redux by passing redux store to `LocalizeProvider`. |
| 81 | +- Now works without Redux by defualt. |
| 82 | +- Add [LoclaizeProvider](https://ryandrewjohnson.github.io/react-localize-redux-docs//#localizeprovider) a wrapper around React's [Context.Provider](https://reactjs.org/docs/context.html#provider) |
| 83 | +- Add [LocalizeContext](https://ryandrewjohnson.github.io/react-localize-redux-docs/#localizecontext) built on [React.createContext](https://reactjs.org/docs/context.html#reactcreatecontext). |
| 84 | +- Add [withLocalize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#withlocalize) higher-order component |
| 85 | +- Add [onMissingTranslation](https://ryandrewjohnson.github.io/react-localize-redux-docs/#handle-missing-translations) initialize option that provides more control over handling missing translations. |
| 86 | +- Optionally supports Redux by passing redux store to `LocalizeProvider`. |
83 | 87 |
|
84 | 88 | ### Breaking Changes |
85 | 89 |
|
86 | | -* The Redux action creators `initialize`, `addTranslation`, `addTranslationForLanguage`, and `setActiveLanguage` have been removed. Instead they are now methods available on [LocalizeContext](https://ryandrewjohnson.github.io/react-localize-redux-docs/#localizecontext), and can be added to your component's as props using the [withLocalize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#withlocalize) higher-order component. |
| 90 | +- The Redux action creators `initialize`, `addTranslation`, `addTranslationForLanguage`, and `setActiveLanguage` have been removed. Instead they are now methods available on [LocalizeContext](https://ryandrewjohnson.github.io/react-localize-redux-docs/#localizecontext), and can be added to your component's as props using the [withLocalize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#withlocalize) higher-order component. |
87 | 91 |
|
88 | | -* The `translationTransform` option is no longer available as an initialize option. Instead [addTranslation](https://ryandrewjohnson.github.io/react-localize-redux-docs/#addtranslation) now takes an options object, which accepts the `translationTransform` function. |
| 92 | +- The `translationTransform` option is no longer available as an initialize option. Instead [addTranslation](https://ryandrewjohnson.github.io/react-localize-redux-docs/#addtranslation) now takes an options object, which accepts the `translationTransform` function. |
89 | 93 |
|
90 | | - * This made more sense as this allows for adding transformations specific to a single translation instead of globally setting a transformation that you'd be stuck using for all translations. |
| 94 | + - This made more sense as this allows for adding transformations specific to a single translation instead of globally setting a transformation that you'd be stuck using for all translations. |
91 | 95 |
|
92 | | -* [initialize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#initialize) now takes a single options argument instead of multiple arguments. |
| 96 | +- [initialize](https://ryandrewjohnson.github.io/react-localize-redux-docs/#initialize) now takes a single options argument instead of multiple arguments. |
93 | 97 |
|
94 | | -* [Translate](https://ryandrewjohnson.github.io/react-localize-redux-docs/#render-props-api) render props API now takes a single options object as an argument instead of multiple arguments. |
| 98 | +- [Translate](https://ryandrewjohnson.github.io/react-localize-redux-docs/#render-props-api) render props API now takes a single options object as an argument instead of multiple arguments. |
95 | 99 |
|
96 | | -* `renderInnerHtml` option now set to `false` by default instead of `true`. |
| 100 | +- `renderInnerHtml` option now set to `false` by default instead of `true`. |
97 | 101 |
|
98 | | - * This is to mirror React's functionality where by default any children will be escaped by defualt. |
| 102 | + - This is to mirror React's functionality where by default any children will be escaped by defualt. |
99 | 103 |
|
100 | | -* Remove `showMissingTranslationMsg`, `missingTranslationMsg`, `missingTranslationCallback` initialize options. THe new `onMissingTranslation` option now covers all these scenarios. |
| 104 | +- Remove `showMissingTranslationMsg`, `missingTranslationMsg`, `missingTranslationCallback` initialize options. THe new `onMissingTranslation` option now covers all these scenarios. |
101 | 105 |
|
102 | | -* Remove `setTranslations` action - instead pass `languages` to initialize. |
| 106 | +- Remove `setTranslations` action - instead pass `languages` to initialize. |
103 | 107 |
|
104 | | -* Remove `localize` higher-order component - use new `withLoclize` higher-order component instead. Or if you only require access to `translate` function use `<Translate>` component instead. |
| 108 | +- Remove `localize` higher-order component - use new `withLoclize` higher-order component instead. Or if you only require access to `translate` function use `<Translate>` component instead. |
105 | 109 |
|
106 | | -* If using Redux, all state related to localize will be added under the `localize` key instead of `locale`. |
| 110 | +- If using Redux, all state related to localize will be added under the `localize` key instead of `locale`. |
107 | 111 |
|
108 | | -* If using Redux, `localeReducer` is now named `localizeReducer`. |
| 112 | +- If using Redux, `localeReducer` is now named `localizeReducer`. |
109 | 113 |
|
110 | | -* Fix typos in `ADD_TRANSLATION_FOR_LANGUAGE` action [(Issue #65)](https://github.com/ryandrewjohnson/react-localize-redux/issues/65) |
| 114 | +- Fix typos in `ADD_TRANSLATION_FOR_LANGUAGE` action [(Issue #65)](https://github.com/ryandrewjohnson/react-localize-redux/issues/65) |
0 commit comments