Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Latest commit

 

History

History
732 lines (246 loc) · 23.2 KB

File metadata and controls

732 lines (246 loc) · 23.2 KB

Change Log

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

7.5.3 (2020-04-25)

Note: Version bump only for package babel-plugin-react-intl

7.5.2 (2020-04-24)

Bug Fixes

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

7.5.1 (2020-04-20)

Note: Version bump only for package babel-plugin-react-intl

7.5.0 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

Features

  • babel-plugin-react-intl: support extracting single message from defineMessage macro (f7ce912)

7.4.3 (2020-04-13)

Bug Fixes

  • babel-plugin-react-intl: fix README link (afc92d4)

7.4.2 (2020-04-12)

Note: Version bump only for package babel-plugin-react-intl

7.4.1 (2020-04-12)

Bug Fixes

  • babel-plugin-react-intl: fix pragma parsing so it can search for non-import nodes (7df5060)

7.4.0 (2020-04-11)

Features

  • @formatjs/cli: add support for pragma (b6c8352)
  • babel-plugin-react-intl: add option to parse pragma (af58ad2)

7.3.0 (2020-04-11)

Features

  • @formatjs/cli: add --throws option to prevent throwing on a single file (7539936)

7.2.1 (2020-04-11)

Bug Fixes

  • @formatjs/cli: export raw extraction method that returns all messages (45fc546)
  • babel-plugin-react-intl: add missing dep, fix #586 (1419526)

7.2.0 (2020-04-11)

Features

  • @formatjs/cli: export extracting API (08db726)

7.1.1 (2020-03-30)

Note: Version bump only for package babel-plugin-react-intl

7.1.0 (2020-03-29)

