Releases: lingui/js-lingui
Releases · lingui/js-lingui
v2.9.0
New Features
- Add optional sort by origin/filename (#563). Thanks to Kenneth Skovhus
- Lazily split messages by value tags (#593). Thanks to Danny Sellers
- Optional line numbers for lingui format (#587). Thanks to Martti Roitto
- Moved typescript dependency to peer (#589). Thanks to Daniel K.
Bug Fixes
- Compile strict skips pseudo locale (#584). Thanks to Daniel Chabr
v2.8.3
Bug Fixes
- Loader: Fix type error when no loader config is provided
- Macro:
babel-plugin-macros
are peer dependency and must be installed manually
v2.8.2
Bug Fixes
- CLI: Don't warn about conflicting default message if it's empty (#502). Thanks to Filip Žmuk.
- Conf: Pass config path to getConfig explicitly instead reading it from process.argv (#509). Thanks to Brandon Croft.
v2.8.0
New features
- Conf: Allow loading specific configuration file using --config argument (#501). Thanks to Brandon Croft.
Bug Fixes
- Macro: Fix escaped backticks in template string (#477). Thanks to Saxon Landers.
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