create-react-app
5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed
Upgrading create-react-app From 1.0.4 to 5.1.0
45 releases in betweennotes for 30
Reading releases, release notes and advisories…
- 48+
- changes to make
- 0
- advisories fixed
- 199+
- new
- 130+
- fixes
Counted from 30 of 45 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
- 5.0.0
react-dev-utils: Bump immer version for fixing security issue (@shamprasadrh)
- 4.0.3
react-dev-utils: update immer to 8.0.1 to address vulnerability (@wclem4)
- 3.3.1
react-error-overlay, react-scripts: [Security] Update terser webpack plugin (@RDIL)
- 2.1.3
v2.1.3 is a maintenance release to fix a vulnerability in webpack-dev-server.
Release by release
5.1.0no release note
- New
cra-template-typescript, cra-template, react-scripts: Update templates to use React 18
createRoot(@kyletsang) - New
cra-template-typescript, cra-template: chore: upgrade rtl version to support react 18 (@MatanBobi)
- New
eslint-config-react-app: updated deprecated rules (@wisammechano)
- Fixed
react-scripts: fix: webpack noise printed only if error or warning (@Andrew47)
- Fixed
create-react-app: Warn when not using the latest version of create-react-app but do not exit (@iansu)
- Fixed
react-dev-utils: Ensure posix compliant joins for urls in middleware (@psiservices-justin-sullard)
- New
- Security
react-dev-utils: Bump immer version for fixing security issue (@shamprasadrh)
- Breaking
Dropped support for Node 10 and 12
- Breaking
Like any major release,
react-scripts@5.0.0contains a number of breaking changes. - Breaking
create-react-app: Use env var to detect yarn or npm as the package manager (@lukekarrys)
- Security
- New
react-scripts: Add support for new BUILD_PATH advanced configuration variable (@ajhyndman)
- New
react-scripts: Add opt-out for eslint-webpack-plugin (@mrmckeb)
- New
react-scripts: Add TypeScript 4.x as peerDependency to react-scripts (@sheepsteak)
- New
react-scripts: Move ESLint cache file into node_modules (@ehsankhfr)
- New
react-scripts: Improve vendor chunk names in development (@jrr)
- Fixed
react-scripts: fix(react-scripts): add missing peer dependency react and update react-refresh-webpack-plugin (@merceyz)
- Fixed
create-react-app: Fix CI tests (@ianschmitz)
- New
- New
react-scripts: Increase Workbox's maximumFileSizeToCacheInBytes (@jeffposnick)
- Fixed
react-scripts: Fix noFallthroughCasesInSwitch/jsx object is not extensible (@ryota-murakami)
- Fixed
react-scripts: Fix react-jsx error (@benneq)
- Fixed
react-scripts: fix:
React is not definedcompilation error after ejected (@n3tr) - Fixed
react-scripts: fix: slow recompile time (@FezVrasta)
- Fixed
react-dev-utils: fix: page doesn't get refreshed when FAST_REFRESH=false (@n3tr)
- New
- Breaking
Like any major release,
react-scripts@4.0.0contains a number of breaking changes. - Breaking
Node 8 reached End-of-Life at the end of 2019 and is no longer supported.
- Breaking
eslint-config-react-app, react-error-overlay, react-scripts: feat(eslint-config-react-app): Add jest & testing-library rules (@MichaelDeBoey)
- Breaking
create-react-app: feat: exit on outdated create-react-app version (@mrmckeb)
- Breaking
- New
cra-template-typescript, cra-template: Add React.StrictMode to default templates (@connkat)
- New
react-scripts: allow specification of package.main in template.json (@EvanBoyle)
- Fixed
react-scripts: Use native ESLint behaviour when extending (@mrmckeb)
- Fixed
react-scripts: Closes webpack dev server and exits process on "end" stdin (@kelseyleftwich)
- Fixed
babel-preset-react-app: Fix optional chaining and nullish coalescing support (@ianschmitz)
- Fixed
cra-template, eslint-config-react-app, react-scripts: Widen eslint-config-react-app peer dependency versions (@lukyth)
- New
185 other lines we could not sort, mostly version bumps
- 5.0.0
The default port used by
servehas changed (@leo) - 5.0.0
Update IMAGE_INLINE_SIZE_LIMIT docs (@ianschmitz)
- 5.0.0
react-dev-utils: Suggest sass instead of node-sass package (@andrewywong)
- 5.0.0
babel-preset-react-app, eslint-config-react-app: Upgrade docs http links to https (@xom9ikk)
- 5.0.0
cra-template: Trivial English fixes (@ujihisa)
- 5.0.0
create-react-app: Remove cached lockfile (@lukekarrys)
- 5.0.0
babel-plugin-named-asset-import, babel-preset-react-app, confusing-browser-globals, create-react-app, react-app-polyfill, react-dev-utils, react-error-overlay, react-scripts: Update all dependencies (@jd1048576)
- 5.0.0
react-scripts: Update package.json (@HADMARINE)
- 5.0.0
react-scripts: Remove outdated comments on react-refresh (@luk3kang)
- 5.0.0
babel-plugin-named-asset-import, confusing-browser-globals, create-react-app, eslint-config-react-app, react-dev-utils, react-error-overlay, react-scripts: Remove dependency pinning (@mrmckeb)
204 internal lines (docs, tests, tooling) left out.
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.