Features

  • babel-plugin-react-intl: add destructured formatMessage su… (#582) (8549258)

7.0.0 (2020-03-22)

Features

  • babel-plugin-react-intl: remove FormattedHTMLMessage extraction (f962fdf)

BREAKING CHANGES

  • babel-plugin-react-intl: As of [email protected], FormattedHTMLMessage is no longer supported so we're removing this from our babel plugin as well

6.2.0 (2020-03-18)

Features

  • babel-plugin-react-intl: add outputEmptyJson option (a4f85ab)

6.1.0 (2020-03-18)

Bug Fixes

  • babel-plugin-react-intl: extract messages without defaultMessage, fix #536 (dafa46b)

Features

  • babel-plugin-react-intl: add filename as param to overrideIdFn (30b9de9), closes #495 #496
  • babel-plugin-react-intl: output file with empty [] if src has no messages (43dae5b), closes #553

6.0.1 (2020-03-05)

Note: Version bump only for package babel-plugin-react-intl

6.0.0 (2020-03-04)

Features

  • intl-messageformat-parser: Add native support for parsing XML tag (51c49fa)

BREAKING CHANGES

  • 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

5.1.18 (2020-01-27)

Note: Version bump only for package babel-plugin-react-intl

5.1.17 (2020-01-22)

Note: Version bump only for package babel-plugin-react-intl

5.1.16 (2020-01-09)

Note: Version bump only for package babel-plugin-react-intl

5.1.15 (2020-01-08)

Note: Version bump only for package babel-plugin-react-intl

5.1.14 (2020-01-06)

Note: Version bump only for package babel-plugin-react-intl

5.1.13 (2019-12-27)

Note: Version bump only for package babel-plugin-react-intl

5.1.12 (2019-12-26)

Note: Version bump only for package babel-plugin-react-intl

5.1.11 (2019-12-04)

Note: Version bump only for package babel-plugin-react-intl

5.1.10 (2019-12-02)

Note: Version bump only for package babel-plugin-react-intl

5.1.9 (2019-12-01)

Note: Version bump only for package babel-plugin-react-intl

5.1.8 (2019-11-26)

Note: Version bump only for package babel-plugin-react-intl

5.1.7 (2019-11-25)

Note: Version bump only for package babel-plugin-react-intl

5.1.6 (2019-11-25)

Note: Version bump only for package babel-plugin-react-intl

5.1.5 (2019-11-23)

Note: Version bump only for package babel-plugin-react-intl

5.1.4 (2019-11-21)

Note: Version bump only for package babel-plugin-react-intl

5.1.3 (2019-11-20)

Bug Fixes

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

5.1.2 (2019-11-10)

Note: Version bump only for package babel-plugin-react-intl

5.1.1 (2019-11-05)

Note: Version bump only for package babel-plugin-react-intl

5.1.0 (2019-11-01)

Features

  • @formatjs/cli: add --outFile & --idInterpolationPattern (0c5e675)
  • babel-plugin-react-intl: allow parsing from @formatjs/macro (196dcc4)

5.0.1 (2019-10-31)

Note: Version bump only for package babel-plugin-react-intl

5.0.0 (2019-10-31)

Features

  • babel-plugin-react-intl: remove enforceDescription and enforceDefaultMessage (72ff434)

BREAKING CHANGES

  • babel-plugin-react-intl: We want to move things like enforceDescription and enforceDefaultMessage to the new eslint-plugin-formatjs instead of using this babel plugin for linting. feat(@formatjs/cli): Remove enforceDescription and enforceDefaultMessage

4.3.0 (2019-10-30)

Features

4.2.0 (2019-10-30)

Features

4.1.21 (2019-10-23)

Note: Version bump only for package babel-plugin-react-intl

4.1.20 (2019-10-01)

Note: Version bump only for package babel-plugin-react-intl

4.1.19 (2019-09-20)

Note: Version bump only for package babel-plugin-react-intl

4.1.18 (2019-09-15)

Note: Version bump only for package babel-plugin-react-intl

4.1.17 (2019-09-13)

Note: Version bump only for package babel-plugin-react-intl

4.1.16 (2019-09-03)

Note: Version bump only for package babel-plugin-react-intl

4.1.15 (2019-08-29)

Note: Version bump only for package babel-plugin-react-intl

4.1.14 (2019-08-19)

Bug Fixes

  • babel-plugin-react-intl: return raw message without re-printing, fix #160 (6897ca9)

4.1.13 (2019-08-21)

Bug Fixes

  • babel-plugin-react-intl: dont trim ws (f9f4e54), closes #158

4.1.12 (2019-08-12)

Note: Version bump only for package babel-plugin-react-intl

4.1.11 (2019-08-11)

Bug Fixes

  • babel-plugin-react-intl: check if descriptorPath.id is present in JSX element (#150) (5e2dffa)

4.1.10 (2019-08-11)

Bug Fixes

  • generate lib instead of mjs (05e63b3)

4.1.9 (2019-08-10)

Note: Version bump only for package babel-plugin-react-intl

4.1.8 (2019-08-08)

Note: Version bump only for package babel-plugin-react-intl

4.1.7 (2019-08-07)

Note: Version bump only for package babel-plugin-react-intl

4.1.6 (2019-08-06)

Bug Fixes

  • generate .mjs instead of lib (0c34ee4)

4.1.5 (2019-07-29)

Note: Version bump only for package babel-plugin-react-intl

4.1.4 (2019-07-29)

Note: Version bump only for package babel-plugin-react-intl

4.1.3 (2019-07-25)

Note: Version bump only for package babel-plugin-react-intl

4.1.2 (2019-07-23)

Note: Version bump only for package babel-plugin-react-intl

4.1.1 (2019-07-12)

Note: Version bump only for package babel-plugin-react-intl

4.1.0 (2019-07-12)

Features

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

4.0.1 (2019-07-09)

Note: Version bump only for package babel-plugin-react-intl

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

3.5.1 (2019-06-28)

Note: Version bump only for package babel-plugin-react-intl

3.5.0 (2019-06-27)

Features

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

3.4.1 (2019-06-26)

Note: Version bump only for package babel-plugin-react-intl

3.4.0 (2019-06-27)

Features

3.3.3 (2019-06-18)

Bug Fixes

  • babel-plugin-react-intl: add back messages to metadata, fixes #92 (643f8e5)

3.3.2 (2019-06-18)

Note: Version bump only for package babel-plugin-react-intl

3.3.1 (2019-06-18)

Note: Version bump only for package babel-plugin-react-intl

3.3.0 (2019-06-18)

Features

  • babel-plugin-react-intl: rewrite using new babel 7 APIs (#89) (5bc18b0)

3.2.1 (2019-06-12)

Note: Version bump only for package babel-plugin-react-intl

3.2.0 (2019-06-05)

Features

  • babel-plugin-react-intl: Add enforceDefaultMessage (#61) (8dbb1c3)

3.1.3 (2019-06-03)

Note: Version bump only for package babel-plugin-react-intl

3.1.2 (2019-06-03)

Note: Version bump only for package babel-plugin-react-intl

3.1.1 (2019-05-31)

Note: Version bump only for package babel-plugin-react-intl

3.1.0 (2019-05-28)

Features

  • babel-plugin-react-intl: add extractFromFormatMessageCall option to opt-in extracting from intl.formatMessage, fixes #37 (#39) (5d0bb43)

3.0.2 (2019-05-28)

Bug Fixes

  • relativePath: path -> p (a764377)

Features

  • babel-plugin-react-intl: add extractFromFormatMessageCall option to opt-in extracting from intl.formatMessage, fixes #37 (#39) (5d0bb43)
  • test: Add test suite. (a7b611a)