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: language
instead of a string of language names
- You can now initialize
I18n
with 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
I18n
now throws an error if the fallback isn't in the languages- The
Variables
interface 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
null
instead of the keyword .update
now accepts a deeply nested object ({ some: { key: 'value' } }
) instead of an object with period delimited keys ({ 'some.key': 'value' }
)