create-react-app
5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed
0.7.0 is the newest release of 0.3.x.
In short
1 breaking2 fixed5 changed
- Breaking
Local paths in
<link href>inindex.htmlwill now be correctly resolved, so deletingfavicon.icois not an error anymore. (@andreypopp in #428)
Release note
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
srcdirectory. (@fson in #504)- Breaking
Local paths in
<link href>inindex.htmlwill now be correctly resolved, so deletingfavicon.icois 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-elementsBabel transform because of its bugs. (@gaearon in #534)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
.ideafolder, 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 create-react-app@0.3.0
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact react-scripts@0.3.0
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"
}A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.