jsLingui v2.3.0 Release Notes
Release Date: 2018-07-23 // almost 6 years ago-
Long-awaited backlog grooming.
๐ New Features
- โ Add support for locales (aka cultures) (#170). Thanks to Cristi Ingineru.
- ๐ Allow React elements to be used as message variables (#183)
- ๐ Support both Babel 6.x and 7.x (#171, #232, #238)
withI18n
hoists statics of wrapped component (#166)Date
andi18n.date
accepts date as a string (#155)lingui extract
shows progress (#180)- 0๏ธโฃ
lingui extract
throws an error when encountering different defaults for the same message (#200) lingui compile
shows useful error when message has syntax errors (#191)
๐ Bug Fixes
- ๐ Fix internal catalog names to avoid collisions. Internal catalogs are named
<original_filename>.json
, eg:App.js.json
(#244)
๐ Docs
- React Native Tutorial (#243). Thanks to Vojtech Novak.
- โ Add draft of Testing Guide
- โ Add section with external resources
- ๐ Several fixes by Vincent Ricard (#242)