Releases: lingui/js-lingui
v5.0.0-next.4
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
- major documentation refinement (#2055, #2060, #2061, #2062, #2063, #2064, #2065, #2075, #2077, #2078)
- remove strings support from
LinguiConfig.extractors
(#2052) - remove deprecated
extractBabelOptions
(#2051) - macro: deprecate custom
i18n
instance ont
macro (#2059)
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
v5.0.0-next.3
v5.0.0-next.3 (2024-10-16)
Changelog
Fixes
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.2
v5.0.0-next.2 (2024-10-15)
Changelog
This release includes changes from stable releases (v4.12.0, v4.13.0), as well as new features.
Features
- core: add
setMessagesCompiler
method (#2035)
Other
- macro: split and expose internals to be used in Vue macro (#1976)
- set the minimum required node version to 20 (#2037)
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.13.0
v4.12.0
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!