Skip to content

Releases: AckeeCZ/jerome

v5.0.1

03 Jan 16:23
Compare
Choose a tag to compare

Fixed
🐛 getIntl: wait for SET_INTL action if intlContext doesn't include intl object [9742cc9]

v5.0.0

15 Dec 10:49
Compare
Choose a tag to compare

Added

  • ✨ Add LocalizationsRaw component [2bc2373]

Changed

Fixed

  • 🐛 Export createIntlContext [932c106]
  • 🐛 Intl variable was being overrided when used with multiple intl instances [4c66b98]

Miscellaneous

  • 📝 Add documention for Translatable component [b07ba58]
  • 🏷️ Fix return type of getIntl generator [50512fe]
  • 📝 Updates sagas docs [f97e87a]

4.1.0

14 Mar 16:13
Compare
Choose a tag to compare

Add optional onError prop to translatableFactory. Upgrade @babel/* packages.

4.0.0

14 Mar 16:11
Compare
Choose a tag to compare

Added second entry point @ackee/jerome/antd for antd compliant imports. Mark package as sideEffects free.

Refactor to use createIntl and RawIntlProvider - usefull to create intl in the component instead of delegating it to the IntlProvider since it can be sent to the saga and stored for an external usage.

Refactors the intlProvider saga - it doesn't create the duplication of the intl from the react intl provider but uses the intl instance from the intl provider now.

3.1.0

14 Mar 16:06
Compare
Choose a tag to compare

Upgrade from antd LocaleProvider to Configprovider to resolve deprecation warning.

3.0.1

14 Mar 16:06
Compare
Choose a tag to compare
3.0.1

3.0.0

14 Mar 16:05
Compare
Choose a tag to compare

Change reducer factory interface - it can receive list of languages and use it to determine default language from window.navigator.

Do nothing for GET_LOCALE action in reducer.

v2.0.0

02 Sep 07:57
Compare
Choose a tag to compare

Starts to use new react-intl@3 having support of new context API. That means getting rid of unnecessary whole app rerenders 🎉

Since it's a major version, there are a breaking changes, you can check them in their Migration guide.

Split translatableHOC to translatableFactory and translatableWithAntdFactory to be able to use the HOC even in apps without Ant design.