All notable changes to this project will be documented in this file.
- Crashes on SSR when detecting locale.
- Support for translation arrays.
- Fallback for missing translations.
- Moved package to Assembless account.
- Function translateSingle exposed by useLitteraMethods hook for translating a single key.
- Disabled missing keys reports for empty values.
- Preset function types with useLittera.
- Missing translations warning will only be logged in development mode.
- Disabled checking missing translations for variable translations.
- Broken TS types occurring since last release.
- Variable translations.
- Type checking for translations and locale in core methods.
- Build package before publishing...
- useLittera types.
- Stupid thing, forgot to build the package before publishing.. :D
- Library not resolving.
- 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
- Split useLittera into two hooks (useLittera and useLitteraMethods)
- Change provider props naming. Language is now called locale etc.
- Rewrite lib to TypeScript
- Code documentation
- Deployment process
- Unused code and logs.