All Versions
15
Latest Version
Avg Release Cycle
88 days
Latest Release
1560 days ago

Changelog History
Page 1

  • v1.1.2

    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

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

    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

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

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

    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

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

    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

    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.
  • v0.3.0

    April 01, 2014
    • ➕ Added stringify method.
    • ⬇️ Drop browser build. Use browserify and other tools.
    • 🔄 Changed internal storage format to generate more compact dumps.
    • Some speed opts.