Skip to content

Releases: lingui/js-lingui

v5.9.3

13 Mar 14:19
67be09c

Choose a tag to compare

5.9.3 (2026-03-13)

Bug Fixes

v6.0.0-next.1

03 Mar 08:26
7b30f31

Choose a tag to compare

v6.0.0-next.1 Pre-release
Pre-release

v6.0.0-next.1 (2026-03-03)

Visit the v6 website deployment to see the relevant docs, including the migration guide from 5.x to 6.x.

Changelog

Fixes

  • cli: fix extract performance caused by catalog sort (#2461) (backported from v5.x)

Deprecations

  • conf: deprecate extractorParserOptions; use createBabelExtractor({ parserOptions }) instead (#2458)

Discussion

Visit the related discussion if you have any questions about this release or feedback. We’d love to hear from you!

v5.9.2

23 Feb 15:57
7b30f31

Choose a tag to compare

5.9.2 (2026-02-23)

Bug Fixes

  • cli: extract performance caused by catalog sort (#2460) (f26a9d9)

v6.0.0-next.0

13 Feb 10:25
a957605

Choose a tag to compare

v6.0.0-next.0 Pre-release
Pre-release

v6.0.0-next.0 (2026-02-13)

Visit the v6 website deployment to see the relevant docs, including the migration guide from 5.x to 6.x.

Changelog

Features

  • ESM-only conversion (#2368)
  • cli!: use Base64 urlsafe alphabet for ID (#2438)
  • vue-extractor: add reactivity transform support for props destructuring (#2414)

Deprecations

  • conf!: remove deprecated format as string and formatOptions (#2419)
  • cli!: remove deprecated typescript extractor (#2417)
  • core: deprecate Intl wrapper helpers and document removal (#2386)
  • chore: remove deprecated @lingui/macro package (#2422)
  • chore: remove CRA, write tests for vite-babel example, correct macro exports (#2432)
  • chore: set the minimum required Node.js version to 22.19 (#2435)

Fixes

  • macro: ignore JSX comments when generating message IDs (#2434)
  • cli: fix inline sourcemap parsing (#2439)
  • core: improve event handling and listener management in eventEmitter (#2277)

Refactoring

  • cli!: strictNullChecks for CLI lib packages (#2412)
  • conf!: replace cosmiconfig with lilconfig in configuration handling (#2286)
  • format-po-gettext: modernize format-po-gettext catalog format (#2428)
  • core: proper macro browser shim (#2433)
  • deps: use workspace protocol, reconsider peerDependencies (#2426)
  • chore: explicit type field in package.json and alignment for exports (#2430)
  • chore: use vitest@4, prettier@3 (#2413)
  • deps: various dependency updates in #2415, #2416, #2420, #2421, #2429, #2437, #2440, #2441, #2450.

Discussion

Visit the related discussion if you have any questions about this release or feedback. We’d love to hear from you!

v5.9.1

11 Feb 08:15
4abb5a8

Choose a tag to compare

5.9.1 (2026-02-11)

Bug Fixes

  • macro: Ignore JSX comments when generating message ids (#2434) (c09deaa)

v5.9.0

23 Jan 18:06
491d4c1

Choose a tag to compare

5.9.0 (2026-01-23)

Features

  • message-utils: separate browser/node exports for generateMessageId (#2401) (2afe02f)

Bug Fixes

  • jsx-macro: skip unsupported attributes on Plural / Select (#2407) (e63992d)
  • cli: keep catalog extra from previous catalog (#2399) (25cfdde)

Refactoring

  • react: new JSX transform (#2387) (1231084) ⚠️ Potentially breaking change - requires React v16.14.0+
  • cli: align Translation.io integration with code standarts (#2388) (bec3199)

v5.8.0

16 Jan 10:01
83d0513

Choose a tag to compare

5.8.0 (2026-01-16)

Features

  • conf: allow passing custom orderBy function (#2394) (7de6af5) (Docs)
  • po-format: print source message as translation for explicit id (#2390) (94efdc0)

Bug Fixes

Reverts

v5.7.0

12 Dec 14:32
e8c42d5

Choose a tag to compare

5.7.0 (2025-12-12)

Features

  • cli: add --output-prefix option to customize compiled file headers (#2377) (ef77310)

Bug Fixes

  • cli: allow using PO formatter function with Translation.IO (#2375) (f8b90e2)
  • Gettext formatter merges duplicate plural entries (#2347) (d72b23f)

v5.6.1

28 Nov 10:47
eeab372

Choose a tag to compare

5.6.1 (2025-11-28)

Bug Fixes

  • macro: recrawl scope only if useLingui was used (#2370) (9fd8b84)

v5.6.0

12 Nov 07:57
6a8e2a6

Choose a tag to compare

5.6.0 (2025-11-12)

Features

  • experimental-extractor: reconsider includeDeps (#2362) (a4883fc)

Bug Fixes

  • core: improve type of values accepted by date/time/number formats (#2359) (c1f2800)