npm @lingui/core 5.0.0-next.0
v5.0.0-next.0

latest releases: 5.0.0-next.4, 4.14.0, 5.0.0-next.3...
4 months ago

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!

Don't miss a new core release

NewReleases is sending notifications on new releases.