Skip to content

Latest commit

 

History

History
986 lines (316 loc) · 30.5 KB

File metadata and controls

986 lines (316 loc) · 30.5 KB

Change Log

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

6.0.10 (2020-10-10)

Note: Version bump only for package intl-messageformat-parser

6.0.9 (2020-10-08)

Note: Version bump only for package intl-messageformat-parser

6.0.8 (2020-10-01)

Note: Version bump only for package intl-messageformat-parser

6.0.7 (2020-09-18)

Note: Version bump only for package intl-messageformat-parser

6.0.6 (2020-09-09)

Note: Version bump only for package intl-messageformat-parser

6.0.5 (2020-08-28)

Note: Version bump only for package intl-messageformat-parser

6.0.4 (2020-08-25)

Note: Version bump only for package intl-messageformat-parser

6.0.3 (2020-08-22)

Note: Version bump only for package intl-messageformat-parser

6.0.2 (2020-08-21)

Note: Version bump only for package intl-messageformat-parser

6.0.1 (2020-08-20)

Bug Fixes

  • intl-messageformat-parser: bump version to 6.0 (1864c13)

5.5.1 (2020-08-19)

Note: Version bump only for package intl-messageformat-parser

5.5.0 (2020-08-19)

Bug Fixes

  • intl-messageformat-parser: rm skeleton export from dummy (986290f)

Features

  • intl-messageformat-parser: add shouldParseSkeleton flag to parse skeleton into ECMA402 format options (ff84995)

5.4.2 (2020-08-18)

Note: Version bump only for package intl-messageformat-parser

5.4.1 (2020-08-17)

Note: Version bump only for package intl-messageformat-parser

5.4.0 (2020-08-14)

Features

  • intl-messageformat-parser: expose intl-messageformat-parser/dummy that does not contains parser (d0e2d7e)

5.3.9 (2020-08-14)

Note: Version bump only for package intl-messageformat-parser

5.3.8 (2020-08-13)

Note: Version bump only for package intl-messageformat-parser

5.3.7 (2020-07-24)

Note: Version bump only for package intl-messageformat-parser

5.3.6 (2020-07-21)

