All Versions
16
Latest Version
Avg Release Cycle
189 days
Latest Release
1431 days ago

Changelog History
Page 1

  • v1.2.0 Changes

    May 19, 2020
    • ๐Ÿš€ Maintenance release.
    • Dev deps bump.
    • Reorganize files.
    • ๐Ÿ— Rework build scripts.
  • v1.1.2 Changes

    December 29, 2015
    • ๐Ÿ‘ Allow empty prefix when adding phrases via nested objects.
    • ๐Ÿ›  Fixed doc for .load() method.
    • .addPhrase(), .setLocale() & .load() now return this.
  • v1.1.1 Changes

    March 22, 2015
    • โž• Added .getLocale() method, to check real locale of requested phrase.
  • v1.1.0 Changes

    February 01, 2015
    • ๐Ÿ“ฆ Moved pluralizer to external package plurals-cldr.
    • ๐Ÿ›  Fixed fallbacks serialize/load.
    • ๐Ÿ‘ Allow | escaping.
    • ๐Ÿ“œ Recompiled REG parser with speed optimization.
    • โœ… Reorganized tests:
      • moved as much as possible to fixtures
      • 100% coverage
      • coveralls reports
  • v1.0.2 Changes

    June 05, 2014
    • ๐Ÿ›  Fixed pluralizer for locale names with low dash separator ("en_US").
  • v1.0.1 Changes

    May 23, 2014
    • ๐Ÿ›  Fixed partials locale for generated cache.
    • hasPhrase() fix for noFallback = true.
  • v1.0.0 Changes

    May 23, 2014
    • Big rewrite with api change. Internal data simplified. Phrases are now compiled in lazy way on translate() call.
    • ๐Ÿ—„ Deprecated getCompiledData(), create().
    • Constructor function can be called as factory (without new).
    • โž• Added load() method in pair to stringify().
    • stringify() now save fallback info too.
    • hasPhrase() option noFallback to disable phrase search in fallbacks.
  • v0.6.0 Changes

    May 21, 2014
    • Coerce plain strings & numbers params to count & value in translate().
    • โž• Added bower support.
  • v0.5.0 Changes

    May 20, 2014
    • โž• Added variables support in plurals.
    • โž• Added zero-form and other strict numbers forms for plurals.
    • Coerce number XXX to { count: XXX } in translate();
  • v0.4.0 Changes

    May 14, 2014
    • โž• Added objects support. Now addPhrase() can also accept Number, Array, Boolean and Object. That allows to store i18n data for external libs (calendars, time/date generators, ...), when flattened keys format is not ok.