All Versions
21
Latest Version
Avg Release Cycle
139 days
Latest Release
258 days ago

Changelog History
Page 1

  • v2.4.0

    September 10, 2019
    • [New] add ability to configure pluralization rules (#138)
  • v2.3.1

    June 20, 2019
    • [Fix] fix plurals for Russian with n > 100 (#119)
    • [Performance] Remove unnecessary dollar signs replacement (#132)
    • [Docs] fix typo in the Czech example (#123)
    • [Deps] update warning
    • [Dev Deps] update chai, eslint, eslint-config-airbnb-base, eslint-plugin-import, safe-publish-latest, uglify-js
    • [Tests] on node v12, v11, v10
  • v2.3.0

    July 02, 2018
    • [New] add ability to change interpolation regex by specifying prefix and suffix (#106, #64)
    • [New] support for Serbian (Latin & Cyrillic), Bosnian (Latin & Cyrillic), Czech (#113)
    • [Fix] Moved lt to it's own group (#101)
    • [Fix] Moved tr from chinese to german group (#100)
    • [Fix] Move persian(fa) language to german group of pluralization (#86)
    • [Fix] Remove long-since-updated build files
    • [Fix] fix russian pluralization; add tests (#115)
    • [Fix] croatian is not russian (#114)
    • [Clarity] add more specific locales, even though language codes will match them (#115)
    • [Docs] document constructor options (#84)
    • [Docs] document all instance and static methods (#83)
    • [Docs] fix spelling of "delimiter" (#91)
    • [Docs] onMissingKey can (rather, should) return a value (#95)
    • [Docs] fix instructions to only recommend use with npm (#96)
    • [Docs] Added documentation for method has (#104)
    • [Docs] add example for languages with multiple plurals (#108)
    • [Docs] remove outdated sentence (#112, #110)
    • [Deps] update for-each, has, warning
    • [Dev Deps] update chai, eslint, eslint-config-airbnb-base, eslint-plugin-import, mocha; remove should
    • [Tests] up to node v10; use nvm install-latest-npm to ensure new npm doesn’t break old node; improve matrix
  • v2.2.2

    January 05, 2017
    • [Fix] revert unintentional breaking change of missing substitutions being untouched
    • [Dev Deps] update eslint, eslint-config-airbnb-base, mocha, should; add safe-publish-latest
  • v2.2.1

    November 18, 2016
    • [Fix] restore behavior of explicit null/undefined not touching the substitution
  • v2.2.0

    November 14, 2016
    • [New] add onMissingKey constructor option - this can call .transformPhrase, or return false, or undefined, or throw - whatever you like (#34, #77)
    • [Dev Deps] update eslint
  • v2.1.3

    January 05, 2017
    • [Fix] revert unintentional breaking change of missing substitutions being untouched
  • v2.1.2

    November 18, 2016
    • [Fix] restore behavior of explicit null/undefined not touching the substitution
  • v2.1.1

    November 13, 2016
    • [Fix] ensure that missing or null substitutions don’t crash (#79)
  • v2.1.0

    November 11, 2016
    • [New] Merge choosePluralForm & interpolate into one exported function: transformPhrase (#75)
    • [New] Allow locales to have regions (#70)
    • [New] Support Arabic pluralization (#71)
    • [New] Added Lithuanian locale to russian group of pluralization (#68)
    • [Deps] update object.assign, warning
    • [Dev Deps] pin uglify-js because it does not follow semver
    • [Dev Deps] update eslint-config-airbnb-base, eslint, eslint-plugin-import, mocha, should, uglify-js
    • [Performance] instead of creating a new regex for each token, use the function form of replace (#19)
    • [Refactor] use warning package for warnings
    • [Robustness] Use has package to properly check “has own property”
    • [Robustness] use string.prototype.trim rather than a homegrown trim polyfill
    • [Tests] only test on latest node v7, v6, v5, v4, and iojs; improve test matrix
    • [Tests] add linting