All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
9.5.2 (2021-03-01)
Note: Version bump only for package intl-messageformat
9.5.1 (2021-02-25)
9.5.0 (2021-02-25)
- 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)
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)
- 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)
- 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)
- 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)
- 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)
9.1.4 (2020-07-16)
Note: Version bump only for package intl-messageformat
9.1.3 (2020-07-14)
- react-intl: fix rollup'ed type def file (bddb88e)
9.1.2 (2020-07-14)
- 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)
- publish (b6e3465)
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)
- intl-messageformat: make FormatXMLElementFn non-variadic (f2963bf)
- intl-messageformat: This effectively change the signature for formatter
function from
(...chunks) => any
to(chunks) => any
. This solves a couple of issues:
- We received user feedback that variadic function is not as ergonomic
- 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)
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)
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
- intl-messageformat: fix issue where skeleton not getting parsed in date format (9cc6049)
8.3.8 (2020-04-24)
- eslint-plugin-formatjs: add missing dep (776390e)
8.3.7 (2020-04-20)
8.3.6 (2020-04-14)
- 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)
- intl-messageformat: add FormatXMLElementFn generic return type (9b4516c)
8.3.1 (2020-03-26)
- intl-messageformat: add missing import to formatters (be26f59)
8.3.0 (2020-03-26)
- intl-messageformat: add more debug info to errors (58dd475)
8.2.3 (2020-03-21)
- 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)
- intl-messageformat: export Error obj (614debb)
8.2.0 (2020-03-05)
- intl-messageformat: Add error type for better debugging (6200573)
8.1.0 (2020-03-05)
8.0.0 (2020-03-04)
- intl-messageformat: combine formatHTMLMessage into format (d59fbf1)
- intl-messageformat: We've modified the way we parse and format embedded XML/HTML as follow:
formatHTMLMessage
has been combined withformat
- 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> })
- 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. - XML/HTML tags are escaped using apostrophe just like other ICU constructs.
- 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)
- eslint-plugin-format: fix eslint-plugin-formatjs type error (b647552)
- 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)
- 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)
- intl-messageformat: remove re-export for parseDateTimeSkeleton (8611aa4)
- 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)
- intl-messageformat: use api-extractor to combine type definitions (6c6af9d)
7.5.3 (2019-11-20)
- 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)
7.5.0 (2019-10-30)
7.4.0 (2019-10-30)
7.3.3 (2019-10-23)
- 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)
- @formatjs/intl-pluralrules: rm side effects array due to build complication (f22e552)
- 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)
- intl-messageformat: fix chrome v77 issue where NumberFormat.supportedLocalesOf(cy) broke (4b1605c)
7.2.1 (2019-09-09)
- intl-messageformat: handle closing tag nested inside regular tag (08c970a)
7.2.0 (2019-09-09)
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)
7.1.0 (2019-08-28)
7.0.0 (2019-08-26)
- intl-messageformat: Fix case-sensitive tag (69b6eae)
- intl-messageformat: Rename
formatXMLMessage
toformatHTMLMessage
6.1.11 (2019-08-19)
Note: Version bump only for package intl-messageformat
6.1.10 (2019-08-21)
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)
6.1.5 (2019-08-13)
- 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)
- generate lib instead of mjs (05e63b3)
6.1.2 (2019-08-10)
6.1.1 (2019-08-09)
Note: Version bump only for package intl-messageformat
6.1.0 (2019-08-08)
- 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)
- 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)
- intl-messageformat-parser: argStyleText can contain syntax characters and quoted string now (#136) (b39ea08), closes #135
6.0.0 (2019-07-29)
- intl-messageformat-parser: add parser for number skeleton and date skeleton (#131) (dbe6799)
- intl-messageformat-parser: revamped quote rule (#134) (5661177)
- 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)
5.4.2 (2019-07-25)
5.4.1 (2019-07-25)
- intl-messageformat: fix formatXMLMessage w/o tag (8d3bfcd)
5.4.0 (2019-07-25)
5.3.0 (2019-07-25)
- intl-messageformat: allow passing in object to formatXMLMessage (ce05b8a)
5.2.0 (2019-07-25)
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)
- 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)
- 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)
- intl-messageformat: export core entry point (ca7eeae)
4.3.0 (2019-06-27)
4.2.1 (2019-06-26)
Note: Version bump only for package intl-messageformat
4.2.0 (2019-06-27)
- 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)
- 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)
- add package intl-relativetimeformat (#51) (48c0f43)
- intl-messageformat: rm bundled intl-pluralrules (a8526c3)
- intl-messageformat: rm rolluped dist (a126939)
- 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)
- intl-messageformat: Add
getAst
method (3d6c289)
3.2.0 (2019-06-03)
- intl-messageformat: Add
getAst
method (3d6c289)
3.1.4 (2019-05-31)
Note: Version bump only for package intl-messageformat