Packages

create-react-app

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

Your version

3.1.0

9 Aug 2019Where it was published

3.4.1 is the newest release of 3.x.

In short

3 breaking28 new8 fixed2 changed18 internal

  • Breaking

    eslint-config-react-app, react-error-overlay, react-scripts: Add ESLint 6 support (@mrmckeb)

  • Breaking

    react-scripts: Fix RegExp from navigateFallbackBlacklist (workbox) (@nuragic)

  • Breaking

    react-scripts: Update url-loader to 2.0.1 (@heyimalex)

Release note

v3.1.0 is a minor release that adds ESLint 6 support as well as experimental support for extending and customizing the ESLint config along with other minor bug fixes and documentation updates.

Highlights

  • ESLint 6

  • Experimental ESLint config customization

  • More Jest config options

  • Option to configure or disable image inlining

:rocket: New Feature

  • eslint-config-react-app, react-error-overlay, react-scripts: Add ESLint 6 support (@mrmckeb)

  • eslint-config-react-app, react-scripts: Add ESLint extend support to eslint-loader (@mrmckeb)

  • react-dev-utils: Handle browser arguments (@arvigeus)

  • react-scripts: Add environment variable to control image inlining threshold (@peterbe)

  • react-scripts: Support for graceful extension of Jest config (@jamesmfriedman)

:boom: Breaking Change

  • Breaking

    react-scripts: Fix RegExp from navigateFallbackBlacklist (workbox) (@nuragic)

  • Breaking

    react-scripts: Update url-loader to 2.0.1 (@heyimalex)

  • Breaking

    eslint-config-react-app, react-error-overlay, react-scripts: Add ESLint 6 support (@mrmckeb)

:bug: Bug Fix

  • react-dev-utils: Fix for #6720: HMR not working in Firefox if proxy option present (@dmile)

  • react-scripts: Resolve relative paths for preprocessor styles (@iamandrewluca)

  • react-scripts: Add explicit check for --watchAll=false (@mrmckeb)

  • react-scripts: Update url-loader to 2.0.1 (@heyimalex)

  • eslint-config-react-app: jsx-no-duplicate-props ignore case fix (@rommguy)

  • eslint-config-react-app: fix: eslintrc overrides key should be an array, not object (@ivan-aksamentov)

  • eslint-config-react-app: Adjust typescript-eslint to not warn about typedefs when used before defined (@vincentjames501)

  • react-error-overlay, react-scripts: Upgrade webpack to 4.35.0 to fix dynamic import issue (@iansu)

:nail_care: Enhancement

  • react-scripts: add readonly modifier for css module (@xiaoxiangmoe)

  • react-scripts: bump sass-loader (@xiaoxiangmoe)

  • react-scripts: Fix RegExp from navigateFallbackBlacklist (workbox) (@nuragic)

  • react-scripts: Support configuring coveragePathIgnorePatterns (@kentcdodds)

  • react-scripts: 100% lighthouse score for progressive web app (@dscanlan)

  • react-scripts: Set jsonpFunction by default (@sibiraj-s)

  • react-scripts: Typescript init: suggest jsx: "react" in tsconfig (@kingdaro)

  • react-scripts: Append title element to SVG component via title prop (@sudkumar)

  • react-dev-utils: Add vscodium to the editor list (@leonardodino)

  • react-dev-utils: Handle browser arguments (@arvigeus)

  • eslint-config-react-app, react-error-overlay, react-scripts: Add ESLint 6 support (@mrmckeb)

  • eslint-config-react-app: Disabled Typescript no-undef rule per typescript-eslint #477 (@andyhopp)

  • create-react-app: Fix compatibility of create-react-app to Node.js v0.10+ (@tobiasbueschel)

:memo: Documentation

  • Other

    • Adjusted deployment documentation for ZEIT Now (@leo)

    • Added dependencies to bootstrap article when using custom SCSS. (@eclectic-coding)

    • Update testing-library related npm package names in README (@balazsorban44)

    • Add question issue template (@iansu)

    • Docs: remove an outdated TypeScript-related note (@MidnightDesign)

    • proposal dynamic import are stage 4 (@gespispace)

    • docs(svg): add tip for title props accessibility (@sudkumar)

    • Update minimum Node versions in docs (@JESii)

    • Fix typo (@mvasin)

    • Docs: replace the command line to install relay/macro (@soufDev)

    • Update deprecated package reference (@bnewcomb)

    • Make the OOM abreviation more clear (@tlehtimaki)

    • Improve breaking changes info for CRA 3.0.0 (@falldowngoboone)

    • Correct spelling of browserslist (@amyrlam)

    • docs: fix env-cmd example in deployment section (@VMois)

    • Updates the relay docs (@orta)

  • eslint-config-react-app: Update README for ESLint config (@mrmckeb)

  • eslint-config-react-app: Update peer dependencies (@ThewBear)

:house: Internal

  • babel-preset-react-app: Remove unused dependencies in babel-preset-react-app (@iansu)

  • babel-preset-react-app: Use correct babel transform for dynamic import in dependencies (@jamesknelson)

  • react-scripts: Add explicit check for --watchAll=false (@mrmckeb)

  • react-scripts: Upgrade svgr to 4.2.0 (@iansu)

  • Other

    • Attempt at fixing CI issue on windows (@heyimalex)

    • Update issue templates (@mrmckeb)

    • Disable Travis build (@ianschmitz)

    • Add Azure DevOps build pipeline (@ianschmitz)

    • Add test to make sure .d.ts files are ignored when checking for TypeScript (@iansu)

:hammer: Underlying Tools

  • 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: Bump dependencies (@ianschmitz)

  • eslint-config-react-app, react-error-overlay, react-scripts: Add ESLint 6 support (@mrmckeb)

  • eslint-config-react-app, react-scripts: Add ESLint extend support to eslint-loader (@mrmckeb)

  • react-scripts: Append title element to SVG component via title prop (@sudkumar)

  • react-scripts: Update @typescript-eslint package versions (@ianschmitz)

  • react-scripts: Update fsevents dependency version (@eps1lon)

  • react-dev-utils: fix: Replaced opn (deprecated) with open (@jamesgeorge007)

Migrating from 3.0.1 to 3.1.0

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

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

or

yarn add --exact react-scripts@3.1.0

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.