Skip to content

Releases: lingui/js-lingui

v5.0.0-next.1

06 Sep 14:20
Compare
Choose a tag to compare
v5.0.0-next.1 Pre-release
Pre-release

v5.0.0-next.1 (2024-09-06)

Changelog

Features

  • macro: allow to use useLingui with only i18n (#2006)

Fixes

Chores

  • cli: update glob to v11 (#1994)

Docs

Visit the js-lingui-git-next-crowdin.vercel.app to see the relevant docs, including the migration guide from 4.x to 5.x.

Discussion

Visit the related discussion if you have any questions about this release or feedback. We'll highly appreciate it!

v4.11.4

02 Sep 11:21
Compare
Choose a tag to compare

4.11.4 (2024-09-02)

Bug Fixes

v4.11.3

09 Aug 09:01
Compare
Choose a tag to compare

4.11.3 (2024-08-09)

Bug Fixes

  • cli: add pnpm detection to command suggestions (#1989) (287a688)
  • extract: escape special regex characters used in file-based routing systems when files are passed in options (#1984) (fd92d20)

v5.0.0-next.0

05 Jul 09:25
Compare
Choose a tag to compare
v5.0.0-next.0 Pre-release
Pre-release

v5.0.0-next.0 (2024-07-05)

Changelog

Features

  • macro: add useLingui babel macro (#1859)
  • extractor: collect and print placeholders in Po files for better translation context (#1965)
  • cli: support multiple locales in the extract command (#1858)

Fixes

  • core: escaped curly-braces don't preserve in development mode (#1913)
  • react: process falsy values with JSX semantics (#1906)
  • experimental-extractor: fix various bugs (#1958)

Refactoring

  • macro: move macro to plugin (#1867)
  • macro: split JS and React macro into two packages (#1883)
  • macro: robust whitespace handling according to JSX specification (#1882)
  • macro: use message descriptor for Trans (#1909)
  • macro: remove whitespace cleaning from JS macro (#1897)
  • react: remove the deprecated 'isTranslated' property (#1907)

Docs

Visit the js-lingui-git-next-crowdin.vercel.app to see the relevant docs, including the migration guide from 4.x to 5.x.

Discussion

Visit the related discussion if you have any questions about this release or feedback. We'll highly appreciate it!

v4.11.2

03 Jul 11:30
Compare
Choose a tag to compare

4.11.2 (2024-07-03)

Bug Fixes

  • cli: update translationIO service in CLI package (to handle context) (#1949) (ea7b9e7)
  • include type cast on ts compilation (#1962) (0f66617)

v4.11.1

30 May 12:36
Compare
Choose a tag to compare

4.11.1 (2024-05-30)

Bug Fixes

  • (lingui/core) i18n error if id is undefined (#1938) (36c637a)

v4.11.0

17 May 07:49
Compare
Choose a tag to compare

4.11.0 (2024-05-17)

Bug Fixes

  • default message extraction (#1936) (8f1ddd7)
  • exclude .scss files from extract-experimental build (#1935) (d01fa96)
  • message-utils: correctly handle multi-digit complex argument cases (#1937) (47a0dde)

Features

  • format-po: configure header attributes in PO file formatter (#1934) (d90f778)

v4.10.1

03 May 08:33
Compare
Choose a tag to compare

4.10.1 (2024-05-03)

Bug Fixes

  • core: pound symbol being replaced outside plural and selectordinal (#1928) (e94c6fd)

v4.10.0

12 Apr 12:13
Compare
Choose a tag to compare

4.10.0 (2024-04-12)

Features


⚠️ There was an accident during the 4.9.0 release, so this version was skipped in the release process.

v4.8.0

03 Apr 07:36
Compare
Choose a tag to compare

4.8.0 (2024-04-03)

Features

  • react: add "use client" for react bundle (#1902) (5cf50ff)