Packages

create-react-app

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

Upgrading create-react-app From 0.4.2 to 5.1.0

53 releases in betweennotes for 38

Reading releases, release notes and advisories…

Other targets from 0.4.2Newest 0.x0.7.0
2.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
  1. 0.4.2yours
  2. 0.5.0major
  3. 0.6.0major
  4. 0.7.0major
  5. 1.0.0major
  6. 18 releases
  7. 2.0.0major
  8. 7 releases
  9. 2.1.3security
  10. 5 releases
  11. 3.0.0major
  12. 6 releases
  13. 3.3.1security
  14. 2 releases
  15. 4.0.0major
  16. 2 releases
  17. 4.0.3security
  18. 5.0.0security
  19. 1 release
  20. 5.1.0target
58+
changes to make
0
advisories fixed
250+
new
179+
fixes

Counted from 38 of 53 release notes. Advisories are counted from the advisory database, in full.

Start here

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

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

    5.0.0
  • react-dev-utils: update immer to 8.0.1 to address vulnerability (@wclem4)

    4.0.3
  • react-error-overlay, react-scripts: [Security] Update terser webpack plugin (@RDIL)

    3.3.1
  • v2.1.3 is a maintenance release to fix a vulnerability in webpack-dev-server.

    2.1.3

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)

  4. 4.0.3

    Security fix22 Feb 20211 fix
    • Security

      react-dev-utils: update immer to 8.0.1 to address vulnerability (@wclem4)

    • Fixed

      react-scripts: Upgrade eslint-webpack-plugin to fix opt-out flag (@mrmckeb)

  5. 4.0.2

    3 Feb 20215 new · 2 fixes
    • 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)

  6. 4.0.1

    23 Nov 20201 new · 5 fixes
    • 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 defined compilation 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)

  7. 4.0.0

    Migration needed23 Oct 202023 new · 16 fixes
    • Breaking

      Like any major release, react-scripts@4.0.0 contains 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)

  8. 3.4.1

    21 Mar 20202 new · 4 fixes
    • 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)

231 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

219 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.