Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.47 KB

CHANGELOG.md

File metadata and controls

53 lines (31 loc) · 1.47 KB

Changelog

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

Added

  • You can now pass an object of languageName: language instead of a string of language names

Changed

  • You can now initialize I18n with zero languages

3.0.0-3 2021-01-15

Fixed

  • 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

Changed

  • I18n now throws an error if the fallback isn't in the languages
  • The Variables interface now has a proper type instead of using any

3.0.0-0 2020-05-20

Changed

  • Switched to TypeScript

2.0.0 - 2020-04-19

Changed

  • 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' })