2.1.0 (October 29, 2018)
Create React App 2.1 adds support for TypeScript! Read the documentation to get started.
New applications can be created using TypeScript by running:
$ npx create-react-app my-app --typescript
🚀 New Feature
-
create-react-app
,react-scripts
-
babel-preset-react-app
,react-scripts
- #4837 TypeScript support using Babel 7 (@brunolemos)
🐛 Bug Fix
-
react-scripts
- #5611 Remove react-scripts type reference on eject. (@Timer)
- #5614 Ignore json files from TypeScript type checking. (@brunolemos)
- #5609 Remove unsupported options. (@Timer)
- #5608 Ignore test files from reported type errors. (@Timer)
- #5589 Update react-app.d.ts. (@brunolemos)
- #5557 Add typings for process.env. (@brunolemos)
- #5532 Use TypeScript parser to read tsconfig.json. (@brunolemos)
- #5527 Update Workbox dependency. (@jeffposnick)
-
react-dev-utils
,react-scripts
- #5549 Automatically setup TypeScript when detected. (@Timer)
- #5537 Respect tsconfig.json extends when validating config. (@ianschmitz)
💅 Enhancement
-
create-react-app
,react-scripts
-
react-scripts
-
react-dev-utils
,react-scripts
📝 Documentation
- Other
- #5552 Fixing Internal Links. (@ehfeng)
- #5551 Add Algolia search bar to Docusaurus. (@amyrlam)
- #5533 Simplified TypeScript steps. (@brunolemos)
- #5492 Add "edit" feature to Docusaurus pages. (@amyrlam)
- #5499 Fix title on Safari. (@yuyokk)
- #5494 Fix typo. (@noelyoo)
- #5493 Fixed typo in getting-started. (@jessepeterman)
- #5344 Add some headings to the getting started section. (@selbekk)
- #5251 Add SoMe links to documentation. (@selbekk)
-
react-scripts
🏠 Internal
-
react-scripts
- #5607 Turn on certain TypeScript options. (@Timer)
- #5559 Change import syntax from typescript declaration. (@brunolemos)
- #5469 Avoid pushing .pnp folder to git. (@NShahri)
- #5527 Update Workbox dependency. (@jeffposnick)
-
eslint-config-react-app
- #5586 Fixing the code splitting links in the ESLint output. (@jheijmans)
Committers: 15
- Amy Lam (amyrlam)
- Bruno Lemos (brunolemos)
- Eric Feng (ehfeng)
- Ian Schmitz (ianschmitz)
- Ian Sutherland (iansu)
- Iurii Kucherov (yuyokk)
- Jeffrey Posnick (jeffposnick)
- Jeroen Heijmans (jheijmans)
- Jesse Peterman (jessepeterman)
- Joe Haddad (Timer)
- Kit Thompson (thompk2)
- Kristofer Selbekk (selbekk)
- Nima Shahri (NShahri)
- Noel Yoo (noelyoo)
- Ran Yitzhaki (ranyitz)
Migrating from 2.0.5 to 2.1.0
Inside any created project that has not been ejected, run:
npm install --save --save-exact react-scripts@2.1.0
or
yarn add --exact react-scripts@2.1.0