Skip to content

Releases: lingui/js-lingui

v5.2.0

31 Jan 10:38
9c50b48
Compare
Choose a tag to compare

5.2.0 (2025-01-31)

Features

  • core: support short/default/long/full date time formats (#2117) (8020427)
  • core: add ph() and explicit labels for placeholders (#2092) (2026c83)
  • core: add meaningful error when locale is not set (#2131) (5ae8363)
  • react: preserve newlines during string formatting (#2158) (f0566fb)

Bug Fixes

  • cli: allow empty translations for pseudo locale in compile --strict (#2129) (8cae5e0)
  • core: remove runtime whitespace trimming aligned with v5 (#2169) (47a1ad7)
  • don't use anything from @babel/types in runtime (#2132) (7ebb88d)
  • react: remove children property from runtime Trans (#2151) (7540adb)

v5.1.2

16 Dec 18:34
e45a2af
Compare
Choose a tag to compare

5.1.2 (2024-12-16)

v5.1.1

16 Dec 08:53
Compare
Choose a tag to compare

5.1.1 (2024-12-16)

Note: Version bump only for package js-lingui-workspaces

v5.1.0

06 Dec 14:07
Compare
Choose a tag to compare

5.1.0 (2024-12-06)

Features

v5.0.0

28 Nov 13:56
14fa4d7
Compare
Choose a tag to compare

v5.0.0 (2024-11-28)

We are pleased to announce the release of Lingui 5.0 🚀

This release is a major milestone for the project and includes a number of new features, improvements and bug fixes.

Check out the links below for more details:

Discussion

If you have any questions or suggestions regarding this release, please visit the Related Discussion or our Discord Server.

v4.14.1

28 Nov 09:59
Compare
Choose a tag to compare

4.14.1 (2024-11-28)

Bug Fixes

  • don't report statistics for pseudo locale (#2094) (113c05d)

v5.0.0-next.5

25 Nov 09:41
Compare
Choose a tag to compare
v5.0.0-next.5 Pre-release
Pre-release

v5.0.0-next.5 (2024-11-25)

Changelog

Features

  • conf: add defineConfig method (#2086)

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