create-react-app
5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed
Upgrading create-react-app From 4.0.2 to 5.1.0
4 releases in betweennotes for 3
Reading releases, release notes and advisories…
- 6+
- changes to make
- 0
- advisories fixed
- 19+
- new
- 8+
- fixes
Counted from 3 of 4 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
- Deprecated5.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)
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
19 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)
10 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.