Packages

create-react-app

5.1.0 · 15 Feb 2025MIT34.4k / weekRepositoryHomepagenpmAtom feed

Your version

5.0.1

12 Apr 2022Where it was published

5.1.0 is the newest release of 5.x.

In short

3 new3 fixed4 internal

Release note

Create React App 5.0.1 is a maintenance release that improves compatibility with React 18. We've also updated our templates to use createRoot and relaxed our check for older versions of Create React App.

Migrating from 5.0.0 to 5.0.1

Inside any created project that has not been ejected, run:

npm install --save --save-exact react-scripts@5.0.1

or

yarn add --exact react-scripts@5.0.1

:bug: Bug Fix

  • react-scripts: fix: webpack noise printed only if error or warning (@Andrew47)

  • create-react-app: Warn when not using the latest version of create-react-app but do not exit (@iansu)

  • react-dev-utils: Ensure posix compliant joins for urls in middleware (@psiservices-justin-sullard)

:nail_care: Enhancement

  • cra-template-typescript, cra-template, react-scripts: Update templates to use React 18 createRoot (@kyletsang)

  • cra-template-typescript, cra-template: chore: upgrade rtl version to support react 18 (@MatanBobi)

  • eslint-config-react-app: updated deprecated rules (@wisammechano)

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.