Skip to content

Latest commit

 

History

History
1112 lines (574 loc) · 52.5 KB

CHANGELOG.md

File metadata and controls

1112 lines (574 loc) · 52.5 KB

Change Log

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

5.1.1 (2022-09-28)

Note: Version bump only for package @formatjs/cli

5.1.0 (2022-08-27)

Features

  • @formatjs/ts-transformer: support TypeScript 4.7 syntax (#3764) (1b3388e)

5.0.9 (2022-08-21)

Note: Version bump only for package @formatjs/cli

5.0.8 (2022-08-18)

Note: Version bump only for package @formatjs/cli

5.0.7 (2022-08-08)

Note: Version bump only for package @formatjs/cli

5.0.6 (2022-07-19)

Note: Version bump only for package @formatjs/cli

5.0.5 (2022-07-16)

Note: Version bump only for package @formatjs/cli

5.0.4 (2022-07-16)

Bug Fixes

  • @formatjs/cli: attempt to bind cli & cli-lib on the same version (39d55fa)
  • @formatjs/cli: fix publishing issue (f110227)

5.0.3 (2022-07-16)

Bug Fixes

  • @formatjs/cli-lib: introduce @formatjs/cli-lib as @formatjs/cli Node API (7c4ebef), closes #3625

5.0.2 (2022-06-06)

Note: Version bump only for package @formatjs/cli

5.0.1 (2022-05-20)

Bug Fixes

  • @formatjs/cli: fix description obj serialization, fix #3575 (248c962)

5.0.0 (2022-05-19)

Bug Fixes

  • react-intl: fix type issue with react18, fix #3550 (2567b93)

Features

  • @formatjs/cli: package CLI into a single file (1760787), closes #3547
  • @formatjs/cli: set minimum node version to 16.5 (8397a67), closes #3602

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.
  • @formatjs/cli: set minimum node version to 16.5

4.8.4 (2022-04-27)

Note: Version bump only for package @formatjs/cli

4.8.3 (2022-03-26)

Note: Version bump only for package @formatjs/cli

4.8.2 (2022-02-06)

Note: Version bump only for package @formatjs/cli

4.8.1 (2022-01-24)

Note: Version bump only for package @formatjs/cli

4.8.0 (2022-01-20)

Features

  • @formatjs/cli: extract object-type description from message, fix #3373 (d463673)

4.7.1 (2022-01-09)

Note: Version bump only for package @formatjs/cli

4.7.0 (2022-01-03)

Features

  • @formatjs/cli: support multiple files compilation, fix #3327 (fed426b)

4.6.1 (2022-01-03)

Bug Fixes

  • @formatjs/cli: add vue to dependencies (4bbdbbd), closes #3324

4.6.0 (2022-01-03)

Features

  • @formatjs/cli: use vue/compiler-src instead of separate @vue/compiler-sfc (e9d526f)

4.5.1 (2022-01-03)

Note: Version bump only for package @formatjs/cli

4.5.0 (2021-12-01)

Features

4.4.0 (2021-10-22)

Features

  • @formatjs/cli: upgrade to TS 4.4 (4fec415)

4.3.2 (2021-10-17)

Bug Fixes

  • @formatjs/cli: fix help text for --additional-component-names, fix #3208 (ed6cb55)

4.3.1 (2021-09-27)

Note: Version bump only for package @formatjs/cli

4.3.0 (2021-09-26)

Features

  • @formatjs/cli: upgrade vue libs, handle script setup, fix #3181 (a7b2960)

4.2.33 (2021-08-24)

Note: Version bump only for package @formatjs/cli

4.2.32 (2021-08-21)

Bug Fixes

  • @formatjs/cli: fix async process.stderr issue, close #3125 (4f4633e)
  • @formatjs/ts-transformer: use console.error to avoid async process.stderr issue (b7886a9)

4.2.31 (2021-08-15)

Note: Version bump only for package @formatjs/cli

4.2.30 (2021-08-06)

Note: Version bump only for package @formatjs/cli

4.2.29 (2021-07-24)

Note: Version bump only for package @formatjs/cli

4.2.28 (2021-07-23)

Bug Fixes

4.2.27 (2021-07-06)

Bug Fixes

  • @formatjs/cli: force @formatjs/ts-transformer to use CLI TS version, fix #3022 (5294e5b)

4.2.26 (2021-07-06)

Bug Fixes

  • @formatjs/cli: stringify opts when log debug msg (243cac8)

4.2.25 (2021-07-04)

Bug Fixes

  • @formatjs/cli: add more debugging stmts throughout (f95e54e)

4.2.24 (2021-06-30)

Bug Fixes

4.2.23 (2021-06-27)

Bug Fixes

  • @formatjs/cli: extract from vue directive as well, fix #3003 (f5577cd)

4.2.22 (2021-06-26)

Note: Version bump only for package @formatjs/cli

4.2.21 (2021-06-21)

Note: Version bump only for package @formatjs/cli

4.2.20 (2021-06-09)

Note: Version bump only for package @formatjs/cli

4.2.19 (2021-06-05)

Note: Version bump only for package @formatjs/cli

4.2.18 (2021-06-04)

Note: Version bump only for package @formatjs/cli

4.2.17 (2021-06-01)

Note: Version bump only for package @formatjs/cli

4.2.16 (2021-05-23)

Note: Version bump only for package @formatjs/cli

4.2.15 (2021-05-20)

Note: Version bump only for package @formatjs/cli

4.2.14 (2021-05-17)

Note: Version bump only for package @formatjs/cli

4.2.13 (2021-05-14)

Bug Fixes

  • @formatjs/cli: add newline to extracted file, fix #2803 (9fbf2af)

4.2.12 (2021-05-10)

Note: Version bump only for package @formatjs/cli

4.2.11 (2021-05-02)

Note: Version bump only for package @formatjs/cli

4.2.10 (2021-04-26)

Note: Version bump only for package @formatjs/cli

4.2.9 (2021-04-26)

Note: Version bump only for package @formatjs/cli

4.2.8 (2021-04-21)

Note: Version bump only for package @formatjs/cli

4.2.7 (2021-04-12)

Note: Version bump only for package @formatjs/cli

4.2.6 (2021-04-04)

Note: Version bump only for package @formatjs/cli

4.2.5 (2021-04-03)

Note: Version bump only for package @formatjs/cli

4.2.4 (2021-03-30)

Bug Fixes

  • @formatjs/cli: remove unnecessary type definition (#2776) (32b8ebc)

4.2.3 (2021-03-30)

Note: Version bump only for package @formatjs/cli

4.2.2 (2021-03-28)

Note: Version bump only for package @formatjs/cli

4.2.1 (2021-03-28)

Note: Version bump only for package @formatjs/cli

4.2.0 (2021-03-28)

Features

  • @formatjs/cli: add --flatten option (9b4efd8)

4.1.1 (2021-03-27)

Bug Fixes

  • @formatjs/cli: fix missing dep (498fa5e)

4.1.0 (2021-03-27)

Features

  • @formatjs/cli: switch parser to @formatjs/icu-messageformat-parser (6x faster) (5e1da21)

4.0.0 (2021-03-26)

Bug Fixes

  • @formatjs/cli: fix pseudo locale compilation for tag element, fix #2744 (0f42927)

Features

  • @formatjs/cli: change default value for idInterpolationPattern to [sha512:contenthash:base64:6] in order to avoid hash collisions happening with [contenthash:5] (d8d361c)

BREAKING CHANGES

  • @formatjs/cli: If you do not set the id pattern explicitly this will generate new IDs in your language files

3.2.0 (2021-03-15)

Features

  • @formatjs/cli: add --skip-errors to skip messages with errors when compiling (#2704) (8962e78)
  • cli: add new pseudo locale en-XB (#2708) (18bd4d7)

3.1.6 (2021-03-01)

Note: Version bump only for package @formatjs/cli

3.1.5 (2021-02-25)

Bug Fixes

3.1.4 (2021-02-25)

Note: Version bump only for package @formatjs/cli

3.1.3 (2021-02-22)

Note: Version bump only for package @formatjs/cli

3.1.2 (2021-02-21)

Note: Version bump only for package @formatjs/cli

3.1.1 (2021-02-21)

Note: Version bump only for package @formatjs/cli

3.1.0 (2021-02-13)

Features

  • @formatjs/cli: support preserving whitespace and newlines (a1b31bd)

3.0.5 (2021-01-27)

Note: Version bump only for package @formatjs/cli

3.0.4 (2021-01-26)

Note: Version bump only for package @formatjs/cli

3.0.3 (2021-01-25)

Note: Version bump only for package @formatjs/cli

3.0.2 (2021-01-22)

Bug Fixes

  • @formatjs/cli: add string_format:icu config to smartling formatter (#2528) (eec1c6f), closes #2526

3.0.1 (2021-01-05)

Note: Version bump only for package @formatjs/cli

3.0.0 (2021-01-04)

Features

  • @formatjs/cli: remove --extract-from-format-message-call (0c12d18)

BREAKING CHANGES

  • @formatjs/cli: This has been on by default for a while. We're removing it and making it permanent.

2.15.0 (2021-01-04)

Features

  • babel-plugin-formatjs: rename babel-plugin-react-intl to babel-plugin-formatjs (c9357b7)

2.14.0 (2021-01-04)

Features

  • @formatjs/cli: support .vue SFC files (24d6d1b)

2.13.18 (2021-01-02)

Note: Version bump only for package @formatjs/cli

2.13.17 (2021-01-01)

Note: Version bump only for package @formatjs/cli

2.13.16 (2020-12-17)

Note: Version bump only for package @formatjs/cli

2.13.15 (2020-11-27)

Note: Version bump only for package @formatjs/cli

2.13.14 (2020-11-26)

Note: Version bump only for package @formatjs/cli

2.13.13 (2020-11-20)

Note: Version bump only for package @formatjs/cli

2.13.12 (2020-11-12)

Note: Version bump only for package @formatjs/cli

2.13.11 (2020-11-10)

Note: Version bump only for package @formatjs/cli

2.13.10 (2020-11-09)

Note: Version bump only for package @formatjs/cli

2.13.9 (2020-11-09)

Bug Fixes

  • @formatjs/cli: fix help link (ac15a3f)

2.13.8 (2020-11-05)

Note: Version bump only for package @formatjs/cli

2.13.7 (2020-11-05)

Bug Fixes

  • @formatjs/cli: lock down monorepo dep version (3bed9c1)

2.13.6 (2020-11-04)

Note: Version bump only for package @formatjs/cli

2.13.5 (2020-10-28)

Note: Version bump only for package @formatjs/cli

2.13.4 (2020-10-27)

Note: Version bump only for package @formatjs/cli

2.13.3 (2020-10-25)

Note: Version bump only for package @formatjs/cli

2.13.2 (2020-10-10)

Note: Version bump only for package @formatjs/cli

2.13.1 (2020-10-08)

Note: Version bump only for package @formatjs/cli

2.13.0 (2020-10-01)

Features

  • @formatjs/cli: add support for pseudo-locales, fix #2165 (015bbdb)

2.12.0 (2020-09-25)

Features

  • @formatjs/cli: allow custom Formatter with Node API (#2143) (c9886ab)

2.11.3 (2020-09-18)

Note: Version bump only for package @formatjs/cli

2.11.2 (2020-09-12)

Note: Version bump only for package @formatjs/cli

2.11.1 (2020-09-11)

Bug Fixes

  • @formatjs/cli: fix calling extract programmatically without idInterpolationPattern (#2084) (cb904cf)

2.11.0 (2020-09-09)

Features

  • @formatjs/cli: catch issue w/ TS transpilation, fix #2044 (ceb0bf8)

2.10.0 (2020-09-09)

Features

2.9.0 (2020-09-03)

Features

  • @formatjs/cli: support template literal, trim trailing/leading spaces, newlines & (8a52eb5), closes #2028

2.8.0 (2020-08-30)

Features

  • @formatjs/cli: add more debugging info to extraction, fix #2044 (20b832e)
  • @formatjs/cli: upgrade TS to 4.0 (ec0bd47)

2.7.13 (2020-08-28)

Bug Fixes

  • @formatjs/cli: add more debug info when message validation errors out, fix #2029 (5b31bab)

2.7.12 (2020-08-25)

Note: Version bump only for package @formatjs/cli

2.7.11 (2020-08-22)

Note: Version bump only for package @formatjs/cli

2.7.10 (2020-08-21)

Note: Version bump only for package @formatjs/cli

2.7.9 (2020-08-20)

Bug Fixes

  • @formatjs/cli: fix fast-glob path join, fix #2009 (fca70be)

2.7.8 (2020-08-20)

Bug Fixes

  • bump intl-messageformat-parser (8bbfa04)

2.7.7 (2020-08-19)

Note: Version bump only for package @formatjs/cli

2.7.6 (2020-08-19)

Note: Version bump only for package @formatjs/cli

2.7.5 (2020-08-18)

Note: Version bump only for package @formatjs/cli

2.7.4 (2020-08-17)

Note: Version bump only for package @formatjs/cli

2.7.3 (2020-08-14)

Bug Fixes

  • @formatjs/cli: fix formatter path resolution, fix #1969 (d6ec6ca)

2.7.2 (2020-08-14)

Note: Version bump only for package @formatjs/cli

2.7.1 (2020-08-14)

Note: Version bump only for package @formatjs/cli

2.7.0 (2020-08-13)

Features

  • @formatjs/cli: switch from glob to fast-glob (6fc7bfb)

2.6.0 (2020-08-09)

Features

  • @formatjs/cli: add compile-folder command, fix #1938 (46b21bb)

2.5.0 (2020-08-09)

Features

  • @formatjs/cli: add extract & compile to public API, fix #1939 (ca4aa5a)

2.4.0 (2020-08-08)

Features

  • @formatjs/cli: allow compile to take in a glob pattern also (cb36802)

2.3.2 (2020-08-07)

Note: Version bump only for package @formatjs/cli

2.3.1 (2020-08-06)

Note: Version bump only for package @formatjs/cli

2.3.0 (2020-08-02)

Features

  • @formatjs/cli: add builtin formatter for smartling (cd36f27)
  • @formatjs/cli: add builtin formatter for transifex (db3955e)
  • @formatjs/cli: add lokalise, crowdin, lingohub, phrase formatter (ebada90)

2.2.0 (2020-08-01)

Features

  • @formatjs/cli: Add --format option to control JSON output shape, (1d984e6), closes #1907

2.1.1 (2020-07-30)

Bug Fixes

  • @formatjs/cli: remove mention of --messages-dir from help message, fix #1899 (0e40dab)

2.1.0 (2020-07-30)

Bug Fixes

Features

  • @formatjs/cli: add line/col to extracted messages, fix #1897 (bf9d694)
  • @formatjs/cli: rm dead --output-empty-json option (d1760dd)

2.0.1 (2020-07-29)

Note: Version bump only for package @formatjs/cli

2.0.0 (2020-07-25)

Features

  • @formatjs/cli: add compile command (0ecf8b1)
  • @formatjs/cli: modify output JSON schema (457d30b)
  • @formatjs/cli: revamp underlying extraction (0b0c810)

BREAKING CHANGES

  • @formatjs/cli: The old output JSON messages used to be a MessageDescriptor[]. This format isn't friendly to translation vendors so we've changed it to Record<string, Omit<MessageDescriptor, 'id'>>. For example:
{
  "fjk13": {
    "defaultMessage": "a message",
    "description": "a description",
    "start": 0,
    "end": 20
  }
}
  • @formatjs/cli: Remove --messages-dir option. This was primarily used to eagerly write out output in the babel plugin since we don't know when the execution will be done. This is not the case with the CLI. --out-file should be used instead.
  • @formatjs/cli: Remove --module-source-name option. This is not used.

1.11.0 (2020-07-24)

Features

  • @formatjs/cli: default --extract-from-format-message-call to true (1340e03)

1.10.7 (2020-07-21)

Note: Version bump only for package @formatjs/cli

1.10.6 (2020-07-17)

Note: Version bump only for package @formatjs/cli

1.10.5 (2020-07-16)

Note: Version bump only for package @formatjs/cli

1.10.4 (2020-07-15)

Note: Version bump only for package @formatjs/cli

1.10.3 (2020-07-14)

Note: Version bump only for package @formatjs/cli

1.10.2 (2020-07-14)

Note: Version bump only for package @formatjs/cli

1.10.1 (2020-07-14)

Note: Version bump only for package @formatjs/cli

1.10.0 (2020-07-14)

Features

1.9.4 (2020-07-09)

Note: Version bump only for package @formatjs/cli

1.9.3 (2020-07-03)

Note: Version bump only for package @formatjs/cli

1.9.2 (2020-07-03)

Note: Version bump only for package @formatjs/cli

1.9.1 (2020-07-03)

Note: Version bump only for package @formatjs/cli

1.9.0 (2020-07-01)

Features

  • @formatjs/ts-transformer: move interpolate-name here (232d190)

1.8.3 (2020-06-26)

Note: Version bump only for package @formatjs/cli

1.8.2 (2020-06-23)

Note: Version bump only for package @formatjs/cli

1.8.1 (2020-06-23)

Note: Version bump only for package @formatjs/cli

1.8.0 (2020-06-20)

Features

  • @formatjs/cli: add a check for duplicated keys in different files (#1711) (b6c720e)

1.7.5 (2020-06-06)

Note: Version bump only for package @formatjs/cli

1.7.4 (2020-06-06)

Note: Version bump only for package @formatjs/cli

1.7.3 (2020-06-04)

Bug Fixes

  • @formatjs/intl-utils: don't export interpolateName from index (72f1566), closes #1700

1.7.2 (2020-06-04)

Bug Fixes

  • @formatjs/ts-transformer: remove loader-utils dep (927b3bc)

1.7.1 (2020-06-04)

Bug Fixes

  • @formatjs/cli: fix ID gen issue when description is undefined (547d5b9)

1.7.0 (2020-06-04)

Bug Fixes

  • @formatjs/cli: Change default hashing to a longer & stronger hash (0bb8358)

Features

  • @formatjs/intl-utils: Add interpolateName (4d09912)

1.6.22 (2020-06-03)

Note: Version bump only for package @formatjs/cli

1.6.21 (2020-05-28)

Note: Version bump only for package @formatjs/cli

1.6.20 (2020-05-27)

Note: Version bump only for package @formatjs/cli

1.6.19 (2020-05-25)

Note: Version bump only for package @formatjs/cli

1.6.18 (2020-05-23)

Note: Version bump only for package @formatjs/cli

1.6.17 (2020-05-23)

Note: Version bump only for package @formatjs/cli

1.6.16 (2020-05-21)

Note: Version bump only for package @formatjs/cli

1.6.15 (2020-05-21)

Note: Version bump only for package @formatjs/cli

1.6.14 (2020-05-16)

Bug Fixes

1.6.13 (2020-05-08)

Note: Version bump only for package @formatjs/cli

1.6.12 (2020-05-07)

Bug Fixes

  • @formatjs/cli: add @babel/core as a peer dep (#1659) (758996d)

1.6.11 (2020-05-06)

Note: Version bump only for package @formatjs/cli

1.6.10 (2020-05-05)

Note: Version bump only for package @formatjs/cli

1.6.9 (2020-04-28)

Note: Version bump only for package @formatjs/cli

1.6.8 (2020-04-25)

Bug Fixes

  • @formatjs/cli: fix throws option not being passed to main method (#665) (04023b2)

1.6.7 (2020-04-24)

Bug Fixes

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

1.6.6 (2020-04-20)

Note: Version bump only for package @formatjs/cli

1.6.5 (2020-04-15)

Bug Fixes

  • @formatjs/cli: fix ID generation when description is undefined (a31c2f2)

1.6.4 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

1.6.3 (2020-04-13)

Note: Version bump only for package @formatjs/cli

1.6.2 (2020-04-12)

Bug Fixes

  • @formatjs/cli: do not read from stdin if glob pattern is pr… (#632) (54a7aea)
  • @formatjs/cli: ignore configFile, fix #631 (ff09a5f)

1.6.1 (2020-04-12)

Note: Version bump only for package @formatjs/cli

1.6.0 (2020-04-11)

Features

  • @formatjs/cli: add support for pragma (b6c8352)

1.5.0 (2020-04-11)

Features

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

1.4.2 (2020-04-11)

Bug Fixes

  • @formatjs/cli: export raw extraction method that returns all messages (45fc546)

1.4.1 (2020-04-11)

Bug Fixes

  • @formatjs/cli: fix main entry point in package.json (884bf89)

1.4.0 (2020-04-11)

Features

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

1.3.3 (2020-03-30)

Note: Version bump only for package @formatjs/cli

1.3.2 (2020-03-29)

Note: Version bump only for package @formatjs/cli

1.3.1 (2020-03-22)

Note: Version bump only for package @formatjs/cli

1.3.0 (2020-03-18)

Features

  • @formatjs/cli: add --output-empty-json option (3106618)

1.2.0 (2020-03-18)

Features

  • @formatjs/cli: Add option to ignore a glob of files (#564) (843d82b)

1.1.22 (2020-03-05)

Note: Version bump only for package @formatjs/cli

1.1.21 (2020-03-04)

Note: Version bump only for package @formatjs/cli

1.1.20 (2020-01-27)

Note: Version bump only for package @formatjs/cli

1.1.19 (2020-01-22)

Note: Version bump only for package @formatjs/cli

1.1.18 (2020-01-09)

Note: Version bump only for package @formatjs/cli

1.1.17 (2020-01-08)

Note: Version bump only for package @formatjs/cli

1.1.16 (2020-01-06)

Note: Version bump only for package @formatjs/cli

1.1.15 (2019-12-27)

Bug Fixes

  • @formatjs/cli: allow optionalChaining parser, fix #404 (1af4607)

1.1.14 (2019-12-27)

Bug Fixes

  • @formatjs/cli: glob files instead of relying on shell, fix #383 (c7e1a6a)

1.1.13 (2019-12-26)

Note: Version bump only for package @formatjs/cli

1.1.12 (2019-12-04)

Note: Version bump only for package @formatjs/cli

1.1.11 (2019-12-02)

Note: Version bump only for package @formatjs/cli

1.1.10 (2019-12-01)

Note: Version bump only for package @formatjs/cli

1.1.9 (2019-11-26)

Note: Version bump only for package @formatjs/cli

1.1.8 (2019-11-25)

Note: Version bump only for package @formatjs/cli

1.1.7 (2019-11-25)

Note: Version bump only for package @formatjs/cli

1.1.6 (2019-11-23)

Note: Version bump only for package @formatjs/cli

1.1.5 (2019-11-21)

Note: Version bump only for package @formatjs/cli

1.1.4 (2019-11-20)

Bug Fixes

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

1.1.3 (2019-11-11)

Bug Fixes

  • @formatjs/cli: remove Node engines restrictions (e55efe9)

1.1.2 (2019-11-10)

Note: Version bump only for package @formatjs/cli

1.1.1 (2019-11-05)

Note: Version bump only for package @formatjs/cli

1.1.0 (2019-11-01)

Bug Fixes

  • @formatjs/cli: Add support for parsing class properties (1714bf9)

Features

  • @formatjs/cli: add --outFile & --idInterpolationPattern (0c5e675)

1.0.2 (2019-10-31)

Bug Fixes

  • @formatjs/cli: Add support for parsing class properties (1714bf9)

1.0.1 (2019-10-31)

Bug Fixes

  • @formatjs/cli: add preset-env so we can parse latest syntax (6495011)

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

0.1.2 (2019-10-30)

Note: Version bump only for package @formatjs/cli

0.1.1 (2019-10-30)

Note: Version bump only for package @formatjs/cli