Skip to content
This repository was archived by the owner on Mar 2, 2021. It is now read-only.

Releases: openmrs/openmrs-react-root-decorator

v3.3.1

Choose a tag to compare

@FlorianRappl FlorianRappl released this 12 Oct 21:27
  • Fixed invalid main field specifier

v3.3.0

Choose a tag to compare

@FlorianRappl FlorianRappl released this 12 Oct 20:52
  • Updated dependencies
  • Updated to @openmrs/esm-config
  • Added TypeScript declaration file
  • Marked @openmrs/esm-config as peer dependency

v3.2.0

Choose a tag to compare

@internettrans internettrans released this 16 Dec 15:22

Features

  • Better error messaging when i18next translations do not properly load (#8)

v3.1.0

Choose a tag to compare

@internettrans internettrans released this 21 Nov 17:36

Features

  • New disableTranslations prop that defaults to false. (#7)

v3.0.0

Choose a tag to compare

@internettrans internettrans released this 14 Nov 07:15

Breaking changes

  • react-i18next and i18next are now peer dependencies. (#6)

Features

  • react-i18next context is rendered that defaults to an i18next namespace that is opts.moduleName. (#6)
  • when the i18next language changes, re-render the content. (#6)

v2.0.0

Choose a tag to compare

@internettrans internettrans released this 07 Nov 00:39

Breaking changes

  • throwErrorToConsole was documented as an opt, but being used as a prop. It has now been corrected so that the opt is what matters, not the prop. (#5)
  • The new moduleName opt is now required. This allows the decorator to provide ModuleNameContext for use with esm-module-config. Now you can do useConfig() and get the config value for your module. (#6)

Maintenance

  • Fixing tests (#4)