Skip to content

Latest commit

 

History

History
154 lines (75 loc) · 6.64 KB

CHANGELOG.md

File metadata and controls

154 lines (75 loc) · 6.64 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

7.3.0 (2023-05-03)

Features

  • Add 'make-plural/examples.json' (#30)

7.2.0 (2022-11-16)

Features

7.1.0 (2022-02-06)

Features

7.0.0 (2021-08-27)

⚠ Breaking Changes

  • This package is now licensed with the OSI-apporved Unicode Data Files and Software License, as it is based on the data provided in the cldr-core package, which is thus licensed.
  • 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.

Features

  • Update to CLDR 39 (ed2bdbc)
  • Use const and => notation for function stringification (b9da90a)
  • Add 'make-plural/ranges' as a new endpoint for plural ranges (ee848b3)
  • Add 'make-plural/examples' as a new endpoint (7ec09c7)

Bug Fixes

  • Drop cli dependency on common-tags; streamline UMD wrapper (1404ac6)

6.2.2 (2020-08-09)

Bug Fixes

  • exports: Add package.json to exports (fixes #15) (f77b2a5)

6.2.1 (2020-04-05)

Bug Fixes

  • exports: Add missing type, exports & browser config to package.json (d2f3fa3)

6.2.0 (2020-04-05)

Features

  • 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)

Bug Fixes

  • Always set __esModule in UMD builds (eemeli/intl-pluralrules#15) (57d90bc)

Features

  • compiler: Drop line folding & unnecessary (wrapping) (c5d31f6)

6.0.1 (2019-10-18)

Bug Fixes

  • Include __esModule: true in CommonJS export (eemeli/intl-pluralrules#12) (70daa3d)

6.0.0 (2019-10-17)

BREAKING CHANGES

  • This drops the default export of the ES6 module, and for the UMD module renames "pt-PT" as pt_PT & "in" as _in.
  • This drops the umd/ and es6/ directories, in favour of serving the plurals and pluralCategories files from the package root. They are now distinguished by extension: .mjs for ES6 modules, and .js for UMD packaging.

Features

  • Automate common-categories detection (3421285)
  • Automate common-plurals detection (a6838a1)
  • Improve category printing, including vars for strings (9c0a8d8)
  • Account for aliased locale codes (f538772)
  • Harmonise ES6 & UMD exports (c24b666)
  • Change output paths (3b4c7e9)
  • Add named exports to ES6 modules, for tree-shaking (37021e6)
  • Include separate exports for cardinals & ordinals (ea23050)
  • Update cldr-core from 34 to 36 (a9d2547)

Bug Fixes

  • Update for CLI changes (9d151d0)
  • Oops, add missing files to release (d4f3050)

5.0.0 (2019-07-15)

BREAKING CHANGES

  • Split make-plural-compiler and make-plural-cli into their own packages
  • Move the make-plural/make-plural endpoint to make-plural-compiler
  • Move the make-plural binary to make-plural-cli
  • Repackage as monorepo, using Lerna (671781d)
  • Drop Bower support (08f6668)

Features

  • Include compiled plurals & plural categories in git repo (eeca17a)
  • cli: Refactor references to common plurals/categories when printing module (ecb5bf9)
  • cli: Use non-anonymous functions in module export (5316a1a)