Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Releases: formatjs/babel-plugin-react-intl

v3.0.1

24 Sep 20:46
Compare
Choose a tag to compare

Commits:

  • Remove upath dependency because of unintended introduction breaking changes (#154) 2d1abf4
  • Update readme for babel 7 (#150) 26d93f2
  • Run Node.js v8 and v10 on CI (#148) 4a562ff

v3.0.0

12 Sep 13:21
f6c9821
Compare
Choose a tag to compare

v2.4.0

23 Jan 12:21
v2.4.0
1b571e7
Compare
Choose a tag to compare

v2.3.0

29 Dec 23:32
Compare
Choose a tag to compare

This minor version adds support for extracting description fields that are objects or strings. description objects provide a way to extract additional metadata along with the rest of the Message Descriptor. (#80, #87 @mattkime)

v2.2.0

03 Sep 03:02
Compare
Choose a tag to compare

This minor version again transforms Message Descriptors in source files to remove their description fields, but in an idempotent-way, effectively reverting the change in #28.

A new extractSourceLocation has been added which will also extract metadata about the location of the message in the source file. When enabled, then file, start, and end fields will exist for each extracted message descriptors; it defaults to false.

  • Added test suite and CI integration #69 (@STRML)
  • Added extractSourceLocation option #73 (Fixes: #71)
  • description fields are removed after extracting Message Descriptors #74

v2.1.0

06 Feb 07:41
Compare
Choose a tag to compare

This minor version removes source transformation, making the plugin idempotent, and fixes path handling to make sure all extract message JSON files end up in the configured messagesDir.

  • Make plugin idempotent by not removing description #28 (Fixes: #22, #25, #26)
  • Fix paths so messages go into messagesDir #32 (Fixes: #23)

v2.0.0 — Babel 6

24 Nov 23:37
Compare
Choose a tag to compare

v2 of this plugin works with Babel 6.

v1.0.0 — Babel 5

22 Nov 06:42
Compare
Choose a tag to compare

v1 of this plugin works with Babel 5.