8.0.0 (2020-08-09)
Features
- babel-plugin-react-intl: remove
messagesDir
,workspaceRoot
,outputEmptyJson
(47ca556)
BREAKING CHANGES
- babel-plugin-react-intl: Since we've introduced
@formatjs/cli
and multiple
guides regarding i18n workflow, we want to consolidate extraction to the
CLI instead of combining it with code transformation as a side effects.
Therefore, since this releasebabel-plugin-react-intl
will be purely
for code transformation such as validating messages, remove description,
autoinject IDs and remove descriptions.
All extractions should be done using@formatjs/cli
usingnpx formatjs extract
&npx formatjs compile
.