Releases: lingui/js-lingui
Releases · lingui/js-lingui
v5.0.0-next.1
v5.0.0-next.1 (2024-09-06)
Changelog
Features
- macro: allow to use
useLingui
with onlyi18n
(#2006)
Fixes
- cli: windows compatibility (#1996)
- extractor: fix warning when
key
used onTrans
macro (#1990) - experimental-extractor: change default loader to
tsx
(#1971) - Ported fixes from stable releases (#1977, #1984, #1980, #1989, #2001, #2020, #2016)
Chores
- cli: update glob to v11 (#1994)
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.11.4
v4.11.3
v5.0.0-next.0
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!