All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.0.0-4 2021-02-01
- You can now pass an object of
languageName: languageinstead of a string of language names
- You can now initialize
I18nwith zero languages
3.0.0-3 2021-01-15
- Nullish variables won't be ignored
3.0.0-2 2021-01-03
Re-release of 3.0.0-1 with build fixes.
3.0.0-1 2020-12-29
I18nnow throws an error if the fallback isn't in the languages- The
Variablesinterface now has a proper type instead of usingany
3.0.0-0 2020-05-20
- Switched to TypeScript
2.0.0 - 2020-04-19
- If there's no return value, it will return
nullinstead of the keyword .updatenow accepts a deeply nested object ({ some: { key: 'value' } }) instead of an object with period delimited keys ({ 'some.key': 'value' })