Skip to content

Latest commit

 

History

History
1217 lines (635 loc) · 59.1 KB

CHANGELOG.md

File metadata and controls

1217 lines (635 loc) · 59.1 KB

Change Log

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

10.5.0 (2023-06-12)

Features

  • @formatjs/intl,@formatjs/fast-memoize,@formatjs/icu-messageformat-parser,@formatjs/intl-displaynames,@formatjs/intl-listformat,intl-messageformat,@formatjs/ecma402-abstract,@formatjs/intl-numberformat,@formatjs/icu-skeleton-parser: Revert esm conditional exports (#4129) (78edf46), closes #4128 #4127 #4126

10.4.0 (2023-06-06)

Features

  • @formatjs/intl,@formatjs/fast-memoize,@formatjs/icu-messageformat-parser,@formatjs/intl-displaynames,@formatjs/intl-listformat,intl-messageformat,@formatjs/ecma402-abstract,@formatjs/intl-numberformat,@formatjs/icu-skeleton-parser: esm conditional exports (#4109) (e0d593c), closes #4013

10.3.5 (2023-05-01)

Note: Version bump only for package intl-messageformat

10.3.4 (2023-04-17)

Note: Version bump only for package intl-messageformat

10.3.3 (2023-03-21)

Note: Version bump only for package intl-messageformat

10.3.1 (2023-02-20)

Note: Version bump only for package intl-messageformat

10.3.0 (2023-01-30)

Features

  • intl-messageformat: support more parse options in constructor (e6b43dc)

10.2.6 (2023-01-26)

Note: Version bump only for package intl-messageformat

10.2.5 (2022-12-02)

Note: Version bump only for package intl-messageformat

10.2.4 (2022-12-01)

Note: Version bump only for package intl-messageformat

10.2.3 (2022-12-01)

Note: Version bump only for package intl-messageformat

10.2.2 (2022-11-29)

Note: Version bump only for package intl-messageformat

10.2.1 (2022-10-17)

Note: Version bump only for package intl-messageformat

10.2.0 (2022-10-13)

Features

  • @formatjs/intl,react-intl: move IntlFormatter type parameters to methods (#3858) (0d03bb6)

10.1.5 (2022-09-28)

Note: Version bump only for package intl-messageformat

10.1.4 (2022-08-27)

Note: Version bump only for package intl-messageformat

10.1.3 (2022-08-21)

Note: Version bump only for package intl-messageformat

10.1.2 (2022-08-18)

Note: Version bump only for package intl-messageformat

10.1.1 (2022-07-04)

Note: Version bump only for package intl-messageformat

10.1.0 (2022-06-06)

Features

  • @formatjs/intl: allow module augmentation for custom formatters (#3634) (49b2588)

10.0.1 (2022-05-19)

Note: Version bump only for package intl-messageformat

10.0.0 (2022-05-19)

Bug Fixes

  • intl-messageformat: check Intl.Locale existence before usage (590f1f8), closes #3588
  • react-intl: fix type issue with react18, fix #3550 (2567b93)

Features

  • @formatjs/cli: package CLI into a single file (1760787), closes #3547

BREAKING CHANGES

  • @formatjs/cli: we push @vue/compiler-core out to peerDependencies so if u use vue u should pull this in manuallywip on packaging cli.

9.13.0 (2022-04-27)

Features

  • @formatjs/icu-messageformat-parser: preprocess 'j' date time skeleton before parsing as suggested in the Unicode guide (#3544) (7173e29)

9.12.0 (2022-03-26)

Features

  • intl-messageformat: default undefined time style to medium to match with ICU (10400af), closes #3497

9.11.4 (2022-02-06)

Note: Version bump only for package intl-messageformat

9.11.3 (2022-01-24)

Note: Version bump only for package intl-messageformat

9.11.2 (2022-01-14)

Note: Version bump only for package intl-messageformat

9.11.1 (2022-01-03)

Note: Version bump only for package intl-messageformat

9.11.0 (2021-12-20)

Features

  • react-intl: Allow setting a stricter type for locale (#3284) (c4693d4)

9.10.0 (2021-12-01)

Features

9.9.6 (2021-11-14)

Reverts

  • Revert "fix(intl-messageformat): throw when a value is undefined or null (#3256)" (11127cb), closes #3256 #3263

9.9.5 (2021-11-09)

Bug Fixes

  • intl-messageformat: throw when a value is undefined or null (#3256) (b3ac86d)

9.9.4 (2021-10-22)

Note: Version bump only for package intl-messageformat

9.9.3 (2021-10-17)

Note: Version bump only for package intl-messageformat

9.9.2 (2021-09-27)

Note: Version bump only for package intl-messageformat

9.9.1 (2021-08-21)

Note: Version bump only for package intl-messageformat

9.9.0 (2021-08-15)

Features

  • @formatjs/fast-memoize: remove unused Cache.has (#3102) (5e9a425)

9.8.2 (2021-08-06)

Note: Version bump only for package intl-messageformat

9.8.1 (2021-07-24)

Note: Version bump only for package intl-messageformat

9.8.0 (2021-07-23)

Features

  • intl-messageformat: generate modern web bundle as intl-messageformat.esm.js (#3063) (829870d)

9.7.1 (2021-06-26)

Note: Version bump only for package intl-messageformat

9.7.0 (2021-06-21)

Features

  • intl-messageformat: support argstyle integer natively, fix #2989 (ac94068)

9.6.18 (2021-06-05)

Note: Version bump only for package intl-messageformat

9.6.17 (2021-06-01)

Note: Version bump only for package intl-messageformat

9.6.16 (2021-05-23)

Note: Version bump only for package intl-messageformat

9.6.15 (2021-05-20)

Note: Version bump only for package intl-messageformat

9.6.14 (2021-05-17)

Note: Version bump only for package intl-messageformat

9.6.13 (2021-05-10)

Note: Version bump only for package intl-messageformat

9.6.12 (2021-05-02)

Note: Version bump only for package intl-messageformat

9.6.11 (2021-04-26)

Note: Version bump only for package intl-messageformat

9.6.10 (2021-04-26)

Note: Version bump only for package intl-messageformat

9.6.9 (2021-04-26)

Bug Fixes

  • intl-messageformat: fix fast-memoize import (0065f99)
  • intl-messageformat: use fast-memoize ESM fork (87596b1)

9.6.8 (2021-04-21)

Note: Version bump only for package intl-messageformat

9.6.7 (2021-04-12)

Note: Version bump only for package intl-messageformat

9.6.6 (2021-04-04)

Note: Version bump only for package intl-messageformat

9.6.5 (2021-04-03)

Note: Version bump only for package intl-messageformat

9.6.4 (2021-03-30)

Note: Version bump only for package intl-messageformat

9.6.3 (2021-03-28)

Note: Version bump only for package intl-messageformat

9.6.2 (2021-03-28)

Note: Version bump only for package intl-messageformat

9.6.1 (2021-03-27)

Bug Fixes

  • intl-messageformat: fix missing dep (d2e6721)

9.6.0 (2021-03-27)

Features

  • intl-messageformat: switch parser to @formatjs/icu-messageformat-parser (6x faster) (c53882f)

9.5.4 (2021-03-26)

Note: Version bump only for package intl-messageformat

9.5.3 (2021-03-15)

Note: Version bump only for package intl-messageformat

9.5.2 (2021-03-01)

Note: Version bump only for package intl-messageformat

9.5.1 (2021-02-25)

Bug Fixes

9.5.0 (2021-02-25)

Features

  • intl-messageformat: support TS4.2 (fdacd6f)

9.4.9 (2021-02-22)

Note: Version bump only for package intl-messageformat

9.4.8 (2021-02-21)

Note: Version bump only for package intl-messageformat

9.4.7 (2021-02-13)

Note: Version bump only for package intl-messageformat

9.4.6 (2021-01-27)

Note: Version bump only for package intl-messageformat

9.4.5 (2021-01-26)

Note: Version bump only for package intl-messageformat

9.4.4 (2021-01-25)

Note: Version bump only for package intl-messageformat

9.4.3 (2021-01-05)

Note: Version bump only for package intl-messageformat

9.4.2 (2021-01-02)

Note: Version bump only for package intl-messageformat

9.4.1 (2021-01-01)

Note: Version bump only for package intl-messageformat

9.4.0 (2020-12-17)

Features

  • intl-messageformat: format scale stem in number skeleton correctly, fix #2414 (e48b60c)

9.3.20 (2020-11-27)

Note: Version bump only for package intl-messageformat

9.3.19 (2020-11-20)

Note: Version bump only for package intl-messageformat

9.3.18 (2020-11-12)

Note: Version bump only for package intl-messageformat

9.3.17 (2020-11-09)

Note: Version bump only for package intl-messageformat

9.3.16 (2020-11-09)

Note: Version bump only for package intl-messageformat

9.3.15 (2020-11-05)

Note: Version bump only for package intl-messageformat

9.3.14 (2020-11-05)

Bug Fixes

  • intl-messageformat: lock down monorepo dep version (5f7db81)

9.3.13 (2020-11-04)

Note: Version bump only for package intl-messageformat

9.3.12 (2020-10-25)

Note: Version bump only for package intl-messageformat

9.3.11 (2020-10-10)

Note: Version bump only for package intl-messageformat

9.3.10 (2020-10-08)

Note: Version bump only for package intl-messageformat

9.3.9 (2020-10-01)

Note: Version bump only for package intl-messageformat

9.3.8 (2020-09-18)

Note: Version bump only for package intl-messageformat

9.3.7 (2020-09-09)

Note: Version bump only for package intl-messageformat

9.3.6 (2020-08-28)

Note: Version bump only for package intl-messageformat

9.3.5 (2020-08-25)

Note: Version bump only for package intl-messageformat

9.3.4 (2020-08-22)

Note: Version bump only for package intl-messageformat

9.3.3 (2020-08-21)

Note: Version bump only for package intl-messageformat

9.3.2 (2020-08-20)

Bug Fixes

  • bump intl-messageformat-parser (8bbfa04)

9.3.1 (2020-08-19)

Note: Version bump only for package intl-messageformat

9.3.0 (2020-08-19)

Features

  • intl-messageformat: use parser shouldParseSkeleton (00fa8b0)

9.2.5 (2020-08-18)

Note: Version bump only for package intl-messageformat

9.2.4 (2020-08-17)

Note: Version bump only for package intl-messageformat

9.2.3 (2020-08-14)

Note: Version bump only for package intl-messageformat

9.2.2 (2020-08-14)

Note: Version bump only for package intl-messageformat

9.2.1 (2020-08-13)

Note: Version bump only for package intl-messageformat

9.2.0 (2020-07-30)

Features

  • intl-messageformat: rm dep on intl-format-cache and use fast-memoize (1a7eb02)

9.1.7 (2020-07-24)

Note: Version bump only for package intl-messageformat

9.1.6 (2020-07-21)

Note: Version bump only for package intl-messageformat

9.1.5 (2020-07-17)

Bug Fixes

  • intl-messageformat: add back intl-messageformat.umd.js, fix #1846 (81465b0)

9.1.4 (2020-07-16)

Note: Version bump only for package intl-messageformat

9.1.3 (2020-07-14)

Bug Fixes

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

9.1.2 (2020-07-14)

Bug Fixes

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

9.1.1 (2020-07-14)

Note: Version bump only for package intl-messageformat

9.1.0 (2020-07-14)

Features

9.0.3 (2020-07-09)

Note: Version bump only for package intl-messageformat

9.0.2 (2020-07-03)

Note: Version bump only for package intl-messageformat

9.0.1 (2020-07-03)

Note: Version bump only for package intl-messageformat

9.0.0 (2020-07-03)

Features

  • intl-messageformat: make FormatXMLElementFn non-variadic (f2963bf)

BREAKING CHANGES

  • intl-messageformat: This effectively change the signature for formatter function from (...chunks) => any to (chunks) => any. This solves a couple of issues:
  1. We received user feedback that variadic function is not as ergonomic
  2. Right now there's not way to distinguish between 2 chunks that have the same tag, e.g <b>on</b> and <b>on</b>. The function would receive 2 chunks that are identical. By consoliding to the 1st param we can reserve additional params to provide mode metadata in the future

8.4.1 (2020-07-01)

Note: Version bump only for package intl-messageformat

8.4.0 (2020-06-26)

Features

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

8.3.26 (2020-06-23)

Note: Version bump only for package intl-messageformat

8.3.25 (2020-06-23)

Note: Version bump only for package intl-messageformat

8.3.24 (2020-06-20)

Note: Version bump only for package intl-messageformat

8.3.23 (2020-06-06)

Note: Version bump only for package intl-messageformat

8.3.22 (2020-06-06)

Note: Version bump only for package intl-messageformat

8.3.21 (2020-06-04)

Note: Version bump only for package intl-messageformat

8.3.20 (2020-06-04)

Note: Version bump only for package intl-messageformat

8.3.19 (2020-06-03)

Note: Version bump only for package intl-messageformat

8.3.18 (2020-05-28)

Note: Version bump only for package intl-messageformat

8.3.17 (2020-05-27)

Note: Version bump only for package intl-messageformat

8.3.16 (2020-05-25)

Note: Version bump only for package intl-messageformat

8.3.15 (2020-05-23)

Note: Version bump only for package intl-messageformat

8.3.14 (2020-05-23)

Note: Version bump only for package intl-messageformat

8.3.13 (2020-05-21)

Bug Fixes

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

8.3.12 (2020-05-21)

Note: Version bump only for package intl-messageformat

8.3.11 (2020-05-16)

Note: Version bump only for package intl-messageformat

8.3.10 (2020-05-05)

Note: Version bump only for package intl-messageformat

8.3.9 (2020-04-28)

Bug Fixes

  • intl-messageformat: fix issue where skeleton not getting parsed in date format (9cc6049)

8.3.8 (2020-04-24)

Bug Fixes

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

8.3.7 (2020-04-20)

Bug Fixes

  • intl-messageformat: IntlMessageFormat.defaultLocale is upda… (#653) (31d1422), closes #587

8.3.6 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

8.3.5 (2020-04-12)

Note: Version bump only for package intl-messageformat

8.3.4 (2020-04-11)

Note: Version bump only for package intl-messageformat

8.3.3 (2020-03-30)

Note: Version bump only for package intl-messageformat

8.3.2 (2020-03-28)

Bug Fixes

  • intl-messageformat: add FormatXMLElementFn generic return type (9b4516c)

8.3.1 (2020-03-26)

Bug Fixes

  • intl-messageformat: add missing import to formatters (be26f59)

8.3.0 (2020-03-26)

Features

  • intl-messageformat: add more debug info to errors (58dd475)

8.2.3 (2020-03-21)

Bug Fixes

  • intl-messageformat: change ErrorCode to string enum (db8662a)

8.2.2 (2020-03-18)

Note: Version bump only for package intl-messageformat

8.2.1 (2020-03-05)

Bug Fixes

  • intl-messageformat: export Error obj (614debb)

8.2.0 (2020-03-05)

Features

  • intl-messageformat: Add error type for better debugging (6200573)

8.1.0 (2020-03-05)

Features

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

8.0.0 (2020-03-04)

Features

  • intl-messageformat: combine formatHTMLMessage into format (d59fbf1)

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

7.8.4 (2020-01-27)

Note: Version bump only for package intl-messageformat

7.8.3 (2020-01-22)

Note: Version bump only for package intl-messageformat

7.8.2 (2020-01-09)

Note: Version bump only for package intl-messageformat

7.8.1 (2020-01-08)

Note: Version bump only for package intl-messageformat

7.8.0 (2020-01-06)

Bug Fixes

  • eslint-plugin-format: fix eslint-plugin-formatjs type error (b647552)

Features

  • intl-messageformat: use the new pound element AST node in plural argument (9519103)

7.7.5 (2019-12-27)

Note: Version bump only for package intl-messageformat

7.7.4 (2019-12-27)

Note: Version bump only for package intl-messageformat

7.7.3 (2019-12-26)

Note: Version bump only for package intl-messageformat

7.7.2 (2019-12-04)

Note: Version bump only for package intl-messageformat

7.7.1 (2019-12-02)

Note: Version bump only for package intl-messageformat

7.7.0 (2019-12-01)

Features

  • intl-messageformat: Integrate parser's number skeleton (c4ec029)

7.6.2 (2019-12-01)

Note: Version bump only for package intl-messageformat

7.6.1 (2019-11-26)

Note: Version bump only for package intl-messageformat

7.6.0 (2019-11-25)

Bug Fixes

  • intl-messageformat: remove re-export for parseDateTimeSkeleton (8611aa4)

Features

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

7.5.6 (2019-11-25)

Note: Version bump only for package intl-messageformat

7.5.5 (2019-11-23)

Note: Version bump only for package intl-messageformat

7.5.4 (2019-11-21)

Bug Fixes

  • intl-messageformat: use api-extractor to combine type definitions (6c6af9d)

7.5.3 (2019-11-20)

Bug Fixes

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

7.5.2 (2019-11-11)

Note: Version bump only for package intl-messageformat

7.5.1 (2019-11-10)

Bug Fixes

  • intl-messageformat: pass raw locales down to individual formatters (3a74c2e), closes #255

7.5.0 (2019-10-30)

Features

7.4.0 (2019-10-30)

Features

7.3.3 (2019-10-23)

Bug Fixes

  • intl-messageformat: fix formatHTMLMessage @ regex (d1b7c8c), closes #217
  • intl-messageformat: handle nested # in plural correctly, fix #202 (22121b2)

7.3.2 (2019-10-01)

Note: Version bump only for package intl-messageformat

7.3.1 (2019-09-27)

Note: Version bump only for package intl-messageformat

7.3.0 (2019-09-20)

Bug Fixes

  • @formatjs/intl-pluralrules: rm side effects array due to build complication (f22e552)

Features

  • intl-messageformat: mark the package as side-effects free (a1a08ae)
  • intl-messageformat: throw FormatError when trying to format plural but Intl.PluralRules is not available (6294570)

7.2.4 (2019-09-17)

Note: Version bump only for package intl-messageformat

7.2.3 (2019-09-15)

Note: Version bump only for package intl-messageformat

7.2.2 (2019-09-13)

Bug Fixes

  • intl-messageformat: fix chrome v77 issue where NumberFormat.supportedLocalesOf(cy) broke (4b1605c)

7.2.1 (2019-09-09)

Bug Fixes

  • intl-messageformat: handle closing tag nested inside regular tag (08c970a)

7.2.0 (2019-09-09)

Features

  • intl-messageformat: support nested tag, fix #176 (a857239)

7.1.6 (2019-09-03)

Note: Version bump only for package intl-messageformat

7.1.5 (2019-09-03)

Note: Version bump only for package intl-messageformat

7.1.4 (2019-09-03)

Note: Version bump only for package intl-messageformat

7.1.3 (2019-09-03)

Note: Version bump only for package intl-messageformat

7.1.2 (2019-08-29)

Note: Version bump only for package intl-messageformat

7.1.1 (2019-08-29)

Bug Fixes

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

7.1.0 (2019-08-28)

Features

  • intl-messageformat: throw FormatError if self-closing tag is used (#166) (3e0934d)

7.0.0 (2019-08-26)

Bug Fixes

  • intl-messageformat: Fix case-sensitive tag (69b6eae)

Features

  • intl-messageformat: switch to text/html to parse HTML message (f1d952f), closes #152 #148

BREAKING CHANGES

  • intl-messageformat: Rename formatXMLMessage to formatHTMLMessage

6.1.11 (2019-08-19)

Note: Version bump only for package intl-messageformat

6.1.10 (2019-08-21)

Bug Fixes

  • intl-messageformat: filter out XML a bit more aggressively (36af40e), closes #148

6.1.9 (2019-08-19)

Note: Version bump only for package intl-messageformat

6.1.8 (2019-08-16)

Note: Version bump only for package intl-messageformat

6.1.7 (2019-08-16)

Note: Version bump only for package intl-messageformat

6.1.6 (2019-08-16)

Bug Fixes

  • intl-messageformat: fix empty value in formatting (9f820ea), closes #156

6.1.5 (2019-08-13)

Bug Fixes

  • intl-messageformat: handle formatXMLMessage better (c03ecf8)

6.1.4 (2019-08-12)

Note: Version bump only for package intl-messageformat

6.1.3 (2019-08-11)

Bug Fixes

  • generate lib instead of mjs (05e63b3)

6.1.2 (2019-08-10)

Bug Fixes

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

6.1.1 (2019-08-09)

Note: Version bump only for package intl-messageformat

6.1.0 (2019-08-08)

Features

  • intl-messageformat: rm core bundle for now (5311ac2)

6.0.4 (2019-08-07)

Note: Version bump only for package intl-messageformat

6.0.3 (2019-08-06)

Bug Fixes

  • generate .mjs instead of lib (0c34ee4)

6.0.2 (2019-08-02)

Note: Version bump only for package intl-messageformat

6.0.1 (2019-07-29)

Bug Fixes

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

6.0.0 (2019-07-29)

Features

  • intl-messageformat-parser: add parser for number skeleton and date skeleton (#131) (dbe6799)
  • intl-messageformat-parser: revamped quote rule (#134) (5661177)

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

5.4.3 (2019-07-25)

Bug Fixes

5.4.2 (2019-07-25)

Bug Fixes

  • intl-messageformat: Include Date in PrimitiveType (1feca57), closes #127

5.4.1 (2019-07-25)

Bug Fixes

  • intl-messageformat: fix formatXMLMessage w/o tag (8d3bfcd)

5.4.0 (2019-07-25)

Features

  • intl-messageformat: allow mixed placeholder & XML together… (#126) (4a624c0)

5.3.0 (2019-07-25)

Features

  • intl-messageformat: allow passing in object to formatXMLMessage (ce05b8a)

5.2.0 (2019-07-25)

Features

  • intl-messageformat: Add xml formatting (#124) (72cdafc)

5.1.2 (2019-07-23)

Note: Version bump only for package intl-messageformat

5.1.1 (2019-07-12)

Note: Version bump only for package intl-messageformat

5.1.0 (2019-07-12)

Features

  • intl-messageformat: Add formatToParts (0680f58)
  • intl-messageformat: export Part types (450c495)
  • intl-messageformat-parser: add printer to print AST to string (ec0eaa2)

5.0.1 (2019-07-09)

Note: Version bump only for package intl-messageformat

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

4.4.0 (2019-06-28)

Features

  • intl-messageformat: export core entry point (ca7eeae)

4.3.0 (2019-06-27)

Features

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

4.2.1 (2019-06-26)

Note: Version bump only for package intl-messageformat

4.2.0 (2019-06-27)

Features

  • intl-relativetimeformat: make intl-relativetimeformat test262-compliant (#95) (91669a3)
  • intl-utils: Add intl-utils (#98) (2329c57)

4.1.2 (2019-06-18)

Note: Version bump only for package intl-messageformat

4.1.1 (2019-06-18)

Note: Version bump only for package intl-messageformat

4.1.0 (2019-06-18)

Features

  • intl-format-cache: fix TS definition (71ae9eb)

4.0.1 (2019-06-12)

Note: Version bump only for package intl-messageformat

4.0.0 (2019-06-05)

Features

  • add package intl-relativetimeformat (#51) (48c0f43)
  • intl-messageformat: rm bundled intl-pluralrules (a8526c3)
  • intl-messageformat: rm rolluped dist (a126939)

BREAKING CHANGES

  • intl-messageformat: Change dist files packaged. Entry point should stay the same though.
  • intl-messageformat: We no longer include intl-pluralrules in our main index file. Consumer should polyfill accordingly.

3.3.0 (2019-06-03)

Features

  • intl-messageformat: Add getAst method (3d6c289)

3.2.0 (2019-06-03)

Features

  • intl-messageformat: Add getAst method (3d6c289)

3.1.4 (2019-05-31)

Note: Version bump only for package intl-messageformat

3.1.3 (2019-05-28)

Bug Fixes

3.1.2 (2019-05-28)

Bug Fixes