All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
7.3.0 (2023-05-03)
- Add
--json
flag to examples command (#30)
7.2.0 (2022-11-16)
- Update to cldr-core@42 (d7f8a07)
7.1.0 (2022-02-06)
- Update to cldr-core@40 (604a752)
7.0.0 (2021-08-27)
- While using ES6 syntax for functions does not change their behaviour in any way, it will need to be transpiled if the target environment (e.g. IE 11) does not support it.
- yargs 17 no longer supports Node.js 10; the new minimum is Node.js 12.
- Update to CLDR 39 (ed2bdbc)
- Use const and => notation for function stringification (b9da90a)
- Add ranges command (902cfa0)
- Add examples command (ab33114)
- Drop cli dependency on common-tags; streamline UMD wrapper (1404ac6)
6.2.1 (2020-08-09)
Note: Version bump only for package make-plural-cli
6.2.0 (2020-04-05)
- Add d.ts typings for pluralCategories (ae7472e)
- Add d.ts typings for plurals (db6e4b5)
- Include type PluralCategory in all d.ts files (9b368fc)
6.1.0 (2020-03-08)
- compiler: Drop line folding & unnecessary (wrapping) (c5d31f6)
6.0.1 (2019-10-18)
6.0.0 (2019-10-17)
- This changes the syntax of the CLI options, now requiring a secondary command to select the output type.
- This drops the default export of the ES6 module, and for the UMD module renames "pt-PT" as pt_PT & "in" as _in.
- Add locale option to module prints (7f4f480)
- Add max-repeat option to customise common functions & categories (e47a725)
- Automate common-categories detection (3421285)
- Automate common-plurals detection (a6838a1)
- Harmonise ES6 & UMD exports (c24b666)
- Improve category printing, including vars for strings (9c0a8d8)
- Switch from minimist to yargs commands (0680298)
- Account for aliased locale codes (f538772)
- Add named exports to ES6 modules, for tree-shaking (37021e6)
- Update cldr-core from 34 to 36 (a9d2547)
- Refactor cli.js, splitting out print-categories, print-plurals & print-umd (76f1941)
- Refactor common.js as common-plurals.js (d14b3d4)
- Split & refactor get-compiler.js from cli.js (1ccc8db)
- Stop mixing import & require() (ec8028b)
- Wrap runtime code in main() (02d2110)
- Use proper full locale list for --no-cardinals (c8a1cff)
- Update dependencies (9991e86)
5.0.0 (2019-07-15)
- Split
make-plural-cli
into its own package - Move the CLI binary here from
make-plural