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 and i18n.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