Packages

create-react-app

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

Your version

2.1.6

6 Mar 2019Where it was published

2.1.8 is the newest release of 2.x.

In short

4 new3 fixed6 changed6 internal

Release note

v2.1.6 is a maintenance release that brings a few new improvements, most notably:

  • :rocket: Reduced TypeScript rebuild times while running the development server. This was previously introduced in v2.1.4 but had to be reverted. Thanks to @ianschmitz for getting this ready.

:bug: Bug Fix

  • react-dev-utils: Fix deploy instructions to make link clickable. (@sbimochan)

  • react-scripts: Revert CSS sourcemaps in development. (@bugzpodder)

  • react-scripts: Revert "Switch to eval-source-map (#5060)". (@ianschmitz)

:nail_care: Enhancement

  • react-dev-utils, react-scripts: Speed up TypeScript rebuild times in development. (@ianschmitz)

  • create-react-app: Only use yarn.lock.cached if using the default Yarn registry. (@hangryCat)

  • react-scripts: Add forward ref to React SVG Component. (@GasimGasimzada)

:memo: Documentation

  • babel-preset-react-app: Improve Flow and TypeScript usage docs. (@saranshkataria)

  • babel-preset-react-app, confusing-browser-globals, react-app-polyfill: Improve language used in markdown code blocks. (@cherouvim)

  • Other

  • react-dev-utils, react-scripts: Convert all bit.ly links from http to https. (@leighhalliday)

:hammer: Underlying Tools

  • react-scripts: Use contenthash instead of chunkhash for better long-term caching. (@ianschmitz)

  • Other

    • Upgrade Docusaurus and enable new features. (@yangshun)

Migrating from 2.1.5 to 2.1.6

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

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

or

yarn add --exact react-scripts@2.1.6

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.