TODO (work in progress)
-
react-scripts
- Update the
webpack-dev-server
dependency
- Update the
-
react-dev-utils
- Andrew Clark (acdlite)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
- Joe Haddad (Timer)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
- Dan Abramov (gaearon)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
react-scripts
- #3971 Update instructions for continuous delivery with Netlify. (@hubgit)
- #3894 Include
{json,css}
files in prettier command. (@reyronald)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
-
react-error-overlay
-
create-react-app
- #3408 Add
--info
flag to help gather bug reports. (@tabrindle) - #3409 Add
--use-npm
flag to bypass Yarn even on systems that have it. (@tabrindle) - #3725 Extend
--scripts-version
to include.tar.gz
format. (@SaschaDens) - #3629 Allowing
"file:<path>"
--scripts-version
values. (@GreenGremlin)
- #3408 Add
-
babel-preset-react-app
,react-scripts
-
react-dev-utils
- #3784 Detach browser process from the shell on Linux. (@gaearon)
- #3726 Use proxy for all request methods other than
GET
. (@doshisid) - #3440 Print full directory name from
lsof
. (@rmccue) - #2071 Fix broken console clearing on Windows. (@danielverejan)
- #3686 Fix starting a project in directory with
++
in the name. (@Norris1z)
-
create-react-app
- #3320 Fix offline installation to respect proxy from
.npmrc
. (@mdogadailo)
- #3320 Fix offline installation to respect proxy from
-
react-scripts
-
react-scripts
-
create-react-app
- #3740 Allow more non-conflicting files in initial project directory. (@GreenGremlin)
-
react-dev-utils
- #3104 Add link to deployment docs after build. (@viankakrisna)
- #3652 Add
code-insiders
to the editor list. (@shrynx) - #3700 Add editor support for Sublime Dev & VSCode Insiders. (@yyx990803)
- #3545 Autodetect MacVim editor. (@gnapse)
-
react-dev-utils
,react-error-overlay
- #3465 Open editor to exact column from build error overlay. (@tharakawj)
-
react-dev-utils
,react-scripts
-
eslint-config-react-app
-
User Guide
- #3659 Add info about service-worker and HTTP caching headers into Firebase section. (@bobrosoft)
- #3515 Add Powershell commands to README.md. (@Gua-naiko-che)
- #3656 Better documentation for setupTests.js when ejecting. (@dannycalleri)
- #1791 Add link for automatic deployment to azure. (@ulrikstrid)
- #3717 Update README.md. (@maecapozzi)
- #3710 Link to an explanation for forking react-scripts. (@gaearon)
- #3709 Document adding a router. (@gaearon)
- #3670 Fix typo in the User Guide. (@qbahers)
- #3645 Update README.md. (@elie222)
- #3533 Use safer/more aesthetic syntax for setting environment variables on Windows. (@cdanielsen)
- #3605 Updated Debugging Tests for VSCode. (@amadeogallardo)
- #3601 Fixed typo in webpack.config.dev.js. (@nmenglund)
- #3576 Updates comment to reflect codebase. (@rahulcs)
- #3510 Update User Guide with deploying to GitHub User pages. (@aaronlna)
- #3503 Update Prettier editor integration link. (@gaving)
- #3453 Fix dead links. (@vannio)
- #2992 Docs: How to Debug Unit Tests. (@MattMorgis)
-
Other
- #3729 Update README.md to note Neutrino's support of react components. (@eliperelman)
- #2841 Documentation to help windows contributors. (@Dubes)
- #3489 Add link to nvm-windows. (@davidgilbertson)
-
eslint-config-react-app
-
Other
- #3769 Enable Yarn check files. (@Timer)
- #3756 Clean up changes to npm and yarn registry in E2E tests. (@viankakrisna)
- #3744 Use private registry in E2E tests. (@Timer)
- #3738 Always use Yarn on CI. (@gaearon)
- #2309 Port
cra.sh
development task to javascript. (@ianschmitz) - #3411 Simplify waiting for app start in E2E tests. (@xjlim)
- #3755 Switch to Yarn Workspaces. (@gaearon)
- #3757 Try updating Flow. (@gaearon)
- #3414 Export
dismissRuntimeErrors
function. (@skidding) - #3036 Cleaning up
printHostingInstructions
a bit. (@GreenGremlin) - #3514 Fix
FileSizeReporter
for multi build Webpack setups. (@iiska) - #3362 Refactor extra watch options regex to
react-dev-utils
. (@xjlim)
- Aaron Lamb (aaronlna)
- Ade Viankakrisna Fadlil (viankakrisna)
- Amadeo Gallardo (amadeogallardo)
- Andy Kenward (andykenward)
- Christian Danielsen (cdanielsen)
- Clayton Ray (iamclaytonray)
- Dan Abramov (gaearon)
- Daniel Verejan (danielverejan)
- Danny Calleri (dannycalleri)
- David Boyne (boyney123)
- David Gilbertson (davidgilbertson)
- Eli Perelman (eliperelman)
- Elie (elie222)
- Ernesto GarcΓa (gnapse)
- Evan You (yyx990803)
- Gavin Gilmour (gaving)
- Ian Schmitz (ianschmitz)
- Ian Sutherland (iansu)
- JANG SUN HYUK (wkdtjsgur100)
- Jeffrey Posnick (jeffposnick)
- Joe Haddad (Timer)
- Joe Lim (xjlim)
- Jonathan (GreenGremlin)
- Juhamatti NiemelΓ€ (iiska)
- Mae Capozzi (maecapozzi)
- Maksym Dogadailo (mdogadailo)
- Mario Nebl (marionebl)
- Matt Morgis (MattMorgis)
- Misha Khokhlov (hazolsky)
- Moos (moos)
- Nils Magnus Englund (nmenglund)
- Norris Oduro (Norris1z)
- Ovidiu CherecheΘ (skidding)
- Quentin Bahers (qbahers)
- Rafael E. Poveda (raerpo)
- Rahul Chanila (rahulcs)
- Ryan McCue (rmccue)
- Sascha Dens (SaschaDens)
- Siddharth Doshi (doshisid)
- Tao GΓ³mez Gil (Gua-naiko-che)
- Tharaka Wijebandara (tharakawj)
- Trevor Brindle (tabrindle)
- Ulrik Strid (ulrikstrid)
- Vladimir Tolstikov (bobrosoft)
- Dubes
- vannio
- shrynx (shrynx)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
- #3399 Add link to VS Code troubleshooting guide. (@auchenberg)
- #3400 Update VS Code debug configuration. (@auchenberg)
- Dan Abramov (gaearon)
- Kenneth Auchenberg (auchenberg)
- Loren Sands-Ramshaw (lorensr)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
-
react-dev-utils
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
- #3287 Fix favicon sizes value in the project manifest. (@ryansully)
-
react-dev-utils
,react-scripts
-
react-scripts
-
babel-preset-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
-
react-dev-utils
,react-error-overlay
- #3100 Add click-to-open support for build errors. (@tharakawj)
-
create-react-app
-
User Guide
- #2957 Use
npm-run-all
to build Sass and JS. (@shime) - #3108 Update the Service Worker opt-out documentation. (@captDaylight)
- #3286 Add documentation for Enzyme 3 integration. (@ryansully)
- #3328 Recommend react-snap as an alternative to react-snapshot. (@aaronshaf)
- #3279 Add jest coverage configuration docs. (@mattphillips)
- #3303 Update link to Jest Expect docs. (@jbranchaud)
- #3289 Fix dead link to Jest "expect" docs. (@alexkrolick)
- #3265 Add external links to deployment services. (@aericson)
- #3075 Minor docs change to highlight dev proxy behaviour. (@davidjb)
- #3185 Correct manual proxy documentation. (@robertpanzer)
- #2957 Use
-
README
- #3227 Fix package management link in README for issue #3218. (@nishina555)
- #3211 Improve grammar in README. (@Mohamed3on)
-
Other
-
react-error-overlay
- #3122 Fix for add .gitattributes file #3080. (@ijajmulani)
- #3267 Use production React version for bundled overlay. (@Timer)
- #3264 Add warning when using
react-error-overlay
in production. (@Timer) - #3263
react-error-overlay
has no dependencies now (it's bundled). (@Timer) - #3142 Make error overlay run in the context of the iframe. (@tharakawj)
-
react-scripts
- #3150 Remove an useless negation in
registerServiceWorker.js
. (@dunglas) - #3158 Remove
output.path
from dev webpack config. (@nikolas) - #3281 Add a workaround for Uglify incompatiblity with Safari 10.0 in the future. (@satyavh)
- #3146 Fix
reason-react
support. (@lpalmes) - #3236 Update
style-loader
and disable inclusion of its HMR code in builds. (@insin) - #3246 Update
url-loader
to 0.6.2 for mime ReDoS vulnerability. (@d3viant0ne) - #2914
<!doctype html>
-><!DOCTYPE html>
. (@Hurtak)
- #3150 Remove an useless negation in
- Aaron Shafovaloff (aaronshaf)
- Alex (alexkrolick)
- AndrΓ© Ericson (aericson)
- Dan Abramov (gaearon)
- David Beitey (davidjb)
- Hrvoje Ε imiΔ (shime)
- IJAJ MULANI (ijajmulani)
- Joe Haddad (Timer)
- Joe Lim (xjlim)
- Jonny Buchanan (insin)
- Josh Branchaud (jbranchaud)
- Joshua Wiens (d3viant0ne)
- KΓ©vin Dunglas (dunglas)
- Lorenzo Palmes (lpalmes)
- Matt Phillips (mattphillips)
- Mohamed Oun (Mohamed3on)
- Nik Nyby (nikolas)
- Petr HuΕΕ₯Γ‘k (Hurtak)
- Robert Panzer (robertpanzer)
- Ryan Sullivan (ryansully)
- Satya van Heummen (satyavh)
- Tharaka Wijebandara (tharakawj)
- Toshiharu Nishina (nishina555)
- captDaylight
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-dev-utils
-
react-error-overlay
-
react-dev-utils
-
Other
- #3163 Add link to active CSS modules discussion. (@NeekSandhu)
-
react-scripts
-
#2908 Note that class fields have progressed to stage 3. (@rickbeerendonk)
-
#3160 Update unclear wording in webpack configuration (file loader section). (@kristiehoward)
-
-
eslint-config-react-app
-
react-scripts
-
#2989 Update install template to match accessibility guidelines. (@davidleger95)
-
react-error-overlay
-
create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
-
#3058 Re-run prettier for all files and pin the version. (@viankakrisna)
-
#3107 Run CI on
npm@^4
. (@viankakrisna)
-
- Ade Viankakrisna Fadlil (viankakrisna)
- David Leger (davidleger95)
- Joe Haddad (Timer)
- Jon Crenshaw (jdcrensh)
- Kristie Howard (kristiehoward)
- Luca (duvet86)
- Neek Sandhu (NeekSandhu)
- Nik Nyby (nikolas)
- Rasmus Eneman (Pajn)
- Rick Beerendonk (rickbeerendonk)
- Sophie Alpert (sophiebits)
- gulderov
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-error-overlay
- #3051 Fix case-sensitivity issue with upgrading the package version. (@tharakawj)
-
react-dev-utils
-
react-scripts
- #3046 Fix crash in development mode on IE11. (@tharakawj)
-
react-scripts
- #3033 Add an empty mock for
child_process
to let some libraries compile. (@McFlurriez)
- #3033 Add an empty mock for
-
react-dev-utils
,react-error-overlay
- #3028 Make error overlay filename configurable. (@jaredpalmer)
- Anthony (McFlurriez)
- Erik J. Sturcke (esturcke)
- Jared Palmer (jaredpalmer)
- Tharaka Wijebandara (tharakawj)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-error-overlay
-
react-dev-utils
-
react-scripts
- #2917 Optimize the size of default favicon. (@sylvainbaronnet)
-
react-scripts
-
react-dev-utils
-
react-error-overlay
,react-scripts
- #2991 Update
babel-runtime
dependency (@christophehurpeau)
- #2991 Update
-
react-dev-utils
,react-error-overlay
,react-scripts
- #2515 Convert
react-error-overlay
to React (@tharakawj)
- #2515 Convert
- Christophe Hurpeau (christophehurpeau)
- Dan Abramov (gaearon)
- Ekaterina Prigara (prigara)
- Joe Haddad (Timer)
- Pier-Luc Gendreau (Zertz)
- Sylvain Baronnet (sylvainbaronnet)
- Tharaka Wijebandara (tharakawj)
- Thomas Bassetto (tbassetto)
- Yann Pringault (Kerumen)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
Note: thereβs a known issue that might cause the project to not compile after upgrading. In this case, migrate straight to 1.0.13
which doesnβt have this issue.
-
create-react-app
-
#2884 Improve offline heuristic for proxied environments. (@bsyk)
When a Yarn proxy is set, we will check its connectivity if we cannot reach Yarn's registry. This is often the case when DNS lookups must be made through the proxy.
-
#2853 Allow use of scoped packages with a pinned version. (@wileybenet)
-
-
react-dev-utils
-
react-dev-utils
,react-scripts
-
react-scripts
- #2806 Fix SockJS version compatibility. (@christianbundy)
- #2738 Fix Jest
node
file resolution. (@mostafah)
-
react-scripts
-
#2818 Allow sourcemaps to be disabled. (@viankakrisna)
As applications grow more complex, it is possible webpack may run out of memory while generating source maps. They may now be disabled by setting
GENERATE_SOURCEMAP=false
. -
#2913 Allow flags to be passed to node when running
react-scripts
. (@koistya) -
#2747 Simplify webpack configuration using
Rule.oneOf
. (@Furizaa)
-
-
react-dev-utils
,react-scripts
- #2468 Allow importing
package.json
. (@iamdoron) - #2650 Make UglifyJS error friendlier. (@viankakrisna)
- #2468 Allow importing
-
create-react-app
- #2785 Change error wording and list conflicting files when initializing app. (@OwenFlood)
-
react-dev-utils
-
eslint-config-react-app
,react-scripts
- #2735 Upgrade to
eslint@4
. (@trungdq88)
- #2735 Upgrade to
-
eslint-config-react-app
- #2701 Set
allowTaggedTemplates
to true (eslint). (@denkristoffer)
- #2701 Set
- Other
- #2728 Add Electrode to alternatives. (@animesh10)
- #2788 Update link for motion. (@viankakrisna)
- #2697 Fix env list ordering. (@alexeyraspopov)
react-dev-utils
- #2798 Update note about
webpackHotDevClient
support. (@ForbesLindesay)
- #2798 Update note about
react-scripts
babel-preset-react-app
- #2732 Update link to issue blocking JSX hoisting. (@ForbesLindesay)
create-react-app
,eslint-config-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
eslint-config-react-app
- #2718 Re-enable flowtype warning. (@oskarkook)
- Other
react-scripts
- #2873 Use template strings. (@monkindey)
- 864907600cc (ccloli)
- Ade Viankakrisna Fadlil (viankakrisna)
- Alexey Raspopov (alexeyraspopov)
- Andreas Hoffmann (Furizaa)
- Animesh Dutta (animesh10)
- Ben Sykes (bsyk)
- Christian Bundy (christianbundy)
- Dan Abramov (gaearon)
- Dan Ristea (danrr)
- Danny Ho (hodanny)
- Forbes Lindesay (ForbesLindesay)
- Joe Haddad (Timer)
- Jon Crenshaw (jdcrensh)
- Kiho Β· Cham (monkindey)
- Konstantin Tarkus (koistya)
- Kristoffer (denkristoffer)
- Mostafa Hajizadeh (mostafah)
- Oskar KΓΆΓΆk (oskarkook)
- Owen Flood (OwenFlood)
- StΓ©phane Goetz (onigoetz)
- Trygve Aaberge (trygveaa)
- Wiley Bennett (wileybenet)
- iamdoron
- themre
- zeel (zeel)
- Δinh Quang Trung (trungdq88)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-dev-utils
-
create-react-app
- #2683 Fix a typo. (@BenBrostoff)
-
README
- #2402 Added
gluestick
to the alternatives section. (@JoeCortopassi)
- #2402 Added
- Ben Brostoff (BenBrostoff)
- Forbes Lindesay (ForbesLindesay)
- Joe Haddad (Timer)
- Patrick Hooper (pdhoopr)
- JoeCortopassi
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
- #2679 Fix minor typo. (@dbanck)
- #2666 Add more info about Apache client side routing. (@viankakrisna)
- #2671 Add JSON and CSS to Prettier instructions. (@jbovenschen)
- Ade Viankakrisna Fadlil (viankakrisna)
- Dan Abramov (gaearon)
- Daniel Banck (dbanck)
- Jaco Bovenschen (jbovenschen)
- Joe Haddad (Timer)
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
react-scripts
- #2550 Fix Node 8 compatibility. (@josephfrazier)
- #2610 Fix sourcemap directory organization on Windows. (@plusCubed)
- #2596 Fix an issue with minifying emojis. (@viankakrisna)
- #2501 Fix incorrect check if
CI
variable is set to true. (@varnav) - #2432 In new projects, don't register service worker for projects using
PUBLIC_URL
for CDN. (@jeffposnick) - #2470 In new projects, prioritize
index.css
overApp.css
. (@bryankang)
-
react-dev-utils
- #2405 Fix detection of parent directory in
ModuleScopePlugin
. (@diligiant) - #2562 Fix eject command output. (@paweljedrzejczyk)
- #2405 Fix detection of parent directory in
-
react-scripts
- #2648 Warn about large bundle sizes. (@gaearon)
- #2511 Support
.web.js
extension for React Native Web. (@mini-eggs) - #2645 Hide confusing "Skipping static resource" message. (@gaearon)
- #2389 Silence unnecessary warning from Babel. (@gaearon)
- #2429 Update
sw-precache-webpack-plugin
to lastest version. (@goldhand) - #2600 Add empty mock for
dgram
Node module. (@micopiira) - #2458 Add names to module factories in development. (@Zaccc123)
- #2551 In new projects, unregister service worker and force reload if
service-worker.js
is not found. (@ro-savage)
-
babel-preset-react-app
,react-dev-utils
,react-scripts
-
create-react-app
,react-scripts
-
react-dev-utils
- #2637 Auto-detect Brackets editor from error overlay. (@petetnt)
- #2552 Auto-detect running editor on Windows for error overlay. (@levrik)
- #2622 Support opening PhpStorm for error overlay. (@miraage)
- #2414 Support opening WebStorm 2017+ from error overlay. (@wirmar)
- #2518 Warn when trying to run on port below 1024 without admin permissions under Linux/macOS. (@levrik)
- #2385 Suggest just
yarn build
in output. (@gaearon)
-
create-react-app
- #1945 Fix grammar in CLI output. (@ColinEberhardt)
-
User Guide
- #2662 Local testing docker links. (@EnoahNetzach)
- #2660 Minor code style edits to user guide. (@gaearon)
- #2656 Don't ask to install webpack for using Styleguidist. (@gaearon)
- #1641 Add instructions to use
source-map-explorer
. (@gr33nfury) - #2044 Add React Styleguidist. (@sapegin)
- #2006 Added instruction on how to install Prettier. (@MrHus)
- #1813 Fix grammar. (@iheng)
- #2060 Add more info about OOM build failiure [docs]. (@GAumala)
- #2305 Update docs with WebSocket proxy information. (@jamesblight)
- #2445 Document
REACT_EDITOR
environment variable. (@wirmar) - #2362 Add yarn example under "Installing a Dependency". (@BrianDGLS)
- #2423 Add docs for setting up CircleCI for CRA. (@knowbody)
- #2427 Added link to tutorial on code splitting. (@jayair)
- #2447 Fix wrong comment on Proxy guide. (@hellowin)
- #2538 Fix broken link to a tutorial. (@romanyanke)
- #2522 Flow init to run as command not flag. (@khanglu)
- #2521 Fix broken link to Storybook docs. (@shilman)
- #2500 Fix minor typo. (@AlexxNica)
- #2331 Re-add storybook && update the documentation and links. (@ndelangen)
- #2454 Update Travis CI Node versions in User Guide. (@ryansully)
- #2420 Fix typo. (@ruskakimov)
- #2392 Update
jest-enzyme
section. (@luftywiranda13)
-
README
-
Other
- #2465 Update Prettier to v1. (@ianschmitz)
- #2489 chore(templates): Move GitHub templates to hidden .github folder. (@glennreyes)
- #2400 Added cache clear to e2e scripts. (@ro-savage)
- #2397 Fix command in e2e-kitchensink.sh cleanup. (@ro-savage)
- #2388 Fix wrong path expansion in end-to-end test. (@gaearon)
- #2387 Catch "No tests found" during CI. (@EnoahNetzach)
-
react-scripts
- #2408 E2E testing enhancements. (@EnoahNetzach)
- #2430 Remove an unnecessary webpack option. (@andykenward)
-
react-dev-utils
- Ade Viankakrisna Fadlil (viankakrisna)
- Alexandre Nicastro (AlexxNica)
- Andi N. Dirgantara (hellowin)
- Andy Kenward (andykenward)
- Artem Sapegin (sapegin)
- Ashton (ashtonsix)
- Brian Douglas (BrianDGLS)
- Colin Eberhardt (ColinEberhardt)
- Colin Galindo (gr33nfury)
- Dan Abramov (gaearon)
- Daniel Ciao (plusCubed)
- Erik Engi (kireerik)
- Evan Jones (mini-eggs)
- Fabrizio Castellarin (EnoahNetzach)
- FrΓ©dΓ©ric Miserey (diligiant)
- Gabriel Aumala (GAumala)
- Glenn Reyes (glennreyes)
- Heng Li (iheng)
- Ian Schmitz (ianschmitz)
- James Blight (jamesblight)
- Jay V (jayair)
- Jeffrey Posnick (jeffposnick)
- Joe Haddad (Timer)
- Joseph Frazier (josephfrazier)
- Khang Lu (khanglu)
- Levin Rickert (levrik)
- Lufty Wiranda (luftywiranda13)
- Maarten Hus (MrHus)
- Marius Wirtherle (wirmar)
- Mateusz Zatorski (knowbody)
- Michael Shilman (shilman)
- Mico Piira (micopiira)
- Mikhail Osher (miraage)
- Norbert de Langen (ndelangen)
- PaweΕ JΔdrzejczyk (paweljedrzejczyk)
- Pete NykΓ€nen (petetnt)
- Ro Savage (ro-savage)
- Roman (romanyanke)
- Rustem Kakimov (ruskakimov)
- Ryan Sullivan (ryansully)
- Stanislas Ormières (laruiss)
- Will Farley (goldhand)
- Zac Kwan (Zaccc123)
- bryankang
- varnav
- shaun wallace (shaunwallace)
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
If you previously used HTTPS=true
environment variable in development, make sure you aren't affected by a now-fixed vulnerability in Webpack by visiting this page. You can read more about the vulnerability here.
You may optionally then move react-scripts
from devDependencies
to dependencies
since thatβs how weβll structure newly created projects. It is not necessary though.
If you left the service worker integration enabled and didnβt change how it works, you can replace src/registerServiceWorker.js
with this updated version.
If you haven't changed the default CSS organization, you may want to apply this fix that makes index.css
take precedence over App.css
in your project.
-
react-scripts
- #2382 Consistently set environment variables. (@gaearon)
- #2379 Temporarily disable
comparisons
feature in uglify compression. (@davidascher)
-
react-scripts
-
react-dev-utils
,react-scripts
- #2361 Print file sizes with correct build folder path. (@fezhengjin)
-
react-scripts
- #2372 Update README.md for
now
deployments. (@purplecones) - #2350 Fix broken links. (@gaearon)
- #2372 Update README.md for
- Dan Abramov (gaearon)
- David Ascher (davidascher)
- Emanuele Ingrosso (ingro)
- Jin Zheng (fezhengjin)
- Mirza Joldic (purplecones)
- Zac Kwan (Zaccc123)
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
-
eslint-config-react-app
,react-error-overlay
,react-scripts
- #2346 Resolve Flow errors in an ESLint plugin. (@iainbeeston)
-
react-dev-utils
-
react-scripts
- #2347 Don't precache
/__*
URLs to fix Firebase hosting. (@ryansully)
- #2347 Don't precache
-
README
- #2334 Add missing files to the list. (@jesselpalmer)
- Iain Beeston (iainbeeston)
- Jesse Palmer (jesselpalmer)
- Joe Haddad (Timer)
- Ryan Sullivan (ryansully)
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
-
react-dev-utils
,react-scripts
-
react-dev-utils
-
eslint-config-react-app
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
react-error-overlay
- Fix a regression in published package.
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
-
react-dev-utils
-
eslint-config-react-app
-
react-dev-utils
,react-error-overlay
- #2301 Wrap more
console
calls into a check. (@BrodaNoel)
- #2301 Wrap more
-
react-scripts
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
-
react-dev-utils
,react-scripts
- #2276 Serve a no-op service worker in development to ensure it doesn't cache the production build even if it was served on the same port. (@jeffposnick)
-
react-dev-utils
,react-error-overlay
-
react-dev-utils
- #2282 Add Windows Subsystem for Linux support to the error overlay. (@noinkling)
- #2269 Fix a missing package dependency. (@GreenGremlin)
-
react-scripts
- #2221 Ejecting should ensure you have clean
git status
. (@milocosmopolitan) - #2288 Only enable host check if you use proxy, and add a way to opt out of it. (@gaearon)
- #2221 Ejecting should ensure you have clean
- Dan Abramov (gaearon)
- Jeffrey Posnick (jeffposnick)
- Jonathan (GreenGremlin)
- Malcolm (noinkling)
- Milo Kang (milocosmopolitan)
- pmadar
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
If you previously had issues with an Invalid Host Header
error, follow these new instructions to fix it.
-
react-scripts
- #2242 Fix
NODE_PATH=src
fornpm start
andnpm run build
. (@ApacheEx) - #2261 Fix
NODE_PATH=src
for Jest. (@gaearon) - #2255 Fix Windows path issue for generated service worker. (@gaearon)
- #2262 Additional fix to service worker config for
"homepage"
field. (@gaearon) - #2250 Ignore
.env.local
intest
environment. (@gaearon) - #2246 Gracefully shut down the development server on signals. (@gaearon)
- #2242 Fix
-
react-dev-utils
-
react-dev-utils
,react-error-overlay
-
react-error-overlay
-
eslint-config-react-app
-
react-scripts
- #2224 Add
<noscript>
to template'sindex.html
. (@viankakrisna)
- #2224 Add
-
react-scripts
- #2259 Fix broken links. (@enguerran)
- #2258 Update readme with example of Sass include path. (@kellyrmilligan)
- #2252 Hide React Storybook from the User Guide while it's incompatible. (@gaearon)
- #2247 Correct docs on which
.env.*
files are supported. (@AJamesPhillips)
- Ade Viankakrisna Fadlil (viankakrisna)
- Alexander James Phillips (AJamesPhillips)
- Dan Abramov (gaearon)
- Enguerran (enguerran)
- Joe Haddad (Timer)
- Kelly (kellyrmilligan)
- Nayef Ghattas (Gandem)
- Oleg Kuzava (ApacheEx)
- chyipin
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
or
yarn add --dev --exact [email protected]
Weβve been working on this release for the past few months, and there are many big impovements, from migrating to webpack 2 to a brand new runtime error overlay and built-in support for Progressive Web Apps.
So instead of just enumerating them here, we decided to write a blog post about all the new features.
Check it out: Whatβs New in Create React App.
Have you read it? Now let's see how to update your app to the latest version.
First, ensure you are using the latest Node 6 LTS or newer. In 1.0.0, we have dropped support for Node 4 and NPM 2.
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
You may also optionally update the global command-line utility for bug fixes:
npm install -g create-react-app
We've never supported importing files from outside src/
, nor have we supported running tests outside of src/
.
We also never explicitly forbid doing so, which caused confusion when things didn't work like they should.
When running or building your application, you may see a message like so:
You attempted to import ... which falls outside of the project src/ directory.
To remedy this, simply move any files that you import
within src/
and update your relative imports accordingly. This enforces that files that import
each other stay in src/
, and other folders serve different purposes (e.g. the public/
folder just gets served from the root).
If you used relative imports outside the project directory as a way to share code with another project, consider using a monorepo instead, so that other projects are symlinked to your project's node_modules/
. Then you can import them as a Node modules.
While running npm test
, you may notice some of your tests are missing. Please move any top-level test directory (i.e. __test__
, __spec__
) or files (i.e. *.test.js
, *.spec.js
) into src/
. Conversely, if you have some similarly named files that you donβt want Jest to run, move them outside of src/
.
Moment.js locales are now purposely excluded from the bundle unless explicitly depended on.
Please import the locales you need:
import moment from 'moment';
import 'moment/locale/fr';
import 'moment/locale/es';
You can no longer import a file and expect to receive its contents as an encoded string.
This behavior was confusing and inconsistent depending on the file size.
Importing files with unknown extensions will now always include them into the build and return a valid URL.
If you'd like to import a file's contents as a string, consider contributing to #1944. For the time being, you must embed assets within an export:
// sample.txt
export default `i want
this data as a string
`;
You can then import this as so:
import sampleText from './sample.txt';
// ...
Please prefix any global method with window.
, you may experience this with methods such as confirm
.
Simply update references from confirm
to window.confirm
.
Note that this new lint error will likely uncover legitimate accidental uses of global variables where you meant to define a local variable instead.
You can no longer use AMD import syntax, nor define an import anywhere other than the top of the file.
This is to reduce confusion around import statements, which do not allow you to evaluate code between them.
We have enabled a new set of rules to help make applications more accessible, please take time to learn about the errors and fix them.
You can search for every lint rule name in the right column and read its description on the web. The fixes are usually very simple.
We have enabled the lint warnings about React APIs deprecated in React 15.5. You can automatically convert your project to fix them by running the corresponding codemods.
Please refer to the Jest 19 and Jest 20 breaking changes for migration instructions.
If you use snapshots, you will likely need to update them once because of the change in format.
The old, 2009 specification for Flexbox is deprecated and is 2.3x slower than the latest specification.
We are no longer polyfilling it automatically.
Follow these steps if you see errors about missing lint rules in the editor.
- Ensure that in your editor ESLint settings you have "Use Global ESLint" turned off
- Run
npm install
in your project (oryarn
) - Quit your editor completely (ensure its process doesn't hang around)
- Start the editor again
If you still have the problem please file an issue.
Unhandled Promise rejections will now crash tests. You can fix them by explicitly catching the errors you donβt care about.
How to turn my app into a Progressive Web App?
After the regular update procedure above, add these line to <head>
in public/index.html
:
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
Add <noscript>
to <body>
in public/index.html
:
<noscript>
You need to enable JavaScript to run this app.
</noscript>
Then create a file called public/manifest.json
that looks like this:
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Finally, create src/registerServiceWorker.js
with this template, import it from src/index.js
and call the function it exports.
This was a large release, and we might have missed something.
Please file an issue and we will try to help.
For a readable summary of the changes, check out our blog post.
react-dev-utils
,react-scripts
react-scripts
- #2187 Ignore Moment.js locales by default. (@gaearon)
- #1808 Only run tests in
src/
(#544). (@motevets) - #1771 Some flexbox bugs are autofixed, and support for 2009 spec is dropped. (@cr101)
- #1614 Upgrade to Jest
19(now 20). (@rogeliog) - #1305 Whitelist files that can be embedded through url-loader. (@pugnascotia)
eslint-config-react-app
,react-dev-utils
eslint-config-react-app
,react-error-overlay
,react-scripts
- #2163 Upgrade
eslint-plugin-jsx-a11y
and activate more rules. (@AlmeroSteyn)
- #2163 Upgrade
eslint-config-react-app
,react-scripts
react-scripts
- #1728 Scaffolded applications are now Progressive Web Apps by default. (@jeffposnick)
- #1344 Support multiple env configuration files. (@tuchk4)
- #2168 Enable CSS sourcemaps in production. (@gaearon)
- #1830 Make subset of Jest options overridable. (@ryansully)
react-dev-utils
,react-scripts
eslint-config-react-app
,react-scripts
- #2163 Upgrade
eslint-plugin-jsx-a11y
and activate more rules. (@AlmeroSteyn)
- #2163 Upgrade
react-scripts
- #2219 Improve interaction between compile and runtime overlays (@gaearon)
- #2200 Disable Uglify reduce_vars. (@gaearon)
- #2166 Support hoisting
react-scripts
and addrequire.resolve()
to loaders. (@gaearon) - #2115 Do not respect
.eslintignore
. (@Timer) - #2063 Ignore yarn cache directory when searching for tests. (@jmorrell)
- #2050 Name development chunk names. (@herrstucki)
- #2013 Minify CSS post-webpack 2. (@viankakrisna)
- #1839 Resolve
localhost
when offline (Windows). (@bunshar) - #1301 Bind to host environment variable. (@GAumala)
- #1890 Ensure proxy url starts with
http://
orhttps://
. (@bunshar) - #1861 Upgrade
detect-port
. (@Andreyco) - #1821 Fix default responsive behavior in iOS 9+. (@GreenGremlin)
- #1819 Makes end-to-end testing crash on unhandled rejections. (@dbismut)
- #1810 Fixes a silent crash when ejecting. (@gaearon)
- #1727 Fix ejecting from a scoped fork. (@gaearon)
react-dev-utils
- #2076
openBrowser
now supports urls with more than one parameter. (@alisonmonteiro) - #1690 Fix
openBrowser()
whenBROWSER=open
on macOS. (@bpierre) - #1696 Fix an edge-case for people with the username
cwd
. (@chrisdrackett)
- #2076
create-react-app
- #1863 Check internet connectivity with lookup instead of resolve. (@kdleijer)
- #1867 Show package name in CLI. (@mkazantsev)
- #1706 Properly extract package name for installing a tgz of scoped packages. (@Timer)
- #1695 Add diagnostic code. (@tgig)
- #1675 Fix project cleanup on Windows. (@johann-sonntagbauer)
- #1662 Add project name validation. (@johann-sonntagbauer)
- #1669 Fix react dependency versions during initial install. (@johann-sonntagbauer)
react-dev-utils
,react-scripts
react-dev-utils
,react-error-overlay
react-scripts
- #2187 Ignore Moment.js locales by default. (@gaearon)
- #1771 Adding plugin postcss-flexbugs-fixes and flexbox: 'no-2009' to Autoprefixer. (@cr101)
- #1614 Upgrade to Jest
19(now 20). (@rogeliog) - #1993 Removed redundant UglifyJS options. (@marcofugaro)
- #1800 Suggest
yarn build
instead ofyarn run build
. (@geoffdavis92) - #1760 Suggest
serve
for running in production. (@leo) - #1747 Display
yarn
instead ofyarnpkg
when creating a new application. (@lpalmes) - #1433 Modularise scripts. (@djgrant)
- #1677 Add
X-FORWARDED
headers for proxy requests. (@johann-sonntagbauer)
eslint-config-react-app
,react-dev-utils
react-error-overlay
,react-scripts
babel-preset-react-app
,eslint-config-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
eslint-config-react-app
- #2064 Removing a stylistic lint rule. (@anilreddykatta)
- #1763 disable ignoring unused vars prefixed with _. (@doshisid)
- #1989 Relax label rules (Closes #1835). (@anilreddykatta)
- #1773 Remove 'guard-for-in' lint rule. (@spicyj)
eslint-config-react-app
,react-scripts
react-dev-utils
create-react-app
- #1811 Allow creation of apps in empty Mercurial repos. (@GreenGremlin)
- Other
react-scripts
- #2193 Fix webpack config typo. (@Justkant)
- #2137 Remove live-editing since isn't accurate. (@cesarvarela)
- #2114 Update Sass README. (@kellyrmilligan)
- #2081 Fixed link for storybook. (@scottrangerio)
- #2052 Fix instructions for serving with now. (@davidascher)
- #2058 Clarify
.eslintrc
effects. (@luftywiranda13) - #2054 Suggest to create
.eslintrc
for IDE lint plugins. (@gaearon) - #2033 Fix Netlify heading level. (@benpickles)
- #1987 Suggest
node-sass
alternative. (@michaelwayman) - #1988 Update doc server example to work from any directory. (@isramos)
- #1982 Update information in User Guide for Enzyme dependency. (@josephrace)
- #1911 Suggest Yarn in HTML template. (@tmos)
- #1869 User Guide: Removed blockquote from code section, due to markdown conflict. (@stochris)
- #1756 Add Yarn steps for adding flow. (@zertosh)
- #1710 Update now.sh deployment instructions. (@replaid)
- #1717 Add docs for apache's client side routing setting. (@viankakrisna)
- #1698 Suggest to use
.env
for enabling polling mode. (@gaearon) - #1687 Fixed missing --recursive flag in first
npm run watch-css
command. (@mklemme) - #1657 Set Chrome userDataDir to be under .vscode folder. (@ryansully)
- Other
- #2135 Add note about
yarn.lock
. (@viankakrisna) - #2040 Fix typo. (@tijwelch)
- #1991 Add folder structure docs for new contributors. (@anilreddykatta)
- #1962 Add sku to the list of alternatives. (@markdalgleish)
- #1799 Improve phrasing. (@moniuch)
- #2135 Add note about
babel-preset-react-app
- #1787 Update side-effect documentation. (@evenchange4)
react-scripts
- #2213 Use some ES6 syntax. (@shashkovdanil)
- #1913 Add linked modules test. (@Timer)
- #1736 Fix eject for linked react-scripts. (@tuchk4)
- #1741 Fix internal linting setup. (@gaearon)
- #1730 Fix Node 4 e2e tests. (@Timer)
- #1715 Remove unused
url
import in Webpack config. (@pd4d10) - #1700 Update extract-text-webpack-plugin to stable. (@SimenB)
react-dev-utils
,react-scripts
babel-preset-react-app
,react-scripts
create-react-app
,react-dev-utils
,react-scripts
- #1897 Bump minimal Node version to 6. (@ianschmitz)
- Other
- #1868 Fix AppVeyor CI. (@darrenscerri)
- #1825 Added test to check for accidental extraneous dependencies. (@lpalmes)
- #1876 Fix AppVeyor CI. (@darrenscerri)
- #1723 Skip AppVeyor CI builds for Markdown changes. (@gaearon)
- #1707 Add double quotes to escape spaces in paths in e2e. (@viankakrisna)
- #1688 Pin and upgrade lerna version. (@viankakrisna)
- #1648 Add
appveyor.yml
. (@Timer)
babel-preset-react-app
,create-react-app
,eslint-config-react-app
,react-dev-utils
,react-scripts
eslint-config-react-app
eslint-config-react-app
,react-dev-utils
,react-scripts
react-dev-utils
- Ade Viankakrisna Fadlil (viankakrisna)
- Alison Monteiro (alisonmonteiro)
- Almero Steyn (AlmeroSteyn)
- Andrej Badin (Andreyco)
- Andres Suarez (zertosh)
- Asa Ayers (AsaAyers)
- Ben Alpert (spicyj)
- Ben Pickles (benpickles)
- Bond (bondz)
- Brian Vaughn (bvaughn)
- Buns Shar (bunshar)
- Cesar Varela (cesarvarela)
- Chris Drackett (chrisdrackett)
- Cristian Rosescu (cr101)
- Dan Abramov (gaearon)
- Daniel Grant (djgrant)
- Danil Shashkov (shashkovdanil)
- Darren Scerri (darrenscerri)
- David (dbismut)
- David Ascher (davidascher)
- Gabriel Aumala (GAumala)
- Geoff Davis (geoffdavis92)
- Ian Schmitz (ianschmitz)
- Ian Sutherland (iansu)
- Igor Ramos (isramos)
- James Blight (jamesblight)
- Jeffrey Posnick (jeffposnick)
- Jeremy Morrell (jmorrell)
- Jeremy Stucki (herrstucki)
- Joe Haddad (Timer)
- Johann Hubert Sonntagbauer (johann-sonntagbauer)
- Jonathan (GreenGremlin)
- Joseph Race (josephrace)
- Kant (Justkant)
- Kelly (kellyrmilligan)
- Kent C. Dodds (kentcdodds)
- Koen de Leijer (kdleijer)
- Leo Lamprecht (leo)
- Lorenzo Palmes (lpalmes)
- Lufty Wiranda (luftywiranda13)
- Marco Fugaro (marcofugaro)
- Mark Dalgleish (markdalgleish)
- Mato Ilic (matoilic)
- Maxim Kazantsev (mkazantsev)
- Michael Hsu (evenchange4)
- Michael Wayman (michaelwayman)
- Myk Klemme (mklemme)
- Pierre Bertet (bpierre)
- Rogelio Guzman (rogeliog)
- Rory Hunter (pugnascotia)
- Ryan Platte (replaid)
- Ryan Sullivan (ryansully)
- Scott Ranger (scottrangerio)
- Siddharth Doshi (doshisid)
- Simen Bekkhus (SimenB)
- Simon Vocella (voxsim)
- Stoicescu Cristi (stochris)
- Tim Welch (tijwelch)
- Tom Canac (tmos)
- Tom Dunlap (motevets)
- Travis Giggy (tgig)
- Valerii Sorokobatko (tuchk4)
- alberto (alberto)
- anraka (anilreddykatta)
- moniuch (moniuch)
- pd4d10 (pd4d10)
Please refer to CHANGELOG-0.x.md for earlier versions.