All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
10.4.0 (2023-02-20)
- babel-plugin-formatjs: support $t by default (f55cd1d)
10.3.36 (2023-01-30)
Note: Version bump only for package babel-plugin-formatjs
10.3.35 (2022-12-02)
Note: Version bump only for package babel-plugin-formatjs
10.3.34 (2022-12-01)
Note: Version bump only for package babel-plugin-formatjs
10.3.33 (2022-12-01)
Note: Version bump only for package babel-plugin-formatjs
10.3.32 (2022-11-29)
Note: Version bump only for package babel-plugin-formatjs
10.3.31 (2022-10-17)
Note: Version bump only for package babel-plugin-formatjs
10.3.30 (2022-10-13)
Note: Version bump only for package babel-plugin-formatjs
10.3.29 (2022-09-28)
Note: Version bump only for package babel-plugin-formatjs
10.3.28 (2022-08-27)
Note: Version bump only for package babel-plugin-formatjs
10.3.27 (2022-08-21)
Note: Version bump only for package babel-plugin-formatjs
10.3.26 (2022-08-18)
Note: Version bump only for package babel-plugin-formatjs
10.3.25 (2022-07-04)
Note: Version bump only for package babel-plugin-formatjs
10.3.24 (2022-06-06)
Note: Version bump only for package babel-plugin-formatjs
10.3.23 (2022-05-20)
Note: Version bump only for package babel-plugin-formatjs
10.3.22 (2022-05-19)
Note: Version bump only for package babel-plugin-formatjs
10.3.21 (2022-05-19)
10.3.20 (2022-04-27)
Note: Version bump only for package babel-plugin-formatjs
10.3.19 (2022-03-26)
Note: Version bump only for package babel-plugin-formatjs
10.3.18 (2022-02-06)
Note: Version bump only for package babel-plugin-formatjs
10.3.17 (2022-01-24)
Note: Version bump only for package babel-plugin-formatjs
10.3.16 (2022-01-20)
Note: Version bump only for package babel-plugin-formatjs
10.3.15 (2022-01-09)
Note: Version bump only for package babel-plugin-formatjs
10.3.14 (2022-01-03)
Note: Version bump only for package babel-plugin-formatjs
10.3.13 (2022-01-03)
Note: Version bump only for package babel-plugin-formatjs
10.3.12 (2021-12-01)
Note: Version bump only for package babel-plugin-formatjs
10.3.11 (2021-10-22)
Note: Version bump only for package babel-plugin-formatjs
10.3.10 (2021-10-17)
Note: Version bump only for package babel-plugin-formatjs
10.3.9 (2021-09-27)
Note: Version bump only for package babel-plugin-formatjs
10.3.8 (2021-09-04)
10.3.7 (2021-08-24)
Note: Version bump only for package babel-plugin-formatjs
10.3.6 (2021-08-21)
Note: Version bump only for package babel-plugin-formatjs
10.3.5 (2021-08-15)
Note: Version bump only for package babel-plugin-formatjs
10.3.4 (2021-08-06)
Note: Version bump only for package babel-plugin-formatjs
10.3.3 (2021-07-24)
Note: Version bump only for package babel-plugin-formatjs
10.3.2 (2021-07-06)
Note: Version bump only for package babel-plugin-formatjs
10.3.1 (2021-06-26)
Note: Version bump only for package babel-plugin-formatjs
10.3.0 (2021-06-21)
10.2.20 (2021-06-14)
Note: Version bump only for package babel-plugin-formatjs
10.2.19 (2021-06-09)
Note: Version bump only for package babel-plugin-formatjs
10.2.18 (2021-06-05)
Note: Version bump only for package babel-plugin-formatjs
10.2.17 (2021-06-04)
Note: Version bump only for package babel-plugin-formatjs
10.2.16 (2021-06-01)
Note: Version bump only for package babel-plugin-formatjs
10.2.15 (2021-05-23)
Note: Version bump only for package babel-plugin-formatjs
10.2.14 (2021-05-20)
Note: Version bump only for package babel-plugin-formatjs
10.2.13 (2021-05-17)
Note: Version bump only for package babel-plugin-formatjs
10.2.12 (2021-05-10)
Note: Version bump only for package babel-plugin-formatjs
10.2.11 (2021-05-02)
Note: Version bump only for package babel-plugin-formatjs
10.2.10 (2021-04-26)
Note: Version bump only for package babel-plugin-formatjs
10.2.9 (2021-04-26)
Note: Version bump only for package babel-plugin-formatjs
10.2.8 (2021-04-21)
Note: Version bump only for package babel-plugin-formatjs
10.2.7 (2021-04-12)
Note: Version bump only for package babel-plugin-formatjs
10.2.6 (2021-04-04)
Note: Version bump only for package babel-plugin-formatjs
10.2.5 (2021-04-03)
Note: Version bump only for package babel-plugin-formatjs
10.2.4 (2021-03-30)
10.2.3 (2021-03-28)
Note: Version bump only for package babel-plugin-formatjs
10.2.2 (2021-03-28)
Note: Version bump only for package babel-plugin-formatjs
10.2.1 (2021-03-27)
- babel-plugin-formatjs: fix missing dep (9908e58)
10.2.0 (2021-03-27)
- babel-plugin-formatjs: switch parser to @formatjs/icu-messageformat-parser (6x faster) (89fdade)
10.1.0 (2021-03-26)
10.0.0 (2021-03-26)
- babel-plugin-formatjs: change default value for idInterpolationPattern to [sha512:contenthash:base64:6] in order to avoid hash collisions happening with [contenthash:5] (635633d)
- babel-plugin-formatjs: If you don't explicitly set the ID pattern this will result in a new IDs for your lang files
9.2.5 (2021-03-15)
Note: Version bump only for package babel-plugin-formatjs
9.2.4 (2021-03-10)
9.2.3 (2021-03-08)
9.2.2 (2021-03-01)
Note: Version bump only for package babel-plugin-formatjs
9.2.1 (2021-02-25)
9.2.0 (2021-02-25)
- babel-plugin-formatjs: relax function call check to allow foobar.formatMessage (d26dfdd)
9.1.4 (2021-02-25)
Note: Version bump only for package babel-plugin-formatjs
9.1.3 (2021-02-22)
Note: Version bump only for package babel-plugin-formatjs
9.1.2 (2021-02-21)
Note: Version bump only for package babel-plugin-formatjs
9.1.1 (2021-02-21)
Note: Version bump only for package babel-plugin-formatjs
9.1.0 (2021-02-13)
- babel-plugin-formatjs: support preserving whitespace and newlines (0172f46)
9.0.4 (2021-01-27)
Note: Version bump only for package babel-plugin-formatjs
9.0.3 (2021-01-26)
Note: Version bump only for package babel-plugin-formatjs
9.0.2 (2021-01-25)
Note: Version bump only for package babel-plugin-formatjs
9.0.1 (2021-01-05)
Note: Version bump only for package babel-plugin-formatjs
9.0.0 (2021-01-04)
- babel-plugin-formatjs: fix package description (69c509d)
- babel-plugin-formatjs: change result metadata key from react-intl to formatjs (73a8d2f)
- babel-plugin-formatjs: remove moduleSourceName and extractFromFormatMessageCall (on by default) (e310baf)
- babel-plugin-formatjs:
moduleSourceName
is not relevant and used a whole lot. We've removedextractFromFormatMessageCall
and turn it on by default to avoid config confusion. - babel-plugin-formatjs: If you use this plugin programmatically,
metadata['react-int']
is nowmetadata['formatjs']
8.4.0 (2021-01-04)
- babel-plugin-formatjs: add additionalFunctionNames feature to extract from custom function calls (043ac50)
- babel-plugin-formatjs: rename babel-plugin-react-intl to babel-plugin-formatjs (c9357b7)
8.2.25 (2021-01-04)
Note: Version bump only for package babel-plugin-react-intl
8.2.24 (2021-01-02)
Note: Version bump only for package babel-plugin-react-intl
8.2.23 (2021-01-01)
Note: Version bump only for package babel-plugin-react-intl
8.2.22 (2020-12-17)
Note: Version bump only for package babel-plugin-react-intl
8.2.21 (2020-11-27)
Note: Version bump only for package babel-plugin-react-intl
8.2.20 (2020-11-26)
Note: Version bump only for package babel-plugin-react-intl
8.2.19 (2020-11-20)
Note: Version bump only for package babel-plugin-react-intl
8.2.18 (2020-11-19)
8.2.17 (2020-11-12)
8.2.16 (2020-11-10)
Note: Version bump only for package babel-plugin-react-intl
8.2.15 (2020-11-09)
Note: Version bump only for package babel-plugin-react-intl
8.2.14 (2020-11-09)
Note: Version bump only for package babel-plugin-react-intl
8.2.13 (2020-11-05)
Note: Version bump only for package babel-plugin-react-intl
8.2.12 (2020-11-05)
- babel-plugin-react-intl: lock down monorepo dep version (652daa7)
8.2.11 (2020-11-04)
Note: Version bump only for package babel-plugin-react-intl
8.2.10 (2020-10-28)
Note: Version bump only for package babel-plugin-react-intl
8.2.9 (2020-10-27)
Note: Version bump only for package babel-plugin-react-intl
8.2.8 (2020-10-25)
Note: Version bump only for package babel-plugin-react-intl
8.2.7 (2020-10-10)
Note: Version bump only for package babel-plugin-react-intl
8.2.6 (2020-10-08)
Note: Version bump only for package babel-plugin-react-intl
8.2.5 (2020-10-01)
Note: Version bump only for package babel-plugin-react-intl
8.2.4 (2020-09-25)
Note: Version bump only for package babel-plugin-react-intl
8.2.3 (2020-09-18)
Note: Version bump only for package babel-plugin-react-intl
8.2.2 (2020-09-12)
Note: Version bump only for package babel-plugin-react-intl
8.2.1 (2020-09-09)
Note: Version bump only for package babel-plugin-react-intl
8.2.0 (2020-09-03)
- babel-plugin-react-intl: trim trailing/leading spaces, newlines & consecutive whitespaces (9d0ead2), closes #2028
8.1.11 (2020-08-30)
Note: Version bump only for package babel-plugin-react-intl
8.1.10 (2020-08-28)
Note: Version bump only for package babel-plugin-react-intl
8.1.9 (2020-08-25)
Note: Version bump only for package babel-plugin-react-intl
8.1.8 (2020-08-22)
Note: Version bump only for package babel-plugin-react-intl
8.1.7 (2020-08-21)
Note: Version bump only for package babel-plugin-react-intl
8.1.6 (2020-08-20)
- bump intl-messageformat-parser (8bbfa04)
8.1.5 (2020-08-19)
Note: Version bump only for package babel-plugin-react-intl
8.1.4 (2020-08-19)
Note: Version bump only for package babel-plugin-react-intl
8.1.3 (2020-08-18)
Note: Version bump only for package babel-plugin-react-intl
8.1.2 (2020-08-17)
Note: Version bump only for package babel-plugin-react-intl
8.1.1 (2020-08-14)
Note: Version bump only for package babel-plugin-react-intl
8.1.0 (2020-08-14)
- babel-plugin-react-intl: add --ast flag to compile defaultMessage to AST during transpilation (1953149)
8.0.1 (2020-08-13)
Note: Version bump only for package babel-plugin-react-intl
8.0.0 (2020-08-09)
- babel-plugin-react-intl: remove
messagesDir
,workspaceRoot
,outputEmptyJson
(47ca556)
- babel-plugin-react-intl: Since we've introduced
@formatjs/cli
and multiple guides regarding i18n workflow, we want to consolidate extraction to the CLI instead of combining it with code transformation as a side effects. Therefore, since this releasebabel-plugin-react-intl
will be purely for code transformation such as validating messages, remove description, autoinject IDs and remove descriptions. All extractions should be done using@formatjs/cli
usingnpx formatjs extract
&npx formatjs compile
.
7.9.4 (2020-08-07)
Note: Version bump only for package babel-plugin-react-intl
7.9.3 (2020-08-06)
Note: Version bump only for package babel-plugin-react-intl
7.9.2 (2020-07-29)
Note: Version bump only for package babel-plugin-react-intl
7.9.1 (2020-07-25)
- babel-plugin-react-intl: tweak overrideIdFn signature in options (4fd8163)
7.9.0 (2020-07-24)
- babel-plugin-react-intl: default idInterpolationPattern to [contenthash:5] (1530f78)
- babel-plugin-react-intl: introduce idInterpolationPattern option (61eb96e)
7.8.3 (2020-07-21)
Note: Version bump only for package babel-plugin-react-intl
7.8.2 (2020-07-17)
Note: Version bump only for package babel-plugin-react-intl
7.8.1 (2020-07-16)
Note: Version bump only for package babel-plugin-react-intl
7.8.0 (2020-07-15)
7.7.3 (2020-07-14)
Note: Version bump only for package babel-plugin-react-intl
7.7.2 (2020-07-14)
Note: Version bump only for package babel-plugin-react-intl
7.7.1 (2020-07-14)
Note: Version bump only for package babel-plugin-react-intl
7.7.0 (2020-07-14)
7.6.0 (2020-07-09)
- babel-plugin-react-intl: rm references to @formatjs/macro (508df3b)
7.5.28 (2020-07-03)
Note: Version bump only for package babel-plugin-react-intl
7.5.27 (2020-07-03)
Note: Version bump only for package babel-plugin-react-intl
7.5.26 (2020-07-03)
Note: Version bump only for package babel-plugin-react-intl
7.5.25 (2020-07-01)
Note: Version bump only for package babel-plugin-react-intl
7.5.24 (2020-06-26)
Note: Version bump only for package babel-plugin-react-intl
7.5.23 (2020-06-23)
Note: Version bump only for package babel-plugin-react-intl
7.5.22 (2020-06-23)
Note: Version bump only for package babel-plugin-react-intl
7.5.21 (2020-06-20)
Note: Version bump only for package babel-plugin-react-intl
7.5.20 (2020-06-06)
Note: Version bump only for package babel-plugin-react-intl
7.5.19 (2020-06-06)
Note: Version bump only for package babel-plugin-react-intl
7.5.18 (2020-06-04)
Note: Version bump only for package babel-plugin-react-intl
7.5.17 (2020-06-04)
Note: Version bump only for package babel-plugin-react-intl
7.5.16 (2020-06-03)
Note: Version bump only for package babel-plugin-react-intl
7.5.15 (2020-05-28)
Note: Version bump only for package babel-plugin-react-intl
7.5.14 (2020-05-27)
Note: Version bump only for package babel-plugin-react-intl
7.5.13 (2020-05-25)
Note: Version bump only for package babel-plugin-react-intl
7.5.12 (2020-05-23)
Note: Version bump only for package babel-plugin-react-intl
7.5.11 (2020-05-23)
Note: Version bump only for package babel-plugin-react-intl
7.5.10 (2020-05-21)
Note: Version bump only for package babel-plugin-react-intl
7.5.9 (2020-05-21)
Note: Version bump only for package babel-plugin-react-intl
7.5.8 (2020-05-16)
Note: Version bump only for package babel-plugin-react-intl
7.5.7 (2020-05-08)
Note: Version bump only for package babel-plugin-react-intl
7.5.6 (2020-05-06)
7.5.5 (2020-05-05)
Note: Version bump only for package babel-plugin-react-intl
Note: Version bump only for package babel-plugin-react-intl
7.5.3 (2020-04-25)
Note: Version bump only for package babel-plugin-react-intl
7.5.2 (2020-04-24)
- 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)
- clean up tsbuildinfo before full build (c301ca0)
- babel-plugin-react-intl: support extracting single message from
defineMessage
macro (f7ce912)
7.4.3 (2020-04-13)
- 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)
- babel-plugin-react-intl: fix pragma parsing so it can search for non-import nodes (7df5060)
7.4.0 (2020-04-11)
- @formatjs/cli: add support for pragma (b6c8352)
- babel-plugin-react-intl: add option to parse pragma (af58ad2)
7.3.0 (2020-04-11)
- @formatjs/cli: add --throws option to prevent throwing on a single file (7539936)
7.2.1 (2020-04-11)
- @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)
- @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)
7.0.0 (2020-03-22)
- babel-plugin-react-intl: remove FormattedHTMLMessage extraction (f962fdf)
- 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)
- babel-plugin-react-intl: add outputEmptyJson option (a4f85ab)
6.1.0 (2020-03-18)
- 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)
- intl-messageformat-parser: Add native support for parsing XML tag (51c49fa)
- 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)
- 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)
- @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)
- babel-plugin-react-intl: remove enforceDescription and enforceDefaultMessage (72ff434)
- babel-plugin-react-intl: We want to move things like
enforceDescription
andenforceDefaultMessage
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)
4.2.0 (2019-10-30)
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)
4.1.13 (2019-08-21)
4.1.12 (2019-08-12)
Note: Version bump only for package babel-plugin-react-intl
4.1.11 (2019-08-11)
4.1.10 (2019-08-11)
- 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)
- 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)
- 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)
- 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)
3.4.1 (2019-06-26)
Note: Version bump only for package babel-plugin-react-intl
3.4.0 (2019-06-27)
3.3.3 (2019-06-18)
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)
3.2.1 (2019-06-12)
Note: Version bump only for package babel-plugin-react-intl
3.2.0 (2019-06-05)
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)
- babel-plugin-react-intl: add
extractFromFormatMessageCall
option to opt-in extracting fromintl.formatMessage
, fixes #37 (#39) (5d0bb43)
3.0.2 (2019-05-28)
- relativePath: path -> p (a764377)