v1.0.0
1.0.0 (2019-07-31)
Bug Fixes
- Correct the Baltic plural rules 1 and 2 (ebe746d)
- Correct the Celtic plural rules 1, 2 and 3 (df6a2c0)
- Correct the Semitic plural rule 1 (6fbd979)
- Fix the Celtic plural rule 4 computation for the cardinal 0 (a24dc1a)
- Keep Mozilla's plural rule number for zero in Baltic, Shuar and Welsh (a008166)
- Transpile the CJS module output for Node.js 6 or newer (c408cf0)
- Upgrade npm module dependencies (90e9fb8)
Features
- Introduce support for plural rule names according to CLDR (9b21be2)
- Provide both minificated and only cleaned-up UMD scripts for the browser (637714c)
BREAKING CHANGES
- These three language families used their last rule for the cardinal zero. It was not consistent with the result of the original Mozilla's rule evaluation. I moved the zero rule to the beginning for these three families to avoid mistakes from this only difference.
If you write language packs for these language groups:
- Baltic (Latvian, Latgalian)
- Ecuador indigenous languages (Shuar)
- Welsh
Move the string for the plural form for zero to the beginning of the string array.
The Semitic (Arabic) plural rules still put the zero plural form as the last one as the Mozilla's original does.