v0.3.0
0.3.0 (September 1, 2016)
Build Dependency (react-scripts
)
- Testing is now supported! (Jest project contributors, @cpojer in #250, @gaearon in #378, #530, #533)
- Static files such as CSS, images, and fonts, can now exist outside
src
directory. (@fson in #504) - Breaking Change: Local paths in
<link href>
inindex.html
will now be correctly resolved, so deletingfavicon.ico
is not an error anymore. (@andreypopp in #428) - Removed an annoying lint rule that warned for
<div ref={node => this.node = node}>
. (@mrscobbler in #529) - Temporarily disabled
react-constant-elements
Babel transform because of its bugs. (@gaearon in #534) - Fixed a permission issue with Docker. (@gaearon in 73c940)
- Fixed an issue with generator syntax in Jest that occurred in an alpha release. (@gaearon in #535)
Global CLI (create-react-app
)
- You can now create a project in a folder that already contains an
.idea
folder, which is necessary for future WebStorm integration. (@denofevil in #522)
Migrating from 0.2.3 to 0.3.0
You may optionally update the global command (it’s not required):
npm install -g [email protected]
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
Breaking Change
Now favicon.ico
is not treated specially anymore.
If you use it, move it to src
and add the following line to <head>
in your HTML:
<link rel="shortcut icon" href="./src/favicon.ico">
New Feature
Since 0.3.0 added a test runner, we recommend that you add it to the scripts
section of your package.json
like this:
// ...
"scripts": {
// ...
"test": "react-scripts test --env=jsdom"
}