Releases: lingui/js-lingui
Releases · lingui/js-lingui
v2.7.4
Bug Fixes
- Conf: Allow
extends
androotMode
babel config options (#454). Thanks to Adam Thomas. - React: Fix flow typing with Flow 0.92 (#448). Thanks to Florian Rival.
v2.7.3
- Export
@lingui/core/dev
subpackage.
Bug Fixes
- CLI: Log original info with Babel compatibility info (#401). Thanks to Sam Gluck.
- CLI: Allow pseudolocales which don't start with a known language (#411). Thanks to Eric Plumb.
- CLI: Made pseudolocales to take into account variable names (#419). Thanks to Cornel Stefanache.
- CLI: Fix edge case bug in plural pseudolocalization (#428). Thanks to Eric Plumb.
- CLI: Fix yarn detection with nps (#441). Thanks to MU AOHUA.
v2.7.2
v2.7.1
Bug Fixes
- CLI: remove "macros" from the list of babel plugins (#360). Thanks to Jérôme Steunou.
- Macro: fix ICU message for nested selects (#365). Thanks to Maxim Zemskov.
- CLI: allow leading space in i18n description comments (#366). Thanks to Maxim Zemskov.
- Disable Google Clojure Compiler rewritePolyfills behavior (#374). Thanks to Ivan Khilko.
- Show hint for missing babel-core package (#381).
- Fix message extracting when Trans component is missing (#389).
v2.7.0
🔥 Babel Macros 🎣 are finally released! After few weeks of fiddling with API, i18n macros
are finally out without a breaking release. This is the first part of
RFC-001, final form
be delivered in next release.
Important: Macros are completely optional and Babel plugins will work until v3.
It's not mandatory to migrate to macro, but recommended.
New Features
- New package
@lingui/macro
published (#318). Big thanks to Matt Labrum for initial implementation. - Pseudolocalization (#309). Thanks to Martin Cerny.
- Extract description of messages (#197).
- Add
i18n.date
andi18n.number
methods (#299).
Bug Fixes
v2.6.1
Bug Fixes
@lingui/cli
- Remove opencollective dependency
v2.6.0
New Features
- Configuration - add
extractBabelOptions
(#287). Thanks to Daniel K. lingui extract
- add--namespace
option andcompileNamespace
config (#295). Thanks to An Nguyen.
Bug Fixes
- Update peer-dependency on babel-core (#286).
- Output multiple origins on separate line in PO format (#290).
- Keep headers in PO format (#294). Thanks to Daniel K.
lingui extract
- set default BABEL_ENV (required byreact-app
preset) (#300).- Fix
@lingui/loader
compatibility with Webpack 4 (#297). - Fix
I18n
render prop component to not unmount children component between renders (#302).