Skip to content

Releases: lingui/js-lingui

v2.7.4

19 Feb 19:50
9561c2a
Compare
Choose a tag to compare

Bug Fixes

v2.7.3

28 Jan 09:41
b289703
Compare
Choose a tag to compare
  • Export @lingui/core/dev subpackage.

Bug Fixes

  • CLI: Log original info with Babel compatibility info (#401). Thanks to Sam Gluck.
  • CLI: Allow pseudolocales which don't start with a known language (#411). Thanks to Eric Plumb.
  • CLI: Made pseudolocales to take into account variable names (#419). Thanks to Cornel Stefanache.
  • CLI: Fix edge case bug in plural pseudolocalization (#428). Thanks to Eric Plumb.
  • CLI: Fix yarn detection with nps (#441). Thanks to MU AOHUA.

v2.7.2

14 Nov 13:45
49d3a41
Compare
Choose a tag to compare

Bug Fixes

  • CLI: show more accurate follow-up commands (e.g. show use (yarn compile) ... instead of use (lingui compile) ... when CLI is invoked using yarn extract)
  • CLI: add missing export (regression introduced by #381)

v2.7.1

12 Nov 06:19
c0f3d63
Compare
Choose a tag to compare

Bug Fixes

  • CLI: remove "macros" from the list of babel plugins (#360). Thanks to Jérôme Steunou.
  • Macro: fix ICU message for nested selects (#365). Thanks to Maxim Zemskov.
  • CLI: allow leading space in i18n description comments (#366). Thanks to Maxim Zemskov.
  • Disable Google Clojure Compiler rewritePolyfills behavior (#374). Thanks to Ivan Khilko.
  • Show hint for missing babel-core package (#381).
  • Fix message extracting when Trans component is missing (#389).

v2.7.0

10 Sep 21:19
a938587
Compare
Choose a tag to compare

🔥 Babel Macros 🎣 are finally released! After few weeks of fiddling with API, i18n macros
are finally out without a breaking release. This is the first part of
RFC-001, final form
be delivered in next release.

Important: Macros are completely optional and Babel plugins will work until v3.
It's not mandatory to migrate to macro, but recommended.

New Features

Bug Fixes

  • CLI: how help for unrecognized commands (#308). Thanks to An Nguyen.
  • Fix Flow types (#306).

v2.6.1

03 Sep 06:42
72d46ee
Compare
Choose a tag to compare

Bug Fixes

  • @lingui/cli - Remove opencollective dependency

v2.6.0

31 Aug 11:09
0cce193
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Update peer-dependency on babel-core (#286).
  • Output multiple origins on separate line in PO format (#290).
  • Keep headers in PO format (#294). Thanks to Daniel K.
  • lingui extract - set default BABEL_ENV (required by react-app preset) (#300).
  • Fix @lingui/loader compatibility with Webpack 4 (#297).
  • Fix I18n render prop component to not unmount children component between renders (#302).

v2.5.0

24 Aug 07:38
c52f7bf
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Handle message compile errors in development (#283)

v2.4.2

19 Aug 19:37
28243d9
Compare
Choose a tag to compare

Bug Fixes

  • lingui init - add missing command (#270)

v2.4.1

10 Aug 13:40
d6c3774
Compare
Choose a tag to compare

Bug Fixes

  • lingui extract - fix path separator on Windows (#262)
  • lingui extract - fix extracting from typescript files (#260)