|
| 1 | +## 0.3.0 (September 1, 2016) |
| 2 | + |
| 3 | +### Build Dependency (`react-scripts`) |
| 4 | + |
| 5 | +* Testing is [now supported](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#running-tests)! ([Jest project contributors](https://github.com/facebook/jest/pulls?q=is%3Apr+is%3Aclosed), [@cpojer](https://github.com/cpojer) in [#250](https://github.com/facebookincubator/create-react-app/pull/250), [@gaearon](https://github.com/gaearon) in [#378](https://github.com/facebookincubator/create-react-app/pull/378), [#530](https://github.com/facebookincubator/create-react-app/pull/530), [#533](https://github.com/facebookincubator/create-react-app/pull/533)) |
| 6 | +* Static files such as CSS, images, and fonts, can now exist outside `src` directory. ([@fson](https://github.com/fson) in [#504](https://github.com/facebookincubator/create-react-app/pull/504)) |
| 7 | +* Local paths in `<link href>` in `index.html` will now be correctly resolved, so deleting `favicon.ico` is not an error anymore. ([@andreypopp](https://github.com/andreypopp) in [#428](https://github.com/facebookincubator/create-react-app/pull/428)) |
| 8 | +* Removed an annoying lint rule that warned for `<div ref={node => this.node = node}>`. ([@mrscobbler](https://github.com/mrscobbler) in [#529](https://github.com/facebookincubator/create-react-app/pull/529)) |
| 9 | +* Temporarily disabled `react-constant-elements` Babel transform because of its bugs. ([@gaearon](https://github.com/gaearon) in [#534](https://github.com/facebookincubator/create-react-app/pull/534)) |
| 10 | +* Fixed a permission issue with Docker. ([@gaearon](https://github.com/gaearon) in [73c940](https://github.com/facebookincubator/create-react-app/commit/73c940a73205d761230f8d6bf81ecfd460ba28a9)) |
| 11 | +* Fixed an issue with generator syntax in Jest that occurred in an alpha release. ([@gaearon](https://github.com/gaearon) in [#535](https://github.com/facebookincubator/create-react-app/pull/535)) |
| 12 | + |
| 13 | +### Global CLI (`create-react-app`) |
| 14 | + |
| 15 | +* You can now create a project in a folder that already contains an `.idea` folder, which is necessary for future WebStorm integration. ([@denofevil](https://github.com/denofevil) in [#522](https://github.com/facebookincubator/create-react-app/pull/522)) |
| 16 | + |
| 17 | +### Migrating from 0.2.3 to 0.3.0 |
| 18 | + |
| 19 | +You may optionally update the global command (it’s not required): |
| 20 | + |
| 21 | +``` |
| 22 | + |
| 23 | +``` |
| 24 | + |
| 25 | +Inside any created project that has not been ejected, run: |
| 26 | + |
| 27 | +``` |
| 28 | +npm install --save-dev --save-exact [email protected] |
| 29 | +``` |
| 30 | + |
| 31 | +Since 0.3.0 added a test runner, we recommend that you add it to the `scripts` section of your `package.json` like this: |
| 32 | + |
| 33 | +```js |
| 34 | + // ... |
| 35 | + "scripts": { |
| 36 | + // ... |
| 37 | + "test": "react-scripts test --env=jsdom" |
| 38 | + } |
| 39 | +``` |
| 40 | + |
| 41 | +[Then read the testing guide to learn more about using it!](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#running-tests) |
| 42 | + |
1 | 43 | ## 0.2.3 (August 25, 2016)
|
2 | 44 |
|
3 | 45 | ### Build Dependency (`react-scripts`)
|
@@ -36,7 +78,6 @@ Update `react-scripts` to point to `0.2.2` in your `package.json` and run `npm i
|
36 | 78 |
|
37 | 79 | Newly created projects will use `0.2.2` automatically. You **don’t** need to update the global `create-react-app` CLI itself. It stays at `0.2.0` for now because it doesn’t have any changes.
|
38 | 80 |
|
39 |
| - |
40 | 81 | ## 0.2.1 (August 1, 2016)
|
41 | 82 |
|
42 | 83 | ### Build Dependency (`react-scripts`)
|
|
0 commit comments