Releases: lingui/js-lingui
Releases · lingui/js-lingui
v4.7.0
4.7.0 (2024-01-05)
Bug Fixes
Features
v4.6.0 ❄️
4.6.0 (2023-12-01)
Bug Fixes
- cli: import type as type (#1802) (960aadb)
- cli: sorting issue when different locales are used on host machines (#1808) (4b8b2a7)
- experimental-extractor: fix
ERR_IMPORT_ASSERTION_TYPE_MISSING
issue (#1775) (efcd405)
Features
- format-json: ability to set indentation (#1807) (6ee7e63)
- message-utils: make
generateMessageId
to be working in browser (#1776) (f879ddb)
v4.5.0
4.5.0 (2023-09-14)
Features
- react: export react server sub-entry (#1762) (fa77d82)
- build: update unbuild, and expose mts / mjs typings (#1751) (5838d2d)
v4.4.2
4.4.2 (2023-08-31)
Reverts
v4.4.1
4.4.1 (2023-08-30)
Bug Fixes
Features
v4.4.0
4.4.0 (2023-08-08)
Bug Fixes
- webpack-loader: fix invalid dependencies have been reported by plugins (#1735) (1521ae7)
Features
- memoizable react translations (#1721) (96e7def)
- introduce
TransNoContext
component for future RSC support (#1738) (8c1c70c)
v4.3.0
4.3.0 (2023-06-29)
Bug Fixes
- format-po-gettext: bad return during mapping with
serializePlurals
(#1707) (993bd2a)
Features
- allow
comment
prop on React Trans
component (#1718) (3477c32)
- extractor: expose
extractFromFileWithBabel
function for better flexibility (#1719) (43486dc)
- vite-plugin: report user-friendly error when macro used without transformation (#1720) (53f6a7c)
v4.2.1
4.2.1 (2023-06-07)
Bug Fixes
- core: don't crash on escaped unicode symbols in messages (#1692) (461c2fc)
- extractor: support jsx in js files (#1678) (e335458)
v4.2.0
4.2.0 (2023-05-26)
Bug Fixes
- fallback to
other
only when undefined (#1665) (a79de75)
- webpack + vite: fix dependency watching in loader (#1671) (f06cdf5)
Features
- po-format: add
explicitIdAsDefault
for po-format for easier migration (#1672) (3303228)
v4.1.2
4.1.2 (2023-05-17)
Bug Fixes
- webpack + vite: fix dependency watching in loader (#1662) (ce660d7)