github lingui/js-lingui v6.0.0-next.0

pre-release5 hours ago

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!

Don't miss a new js-lingui release

NewReleases is sending notifications on new releases.