npm intl-pluralrules 2.0.0

latest release: 2.0.1
2 years ago

This release adds support for Intl.PluralRules.prototype.selectRange().

The code is now tested against the relevant test262 tests, and its behaviour is more aligned with the documented API. Browser tests are now run by the CI to ensure that the polyfill works in supported browsers (i.e. matching the Browserslist expression > 0.25%, not dead)

Breaking Changes

  • The function exported from 'intl-pluralrules/factory' gets a new required fourth argument, getRangeSelector.
  • The 'intl-pluralrules/pseudo-number-format' endpoint is dropped (#30)
  • IE 11 support is dropped (#36)

New Features

  • Add support for selectRange() (#23)

Other Changes

  • Add tests & fixes for test262 compliance (#27)
  • Behave more normally for locale resolution (#28)
  • Switch from Jest to Mocha, add browser tests (#29)

Full Changelog: v1.3.1...v2.0.0

Don't miss a new intl-pluralrules release

NewReleases is sending notifications on new releases.