create-react-app
5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed
1.5.2 is the newest release of 1.x.
In short
9 new5 fixed12 changed17 internal
Release note
:rocket: New Feature
react-scriptsAdd support for variable expansion in
.envfiles. (@moos)
react-error-overlayAllow the error overlay to be unregistered. (@Timer)
create-react-appAdd
--infoflag to help gather bug reports. (@tabrindle)Add
--use-npmflag to bypass Yarn even on systems that have it. (@tabrindle)Extend
--scripts-versionto include.tar.gzformat. (@SaschaDens)Allowing
"file:<path>"--scripts-versionvalues. (@GreenGremlin)
:bug: Bug Fix
babel-preset-react-app,react-scriptsFix object destructuring inside an array on Node 6. (@gaearon)
react-dev-utilsDetach browser process from the shell on Linux. (@gaearon)
Use proxy for all request methods other than
GET. (@doshisid)Print full directory name from
lsof. (@rmccue)Fix broken console clearing on Windows. (@danielverejan)
Fix starting a project in directory with
++in the name. (@Norris1z)
create-react-appFix offline installation to respect proxy from
.npmrc. (@mdogadailo)
react-scripts
:nail_care: Enhancement
react-scriptsPrint when
HOSTenvironment variable is set. (@iansu)Add a localhost-only log message pointing folks to the PWA docs. (@jeffposnick)
Improve eject message. (@xjlim)
create-react-appAllow more non-conflicting files in initial project directory. (@GreenGremlin)
react-dev-utilsAdd link to deployment docs after build. (@viankakrisna)
Add
code-insidersto the editor list. (@shrynx)Add editor support for Sublime Dev & VSCode Insiders. (@yyx990803)
Autodetect MacVim editor. (@gnapse)
react-dev-utils,react-error-overlayOpen editor to exact column from build error overlay. (@tharakawj)
react-dev-utils,react-scriptsSupport setting
noneinREACT_EDITORenvironment variable. (@raerpo)
eslint-config-react-appRelax
no-cond-assignrule. (@gaearon)
:memo: Documentation
User Guide
Add info about service-worker and HTTP caching headers into Firebase section. (@bobrosoft)
Add Powershell commands to README.md. (@Gua-naiko-che)
Better documentation for setupTests.js when ejecting. (@dannycalleri)
Add link for automatic deployment to azure. (@ulrikstrid)
Update README.md. (@maecapozzi)
Link to an explanation for forking react-scripts. (@gaearon)
Document adding a router. (@gaearon)
Fix typo in the User Guide. (@qbahers)
Update README.md. (@elie222)
Use safer/more aesthetic syntax for setting environment variables on Windows. (@cdanielsen)
Updated Debugging Tests for VSCode. (@amadeogallardo)
Fixed typo in webpack.config.dev.js. (@nmenglund)
Updates comment to reflect codebase. (@rahulcs)
Update User Guide with deploying to GitHub User pages. (@aaronlna)
Update Prettier editor integration link. (@gaving)
Fix dead links. (@vannio)
Docs: How to Debug Unit Tests. (@MattMorgis)
Other
Update README.md to note Neutrino's support of react components. (@eliperelman)
Documentation to help windows contributors. (@Dubes)
Add link to nvm-windows. (@davidgilbertson)
eslint-config-react-appFix broken link to
href-no-hasheslint rule. (@hazolsky)
:house: Internal
Other
Enable Yarn check files. (@Timer)
Clean up changes to npm and yarn registry in E2E tests. (@viankakrisna)
Use private registry in E2E tests. (@Timer)
Always use Yarn on CI. (@gaearon)
Port
cra.shdevelopment task to javascript. (@ianschmitz)Simplify waiting for app start in E2E tests. (@xjlim)
Switch to Yarn Workspaces. (@gaearon)
Try updating Flow. (@gaearon)
Export
dismissRuntimeErrorsfunction. (@skidding)Cleaning up
printHostingInstructionsa bit. (@GreenGremlin)Fix
FileSizeReporterfor multi build Webpack setups. (@iiska)Refactor extra watch options regex to
react-dev-utils. (@xjlim)
Migrating from 1.0.17 to 1.1.0
Inside any created project that has not been ejected, run:
npm install --save --save-exact react-scripts@1.1.0
or
yarn add --exact react-scripts@1.1.0
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.