Skip to content

Releases: lingui/js-lingui

v5.0.0-next.4

07 Nov 10:03
Compare
Choose a tag to compare
v5.0.0-next.4 Pre-release
Pre-release

v5.0.0-next.4 (2024-11-07)

Changelog

This release includes changes from the v4.14.0 stable release and new updates.

Features

  • macro: make message stripping configurable via Babel options (#2054)
  • extractor: support decoratorAutoAccessors (#2058)

Other

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

07 Nov 08:28
Compare
Choose a tag to compare

4.14.0 (2024-11-07)

Features

  • format-po-gettext: respect Plural-Forms header (#2070) (5d0516e)

Bug Fixes

  • extract: when files are used, don't overwrite obsolete (#1964) (e726b16)

v5.0.0-next.3

16 Oct 14:07
Compare
Choose a tag to compare
v5.0.0-next.3 Pre-release
Pre-release

v5.0.0-next.3 (2024-10-16)

Changelog

Fixes

  • correctly handle a variable passed to the t macro (#2048)
  • improve macro error (#2049)

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!

v5.0.0-next.2

15 Oct 14:11
Compare
Choose a tag to compare
v5.0.0-next.2 Pre-release
Pre-release

v5.0.0-next.2 (2024-10-15)

Changelog

This release includes changes from stable releases (v4.12.0, v4.13.0), as well as new features.

Features

  • core: add setMessagesCompiler method (#2035)

Other

  • macro: split and expose internals to be used in Vue macro (#1976)
  • set the minimum required node version to 20 (#2037)

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

15 Oct 08:38
Compare
Choose a tag to compare

4.13.0 (2024-10-15)

Features

  • adds custom prefix support for gettext po (#2004) (25b3bc6)

v4.12.0

11 Oct 14:25
Compare
Choose a tag to compare

4.12.0 (2024-10-11)

Features

Bug Fixes

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!