From 41a83b88fe53f0d7d25d082c6f8f855ee79def0e Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 25 Jul 2016 20:43:49 +0100 Subject: [PATCH 1/3] Update CHANGELOG.md --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a0f025cbb..d76796750b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ +## 0.2.0 (not released yet) + +### Build Dependency (`react-scripts`) + +* You can now enable deployment to GitHub Pages by adding `homepage` field to `package.json` ([@dhruska](https://github.com/dhruska) in [#94](https://github.com/facebookincubator/create-react-app/pull/94)) +* ESLint configuration is now compatible with popular editor plugins ([@keyanzhang](https://github.com/keyanzhang) in [#149](https://github.com/facebookincubator/create-react-app/pull/149)) +* You can now `import` CSS files from npm modules ([@glennreyes](https://github.com/glennreyes) in [#105](https://github.com/facebookincubator/create-react-app/pull/105), [@breaddevil](https://github.com/breaddevil) in [#178](https://github.com/facebookincubator/create-react-app/pull/178)) +* Development server now runs on `0.0.0.0` and works with VirtualBox ([@JWo1F](https://github.com/JWo1F) in [#128](https://github.com/facebookincubator/create-react-app/pull/128)) +* Generated project now contains `.gitignore` ([@npverni](https://github.com/npverni) in [#79](https://github.com/facebookincubator/create-react-app/pull/79), [@chibicode](https://github.com/chibicode) in [#112](https://github.com/facebookincubator/create-react-app/pull/112)) +* A stylistic lint rule about method naming has been removed ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/157)) +* A few unobtrusive accessibility lint rules have been added ([@evcohen](https://github.com/evcohen) in [#175](https://github.com/facebookincubator/create-react-app/pull/175)) + +### Global CLI (`create-react-app`) + +* It enforces that you have Node >= 4 ([@conorhastings](https://github.com/conorhastings) in [#88](https://github.com/facebookincubator/create-react-app/pull/88)) +* It handles `--version` flag correctly ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/152)) + +### Migrating from 0.1.0 to 0.2.0 + +Update the global command: + +``` +npm install -g create-react-app@0.2.0 +``` + +Inside any created project that has not been ejected, run + +``` +npm install --save-dev --save-exact react-scripts@0.2.0 +``` + +You may need to fix a few lint warnings about missing `` tag, but everything else should work out of the box. + +If you intend to deploy your site to GitHub Pages, you may now [add `homepage` field to `package.json`](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#deploy-to-github-pages). + +If you had [issues with integrating editor linter plugins](https://github.com/facebookincubator/create-react-app/issues/124), add + +```js + "eslintConfig": { + "extends": "./node_modules/react-scripts/config/eslint.js" + } +``` + +to your project’s `package.json`. If you have already run `eject`, the path would be `./config/eslint.js` instead. + ## 0.1.0 (July 22, 2016) * Initial public release From 136f70702ce63b838c5f021635f3d855f641fcb1 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 27 Jul 2016 22:38:05 +0100 Subject: [PATCH 2/3] Update the changelog --- CHANGELOG.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d76796750b7..1f56279ac18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,32 +1,49 @@ -## 0.2.0 (not released yet) +## 0.2.0-alpha.1 (next release) + +To test this update before it’s official, run + +```sh +create-react-app my-app --scripts-version 0.2.0-alpha.1 +``` + +Don’t forget the `--scripts-version`! ### Build Dependency (`react-scripts`) * You can now enable deployment to GitHub Pages by adding `homepage` field to `package.json` ([@dhruska](https://github.com/dhruska) in [#94](https://github.com/facebookincubator/create-react-app/pull/94)) -* ESLint configuration is now compatible with popular editor plugins ([@keyanzhang](https://github.com/keyanzhang) in [#149](https://github.com/facebookincubator/create-react-app/pull/149)) -* You can now `import` CSS files from npm modules ([@glennreyes](https://github.com/glennreyes) in [#105](https://github.com/facebookincubator/create-react-app/pull/105), [@breaddevil](https://github.com/breaddevil) in [#178](https://github.com/facebookincubator/create-react-app/pull/178)) * Development server now runs on `0.0.0.0` and works with VirtualBox ([@JWo1F](https://github.com/JWo1F) in [#128](https://github.com/facebookincubator/create-react-app/pull/128)) +* Cloud9 and Nitrous online IDEs are now supported ([@gaearon](http://github.com/gaearon) in [2fe84e](https://github.com/facebookincubator/create-react-app/commit/2fe84ecded55f1d5258d91f9c2c07698ae0d2fb4)) +* When `3000` port is taken, we offer to use another port ([@chocnut](https://github.com/chocnut) in [#101](https://github.com/facebookincubator/create-react-app/pull/101), [2edf21](https://github.com/facebookincubator/create-react-app/commit/2edf2180f2aa6bf647807d0b1fcd95f4cfe4a558)) +* You can now `import` CSS files from npm modules ([@glennreyes](https://github.com/glennreyes) in [#105](https://github.com/facebookincubator/create-react-app/pull/105), [@breaddevil](https://github.com/breaddevil) in [#178](https://github.com/facebookincubator/create-react-app/pull/178)) +* `fetch` and `Promise` polyfills are now always included ([@gaearon](https://github.com/gaearon) in [#235](https://github.com/facebookincubator/create-react-app/pull/235)) +* Regenerator runtime is now included if you use ES6 generators ([@gaearon](https://github.com/gaearon) in [#238](https://github.com/facebookincubator/create-react-app/pull/238)) * Generated project now contains `.gitignore` ([@npverni](https://github.com/npverni) in [#79](https://github.com/facebookincubator/create-react-app/pull/79), [@chibicode](https://github.com/chibicode) in [#112](https://github.com/facebookincubator/create-react-app/pull/112)) * A stylistic lint rule about method naming has been removed ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/157)) * A few unobtrusive accessibility lint rules have been added ([@evcohen](https://github.com/evcohen) in [#175](https://github.com/facebookincubator/create-react-app/pull/175)) +* A `.babelrc` in parent directory no longer causes an error ([@alexzherdev](https://github.com/alexzherdev) in [#236](https://github.com/facebookincubator/create-react-app/pull/236)) +* Files with `.json` extension are now discovered ([@gaearon](https://github.com/gaearon) in [a11d6a](https://github.com/facebookincubator/create-react-app/commit/a11d6a398f487f9163880dd34667b1d3e14b147a)) +* Bug fixes from transitive dependencies are included ([#126](https://github.com/facebookincubator/create-react-app/issues/126)) ### Global CLI (`create-react-app`) +* Generated ESLint configuration is now compatible with IDEs with npm 3 ([@keyanzhang](https://github.com/keyanzhang) in [#149](https://github.com/facebookincubator/create-react-app/pull/149)) * It enforces that you have Node >= 4 ([@conorhastings](https://github.com/conorhastings) in [#88](https://github.com/facebookincubator/create-react-app/pull/88)) * It handles `--version` flag correctly ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/152)) -### Migrating from 0.1.0 to 0.2.0 +### Migrating from 0.1.0 to 0.2.0-alpha.1 + +**Note: this is an unstable version. Things might be broken.** -Update the global command: +You may optionally update the global command (it’s not required): ``` -npm install -g create-react-app@0.2.0 +npm install -g create-react-app@0.2.0-alpha.1 ``` -Inside any created project that has not been ejected, run +Inside any created project that has not been ejected, run: ``` -npm install --save-dev --save-exact react-scripts@0.2.0 +npm install --save-dev --save-exact react-scripts@0.2.0-alpha.1 ``` You may need to fix a few lint warnings about missing `` tag, but everything else should work out of the box. From 743c1c09e0c31a30b50dd3634b09efc5a17f9ef4 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Thu, 28 Jul 2016 20:52:54 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f56279ac18..b232bd241e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,4 @@ -## 0.2.0-alpha.1 (next release) - -To test this update before it’s official, run - -```sh -create-react-app my-app --scripts-version 0.2.0-alpha.1 -``` - -Don’t forget the `--scripts-version`! +## 0.2.0 (July 28, 2016) ### Build Dependency (`react-scripts`) @@ -18,47 +10,34 @@ Don’t forget the `--scripts-version`! * `fetch` and `Promise` polyfills are now always included ([@gaearon](https://github.com/gaearon) in [#235](https://github.com/facebookincubator/create-react-app/pull/235)) * Regenerator runtime is now included if you use ES6 generators ([@gaearon](https://github.com/gaearon) in [#238](https://github.com/facebookincubator/create-react-app/pull/238)) * Generated project now contains `.gitignore` ([@npverni](https://github.com/npverni) in [#79](https://github.com/facebookincubator/create-react-app/pull/79), [@chibicode](https://github.com/chibicode) in [#112](https://github.com/facebookincubator/create-react-app/pull/112)) +* ESLint config is now more compatible with Flow ([@gaearon](https://github.com/gaearon) in [#261](https://github.com/facebookincubator/create-react-app/pull/261)) * A stylistic lint rule about method naming has been removed ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/157)) * A few unobtrusive accessibility lint rules have been added ([@evcohen](https://github.com/evcohen) in [#175](https://github.com/facebookincubator/create-react-app/pull/175)) * A `.babelrc` in parent directory no longer causes an error ([@alexzherdev](https://github.com/alexzherdev) in [#236](https://github.com/facebookincubator/create-react-app/pull/236)) * Files with `.json` extension are now discovered ([@gaearon](https://github.com/gaearon) in [a11d6a](https://github.com/facebookincubator/create-react-app/commit/a11d6a398f487f9163880dd34667b1d3e14b147a)) * Bug fixes from transitive dependencies are included ([#126](https://github.com/facebookincubator/create-react-app/issues/126)) +* Linting now works with IDEs if you follow [these](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#display-lint-output-in-the-editor) instructions ([@keyanzhang](https://github.com/keyanzhang) in [#149](https://github.com/facebookincubator/create-react-app/pull/149)) ### Global CLI (`create-react-app`) -* Generated ESLint configuration is now compatible with IDEs with npm 3 ([@keyanzhang](https://github.com/keyanzhang) in [#149](https://github.com/facebookincubator/create-react-app/pull/149)) * It enforces that you have Node >= 4 ([@conorhastings](https://github.com/conorhastings) in [#88](https://github.com/facebookincubator/create-react-app/pull/88)) * It handles `--version` flag correctly ([@mxstbr](https://github.com/mxstbr) in [#152](https://github.com/facebookincubator/create-react-app/pull/152)) -### Migrating from 0.1.0 to 0.2.0-alpha.1 - -**Note: this is an unstable version. Things might be broken.** +### Migrating from 0.1.0 to 0.2.0 You may optionally update the global command (it’s not required): ``` -npm install -g create-react-app@0.2.0-alpha.1 +npm install -g create-react-app@0.2.0 ``` Inside any created project that has not been ejected, run: ``` -npm install --save-dev --save-exact react-scripts@0.2.0-alpha.1 -``` - -You may need to fix a few lint warnings about missing `` tag, but everything else should work out of the box. - -If you intend to deploy your site to GitHub Pages, you may now [add `homepage` field to `package.json`](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#deploy-to-github-pages). - -If you had [issues with integrating editor linter plugins](https://github.com/facebookincubator/create-react-app/issues/124), add - -```js - "eslintConfig": { - "extends": "./node_modules/react-scripts/config/eslint.js" - } +npm install --save-dev --save-exact react-scripts@0.2.0 ``` -to your project’s `package.json`. If you have already run `eject`, the path would be `./config/eslint.js` instead. +You may need to fix a few lint warnings about missing `` tag, but everything else should work out of the box. If you intend to deploy your site to GitHub Pages, you may now [add `homepage` field to `package.json`](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#deploy-to-github-pages). If you had [issues with integrating editor linter plugins](https://github.com/facebookincubator/create-react-app/issues/124), follow [these new instructions](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#display-lint-output-in-the-editor). ## 0.1.0 (July 22, 2016)