Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Releases: messageformat/parser

v4.0.0

05 Dec 11:58
Compare
Choose a tag to compare

The changes included in this release are documented in PR #8:

  • Allow MessageFormat content in function parameters
  • Replace strictNumberSign option with broader strict

Version 3.0.0

04 Apr 09:10
Compare
Choose a tag to compare

Two breaking changes, both requiring a new major release:

  • To conform with the ICU MessageFormat standard, escaping with a \ is no longer supported (so e.g. the strings \{ and \u0123 are now passed through without changes). Instead, use 'quotes' to escape, e.g. '{braces}'. To help deal with this change, we provide a codemod to handle the change for you.
  • The optional parameter passed to a function is now a string, rather than an array of strings. So with e.g. {var, func, your param}, the parameter passed to func would be ' your param', including the leading space. As a consequence, we've also dropped the strictFunctionParams option.

Version 2.0.0

18 Nov 10:37
Compare
Choose a tag to compare

Closer conformance with the ICU MessageFormat spec with respect to quoting and escaping text (#3) and whitespace (#6), thanks to @nkovacs.

Version 1.1.0

18 Jul 06:22
Compare
Choose a tag to compare

Add support for strictFunctionParams, thanks to @nkovacs.

Version 1.0.0

01 Sep 23:00
Compare
Choose a tag to compare
v1.0.0

Release 1.0.0

Version 1.0.0 - RC1

17 Apr 22:56
Compare
Choose a tag to compare
Version 1.0.0 - RC1 Pre-release
Pre-release

See messageformat/messageformat#138 for more information.