v5.0.0-next.0
Pre-release
Pre-release
andrii-bodnar
released this
05 Jul 09:25
·
78 commits
to next
since this 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!