Skip to content

Releases: prantlf/plural-rules

v2.0.1

21 Dec 16:36
Compare
Choose a tag to compare

2.0.1 (2022-12-21)

Bug Fixes

  • Complete the command-line help (83ffb85)

v2.0.0

18 Aug 23:26
Compare
Choose a tag to compare

2.0.0 (2022-08-18)

Features

  • API for checking supported locales and plural forms (0b8fadc)
  • Declare CJS, UMD and ES exports in package.json (8beef35)

BREAKING CHANGES

  • Newer Node.js required, different command-line parsing, renamed CJS exports.
  • Node.js 14.8 or newer is required for the create-plural-data script. Also supports type, module, types and exports. The sources of the library didn't change, which means that the exported modules should still work in Node.js 6 and newer, but the're no tests proving that.
  • Command-line argument parsing done by a custom code instead of using commander. Boolean arguments cannot be joined to groups like -mpv. They have to be passed separately, for example: -m -p -v. Also, the command-line script requires Node.js with the ESM support, which means >= 14.8.
  • CJS modules in the dist directory end with the file extension .cjs instead of .js. (ES modules end with .mjs.) Usually imported main exports are not affected, because they are imported in both CJS and ES modules using the package name.

v1.0.2

28 Jan 18:35
Compare
Choose a tag to compare

1.0.2 (2022-01-28)

Bug Fixes

  • Adapt sources after upgrading the build environment (9f4021e)

v1.0.1

24 Sep 06:20
Compare
Choose a tag to compare

1.0.1 (2019-09-24)

Bug Fixes

  • Upgrade package dependencies (bf8bfa6)

v1.0.0

03 Aug 12:21
Compare
Choose a tag to compare

1.0.0 (2019-08-03)

Features

  • Improve the data compression by serialising plural form objects to strings (858c2a0)

BREAKING CHANGES

  • Plural data created by this version of the library cannot be consumed by older versions. It would be unusual, if you created data by tis version and fed them to an older version of the library, but nevertheless, be aware of it. If you create data by this version, use them with the same major version or a newer one, as long as it is documented to be feasible.

Plural data created by older versios of this library can still be used with this version. The code is beckwards compatible.

v0.1.0

03 Aug 11:52
Compare
Choose a tag to compare

0.1.0 (2019-08-03)

Bug Fixes

  • Transpile the CJS module output for Node.js 6 or newer (6fb15aa)

Features

  • Provide both minificated and only cleaned-up UMD scripts for the browser (460efad)

v0.0.2

07 Jun 22:12
Compare
Choose a tag to compare

0.0.2 (2019-06-07)

Bug Fixes

  • Upgrade module dependencies (a76acb4)