Bug Fixes

  • intl-messageformat-parser: no need to escape less than sign in messages (#1857) (8897c96), closes #1845

5.3.5 (2020-07-17)

Note: Version bump only for package intl-messageformat-parser

5.3.4 (2020-07-16)

Note: Version bump only for package intl-messageformat-parser

5.3.3 (2020-07-14)

Bug Fixes

  • react-intl: fix rollup'ed type def file (bddb88e)

5.3.2 (2020-07-14)

Bug Fixes

  • react-intl: fix rollup'ed type def file (bddb88e)

5.3.1 (2020-07-14)

Note: Version bump only for package intl-messageformat-parser

5.3.0 (2020-07-14)

Features

5.2.5 (2020-07-09)

Note: Version bump only for package intl-messageformat-parser

5.2.4 (2020-07-03)

Note: Version bump only for package intl-messageformat-parser

5.2.3 (2020-07-03)

Note: Version bump only for package intl-messageformat-parser

5.2.2 (2020-07-03)

Note: Version bump only for package intl-messageformat-parser

5.2.1 (2020-07-01)

Note: Version bump only for package intl-messageformat-parser

5.2.0 (2020-06-26)

Features

  • intl-messageformat: pass ignoreTag to parser (386459b), closes #1755

5.1.6 (2020-06-23)

Note: Version bump only for package intl-messageformat-parser

5.1.5 (2020-06-23)

Note: Version bump only for package intl-messageformat-parser

5.1.4 (2020-06-20)

Note: Version bump only for package intl-messageformat-parser

5.1.3 (2020-06-06)

Note: Version bump only for package intl-messageformat-parser

5.1.2 (2020-06-06)

Note: Version bump only for package intl-messageformat-parser

5.1.1 (2020-06-04)

Note: Version bump only for package intl-messageformat-parser

5.1.0 (2020-06-04)

Features

  • intl-messageformat-parser: Add 'ignoreTag' option (#1699) (5000bdf)

5.0.12 (2020-06-03)

Note: Version bump only for package intl-messageformat-parser

5.0.11 (2020-05-28)

Note: Version bump only for package intl-messageformat-parser

5.0.10 (2020-05-27)

Note: Version bump only for package intl-messageformat-parser

5.0.9 (2020-05-25)

Note: Version bump only for package intl-messageformat-parser

5.0.8 (2020-05-23)

Note: Version bump only for package intl-messageformat-parser

5.0.7 (2020-05-23)

Note: Version bump only for package intl-messageformat-parser

5.0.6 (2020-05-21)

Bug Fixes

  • intl-messageformat: fix rendering tag inside plural, fix #1680 (dd4f6c6)

5.0.5 (2020-05-21)

Bug Fixes

  • @formatjs/intl-numberformat: rename intl-unified-numberformat to intl-numberformat (8f183d3)

5.0.4 (2020-05-16)

Note: Version bump only for package intl-messageformat-parser

5.0.3 (2020-05-05)

Note: Version bump only for package intl-messageformat-parser

5.0.2 (2020-04-28)

Note: Version bump only for package intl-messageformat-parser

5.0.1 (2020-04-24)

Bug Fixes

  • eslint-plugin-formatjs: add missing dep (776390e)

5.0.0 (2020-04-20)

Features

  • intl-messageformat-parser: Fix number skeleton parser (c052050)

BREAKING CHANGES

  • intl-messageformat-parser: Change precision wildcard token from + to * to conform with ICU67+

4.1.4 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

4.1.3 (2020-04-12)

Note: Version bump only for package intl-messageformat-parser

4.1.2 (2020-03-30)

Note: Version bump only for package intl-messageformat-parser

4.1.1 (2020-03-18)

Note: Version bump only for package intl-messageformat-parser

4.1.0 (2020-03-05)

Features

  • intl-messageformat-parser: Allow - in embedded HTML tag (43aa6a7), closes #545

4.0.0 (2020-03-04)

Features

  • intl-messageformat: combine formatHTMLMessage into format (d59fbf1)
  • intl-messageformat-parser: Add native support for parsing XML tag (51c49fa)

BREAKING CHANGES

  • intl-messageformat: We've modified the way we parse and format embedded XML/HTML as follow:
  1. formatHTMLMessage has been combined with format
  2. All tags specified must have corresponding values and will throw error if it's missing, e.g: new IntlMessageFormat("a <b>strong</b>").format({ b: (...chunks) => <strong>chunks</strong> })
  3. Self-closing tags are treated as string literal by default. We don't allow formatting self-closing tags because we already use ICU {placeholder} syntax for that.
  4. XML/HTML tags are escaped using apostrophe just like other ICU constructs.
  5. Remove dependency on DOMParser and restrictions on void element like <link>. This effectively means you don't need to polyfill DOMParser in Node anymore

fix(intl-messageformat-parser): fix escaping for XML tag

  • intl-messageformat-parser: This changes the AST and causes potential conflicts with previous parser version fix(eslint-plugin-formatjs): Adapt to new parser chore(babel-plugin-react-intl): update package lock

3.6.4 (2020-01-27)

Note: Version bump only for package intl-messageformat-parser

3.6.3 (2020-01-22)

Bug Fixes

  • intl-messageformat-parser: fix type definition for skeleton… (#456) (c208d01)
  • intl-messageformat-parser: skip whitespaces that match unicode White_Space (#468) (d0dda6e), closes #467

3.6.2 (2020-01-09)

Note: Version bump only for package intl-messageformat-parser

3.6.1 (2020-01-08)

Note: Version bump only for package intl-messageformat-parser

3.6.0 (2020-01-06)

Features

  • intl-messageformat-parser: allow unclosed apostrophe escape sequence (54b442f)
  • intl-messageformat-parser: pound symbol escaping (19fd028)

3.5.3 (2019-12-27)

Note: Version bump only for package intl-messageformat-parser

3.5.2 (2019-12-26)

Note: Version bump only for package intl-messageformat-parser

3.5.1 (2019-12-04)

Bug Fixes

  • intl-messageformat-parser: specify intl-unified-numberformat as dependency (#351) (e886b61)

3.5.0 (2019-12-02)

Features

  • intl-messageformat-parser: add support for unit-width (dc4a054)

3.4.0 (2019-12-01)

Features

  • intl-messageformat-parser: add parsing support for notation, signDisplay, currencyDisplay (eaa0039)
  • intl-messageformat-parser: add preliminary support for number skeleton (e993e43)

3.3.1 (2019-11-26)

Note: Version bump only for package intl-messageformat-parser

3.3.0 (2019-11-25)

Bug Fixes

  • intl-messageformat-parser: exclude some more unsupported pattern (07ec1d1)

Features

  • eslint-plugin-formatjs: add supported-datetime-skeleton rules (c121a9a)
  • intl-messageformat: add limited support for date time skeleton (07795b9)

3.2.6 (2019-11-25)

Note: Version bump only for package intl-messageformat-parser

3.2.5 (2019-11-23)

Bug Fixes

  • intl-messageformat-parser: fix duplicate parse exports, fix #290 (4e20dbd)

3.2.4 (2019-11-21)

Bug Fixes

  • intl-messageformat-parser: use api-extractor to combine d.ts (9d55531)

3.2.3 (2019-11-20)

Bug Fixes

  • lint: fix lint config and rerun (041eb99)

3.2.2 (2019-10-23)

Note: Version bump only for package intl-messageformat-parser

3.2.1 (2019-10-01)

Note: Version bump only for package intl-messageformat-parser

3.2.0 (2019-09-20)

Features

  • intl-messageformat-parser: mark the package as side-effects free (cfc8336)

3.1.1 (2019-09-13)

Note: Version bump only for package intl-messageformat-parser

3.1.0 (2019-09-03)

Features

  • intl-messageformat-parser: add UMD dist, fixes #171 (94458c3)

3.0.8 (2019-08-29)

Bug Fixes

  • intl-messageformat-parser: throw when there are duplicates in select/plural, fix #168 (0c3a0e0)

3.0.7 (2019-08-12)

Note: Version bump only for package intl-messageformat-parser

3.0.6 (2019-08-11)

Bug Fixes

  • generate lib instead of mjs (05e63b3)

3.0.5 (2019-08-10)

Bug Fixes

  • intl-messageformat-parser: allow negative in plural rule, fixes #146 (50c7710)

3.0.4 (2019-08-08)

Bug Fixes

  • intl-messageformat-parser: make date time skeleton compatib… (#140) (b6ea222)

3.0.3 (2019-08-07)

Bug Fixes

  • intl-messageformat-parser: normalize plural in nested select, fixes #145 (215aa6d)

3.0.2 (2019-08-06)

Bug Fixes

  • generate .mjs instead of lib (0c34ee4)

3.0.1 (2019-07-29)

Bug Fixes

  • intl-messageformat-parser: argStyleText can contain syntax characters and quoted string now (#136) (b39ea08), closes #135

3.0.0 (2019-07-29)

Bug Fixes

  • intl-messageformat-parser: fix plural =xx grammar (1c3c1fc)

Features

  • intl-messageformat-parser: add parser for number skeleton and date skeleton (#131) (dbe6799)
  • intl-messageformat-parser: revamped quote rule (#134) (5661177)
  • intl-messageformat-parser: support argument skeleton for AST printers (#133) (f1f937d)

BREAKING CHANGES

  • intl-messageformat-parser: This changes how we escape chars in messages, instead of \ we now use apostrophe which is more aligned with ICU4J & ICU4C

2.1.3 (2019-07-25)

Note: Version bump only for package intl-messageformat-parser

2.1.2 (2019-07-23)

Bug Fixes

  • intl-messageformat-parser: add tests, fix offset printing (bebdf95)
  • intl-messageformat-parser: Fix AST printer to print white-spaces, commas and element types… (#120) (37448e2), closes #117

2.1.1 (2019-07-12)

Note: Version bump only for package intl-messageformat-parser

2.1.0 (2019-07-12)

Features

  • intl-messageformat-parser: add printer to print AST to string (ec0eaa2)

2.0.1 (2019-07-09)

Note: Version bump only for package intl-messageformat-parser

2.0.0 (2019-07-08)

Features

  • intl-messageformat-parser: Rewrite grammar (#112) (093de35)

BREAKING CHANGES

  • intl-messageformat-parser: This completely changes the AST produced by the parser

Before:

complex_msg AST length 12567
normal_msg AST length 2638
simple_msg AST length 567
string_msg AST length 288
complex_msg x 3,405 ops/sec ±5.44% (81 runs sampled)
normal_msg x 27,513 ops/sec ±2.14% (87 runs sampled)
simple_msg x 113,043 ops/sec ±1.20% (89 runs sampled)
string_msg x 147,838 ops/sec ±0.78% (90 runs sampled)

After:

complex_msg AST length 2053
normal_msg AST length 410
simple_msg AST length 79
string_msg AST length 36
complex_msg x 3,926 ops/sec ±2.37% (90 runs sampled)
normal_msg x 27,641 ops/sec ±3.93% (86 runs sampled)
simple_msg x 100,764 ops/sec ±5.35% (79 runs sampled)
string_msg x 120,362 ops/sec ±7.11% (74 runs sampled)
  • feat: normalize hashtag token in plural

  • feat(intl-messageformat): adapt to new AST

  • feat(babel-plugin-react-intl): adapt to new AST

1.8.1 (2019-06-28)

Note: Version bump only for package intl-messageformat-parser

1.8.0 (2019-06-27)

Features

  • intl-messageformat: allow passing in formatters (#107) (3605693)

1.7.1 (2019-06-26)

Bug Fixes

  • intl-messageformat-parser: Escape double-' to a single ' (#103) (4d0cd1f)

1.7.0 (2019-06-27)

Features

1.6.8 (2019-06-18)

Note: Version bump only for package intl-messageformat-parser

1.6.7 (2019-06-18)

Note: Version bump only for package intl-messageformat-parser

1.6.6 (2019-06-12)

Note: Version bump only for package intl-messageformat-parser

1.6.5 (2019-06-03)

Note: Version bump only for package intl-messageformat-parser

1.6.4 (2019-06-03)

Note: Version bump only for package intl-messageformat-parser

1.6.3 (2019-05-28)

Note: Version bump only for package intl-messageformat-parser

1.6.2 (2019-05-28)