Open renovate[bot] opened 5 years ago
Merging #71 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #71 +/- ##
=======================================
Coverage 93.75% 93.75%
=======================================
Files 1 1
Lines 16 16
=======================================
Hits 15 15
Misses 1 1
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f06afc5...2d771b5. Read the comment docs.
This PR contains the following updates:
1.0.17
->2.1.8
Release Notes
facebook/create-react-app
### [`v2.1.8`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#218-March-7-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.7...v2.1.8) v2.1.8 is a maintenance release that reapplies the TypeScript speed improvements ([#6406](https://togithub.com/facebook/create-react-app/pull/6406)) in a new major version of `react-dev-utils`. ##### Migrating from 2.1.7 to 2.1.8 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.8 ``` or ```sh yarn add --exact react-scripts@2.1.8 ``` ### [`v2.1.7`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#217-March-7-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.6...v2.1.7) v2.1.7 is a maintenance release that temporarily reverts the TypeScript speed improvements ([#6406](https://togithub.com/facebook/create-react-app/pull/6406)) to fix a dependency issue in `react-dev-utils`. ##### Migrating from 2.1.6 to 2.1.7 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.7 ``` or ```sh yarn add --exact react-scripts@2.1.7 ``` ### [`v2.1.6`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#216-March-6-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.5...v2.1.6) 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](https://togithub.com/ianschmitz) for getting this ready. ##### :bug: Bug Fix - `react-dev-utils` - [#6511](https://togithub.com/facebook/create-react-app/pull/6511) Fix deploy instructions to make link clickable. ([@sbimochan](https://togithub.com/sbimochan)) - `react-scripts` - [#6472](https://togithub.com/facebook/create-react-app/pull/6472) Revert CSS sourcemaps in development. ([@bugzpodder](https://togithub.com/bugzpodder)) - [#6444](https://togithub.com/facebook/create-react-app/pull/6444) Revert "Switch to eval-source-map ([#5060](https://togithub.com/facebook/create-react-app/issues/5060))". ([@ianschmitz](https://togithub.com/ianschmitz)) ##### :nail_care: Enhancement - `react-dev-utils`, `react-scripts` - [#6406](https://togithub.com/facebook/create-react-app/pull/6406) Speed up TypeScript rebuild times in development. ([@ianschmitz](https://togithub.com/ianschmitz)) - `create-react-app` - [#6253](https://togithub.com/facebook/create-react-app/pull/6253) Only use `yarn.lock.cached` if using the default Yarn registry. ([@hangryCat](https://togithub.com/hangryCat)) - `react-scripts` - [#5457](https://togithub.com/facebook/create-react-app/pull/5457) Add forward ref to React SVG Component. ([@GasimGasimzada](https://togithub.com/GasimGasimzada)) ##### :memo: Documentation - `babel-preset-react-app` - [#6254](https://togithub.com/facebook/create-react-app/pull/6254) Improve Flow and TypeScript usage docs. ([@saranshkataria](https://togithub.com/saranshkataria)) - `babel-preset-react-app`, `confusing-browser-globals`, `react-app-polyfill` - [#6419](https://togithub.com/facebook/create-react-app/pull/6419) Improve language used in markdown code blocks. ([@cherouvim](https://togithub.com/cherouvim)) - `create-react-app` - [#6481](https://togithub.com/facebook/create-react-app/pull/6481) Fix typo. ([@adyouri](https://togithub.com/adyouri)) - `react-dev-utils` - [#6482](https://togithub.com/facebook/create-react-app/pull/6482) Fix typo. ([@mattfwood](https://togithub.com/mattfwood)) - Other - [#6438](https://togithub.com/facebook/create-react-app/pull/6438) Update `source-map-explorer` docs to analyze all chunks. ([@Kamahl19](https://togithub.com/Kamahl19)) - [#6454](https://togithub.com/facebook/create-react-app/pull/6454) Fix typo. ([@DenrizSusam](https://togithub.com/DenrizSusam)) - [#5767](https://togithub.com/facebook/create-react-app/pull/5767) Add information about using custom registries in e2e testing [#4488](https://togithub.com/facebook/create-react-app/issues/4488). ([@juanpicado](https://togithub.com/juanpicado)) - `react-dev-utils`, `react-scripts` - [#6239](https://togithub.com/facebook/create-react-app/pull/6239) Convert all bit.ly links from http to https. ([@leighhalliday](https://togithub.com/leighhalliday)) ##### :house: Internal - [#6493](https://togithub.com/facebook/create-react-app/pull/6493) Remove AppVeyor config files. ([@iansu](https://togithub.com/iansu)) - [#6474](https://togithub.com/facebook/create-react-app/pull/6474) Remove latest Node version from Travis config. ([@iansu](https://togithub.com/iansu)) ##### :hammer: Underlying Tools - `react-scripts` - [#6387](https://togithub.com/facebook/create-react-app/pull/6387) Use contenthash instead of chunkhash for better long-term caching. ([@ianschmitz](https://togithub.com/ianschmitz)) - Other - [#6365](https://togithub.com/facebook/create-react-app/pull/6365) Upgrade Docusaurus and enable new features. ([@yangshun](https://togithub.com/yangshun)) ##### Committers: 15 - Abdelhadi Dyouri ([adyouri](https://togithub.com/adyouri)) - Bimochan Shrestha ([sbimochan](https://togithub.com/sbimochan)) - Deniz Susman ([DenrizSusam](https://togithub.com/DenrizSusam)) - Gasim Gasimzada ([GasimGasimzada](https://togithub.com/GasimGasimzada)) - Ian Schmitz ([ianschmitz](https://togithub.com/ianschmitz)) - Ian Sutherland ([iansu](https://togithub.com/iansu)) - Ioannis Cherouvim ([cherouvim](https://togithub.com/cherouvim)) - Jack Zhao ([bugzpodder](https://togithub.com/bugzpodder)) - Juan Picado [@jotadeveloper](https://togithub.com/jotadeveloper) ([juanpicado](https://togithub.com/juanpicado)) - Leigh Halliday ([leighhalliday](https://togithub.com/leighhalliday)) - Martin Litvaj ([Kamahl19](https://togithub.com/Kamahl19)) - Matt Wood ([mattfwood](https://togithub.com/mattfwood)) - Meo H. ([hangryCat](https://togithub.com/hangryCat)) - Saransh Kataria ([saranshkataria](https://togithub.com/saranshkataria)) - Yangshun Tay ([yangshun](https://togithub.com/yangshun)) ##### Migrating from 2.1.5 to 2.1.6 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.6 ``` or ```sh yarn add --exact react-scripts@2.1.6 ``` ### [`v2.1.5`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#215-February-11-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.4...v2.1.5) v2.1.5 is a maintenance release that reverts the TypeScript speed improvements ([#5903](https://togithub.com/facebook/create-react-app/pull/5903)) to fix a dependency issue in `react-dev-utils`. ##### Migrating from 2.1.4 to 2.1.5 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.5 ``` or ```sh yarn add --exact react-scripts@2.1.5 ``` ### [`v2.1.4`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#214-February-10-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.3...v2.1.4) v2.1.4 is a maintenance release that brings a number of awesome improvements. A few notable ones include: - :rocket: Reduced TypeScript rebuild times while running the development server. TypeScript is now blazing fast! Special thanks to [@deftomat](https://togithub.com/deftomat) and [@johnnyreilly](https://togithub.com/johnnyreilly) and the other contributors for their hard work on this. ([#5903](https://togithub.com/facebook/create-react-app/pull/5903)) - Jest [type ahead support](https://togithub.com/jest-community/jest-watch-typeahead) which provides a much nicer experience when filtering your tests using the Jest CLI ([#5213](https://togithub.com/facebook/create-react-app/pull/5213)) - And many more improvements! ##### :bug: Bug Fix - `react-scripts` - [#6364](https://togithub.com/facebook/create-react-app/pull/6364) Use semicolons in the ProcessEnv interface. ([@DominikPalo](https://togithub.com/DominikPalo)) - [#6276](https://togithub.com/facebook/create-react-app/pull/6276) Prevent cursor events on app-logo svg. ([@kostadriano](https://togithub.com/kostadriano)) ##### :nail_care: Enhancement - `react-scripts` - [#5213](https://togithub.com/facebook/create-react-app/pull/5213) Add Jest typeahead plugin. ([@gaearon](https://togithub.com/gaearon)) - [#5713](https://togithub.com/facebook/create-react-app/pull/5713) Sass source map for dev. ([@zhuoli99](https://togithub.com/zhuoli99)) - [#6285](https://togithub.com/facebook/create-react-app/pull/6285) Allow react-scripts test --no-watch. ([@ricokahler](https://togithub.com/ricokahler)) - [#5060](https://togithub.com/facebook/create-react-app/pull/5060) Enable eval-source-map for firefox. ([@jasonLaster](https://togithub.com/jasonLaster)) - `react-dev-utils`, `react-scripts` - [#5903](https://togithub.com/facebook/create-react-app/pull/5903) Speed up TypeScript projects. ([@deftomat](https://togithub.com/deftomat)) ##### :memo: Documentation - Other - [#6383](https://togithub.com/facebook/create-react-app/pull/6383) Update docs links to prefer HTTPS for supported domains. ([@ianschmitz](https://togithub.com/ianschmitz)) - [#6062](https://togithub.com/facebook/create-react-app/pull/6062) [docs] Warn/clarify that env vars are NOT "SECRET". ([@JBallin](https://togithub.com/JBallin)) - [#6359](https://togithub.com/facebook/create-react-app/pull/6359) Update ZEIT Now deployment instructions. ([@timothyis](https://togithub.com/timothyis)) - [#6346](https://togithub.com/facebook/create-react-app/pull/6346) Minor issue in README.md. ([@nathanlschneider](https://togithub.com/nathanlschneider)) - [#6331](https://togithub.com/facebook/create-react-app/pull/6331) Update docs to document `--no-watch`. ([@ricokahler](https://togithub.com/ricokahler)) - [#6229](https://togithub.com/facebook/create-react-app/pull/6229) Update `serve` port flag and add example. ([@lyzhovnik](https://togithub.com/lyzhovnik)) - [#6190](https://togithub.com/facebook/create-react-app/pull/6190) Updating updating-to-new-releases.md for users who installed CRA globally. ([@carpben](https://togithub.com/carpben)) - [#6095](https://togithub.com/facebook/create-react-app/pull/6095) Changes to steps for publishing GitHub User Page. ([@StevenTan](https://togithub.com/StevenTan)) - [#6157](https://togithub.com/facebook/create-react-app/pull/6157) Add note for global install of CLI. ([@ianschmitz](https://togithub.com/ianschmitz)) - [#6149](https://togithub.com/facebook/create-react-app/pull/6149) update link for difference between proposal stages. ([@loveky](https://togithub.com/loveky)) - [#6141](https://togithub.com/facebook/create-react-app/pull/6141) Remove extra table cell. ([@yangshun](https://togithub.com/yangshun)) - `react-scripts` - [#6355](https://togithub.com/facebook/create-react-app/pull/6355) Make manifest.json description more generic. ([@chrisself](https://togithub.com/chrisself)) ##### :house: Internal - Other - [#6050](https://togithub.com/facebook/create-react-app/pull/6050) Fix e2e:docker failure with "access denied". ([@jamesknelson](https://togithub.com/jamesknelson)) - [#6179](https://togithub.com/facebook/create-react-app/pull/6179) Update local-test.sh to return test exit code. ([@dallonf](https://togithub.com/dallonf)) - [#6165](https://togithub.com/facebook/create-react-app/pull/6165) Fix CI builds. ([@ianschmitz](https://togithub.com/ianschmitz)) - `react-scripts` - [#5798](https://togithub.com/facebook/create-react-app/pull/5798) Added `module` to ignored node modules list. ([@dotansimha](https://togithub.com/dotansimha)) - [#6022](https://togithub.com/facebook/create-react-app/pull/6022) TypeScript detection filtering 'node_modules'.. ([@holloway](https://togithub.com/holloway)) - `react-dev-utils`, `react-scripts` - [#6150](https://togithub.com/facebook/create-react-app/pull/6150) dependencies: move chalk to react-dev-utils. ([@otaviopace](https://togithub.com/otaviopace)) - `babel-plugin-named-asset-import`, `react-scripts` - [#5816](https://togithub.com/facebook/create-react-app/pull/5816) Upgrade [@svgr/webpack](https://togithub.com/svgr/webpack) to 4.1.0. ([@alaycock](https://togithub.com/alaycock)) - `react-dev-utils` - [#6162](https://togithub.com/facebook/create-react-app/pull/6162) Update react-dev-util globby dependency to v8.0.2. ([@davidlukerice](https://togithub.com/davidlukerice)) - `babel-preset-react-app`, `react-app-polyfill`, `react-dev-utils`, `react-error-overlay`, `react-scripts` - [#6137](https://togithub.com/facebook/create-react-app/pull/6137) Fix CI and upgrade dependencies. ([@Timer](https://togithub.com/Timer)) ##### :hammer: Underlying Tools - `babel-preset-react-app`, `react-app-polyfill`, `react-dev-utils`, `react-scripts` - [#6393](https://togithub.com/facebook/create-react-app/pull/6393) Upgrade dependencies. ([@ianschmitz](https://togithub.com/ianschmitz)) - `babel-preset-react-app` - [#6307](https://togithub.com/facebook/create-react-app/pull/6307) Update babel-plugin-macros 2.4.4 -> 2.4.5. ([@maniax89](https://togithub.com/maniax89)) - `eslint-config-react-app`, `react-scripts` - [#6132](https://togithub.com/facebook/create-react-app/pull/6132) Bump eslint-plugin-react version and update webpack config. ([@ianschmitz](https://togithub.com/ianschmitz)) ##### Committers: 29 - Adam Laycock ([alaycock](https://togithub.com/alaycock)) - Adriano Costa ([kostadriano](https://togithub.com/kostadriano)) - Andrew Turgeon ([maniax89](https://togithub.com/maniax89)) - Ben Carp ([carpben](https://togithub.com/carpben)) - Charles Pritchard ([Downchuck](https://togithub.com/Downchuck)) - Chris Self ([chrisself](https://togithub.com/chrisself)) - Dallon Feldner ([dallonf](https://togithub.com/dallonf)) - Dan Abramov ([gaearon](https://togithub.com/gaearon)) - David Rice ([davidlukerice](https://togithub.com/davidlukerice)) - Dominik Palo ([DominikPalo](https://togithub.com/DominikPalo)) - Dotan Simha ([dotansimha](https://togithub.com/dotansimha)) - Ian Schmitz ([ianschmitz](https://togithub.com/ianschmitz)) - JBallin ([JBallin](https://togithub.com/JBallin)) - James George ([jamesgeorge007](https://togithub.com/jamesgeorge007)) - James K Nelson ([jamesknelson](https://togithub.com/jamesknelson)) - Jason Laster ([jasonLaster](https://togithub.com/jasonLaster)) - Joe Haddad ([Timer](https://togithub.com/Timer)) - Matthew Holloway ([holloway](https://togithub.com/holloway)) - Nathan Schneider ([nathanlschneider](https://togithub.com/nathanlschneider)) - Nikita Lyzhov ([lyzhovnik](https://togithub.com/lyzhovnik)) - Otávio Pace ([otaviopace](https://togithub.com/otaviopace)) - Rico Kahler ([ricokahler](https://togithub.com/ricokahler)) - Steven Tan ([StevenTan](https://togithub.com/StevenTan)) - Timothy ([timothyis](https://togithub.com/timothyis)) - Tomáš Szabo ([deftomat](https://togithub.com/deftomat)) - Yangshun Tay ([yangshun](https://togithub.com/yangshun)) - [gottfired](https://togithub.com/gottfired) - [zhuoli99](https://togithub.com/zhuoli99) - loveky ([loveky](https://togithub.com/loveky)) ##### Migrating from 2.1.3 to 2.1.4 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.4 ``` or ```sh yarn add --exact react-scripts@2.1.4 ``` ### [`v2.1.3`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#213-January-4-2019) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.2...v2.1.3) v2.1.3 is a maintenance release to fix a [vulnerability in webpack-dev-server](https://www.npmjs.com/advisories/725). ##### :memo: Documentation - Other - [#6067](https://togithub.com/facebook/create-react-app/pull/6067) Correct an error for documentation. ([@hardo](https://togithub.com/hardo)) - [#6110](https://togithub.com/facebook/create-react-app/pull/6110) Replace deprecated VSCode launch.json variable. ([@raiskila](https://togithub.com/raiskila)) - [#5631](https://togithub.com/facebook/create-react-app/pull/5631) Generalize the adding bootstrap documentation. ([@jquense](https://togithub.com/jquense)) - [#6084](https://togithub.com/facebook/create-react-app/pull/6084) Remove outdated docs for setting up eslint in editor. ([@LukasWerfel](https://togithub.com/LukasWerfel)) - [#6061](https://togithub.com/facebook/create-react-app/pull/6061) Fix control comment of CSS Grid prefixing. ([@denexapp](https://togithub.com/denexapp)) - `react-scripts` - [#6036](https://togithub.com/facebook/create-react-app/pull/6036) Fix comment typo. ([@shawtung](https://togithub.com/shawtung)) ##### :house: Internal - `create-react-app`, `react-error-overlay` - [#6104](https://togithub.com/facebook/create-react-app/pull/6104) Typo fixes. ([@prashant-andani](https://togithub.com/prashant-andani)) ##### :hammer: Underlying Tools - `react-scripts` - [#6064](https://togithub.com/facebook/create-react-app/pull/6064) Update webpack-dev-server 3.1.9 -> 3.1.14. ([@Friss](https://togithub.com/Friss)) ##### Committers: 8 - Denis Mukhametov ([denexapp](https://togithub.com/denexapp)) - Hardo ([hardo](https://togithub.com/hardo)) - Janne Raiskila ([raiskila](https://togithub.com/raiskila)) - Jason Quense ([jquense](https://togithub.com/jquense)) - Lukas Werfel ([LukasWerfel](https://togithub.com/LukasWerfel)) - Prashant Andani ([prashant-andani](https://togithub.com/prashant-andani)) - Zachary Friss ([Friss](https://togithub.com/Friss)) - [shawtung](https://togithub.com/shawtung) ##### Migrating from 2.1.2 to 2.1.3 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.3 ``` or ```sh yarn add --exact react-scripts@2.1.3 ``` ### [`v2.1.2`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#212-December-23-2018) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.1...v2.1.2) v2.1.2 is a maintenance release including various bug fixes. ##### :rocket: New Feature - `babel-preset-react-app` - [#5487](https://togithub.com/facebook/create-react-app/pull/5487) Add `allowESModules` option to `babel-preset-react-app` ([@Pajn](https://togithub.com/Pajn)) ##### :bug: Bug Fix - `create-react-app` - [#5905](https://togithub.com/facebook/create-react-app/pull/5905) Disable copy to clipboard in `create-react-app --info` ([@heyimalex](https://togithub.com/heyimalex)) - [#5685](https://togithub.com/facebook/create-react-app/pull/5685) Update envinfo to `5.11.1` ([@tabrindle](https://togithub.com/tabrindle)) - `babel-preset-react-app` - [#5783](https://togithub.com/facebook/create-react-app/pull/5783) Fix TypeScript decorator support ([@ianschmitz](https://togithub.com/ianschmitz)) - `babel-plugin-named-asset-import` - [#5573](https://togithub.com/facebook/create-react-app/pull/5573) Fix named-asset-import plugin to work with export-as syntax ([@NShahri](https://togithub.com/NShahri)) - `react-app-polyfill` - [#5789](https://togithub.com/facebook/create-react-app/pull/5789) Don't polyfill fetch for Node ([@gshilin](https://togithub.com/gshilin)) - `react-scripts` - [#5721](https://togithub.com/facebook/create-react-app/pull/5721) Version bump `postcss-preset-env` to latest ([@BPScott](https://togithub.com/BPScott)) - [#5701](https://togithub.com/facebook/create-react-app/pull/5701) Fix `tsconfig.json` lib suggested value ([@ianschmitz](https://togithub.com/ianschmitz)) ##### :nail_care: Enhancement - `react-scripts` - [#5698](https://togithub.com/facebook/create-react-app/pull/5698) Add support for `setupTests.ts` ([@ianschmitz](https://togithub.com/ianschmitz)) ##### :memo: Documentation - Other - [#6009](https://togithub.com/facebook/create-react-app/pull/6009) Correct markdown to avoid comment. ([@souzasmatheus](https://togithub.com/souzasmatheus)) - [#6015](https://togithub.com/facebook/create-react-app/pull/6015) Add example command to create typed project. ([@mbelsky](https://togithub.com/mbelsky)) - [#6000](https://togithub.com/facebook/create-react-app/pull/6000) Make links to docs consistent in README. ([@iansu](https://togithub.com/iansu)) - [#5900](https://togithub.com/facebook/create-react-app/pull/5900) Add production build section to docs. ([@ianschmitz](https://togithub.com/ianschmitz)) - [#5985](https://togithub.com/facebook/create-react-app/pull/5985) Use https for linked images to fix mixed content warnings. ([@iansu](https://togithub.com/iansu)) - [#5919](https://togithub.com/facebook/create-react-app/pull/5919) Docs: update localStorage mock in “Running Tests”. ([@phacks](https://togithub.com/phacks)) - [#5917](https://togithub.com/facebook/create-react-app/pull/5917) Add SASS_PATH instructions to Sass stylesheet docs. ([@jayantbh](https://togithub.com/jayantbh)) - [#5823](https://togithub.com/facebook/create-react-app/pull/5823) Add default values to `file_ext` note. ([@alaycock](https://togithub.com/alaycock)) - [#5907](https://togithub.com/facebook/create-react-app/pull/5907) Update README.md with updated link about PWAs. ([@wuweiweiwu](https://togithub.com/wuweiweiwu)) - [#5858](https://togithub.com/facebook/create-react-app/pull/5858) Some Grammar fixes. ([@nikhilknoldus](https://togithub.com/nikhilknoldus)) - [#5883](https://togithub.com/facebook/create-react-app/pull/5883) Fix link to page about running tests. ([@wsmoak](https://togithub.com/wsmoak)) - [#5849](https://togithub.com/facebook/create-react-app/pull/5849) React native repository updated in `README.md`. ([@pavinthan](https://togithub.com/pavinthan)) - [#5806](https://togithub.com/facebook/create-react-app/pull/5806) Rename 'getting started' link to 'docs'. ([@kulek1](https://togithub.com/kulek1)) - [#5788](https://togithub.com/facebook/create-react-app/pull/5788) docs: Simplify installing Storybook with `npx` ([@sagirk](https://togithub.com/sagirk)) - [#5779](https://togithub.com/facebook/create-react-app/pull/5779) docs: Change story book command to `sb init` ([@andys8](https://togithub.com/andys8)) - [#5759](https://togithub.com/facebook/create-react-app/pull/5759) Add PR welcoming badge ([@open-source-explorer](https://togithub.com/open-source-explorer)) - [#5730](https://togithub.com/facebook/create-react-app/pull/5730) Suggest Encore when not building a SPA with Symfony ([@dunglas](https://togithub.com/dunglas)) - [#5710](https://togithub.com/facebook/create-react-app/pull/5710) Updated the link to firebase hosting ([@githubsaturn](https://togithub.com/githubsaturn)) - [#5704](https://togithub.com/facebook/create-react-app/pull/5704) Fixed link to manifest.json file ([@m4jing](https://togithub.com/m4jing)) - [#5670](https://togithub.com/facebook/create-react-app/pull/5670) Fix public folder documentation link ([@makovkastar](https://togithub.com/makovkastar)) - `eslint-config-react-app` - [#5990](https://togithub.com/facebook/create-react-app/pull/5990) Updated docs for `.eslintrc` ([@ManoelLobo](https://togithub.com/ManoelLobo)) - `babel-preset-react-app`, `create-react-app`, `eslint-config-react-app`, `react-dev-utils`, `react-scripts` - [#5912](https://togithub.com/facebook/create-react-app/pull/5912) Update links to docs in all package README files ([@iansu](https://togithub.com/iansu)) - `react-scripts` - [#5974](https://togithub.com/facebook/create-react-app/pull/5974) Improve advice in `verifyPackageTree.js` ([@sjalgeo](https://togithub.com/sjalgeo)) - [#5954](https://togithub.com/facebook/create-react-app/pull/5954) Add pre-eject message about new features in v2 ([@iansu](https://togithub.com/iansu)) - [#5808](https://togithub.com/facebook/create-react-app/pull/5808) Add placeholders to template README for bit.ly links ([@iansu](https://togithub.com/iansu)) - `react-app-polyfill` - [#5814](https://togithub.com/facebook/create-react-app/pull/5814) Note that extra polyfills must be included manually ([@ajwann](https://togithub.com/ajwann)) - `babel-preset-react-app`, `eslint-config-react-app`, `react-error-overlay`, `react-scripts` - [#5727](https://togithub.com/facebook/create-react-app/pull/5727) Fix typo ([@noelyoo](https://togithub.com/noelyoo)) ##### :house: Internal - `react-scripts` - [#5978](https://togithub.com/facebook/create-react-app/pull/5978) Add `webp` support for TypeScript. ([@dugagjin](https://togithub.com/dugagjin)) - [#5959](https://togithub.com/facebook/create-react-app/pull/5959) Suggest a different default for speed reasons. ([@Timer](https://togithub.com/Timer)) - [#5839](https://togithub.com/facebook/create-react-app/pull/5839) Run prettier on HTML files. ([@sibiraj-s](https://togithub.com/sibiraj-s)) - [#5722](https://togithub.com/facebook/create-react-app/pull/5722) Merge webpack configuration. ([@Timer](https://togithub.com/Timer)) - [#5694](https://togithub.com/facebook/create-react-app/pull/5694) Add permissive TS lib defaults. ([@Timer](https://togithub.com/Timer)) - Other - [#5988](https://togithub.com/facebook/create-react-app/pull/5988) Added extension to `.eslintrc` ([@ManoelLobo](https://togithub.com/ManoelLobo)) - [#5546](https://togithub.com/facebook/create-react-app/pull/5546) Add the latest stable node version. ([@noelyoo](https://togithub.com/noelyoo)) - `react-dev-utils` - [#5927](https://togithub.com/facebook/create-react-app/pull/5927) Correct some comments. ([@mjackson](https://togithub.com/mjackson)) - [#5879](https://togithub.com/facebook/create-react-app/pull/5879) fix: make typescriptformatter support 0.5 of fork checker. ([@SimenB](https://togithub.com/SimenB)) - `react-error-overlay` - [#5451](https://togithub.com/facebook/create-react-app/pull/5451) fix: add `sideEffects: false` to react-error-overlay. ([@SimenB](https://togithub.com/SimenB)) - `babel-preset-react-app` - [#5487](https://togithub.com/facebook/create-react-app/pull/5487) Add allowESModules option to babel-preset-react-app. ([@Pajn](https://togithub.com/Pajn)) - `create-react-app` - [#4605](https://togithub.com/facebook/create-react-app/pull/4605) ignore intellij module files when generating an app. ([@denofevil](https://togithub.com/denofevil)) ##### Committers: 36 - \\<Explorer /> ([open-source-explorer](https://togithub.com/open-source-explorer)) - Adam Laycock ([alaycock](https://togithub.com/alaycock)) - Adam Wanninger ([ajwann](https://togithub.com/ajwann)) - Alex Guerra ([heyimalex](https://togithub.com/heyimalex)) - Andy ([andys8](https://togithub.com/andys8)) - Ben Scott ([BPScott](https://togithub.com/BPScott)) - Dennis Ushakov ([denofevil](https://togithub.com/denofevil)) - Dugagjin Lashi ([dugagjin](https://togithub.com/dugagjin)) - Gregory Shilin ([gshilin](https://togithub.com/gshilin)) - Ian Schmitz ([ianschmitz](https://togithub.com/ianschmitz)) - Ian Sutherland ([iansu](https://togithub.com/iansu)) - Jayant Bhawal ([jayantbh](https://togithub.com/jayantbh)) - Jing Ma ([m4jing](https://togithub.com/m4jing)) - Joe Haddad ([Timer](https://togithub.com/Timer)) - Kasra Bigdeli ([githubsaturn](https://togithub.com/githubsaturn)) - Kévin Dunglas ([dunglas](https://togithub.com/dunglas)) - Manoel ([ManoelLobo](https://togithub.com/ManoelLobo)) - Matheus Souza ([souzasmatheus](https://togithub.com/souzasmatheus)) - Max Belsky ([mbelsky](https://togithub.com/mbelsky)) - Michael Jackson ([mjackson](https://togithub.com/mjackson)) - Nicolas Goutay ([phacks](https://togithub.com/phacks)) - Nikhil ([nikhilknoldus](https://togithub.com/nikhilknoldus)) - Nima Shahri ([NShahri](https://togithub.com/NShahri)) - Noel Yoo ([noelyoo](https://togithub.com/noelyoo)) - Oleksandr Melnykov ([makovkastar](https://togithub.com/makovkastar)) - Pavinthan ([pavinthan](https://togithub.com/pavinthan)) - Rasmus Eneman ([Pajn](https://togithub.com/Pajn)) - Sagir Khan ([sagirk](https://togithub.com/sagirk)) - Sibiraj ([sibiraj-s](https://togithub.com/sibiraj-s)) - Simen Bekkhus ([SimenB](https://togithub.com/SimenB)) - Stephen Algeo ([sjalgeo](https://togithub.com/sjalgeo)) - Trevor Brindle ([tabrindle](https://togithub.com/tabrindle)) - Wei-Wei Wu ([wuweiweiwu](https://togithub.com/wuweiweiwu)) - Wendy Smoak ([wsmoak](https://togithub.com/wsmoak)) - [kulek1](https://togithub.com/kulek1) - swyx ([sw-yx](https://togithub.com/sw-yx)) ##### Migrating from 2.1.1 to 2.1.2 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.2 ``` or ```sh yarn add --exact react-scripts@2.1.2 ``` ### [`v2.1.1`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#211-October-31-2018) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.1.0...v2.1.1) Happy Halloween 🎃 👻! This spooky release brings a treat: decorator support in TypeScript files! ##### :bug: Bug Fix - `babel-preset-react-app` - [#5659](https://togithub.com/facebook/create-react-app/pull/5659) Add support for decorators. ([@Timer](https://togithub.com/Timer)) - `react-scripts` - [#5621](https://togithub.com/facebook/create-react-app/pull/5621) fix 'Duplicate string index signature' in ProcessEnv. ([@xiaoxiangmoe](https://togithub.com/xiaoxiangmoe)) ##### :nail_care: Enhancement - `babel-preset-react-app` - [#5659](https://togithub.com/facebook/create-react-app/pull/5659) Add support for decorators. ([@Timer](https://togithub.com/Timer)) ##### :memo: Documentation - [#5658](https://togithub.com/facebook/create-react-app/pull/5658) Update making-a-progressive-web-app.md. ([@jakeboone02](https://togithub.com/jakeboone02)) - [#5635](https://togithub.com/facebook/create-react-app/pull/5635) Update minimum node version to 8.10 in README. ([@iansu](https://togithub.com/iansu)) - [#5629](https://togithub.com/facebook/create-react-app/pull/5629) Add link to cra-ts migration guide. ([@Vinnl](https://togithub.com/Vinnl)) ##### :house: Internal - `react-error-overlay` - [#4709](https://togithub.com/facebook/create-react-app/pull/4709) Expose `reportRuntimeError`. ([@hipstersmoothie](https://togithub.com/hipstersmoothie)) - `babel-plugin-named-asset-import` - [#5575](https://togithub.com/facebook/create-react-app/pull/5575) add tests for named-asset-imports plugin. ([@NShahri](https://togithub.com/NShahri)) - `react-scripts` - [#5651](https://togithub.com/facebook/create-react-app/pull/5651) Make serviceWorker config argument optional in typescript. ([@eddedd88](https://togithub.com/eddedd88)) ##### Committers: 8 - Andrew Lisowski ([hipstersmoothie](https://togithub.com/hipstersmoothie)) - Eduardo Duran ([eddedd88](https://togithub.com/eddedd88)) - Ian Sutherland ([iansu](https://togithub.com/iansu)) - Jake Boone ([jakeboone02](https://togithub.com/jakeboone02)) - Joe Haddad ([Timer](https://togithub.com/Timer)) - Nima Shahri ([NShahri](https://togithub.com/NShahri)) - Vincent ([Vinnl](https://togithub.com/Vinnl)) - ZHAO Jinxiang ([xiaoxiangmoe](https://togithub.com/xiaoxiangmoe)) ##### Migrating from 2.1.0 to 2.1.1 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.1 ``` or ```sh yarn add --exact react-scripts@2.1.1 ``` ### [`v2.1.0`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#210-October-29-2018) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.0.5...v2.1.0) Create React App 2.1 adds support for TypeScript! Read [the documentation](https://facebook.github.io/create-react-app/docs/adding-typescript) to get started. New applications can be created using TypeScript by running: ```sh $ npx create-react-app my-app --typescript ``` ##### :rocket: New Feature - `create-react-app`, `react-scripts` - [#5550](https://togithub.com/facebook/create-react-app/pull/5550) Add TypeScript app creation ([@Timer](https://togithub.com/Timer)) - `babel-preset-react-app`, `react-scripts` - [#4837](https://togithub.com/facebook/create-react-app/pull/4837) TypeScript support using Babel 7 ([@brunolemos](https://togithub.com/brunolemos)) ##### :bug: Bug Fix - `react-scripts` - [#5611](https://togithub.com/facebook/create-react-app/pull/5611) Remove react-scripts type reference on eject. ([@Timer](https://togithub.com/Timer)) - [#5614](https://togithub.com/facebook/create-react-app/pull/5614) Ignore json files from TypeScript type checking. ([@brunolemos](https://togithub.com/brunolemos)) - [#5609](https://togithub.com/facebook/create-react-app/pull/5609) Remove unsupported options. ([@Timer](https://togithub.com/Timer)) - [#5608](https://togithub.com/facebook/create-react-app/pull/5608) Ignore test files from reported type errors. ([@Timer](https://togithub.com/Timer)) - [#5589](https://togithub.com/facebook/create-react-app/pull/5589) Update react-app.d.ts. ([@brunolemos](https://togithub.com/brunolemos)) - [#5557](https://togithub.com/facebook/create-react-app/pull/5557) Add typings for process.env. ([@brunolemos](https://togithub.com/brunolemos)) - [#5532](https://togithub.com/facebook/create-react-app/pull/5532) Use TypeScript parser to read tsconfig.json. ([@brunolemos](https://togithub.com/brunolemos)) - [#5527](https://togithub.com/facebook/create-react-app/pull/5527) Update Workbox dependency. ([@jeffposnick](https://togithub.com/jeffposnick)) - `react-dev-utils`, `react-scripts` - [#5549](https://togithub.com/facebook/create-react-app/pull/5549) Automatically setup TypeScript when detected. ([@Timer](https://togithub.com/Timer)) - [#5537](https://togithub.com/facebook/create-react-app/pull/5537) Respect tsconfig.json extends when validating config. ([@ianschmitz](https://togithub.com/ianschmitz)) ##### :nail_care: Enhancement - `create-react-app`, `react-scripts` - [#5593](https://togithub.com/facebook/create-react-app/pull/5593) Refine how TypeScript types are handled. ([@Timer](https://togithub.com/Timer)) - `react-scripts` - [#5531](https://togithub.com/facebook/create-react-app/pull/5531) Enable TypeScript json module resolver. ([@brunolemos](https://togithub.com/brunolemos)) - [#5524](https://togithub.com/facebook/create-react-app/pull/5524) Validate tsconfig when using TypeScript. ([@Timer](https://togithub.com/Timer)) - [#5516](https://togithub.com/facebook/create-react-app/pull/5516) Check for TypeScript install in preflight. ([@Timer](https://togithub.com/Timer)) - [#5515](https://togithub.com/facebook/create-react-app/pull/5515) Always type check TypeScript when being used. ([@Timer](https://togithub.com/Timer)) - `react-dev-utils`, `react-scripts` - [#5529](https://togithub.com/facebook/create-react-app/pull/5529) Add TypeScript error formatting. ([@Timer](https://togithub.com/Timer)) ##### :memo: Documentation - Other - [#5552](https://togithub.com/facebook/create-react-app/pull/5552) Fixing Internal Links. ([@ehfeng](https://togithub.com/ehfeng)) - [#5551](https://togithub.com/facebook/create-react-app/pull/5551) Add Algolia search bar to Docusaurus. ([@amyrlam](https://togithub.com/amyrlam)) - [#5533](https://togithub.com/facebook/create-react-app/pull/5533) Simplified TypeScript steps. ([@brunolemos](https://togithub.com/brunolemos)) - [#5492](https://togithub.com/facebook/create-react-app/pull/5492) Add "edit" feature to Docusaurus pages. ([@amyrlam](https://togithub.com/amyrlam)) - [#5499](https://togithub.com/facebook/create-react-app/pull/5499) Fix title on Safari. ([@yuyokk](https://togithub.com/yuyokk)) - [#5494](https://togithub.com/facebook/create-react-app/pull/5494) Fix typo. ([@noelyoo](https://togithub.com/noelyoo)) - [#5493](https://togithub.com/facebook/create-react-app/pull/5493) Fixed typo in getting-started. ([@jessepeterman](https://togithub.com/jessepeterman)) - [#5344](https://togithub.com/facebook/create-react-app/pull/5344) Add some headings to the getting started section. ([@selbekk](https://togithub.com/selbekk)) - [#5251](https://togithub.com/facebook/create-react-app/pull/5251) Add SoMe links to documentation. ([@selbekk](https://togithub.com/selbekk)) - `react-scripts` - [#5512](https://togithub.com/facebook/create-react-app/pull/5512) Update doc links in template README. ([@iansu](https://togithub.com/iansu)) - [#5475](https://togithub.com/facebook/create-react-app/pull/5475) Fix typo. ([@thompk2](https://togithub.com/thompk2)) - [#5449](https://togithub.com/facebook/create-react-app/pull/5449) Remove dot from the end of the link to fix it when using from GitHub. ([@ranyitz](https://togithub.com/ranyitz)) ##### :house: Internal - `react-scripts` - [#5607](https://togithub.com/facebook/create-react-app/pull/5607) Turn on certain TypeScript options. ([@Timer](https://togithub.com/Timer)) - [#5559](https://togithub.com/facebook/create-react-app/pull/5559) Change import syntax from typescript declaration. ([@brunolemos](https://togithub.com/brunolemos)) - [#5469](https://togithub.com/facebook/create-react-app/pull/5469) Avoid pushing .pnp folder to git. ([@NShahri](https://togithub.com/NShahri)) - [#5527](https://togithub.com/facebook/create-react-app/pull/5527) Update Workbox dependency. ([@jeffposnick](https://togithub.com/jeffposnick)) - `eslint-config-react-app` - [#5586](https://togithub.com/facebook/create-react-app/pull/5586) Fixing the code splitting links in the ESLint output. ([@jheijmans](https://togithub.com/jheijmans)) ##### Committers: 15 - Amy Lam ([amyrlam](https://togithub.com/amyrlam)) - Bruno Lemos ([brunolemos](https://togithub.com/brunolemos)) - Eric Feng ([ehfeng](https://togithub.com/ehfeng)) - Ian Schmitz ([ianschmitz](https://togithub.com/ianschmitz)) - Ian Sutherland ([iansu](https://togithub.com/iansu)) - Iurii Kucherov ([yuyokk](https://togithub.com/yuyokk)) - Jeffrey Posnick ([jeffposnick](https://togithub.com/jeffposnick)) - Jeroen Heijmans ([jheijmans](https://togithub.com/jheijmans)) - Jesse Peterman ([jessepeterman](https://togithub.com/jessepeterman)) - Joe Haddad ([Timer](https://togithub.com/Timer)) - Kit Thompson ([thompk2](https://togithub.com/thompk2)) - Kristofer Selbekk ([selbekk](https://togithub.com/selbekk)) - Nima Shahri ([NShahri](https://togithub.com/NShahri)) - Noel Yoo ([noelyoo](https://togithub.com/noelyoo)) - Ran Yitzhaki ([ranyitz](https://togithub.com/ranyitz)) ##### Migrating from 2.0.5 to 2.1.0 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.1.0 ``` or ```sh yarn add --exact react-scripts@2.1.0 ``` ### [`v2.0.5`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#205-October-14-2018) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.0.4...v2.0.5) ##### :bug: Bug Fix - `react-dev-utils` - [#5431](https://togithub.com/facebook/create-react-app/pull/5431) Fix click-to-open on Windows. ([@gaearon](https://togithub.com/gaearon)) - [#5335](https://togithub.com/facebook/create-react-app/pull/5335) Fix file size report after build. ([@OskarPersson](https://togithub.com/OskarPersson)) - `create-react-app` - [#5362](https://togithub.com/facebook/create-react-app/pull/5362) Fix CI: non-semver compliant Yarn versions. ([@Timer](https://togithub.com/Timer)) - `react-scripts` - [#5301](https://togithub.com/facebook/create-react-app/pull/5301) Fix TypeError when registering service workers without config. ([@peterbe](https://togithub.com/peterbe)) ##### :nail_care: Enhancement - `babel-preset-react-app` - [#4984](https://togithub.com/facebook/create-react-app/pull/4984) Use the correct dependency for `babel-plugin-dynamic-import-node`. ([@vikr01](https://togithub.com/vikr01)) - `react-scripts` - [#5354](https://togithub.com/facebook/create-react-app/pull/5354) Add environment variable to optionaly disable inlining of chunks. ([@0xdeafcafe](https://togithub.com/0xdeafcafe)) - [#5330](https://togithub.com/facebook/create-react-app/pull/5330) Update `eslint-plugin-jsx-a11y` version. ([@AlmeroSteyn](https://togithub.com/AlmeroSteyn)) ##### :memo: Documentation - `react-scripts` - [#5321](https://togithub.com/facebook/create-react-app/pull/5321) Added note on update to `.flowconfig` for .scss imports. ([@rlueder](https://togithub.com/rlueder)) - [#5394](https://togithub.com/facebook/create-react-app/pull/5394) Correct instructions for HTTPS and PowerShell. ([@gavinbarron](https://togithub.com/gavinbarron)) - [#5410](https://togithub.com/facebook/create-react-app/pull/5410) Updates to clarify the "waiting" SW behavior. ([@jeffposnick](https://togithub.com/jeffposnick)) - [#5302](https://togithub.com/facebook/create-react-app/pull/5302) Update README.md. ([@simonCordovaByte9](https://togithub.com/simonCordovaByte9)) - [#5334](https://togithub.com/facebook/create-react-app/pull/5334) Update README due to deprecation of react-testing-library's toBeInTheDOM. ([@rrebase](https://togithub.com/rrebase)) - [#5326](https://togithub.com/facebook/create-react-app/pull/5326) README link fixes. ([@davidgilbertson](https://togithub.com/davidgilbertson)) - [#5327](https://togithub.com/facebook/create-react-app/pull/5327) Updated the URL in index.html. ([@behzod](https://togithub.com/behzod)) - [#5296](https://togithub.com/facebook/create-react-app/pull/5296) Adding documentation about git init. ([@ryancogswell](https://togithub.com/ryancogswell)) - [#5290](https://togithub.com/facebook/create-react-app/pull/5290) Add react-testing-library documentation/examples ([#4679](https://togithub.com/facebook/create-react-app/issues/4679)). ([@gnapse](https://togithub.com/gnapse)) - [#5286](https://togithub.com/facebook/create-react-app/pull/5286) Fix broken links to src/serviceWorker.js. ([@adambowles](https://togithub.com/adambowles)) - Other - [#5374](https://togithub.com/facebook/create-react-app/pull/5374) Add the new SVGs feature from the template README to the root README. ([@neo](https://togithub.com/neo)) - [#5371](https://togithub.com/facebook/create-react-app/pull/5371) Update path to serviceWorker.js in graphical folder structure. ([@jonscottclark](https://togithub.com/jonscottclark)) - [#5337](https://togithub.com/facebook/create-react-app/pull/5337) Fix typo. ([@mvasin](https://togithub.com/mvasin)) - `eslint-config-react-app` - [#5416](https://togithub.com/facebook/create-react-app/pull/5416) Fix eslint config docs. ([@ludovicofischer](https://togithub.com/ludovicofischer)) ##### :house: Internal - Other - [#5365](https://togithub.com/facebook/create-react-app/pull/5365) Clean up the behavior tests. ([@Timer](https://togithub.com/Timer)) - `create-react-app` - [#5362](https://togithub.com/facebook/create-react-app/pull/5362) Fix CI: non-semver compliant Yarn versions. ([@Timer](https://togithub.com/Timer)) - `react-scripts` - [#5317](https://togithub.com/facebook/create-react-app/pull/5317) Remove unused require for getCacheIdentifier after ejecting. ([@benbrandt](https://togithub.com/benbrandt)) ##### Committers: 23 - Adam Bowles ([adambowles](https://togithub.com/adambowles)) - Alex Forbes-Reed ([0xdeafcafe](https://togithub.com/0xdeafcafe)) - Almero Steyn ([AlmeroSteyn](https://togithub.com/AlmeroSteyn)) - Behzod Saidov ([behzod](https://togithub.com/behzod)) - Ben Brandt ([benbrandt](https://togithub.com/benbrandt)) - Dan Abramov ([gaearon](https://togithub.com/gaearon)) - David Gilbertson ([davidgilbertson](https://togithub.com/davidgilbertson)) - Ernesto García ([gnapse](https://togithub.com/gnapse)) - Gavin Barron ([gavinbarron](https://togithub.com/gavinbarron)) - Jeffrey Posnick ([jeffposnick](https://togithub.com/jeffposnick)) - Joe Haddad ([Timer](https://togithub.com/Timer)) - Jon Clark ([jonscottclark](https://togithub.com/jonscottclark)) - Kristofer Selbekk ([selbekk](https://togithub.com/selbekk)) - Ludovico Fischer ([ludovicofischer](https://togithub.com/ludovicofischer)) - Mikhail Vasin ([mvasin](https://togithub.com/mvasin)) - Oskar Persson ([OskarPersson](https://togithub.com/OskarPersson)) - Peter Bengtsson ([peterbe](https://togithub.com/peterbe)) - Rafael Lüder ([rlueder](https://togithub.com/rlueder)) - Ragnar Rebase ([rrebase](https://togithub.com/rrebase)) - Ryan Cogswell ([ryancogswell](https://togithub.com/ryancogswell)) - Vikram Rangaraj ([vikr01](https://togithub.com/vikr01)) - Wenchen Li ([neo](https://togithub.com/neo)) - [simonCordovaByte9](https://togithub.com/simonCordovaByte9) ##### Migrating from 2.0.4 to 2.0.5 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.0.5 ``` or ```sh yarn add --exact react-scripts@2.0.5 ``` ### [`v2.0.4`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#204-October-3-2018) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v2.0.3...v2.0.4) ##### :bug: Bug Fix - `react-scripts` - [#5281](https://togithub.com/facebook/create-react-app/pull/5281) Fix code minifying ([@Timer](https://togithub.com/Timer)) - [#5246](https://togithub.com/facebook/create-react-app/pull/5246) Fix `GENERATE_SOURCEMAP` env not working for css sourcemap ([@crux153](https://togithub.com/crux153)) - `babel-preset-react-app` - [#5278](https://togithub.com/facebook/create-react-app/pull/5278) Disable Symbol typeof transform ([@gaearon](https://togithub.com/gaearon)) ##### :nail_care: Enhancement - `create-react-app` - [#5270](https://togithub.com/facebook/create-react-app/pull/5270) Caches the Yarn resolution for faster installs ([@arcanis](https://togithub.com/arcanis)) - [#5269](https://togithub.com/facebook/create-react-app/pull/5269) Adds a version check when using --use-pnp ([@arcanis](https://togithub.com/arcanis)) - `react-scripts` - [#5258](https://togithub.com/facebook/create-react-app/pull/5258) Add `.mjs` support back to webpack ([@Timer](https://togithub.com/Timer)) ##### :memo: Documentation - Other - [#5228](https://togithub.com/facebook/create-react-app/pull/5228) removed create-react-app-parcel link ([@lockround](https://togithub.com/lockround)) - [#5254](https://togithub.com/facebook/create-react-app/pull/5254) Update README links for CSS modules and SASS ([@yuyokk](https://togithub.com/yuyokk)) - [#5249](https://togithub.com/facebook/create-react-app/pull/5249) Set the color palette to something a bit more React-y ([@selbekk](https://togithub.com/selbekk)) - [#5244](https://togithub.com/facebook/create-react-app/pull/5244) Update favicon and OpenGraph images ([@selbekk](https://togithub.com/selbekk)) - [#5242](https://togithub.com/facebook/create-react-app/pull/5242) 5238 Removing sample pages ([@selbekk](https://togithub.com/selbekk)) - [#5243](https://togithub.com/facebook/create-react-app/pull/5243) Set the project name and owner correctly ([@selbekk](https://togithub.com/selbekk)) - [#5239](https://togithub.com/facebook/create-react-app/pull/5239) 5238 removing blog from Docusaurus ([@selbekk](https://togithub.com/selbekk)) - [#5227](https://togithub.com/facebook/create-react-app/pull/5227) Initial setup of Docusaurus ([@amyrlam](https://togithub.com/amyrlam)) - `react-scripts` - [#5252](https://togithub.com/facebook/create-react-app/pull/5252) Revert change to http-proxy-middleware docs ([@iansu](https://togithub.com/iansu)) - [#5226](https://togithub.com/facebook/create-react-app/pull/5226) Fix usage of http-proxy-middleware ([@banyan](https://togithub.com/banyan)) - [#5233](https://togithub.com/facebook/create-react-app/pull/5233) DOCS: Add Relay example ([@zachasme](https://togithub.com/zachasme)) ##### :house: Internal - [#5263](https://togithub.com/facebook/create-react-app/pull/5263) Add browser test for graphql ([@Timer](https://togithub.com/Timer)) ##### Committers: 11 - Amy Lam ([@amyrlam](https://togithub.com/amyrlam)) - Crux ([@crux153](https://togithub.com/crux153)) - Dan Abramov ([@gaearon](https://togithub.com/gaearon)) - Ian Sutherland ([@iansu](https://togithub.com/iansu)) - Iurii Kucherov ([@yuyokk](https://togithub.com/yuyokk)) - Joe Haddad ([@Timer](https://togithub.com/Timer)) - Kohei Hasegawa ([@banyan](https://togithub.com/banyan)) - Kristofer Selbekk ([@selbekk](https://togithub.com/selbekk)) - Maël Nison ([@arcanis](https://togithub.com/arcanis)) - Shubham Tiwari ([@lockround](https://togithub.com/lockround)) - Zacharias Knudsen ([@zachasme](https://togithub.com/zachasme)) ##### Migrating from 2.0.3 to 2.0.4 Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.0.4 ``` or ```sh yarn add --exact react-scripts@2.0.4 ``` ### [`v2.0.3`](https://togithub.com/facebook/create-react-app/blob/master/CHANGELOG.md#Migrating-from-1x-to-203) [Compare Source](https://togithub.com/facebook/create-react-app/compare/v1.1.5...v2.0.3) Inside any created project that has not been ejected, run: ```sh npm install --save --save-exact react-scripts@2.0.3 ``` or ```sh yarn add --exact react-scripts@2.0.3 ``` If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again. It’s also possible that the feature you ejected for (maybe Sass or CSS Modules?) is now supported out of the box. You can find a list of notable new features in the **[Create React App 2.0 blog post](https://reactjs.org/blog/2018/10/01/create-react-app-v2.html)**. #### Breaking Changes Like any major release, `react-scripts@2.0` contains a few breaking changes. We expect that they won't affect every user, but we recommend to scan over these sections to see if something is relevant to you. If we missed something, please file a new issue. ##### Node 6 is no longer supported Please upgrade to Node 8 (LTS) or later. ##### Polyfills for IE 9, IE 10, and IE 11 are no longer included by default (but you can opt in!) We have dropped default support for Internet Explorer 9, 10, and 11. If you still need to support these browsers, follow the instructions below. First, install `react-app-polyfill`: ```sh npm install react-app-polyfill ``` or ```sh yarn add react-app-polyfill ``` Next, place one of the following lines at the very top of `src/index.js`: ```js import 'react-app-polyfill/ie9'; // For IE 9-11 support import 'react-app-polyfill/ie11'; // For IE 11 support ``` You can read more about [these polyfills here](https://togithub.com/facebook/create-react-app/tree/master/packages/react-app-polyfill). ##### Dynamic `import()` of a CommonJS module now has a `.default` property [Webpack 4 changed the behavior of `import()`](https://medium.com/webpack/webpack-4-import-and-commonjs-d619d626b655) to be closer in line with the specification. Previously, importing a CommonJS module did not require you specify the default export. In most cases, this is now required. If you see errors in your application about `... is not a function`, you likely need to update your dynamic import, e.g.: ```js const throttle = await import('lodash/throttle'); // replace with const throttle = await import('lodash/throttle').then(m => m.default); ``` ##### `require.ensure()` is superseded by dynamic `import()` We previously allowed code splitting with a webpack-specific directive, `require.ensure()`. It is now disabled in favor of `import()`. To switch to `import()`, follow the examples below: **Single Module** ```js require.ensure(['module-a'], function() { var a = require('module-a'); // ... }); // Replace with: import('module-a').then(a => { // ... }); ``` **Multiple Module** ```js require.ensure(['module-a', 'module-b'], function() { var a = require('module-a'); var b = require('module-b'); // ... }); // Replace with: Promise.all([import('module-a'), import('module-b')]).then(([a, b]) => { // ... }); ``` ##### The default Jest environment was changed to `jsdom` Look at the `test` entry in the `scripts` section of your `package.json`. Here's a table how to change it from "before" and "after", depending on what you have there: | 1.x (if you have this...) | 2.x (...change it to this!) | | -------------------------------- | ------------------------------- | | `react-scripts test --env=jsdom` | `react-scripts test` | | `react-scripts test` | `react-scripts test --env=node` | ##### Object `proxy` configuration is superseded by `src/setupProxy.js` To check if action is required, look for the `proxy` key in `package.json` and follow this table: 1. I couldn't find a `proxy` key in `package.json` - No action is required! 2. The value of `proxy` is a string (e.g. `http://localhost:5000`) - No action is required! 3. The value of `proxy` is an object - Follow the migration instructions below. **It's worth highlighting: if your `proxy` field is a `string`, e.g. `http://localhost:5000`, or you don't have it, skip this section. This feature is still supported and has the same behavior.** If your `proxy` is an object, that means you are using the advanced proxy configuration. It has become fully customizable so we removed the limited support for the object-style configuration. Here's how to recreate it. First, install `http-proxy-middleware` using npm or Yarn: ```sh npm install http-proxy-middleware ``` or ```sh yarn add http-proxy-middleware ``` Next, create `src/setupProxy.js` and place the following contents in it: ```js const proxy = require('http-proxy-middleware'); module.exports = function(app) { // ... }; ``` Now, migrate each entry in your `proxy` object one by one, e.g.: ```json "proxy": { "/api": { "target": "http://localhost:5000/" }, "/*.svg": { "target": "http://localhost:5000/" } } ``` Place entries into `src/setupProxy.js` like so: ```js const proxy = require('http-proxy-middleware'); module.exports = function(app) { app.use(proxy('/api', { target: 'http://localhost:5000/' })); app.use(proxy('/*.svg', { target: 'http://localhost:5000/' })); }; ``` You can also use completely custom logic there now! This wasn't possible before. ##### `.mjs` file extension support is removed Change the extension of any files in your project using `.mjs` to just `.js`. It was removed because of inconsistent support from underlying tools. We will add it back after it stops being experimental, and Jest gets built-in support for it. ##### `PropTypes` definitions are now removed in production Normally, this shouldn't affect your logic and should make the resulting bundle smaller. However, you may be relying on PropTypes definition for production logic. This is not recommended, and will break now. If a library doeRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.