Skip to content

Commit

Permalink
chore: Release version 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tricoder42 committed Aug 9, 2018
1 parent 1b9c05a commit 0bb80a4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Change Log

<a name="2.4.0"></a>
## [2.4.0 (unreleased)](https://github.com/lingui/js-lingui/compare/v2.3.0...v2.4.0) (TBA)
## [2.4.0](https://github.com/lingui/js-lingui/compare/v2.3.0...v2.4.0) (2018-08-09)

Support for Create React App.
Better support for custom file formats and initial support for Create React App.

### New Features

* New `lingui init` command which detects project type and install all required packages
* `lingui extract` detects ``create-react-app` projects and extracts messages using
``rect-app`` babel preset
* New message catalog format: [Gettext PO file](https://lingui.github.io/js-lingui/ref/conf.html#po)
([#256](https://github.com/lingui/js-lingui/issues/256))
* New [`lingui init`](https://lingui.github.io/js-lingui/ref/cli.html#init) command
which detects project type and install all required packages ([253](https://github.com/lingui/js-lingui/pull/253))
* Allow customize messages for missing translations ([#255](https://github.com/lingui/js-lingui/issues/255))
* `lingui extract` detects `create-react-app` projects and extracts messages using
`rect-app` babel preset

### Bug Fixes

* `lingui add-locale` accepts any valid BCP-47 locale ([#182](https://github.com/lingui/js-lingui/issues/182))
* Flow types are correctly exported for all packages ([#250](https://github.com/lingui/js-lingui/issues/250))

<a name="2.3.0"></a>
## [2.3.0](https://github.com/lingui/js-lingui/compare/v2.2.0...v2.3.0) (2018-07-23)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "2.3.0",
"version": "2.4.0",
"author": {
"name": "Tomáš Ehrlich",
"email": "[email protected]"
Expand Down
14 changes: 7 additions & 7 deletions scripts/build/results.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"bundleSizes": {
"@lingui/core.development.js (NODE_DEV)": {
"size": 13895,
"gzip": 3636
"size": 14197,
"gzip": 3713
},
"@lingui/core.production.min.js (NODE_PROD)": {
"size": 5800,
"gzip": 1902
"size": 5924,
"gzip": 1946
},
"@lingui/react.development.js (NODE_DEV)": {
"size": 18086,
"gzip": 4999
"size": 18246,
"gzip": 5023
},
"@lingui/react.production.min.js (NODE_PROD)": {
"size": 8664,
"size": 8766,
"gzip": 3099
}
}
Expand Down

0 comments on commit 0bb80a4

Please sign in to comment.