Skip to content

Latest commit

 

History

History
112 lines (68 loc) · 7.36 KB

CHANGELOG.md

File metadata and controls

112 lines (68 loc) · 7.36 KB

Change Log

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

3.0.1 (2022-02-06)

Bug Fixes

  • runtime: Use a string type in the select() arguments (#344)
  • runtime: Add missing messages.d.ts (#342)

3.0.0 (2021-05-13)

Bug Fixes

  • Tighten up TS types, getting rid of almost all any (21de670)
  • runtime: Add missing esm/package.json (#308) (057c84a)

3.0.0-beta.2 (2020-11-29)

Bug Fixes

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

Features

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

BREAKING CHANGES

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

Bug Fixes

  • runtime: Use actual isNaN() check in strictNumber() (d5a55b4)
  • Update make-plural dependency to 6.0.1 (fb5ceaf)

Features

  • compiler: Add requireAllArguments option to compiler (#267) (eb4f194)
  • runtime: Add typings for messages (#265) (9be7e9d)

3.0.0-beta.0 (2019-10-15)

Features

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

BREAKING CHANGES

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