|
| 1 | +## 0.7.0 (October 13, 2016) |
| 2 | + |
| 3 | +### Build Dependency (`react-scripts`) |
| 4 | + |
| 5 | +* Updates Jest to [version 16.0](http://facebook.github.io/jest/blog/2016/10/03/jest-16.html), with an upgraded CLI, improved snapshot testing, new matchers and more. ([@chase](https://github.com/chase) in [#858](https://github.com/facebookincubator/create-react-app/pull/858)) |
| 6 | +* Test setup file `src/setupTests.js` is now called after test framework initialization to support loading custom matchers. ([@just-boris](https://github.com/just-boris) in [#846](https://github.com/facebookincubator/create-react-app/pull/846)) |
| 7 | +* Build command shows better instructions for deploying the app to GitHub Pages ([@Janpot](https://github.com/Janpot) in [#841](https://github.com/facebookincubator/create-react-app/pull/841)) |
| 8 | +* Build command now generates an asset manifest with mappings from each filename to its final output filename. ([@lukyth](https://github.com/lukyth) in [#891](https://github.com/facebookincubator/create-react-app/pull/891)) |
| 9 | +* Build command exits, if there are errors from UglifyJS ([@pdillon](https://github.com/pdillon) in [#859](https://github.com/facebookincubator/create-react-app/pull/859)) |
| 10 | +* Eject output is more beautiful now. ([@azakordonets](https://github.com/azakordonets) in [#769](https://github.com/facebookincubator/create-react-app/pull/769)) |
| 11 | +* Fixes opening the app in a new tab in Chrome. ([@unixdev](https://github.com/unixdev) in [#831](https://github.com/facebookincubator/create-react-app/pull/831)) |
| 12 | +* Fixes environment variables not being defined as normal properties of the `process.env` object. ([@jobi](https://github.com/jobi) in [#795](https://github.com/facebookincubator/create-react-app/issues/795)) |
| 13 | + |
| 14 | +### ESLint Config (`eslint-config-react-app`) |
| 15 | + |
| 16 | +* `react/react-in-jsx-scope` rule ("React must be in scope") is now an error. ([@gaearon](https://github.com/gaearon) in [#822](https://github.com/facebookincubator/create-react-app/pull/822)) |
| 17 | +* `no-unused-expressions` rule now allows the use of short circuit and ternary expressions. ([@cannona](https://github.com/cannona) in [#724](https://github.com/facebookincubator/create-react-app/pull/724)) |
| 18 | + |
| 19 | +### Babel Preset (`babel-preset-react-app`) |
| 20 | + |
| 21 | +* The preset now detects the Node.js version in test environment and disables unnecessary ES2015 transforms using using `babel-preset-env`. ([@shubheksha](https://github.com/shubheksha) in [#878](https://github.com/facebookincubator/create-react-app/pull/878)) |
| 22 | +* Fixes a duplicate dependency on `babel-plugin-transform-regenerator`. ([@akofman](https://github.com/akofman) in [#864](https://github.com/facebookincubator/create-react-app/pull/864)) |
| 23 | + |
| 24 | +### Utilities (`react-dev-utils`) |
| 25 | + |
| 26 | +* The error overlay is now disposed after fixing linting errors. ([@jarlef](https://github.com/jarlef) in [#856](https://github.com/facebookincubator/create-react-app/pull/856)) |
| 27 | +* Adds support for Webpack 2 to `webpackHotDevClient`. ([@michalkvasnicak](https://github.com/michalkvasnicak) in [#840](https://github.com/facebookincubator/create-react-app/pull/840)) |
| 28 | + |
| 29 | +### Global CLI (`create-react-app`) |
| 30 | + |
| 31 | +* Adds support for passing a scoped package name to the `--scripts-version` argument. ([@pdillon](https://github.com/pdillon) in [#826](https://github.com/facebookincubator/create-react-app/pull/826)) |
| 32 | +* Fixes installing pre-release versions using a tarball URL with the `--scripts-version` argument. ([@jihchi](https://github.com/jihchi) in [#876](https://github.com/facebookincubator/create-react-app/pull/876)) |
| 33 | + |
| 34 | +### Migrating from 0.6.1 to 0.7.0 |
| 35 | + |
| 36 | +You may optionally update the global command (it’s not required): |
| 37 | + |
| 38 | +``` |
| 39 | +npm install -g create-react-app@0.7.0 |
| 40 | +``` |
| 41 | + |
| 42 | +Inside any created project that has not been ejected, run: |
| 43 | + |
| 44 | +``` |
| 45 | +npm install --save-dev --save-exact react-scripts@0.7.0 |
| 46 | +``` |
| 47 | + |
| 48 | +### Breaking Change in 0.7.0 |
| 49 | + |
| 50 | +#### Updating Snapshots |
| 51 | + |
| 52 | +Jest 16 includes [improvements to snapshot testing and changes to the snapshot format](https://facebook.github.io/jest/blog/2016/10/03/jest-16.html#snapshot-updates). If your project uses snapshot testing, you'll need to update the snapshot files. To update the snapshots, run: |
| 53 | +``` |
| 54 | +npm test -- -u |
| 55 | +``` |
| 56 | + |
1 | 57 | ## 0.6.1 (September 27, 2016)
|
2 | 58 |
|
3 | 59 | ### Build Dependency (`react-scripts`)
|
|
0 commit comments