Packages

create-react-app

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

Upgrading create-react-app From 4.0.3 to 5.1.0

3 releases in betweennotes for 2

Reading releases, release notes and advisories…

  1. 4.0.3yours
  2. 5.0.0security
  3. 5.0.1
  4. 5.1.0target
6+
changes to make
0
advisories fixed
19+
new
7+
fixes

Counted from 2 of 3 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

  • react-dev-utils: Bump immer version for fixing security issue (@shamprasadrh)

    5.0.0

Release by release

  1. 5.1.0no release note

  2. 5.0.1

    12 Apr 20223 new · 3 fixes
    • 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)

  3. 5.0.0

    Security fix14 Dec 202116 new · 4 fixes
    • 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.0 contains a number of breaking changes.

    • Breaking

      create-react-app: Use env var to detect yarn or npm as the package manager (@lukekarrys)

18 other lines we could not sort, mostly version bumps
  • The default port used by serve has 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)

    5.0.0

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.