Packages

create-react-app

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

Upgrading create-react-app From 3.4.1 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.4.1Latest5.1.0
  1. 3.4.1yours
  2. 4.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0

Release by release

  1. 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)

29 other lines we could not sort, mostly version bumps
  • Use simplified import of @testing-library/jest-dom (@Dremora)

    4.0.0
  • react-dev-utils: Update build script deployment URL (@StenAL)

    4.0.0
  • cra-template-typescript, cra-template: Updated README.md Templates to Follow ESLint Markdown Rules (@firehawk09)

    4.0.0
  • cra-template-typescript, cra-template: Upgrade testing-library packages (@gnapse)

    4.0.0
  • react-scripts: Explain how to uninstall create-react-app globally (@nickmccurdy)

    4.0.0
  • cra-template-typescript, cra-template, react-dev-utils, react-scripts: Move shortlinks to cra.link (@iansu)

    4.0.0
  • babel-preset-react-app: Include absoluteRuntime in babel preset docs (@iddan)

    4.0.0
  • Bump acorn from 6.4.0 to 6.4.1 in /docusaurus/website (@dependabot[bot])

    4.0.0
  • cra-template-typescript, cra-template: feat: Update testing-library dependencies to latest (@MichaelDeBoey)

    4.0.0
  • react-dev-utils: clean formatMessage usage (@chenxsan)

    4.0.0

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