Skip to content

Latest commit

 

History

History
207 lines (124 loc) · 4.54 KB

CHANGELOG.md

File metadata and controls

207 lines (124 loc) · 4.54 KB

Change Log for Translate.js

Upcoming...

  • feat: Add pluralizer functions for ar,fi,fo,nb,no,pl,th

1.3.0 – 1.3.2

2019-06-06

  • feat: Improve TypeScript definitions to warn about invalid keys
  • feat: Add translate.js/pluralize module with named CJS exports and types
  • fix: Correct the return type for the plurals.js functions
  • refactor: Move all translation logic to reusable top-level functions.
    This should make it much cheaper to instantiate hundreds of tiny translate.js instances.

1.2.7

2019-06-06

  • fix: Don't translate differently in debug mode

1.2.6

2018-12-29

  • fix: Transpile published ESM module to es5 syntax

1.2.5

2018-12-03

  • fix: Lift TypeScript restriction on named replacement values
  • fix: Drop support for second parameter for pluralizer functions (See commit)

1.2.3 / 1.2.4

2018-11-02

  • fix: Missing pluralize/* files on npmjs.org

1.2.2

2018-10-24

  • feat: Add .d.ts TypeScript type annotations (#66)

1.2.1

2018-09-27

  • No changes. Minor dependency updates.

1.2.0

2018-09-20

  • feat: Add useKeyForMissingTranslation option to return undefined for missing translations

1.1.2

2018-07-19

  • No changes. Minor dependency updates.

1.1.1

2018-05-31

  • fix: Publish CommonJS module in ES5 syntax (#48)

1.1.0

2018-05-04

  • feat: Support default/"wild-card" * subkeys as fallback for missing subkey translations (#37)

1.0.0

2018-04-26

  • [BREAKING] chore: Drop support for direct <script> loading in browsers. (Only provide ES6 module and CommonJs module.)
  • [BREAKING] chore: Convert the module to ES6 syntax.
  • chore: Add Prettier auto-formatting and improved build and test scripts

0.7.1

2018-04-19

  • feat: Support translation-keys written as inlined default translation (#40)

0.7.0

2017-03-09

  • feat: Support {{aliases[withSubkeys]}} pattern (#33)
  • docs/tests: Improve documentation and test support

0.6.0

2017-01-05

  • feat: Support {{aliases}} within translation keys via a translatejs.resolveAliases pre-parser (#31)
  • feat: Add a few more pluralizer functions (e60c7cf)

0.5.0

2016-10-26

  • feat: Support translations with subkeys as strings, not just numerical count (#27)
  • docs/tests:Improve tests and documentation

0.4.1

2016-01-30

  • refactor: Improve performance of t.arr() function (#22)

0.4.0

2016-01-29

  • feat: Add support for inserting VDOM/JSX nodes into translation results via t.arr() (#21)

0.3.2

2016-01-29

  • docs/style: Minor documentation changes and code-cleanup

0.3.1

2015-12-18

  • style: Convert to Standard.js formatting

0.3.0

2015-12-18

  • [BREAKING] Drop support for "namespaced" translation keys (#15)

0.2.3

2015-12-18

  • chore: Badges!

0.2.2

2015-07-28

  • refactor: Speed up replacement-key processing

0.2.1

2015-07-25

  • refactor: Massive performance improvements
  • feat: Expose as window.translatejs in browsers

0.2.0

2015-07-23

  • refactor: Improve performance on simple strings
  • [BREAKING] feat: Make default pluralization functions return s,p instead of numerical tokens;
  • feat: Resolve all namespacing ambiguities by making literal translation keys highest priority
  • tests: Add tests to clarify behavior

0.1.0

2015-06-17

  • fix: Improve handling/logging of missing translation keys
  • fix: Make explicit count keys override pluralization function result
  • feat: Add example pluralization functions (EN,IS)
  • docs: Improved documentation

0.0.3

2015-06-17