Releases: Assembless/react-littera
Releases · Assembless/react-littera
🏷️ v2.4.0
🏷️ v2.2.0
🏷️ v2.1.0
🏷️ v2.0.0
Changelog
Added
- Automaticaly detect browser language. Use the
detectLocale
provider prop. - Ability to provide custom locale pattern (default is still xx_XX)
- New provider props,
locales
andinitialLocale
Changed
- Split useLittera into two hooks (useLittera and useLitteraMethods)
- Change provider props naming. Language is now called locale etc.
See migration guide in README.md file.
🏷️ v2.0.0-alpha.4
Added
- New provider props,
locales
andinitialLocale
Changed
- Provider handles locale state automatically.
🏷️ v2.0.0-alpha.2
Added
- Improved types.
Removed
- Nesting translations.
🏷️ v2.0.0-alpha.1
Added
- Support for nesting translations
- Ability to provide custom pattern
Changed
- Split useLittera into two hooks changing inputs and outputs
- Change provider props. Language is now called locale etc