All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.0.1 (2022-02-06)
- runtime: Use a string type in the
select()
arguments (#344) - runtime: Add missing
messages.d.ts
(#342)
3.0.0 (2021-05-13)
- Tighten up TS types, getting rid of almost all
any
(21de670) - runtime: Add missing esm/package.json (#308) (057c84a)
- runtime: Adjust jsdoc2md config for .mjs files (ef541a3)
- runtime: Use actual isNaN() check in strictNumber() (d5a55b4)
- ts: Drop dependency from runtime on messageformat (245b7c8)
- Update make-plural dependency to 6.0.1 (fb5ceaf)
- number: Cache Intl.NumberFormat instances (closes #224) (27782fa)
- Rename npm packages to use the @messageformat org (#290) (2e24133)
- compiler: Add requireAllArguments option to compiler (#267) (eb4f194)
- runtime: Add make-plural as an explicit dependency (95509a7)
- runtime: Add type, exports & browsers fields to package.json (83d2f60)
- runtime: Add typings for messages (#265) (9be7e9d)
- runtime: Refactor source as TypeScript (bdc48ce)
- runtime: Switch build from Babel to TypeScript (b28ee93)
- Merge formatters into runtime (1cef20b)
- Move runtime to its package; split stringify-dependencies from it (fbc10a5)
- Rename messageformat-messages as messageformat-runtime (16c0a8b)
- Use cardinal-only plurals where appropriate (e499b1f)
- runtime: Publish as both CJS & MJS to better tree-shaking (a3da994)
- runtime: Refactor, dropping class wrapper (0ba6ebb)
- The packages are renamed to use the @messageformat org:
messageformat
->@messageformat/core
messageformat-cli
->@messageformat/cli
messageformat-convert
->@messageformat/convert
messageformat-loader
->@messageformat/webpack-loader
messageformat-parser
->@messageformat/parser
messageformat-runtime
->@messageformat/runtime
- runtime: Babel's transpiler is here replaced with TypeScript,
which is using
"target": "ES5"
. That should be equivalently backwards-compatible, but there's a chance something will break. - This drops/deprecates the messageformat-formatters package, moving its exports to messageformat-runtime/lib/formatters.
- runtime: This drops the error-throwing from the non-strict number() variant.
3.0.0-beta.1 (2020-04-12)
- runtime: Use actual isNaN() check in strictNumber() (d5a55b4)
- Update make-plural dependency to 6.0.1 (fb5ceaf)
- compiler: Add requireAllArguments option to compiler (#267) (eb4f194)
- runtime: Add typings for messages (#265) (9be7e9d)
- Merge formatters into runtime (1cef20b)
- Move runtime to its package; split stringify-dependencies from it (fbc10a5)
- Rename messageformat-messages as messageformat-runtime (16c0a8b)
- runtime: Add make-plural as an explicit dependency (95509a7)
- runtime: Publish as both CJS & MJS to better tree-shaking (a3da994)
- runtime: Refactor, dropping class wrapper (0ba6ebb)
- Use cardinal-only plurals where appropriate (e499b1f)
- This drops/deprecates the messageformat-formatters package, moving its exports to messageformat-runtime/lib/formatters.
- runtime: This drops the error-throwing from the non-strict number() variant.