|
| 1 | +## 3.1.0 (2019-08-09) |
| 2 | + |
| 3 | +v3.1.0 is a minor release that adds ESLint 6 support as well as experimental support for extended and customizing the ESLint config along with other minor bug fixes and documentation updates. |
| 4 | + |
| 5 | +# Highlights |
| 6 | + |
| 7 | +- ESLint 6: #7415 |
| 8 | +- Experimental ESLint config customization: #7036 |
| 9 | +- More Jest config options: #6055 |
| 10 | +- Option to configure or disable image inlining: #6060 |
| 11 | + |
| 12 | +#### :rocket: New Feature |
| 13 | + |
| 14 | +- `eslint-config-react-app`, `react-error-overlay`, `react-scripts` |
| 15 | + - [#7415](https://github.com/facebook/create-react-app/pull/7415) Add ESLint 6 support ([@mrmckeb](https://github.com/mrmckeb)) |
| 16 | +- `eslint-config-react-app`, `react-scripts` |
| 17 | + - [#7036](https://github.com/facebook/create-react-app/pull/7036) Add ESLint extend support to eslint-loader ([@mrmckeb](https://github.com/mrmckeb)) |
| 18 | +- `react-dev-utils` |
| 19 | + - [#7277](https://github.com/facebook/create-react-app/pull/7277) Handle browser arguments ([@arvigeus](https://github.com/arvigeus)) |
| 20 | +- `react-scripts` |
| 21 | + - [#6060](https://github.com/facebook/create-react-app/pull/6060) Add environment variable to control image inlining threshold ([@peterbe](https://github.com/peterbe)) |
| 22 | + - [#6055](https://github.com/facebook/create-react-app/pull/6055) Support for graceful extension of Jest config ([@jamesmfriedman](https://github.com/jamesmfriedman)) |
| 23 | + |
| 24 | +#### :boom: Breaking Change |
| 25 | + |
| 26 | +- `react-scripts` |
| 27 | + - [#7176](https://github.com/facebook/create-react-app/pull/7176) Fix RegExp from navigateFallbackBlacklist (workbox) ([@nuragic](https://github.com/nuragic)) |
| 28 | + - [#7378](https://github.com/facebook/create-react-app/pull/7378) Update url-loader to 2.0.1 ([@heyimalex](https://github.com/heyimalex)) |
| 29 | +- `eslint-config-react-app`, `react-error-overlay`, `react-scripts` |
| 30 | + - [#7415](https://github.com/facebook/create-react-app/pull/7415) Add ESLint 6 support ([@mrmckeb](https://github.com/mrmckeb)) |
| 31 | + |
| 32 | +#### :bug: Bug Fix |
| 33 | + |
| 34 | +- `react-dev-utils` |
| 35 | + - [#7444](https://github.com/facebook/create-react-app/pull/7444) Fix for #6720: HMR not working in Firefox if proxy option present ([@dmile](https://github.com/dmile)) |
| 36 | +- `react-scripts` |
| 37 | + - [#5829](https://github.com/facebook/create-react-app/pull/5829) Resolve relative paths for preprocessor styles ([@iamandrewluca](https://github.com/iamandrewluca)) |
| 38 | + - [#7433](https://github.com/facebook/create-react-app/pull/7433) Add explicit check for --watchAll=false ([@mrmckeb](https://github.com/mrmckeb)) |
| 39 | + - [#7378](https://github.com/facebook/create-react-app/pull/7378) Update url-loader to 2.0.1 ([@heyimalex](https://github.com/heyimalex)) |
| 40 | +- `eslint-config-react-app` |
| 41 | + - [#7230](https://github.com/facebook/create-react-app/pull/7230) jsx-no-duplicate-props ignore case fix ([@rommguy](https://github.com/rommguy)) |
| 42 | + - [#7219](https://github.com/facebook/create-react-app/pull/7219) fix: eslintrc overrides key should be an array, not object ([@ivan-aksamentov](https://github.com/ivan-aksamentov)) |
| 43 | + - [#7079](https://github.com/facebook/create-react-app/pull/7079) Adjust typescript-eslint to not warn about typedefs when used before defined ([@vincentjames501](https://github.com/vincentjames501)) |
| 44 | +- `react-error-overlay`, `react-scripts` |
| 45 | + - [#7257](https://github.com/facebook/create-react-app/pull/7257) Upgrade webpack to 4.35.0 to fix dynamic import issue ([@iansu](https://github.com/iansu)) |
| 46 | + |
| 47 | +#### :nail_care: Enhancement |
| 48 | + |
| 49 | +- `react-scripts` |
| 50 | + - [#7497](https://github.com/facebook/create-react-app/pull/7497) add readonly modifier for css module ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 51 | + - [#7496](https://github.com/facebook/create-react-app/pull/7496) bump sass-loader ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 52 | + - [#7176](https://github.com/facebook/create-react-app/pull/7176) Fix RegExp from navigateFallbackBlacklist (workbox) ([@nuragic](https://github.com/nuragic)) |
| 53 | + - [#7080](https://github.com/facebook/create-react-app/pull/7080) Support configuring coveragePathIgnorePatterns ([@kentcdodds](https://github.com/kentcdodds)) |
| 54 | + - [#7482](https://github.com/facebook/create-react-app/pull/7482) 100% lighthouse score for progressive web app ([@dscanlan](https://github.com/dscanlan)) |
| 55 | + - [#5951](https://github.com/facebook/create-react-app/pull/5951) Set jsonpFunction by default ([@sibiraj-s](https://github.com/sibiraj-s)) |
| 56 | + - [#7472](https://github.com/facebook/create-react-app/pull/7472) Typescript init: suggest `jsx: "react"` in tsconfig ([@kingdaro](https://github.com/kingdaro)) |
| 57 | + - [#7118](https://github.com/facebook/create-react-app/pull/7118) Append title element to SVG component via title prop ([@sudkumar](https://github.com/sudkumar)) |
| 58 | +- `react-dev-utils` |
| 59 | + - [#7028](https://github.com/facebook/create-react-app/pull/7028) Add vscodium to the editor list ([@leonardodino](https://github.com/leonardodino)) |
| 60 | + - [#7277](https://github.com/facebook/create-react-app/pull/7277) Handle browser arguments ([@arvigeus](https://github.com/arvigeus)) |
| 61 | +- `eslint-config-react-app`, `react-error-overlay`, `react-scripts` |
| 62 | + - [#7415](https://github.com/facebook/create-react-app/pull/7415) Add ESLint 6 support ([@mrmckeb](https://github.com/mrmckeb)) |
| 63 | +- `eslint-config-react-app` |
| 64 | + - [#7179](https://github.com/facebook/create-react-app/pull/7179) Disabled Typescript no-undef rule per typescript-eslint #477 ([@andyhopp](https://github.com/andyhopp)) |
| 65 | +- `create-react-app` |
| 66 | + - [#6941](https://github.com/facebook/create-react-app/pull/6941) Fix compatibility of create-react-app to Node.js v0.10+ ([@tobiasbueschel](https://github.com/tobiasbueschel)) |
| 67 | + |
| 68 | +#### :memo: Documentation |
| 69 | + |
| 70 | +- Other |
| 71 | + - [#7488](https://github.com/facebook/create-react-app/pull/7488) Adjusted deployment documentation for ZEIT Now ([@leo](https://github.com/leo)) |
| 72 | + - [#7462](https://github.com/facebook/create-react-app/pull/7462) Added dependencies to bootstrap article when using custom SCSS. ([@eclectic-coding](https://github.com/eclectic-coding)) |
| 73 | + - [#7340](https://github.com/facebook/create-react-app/pull/7340) Update testing-library related npm package names in README ([@balazsorban44](https://github.com/balazsorban44)) |
| 74 | + - [#7423](https://github.com/facebook/create-react-app/pull/7423) Add question issue template ([@iansu](https://github.com/iansu)) |
| 75 | + - [#7260](https://github.com/facebook/create-react-app/pull/7260) Docs: remove an outdated TypeScript-related note ([@MidnightDesign](https://github.com/MidnightDesign)) |
| 76 | + - [#7372](https://github.com/facebook/create-react-app/pull/7372) proposal dynamic import are stage 4 ([@gespispace](https://github.com/gespispace)) |
| 77 | + - [#7374](https://github.com/facebook/create-react-app/pull/7374) docs(svg): add tip for title props accessibility ([@sudkumar](https://github.com/sudkumar)) |
| 78 | + - [#7182](https://github.com/facebook/create-react-app/pull/7182) Update minimum Node versions in docs ([@JESii](https://github.com/JESii)) |
| 79 | + - [#7317](https://github.com/facebook/create-react-app/pull/7317) Fix typo ([@mvasin](https://github.com/mvasin)) |
| 80 | + - [#7262](https://github.com/facebook/create-react-app/pull/7262) Docs: replace the command line to install relay/macro ([@soufDev](https://github.com/soufDev)) |
| 81 | + - [#7170](https://github.com/facebook/create-react-app/pull/7170) Update deprecated package reference ([@bnewcomb](https://github.com/bnewcomb)) |
| 82 | + - [#7133](https://github.com/facebook/create-react-app/pull/7133) Make the OOM abreviation more clear ([@tlehtimaki](https://github.com/tlehtimaki)) |
| 83 | + - [#7086](https://github.com/facebook/create-react-app/pull/7086) Improve breaking changes info for CRA 3.0.0 ([@falldowngoboone](https://github.com/falldowngoboone)) |
| 84 | + - [#7059](https://github.com/facebook/create-react-app/pull/7059) Correct spelling of browserslist ([@amyrlam](https://github.com/amyrlam)) |
| 85 | + - [#7039](https://github.com/facebook/create-react-app/pull/7039) docs: fix env-cmd example in deployment section ([@VMois](https://github.com/VMois)) |
| 86 | + - [#7041](https://github.com/facebook/create-react-app/pull/7041) Updates the relay docs ([@orta](https://github.com/orta)) |
| 87 | +- `eslint-config-react-app` |
| 88 | + - [#7451](https://github.com/facebook/create-react-app/pull/7451) Update README for ESLint config ([@mrmckeb](https://github.com/mrmckeb)) |
| 89 | + - [#7274](https://github.com/facebook/create-react-app/pull/7274) Update peer dependencies ([@ThewBear](https://github.com/ThewBear)) |
| 90 | +- `react-error-overlay`, `react-scripts` |
| 91 | + - [#7355](https://github.com/facebook/create-react-app/pull/7355) Fix typos ([@minho42](https://github.com/minho42)) |
| 92 | + |
| 93 | +#### :house: Internal |
| 94 | + |
| 95 | +- `babel-preset-react-app` |
| 96 | + - [#5818](https://github.com/facebook/create-react-app/pull/5818) Remove unused dependencies in babel-preset-react-app ([@iansu](https://github.com/iansu)) |
| 97 | + - [#7208](https://github.com/facebook/create-react-app/pull/7208) Use correct babel transform for dynamic import in dependencies ([@jamesknelson](https://github.com/jamesknelson)) |
| 98 | +- `react-scripts` |
| 99 | + - [#7433](https://github.com/facebook/create-react-app/pull/7433) Add explicit check for --watchAll=false ([@mrmckeb](https://github.com/mrmckeb)) |
| 100 | + - [#6877](https://github.com/facebook/create-react-app/pull/6877) Upgrade svgr to 4.2.0 ([@iansu](https://github.com/iansu)) |
| 101 | +- Other |
| 102 | + - [#7385](https://github.com/facebook/create-react-app/pull/7385) Attempt at fixing CI issue on windows ([@heyimalex](https://github.com/heyimalex)) |
| 103 | + - [#7269](https://github.com/facebook/create-react-app/pull/7269) Update issue templates ([@mrmckeb](https://github.com/mrmckeb)) |
| 104 | + - [#7220](https://github.com/facebook/create-react-app/pull/7220) Disable Travis build ([@ianschmitz](https://github.com/ianschmitz)) |
| 105 | + - [#7096](https://github.com/facebook/create-react-app/pull/7096) Add Azure DevOps build pipeline ([@ianschmitz](https://github.com/ianschmitz)) |
| 106 | + - [#6858](https://github.com/facebook/create-react-app/pull/6858) Add test to make sure .d.ts files are ignored when checking for TypeScript ([@iansu](https://github.com/iansu)) |
| 107 | +- `react-error-overlay`, `react-scripts` |
| 108 | + - [#7355](https://github.com/facebook/create-react-app/pull/7355) Fix typos ([@minho42](https://github.com/minho42)) |
| 109 | + |
| 110 | +#### :hammer: Underlying Tools |
| 111 | + |
| 112 | +- `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` |
| 113 | + - [#7473](https://github.com/facebook/create-react-app/pull/7473) Bump dependencies ([@ianschmitz](https://github.com/ianschmitz)) |
| 114 | +- `eslint-config-react-app`, `react-error-overlay`, `react-scripts` |
| 115 | + - [#7415](https://github.com/facebook/create-react-app/pull/7415) Add ESLint 6 support ([@mrmckeb](https://github.com/mrmckeb)) |
| 116 | +- `eslint-config-react-app`, `react-scripts` |
| 117 | + - [#7036](https://github.com/facebook/create-react-app/pull/7036) Add ESLint extend support to eslint-loader ([@mrmckeb](https://github.com/mrmckeb)) |
| 118 | +- `react-scripts` |
| 119 | + - [#7118](https://github.com/facebook/create-react-app/pull/7118) Append title element to SVG component via title prop ([@sudkumar](https://github.com/sudkumar)) |
| 120 | + - [#7222](https://github.com/facebook/create-react-app/pull/7222) Update @typescript-eslint package versions ([@ianschmitz](https://github.com/ianschmitz)) |
| 121 | + - [#7131](https://github.com/facebook/create-react-app/pull/7131) Update fsevents dependency version ([@eps1lon](https://github.com/eps1lon)) |
| 122 | +- `react-dev-utils` |
| 123 | + - [#7058](https://github.com/facebook/create-react-app/pull/7058) fix: Replaced opn (deprecated) with open ([@jamesgeorge007](https://github.com/jamesgeorge007)) |
| 124 | + |
| 125 | +#### Committers: 46 |
| 126 | + |
| 127 | +- Adeel Imran ([@adeelibr](https://github.com/adeelibr)) |
| 128 | +- Alex Guerra ([@heyimalex](https://github.com/heyimalex)) |
| 129 | +- Amy Lam ([@amyrlam](https://github.com/amyrlam)) |
| 130 | +- Andrea Puddu ([@nuragic](https://github.com/nuragic)) |
| 131 | +- Andrew Luca ([@iamandrewluca](https://github.com/iamandrewluca)) |
| 132 | +- Andy Hopper ([@andyhopp](https://github.com/andyhopp)) |
| 133 | +- Balázs Orbán ([@balazsorban44](https://github.com/balazsorban44)) |
| 134 | +- Ben Newcomb ([@bnewcomb](https://github.com/bnewcomb)) |
| 135 | +- Brian Muenzenmeyer ([@bmuenzenmeyer](https://github.com/bmuenzenmeyer)) |
| 136 | +- Brody McKee ([@mrmckeb](https://github.com/mrmckeb)) |
| 137 | +- Chuck ([@eclectic-coding](https://github.com/eclectic-coding)) |
| 138 | +- Darius Tall ([@kingdaro](https://github.com/kingdaro)) |
| 139 | +- Dmitry Lepskiy ([@dmile](https://github.com/dmile)) |
| 140 | +- Guy Romm ([@rommguy](https://github.com/rommguy)) |
| 141 | +- Ian Schmitz ([@ianschmitz](https://github.com/ianschmitz)) |
| 142 | +- Ian Sutherland ([@iansu](https://github.com/iansu)) |
| 143 | +- Igor Muchychka ([@mucsi96](https://github.com/mucsi96)) |
| 144 | +- Ivan Aksamentov ([@ivan-aksamentov](https://github.com/ivan-aksamentov)) |
| 145 | +- Ivan Pegashev ([@gespispace](https://github.com/gespispace)) |
| 146 | +- Jack Cross ([@crosscompile](https://github.com/crosscompile)) |
| 147 | +- James Friedman ([@jamesmfriedman](https://github.com/jamesmfriedman)) |
| 148 | +- James George ([@jamesgeorge007](https://github.com/jamesgeorge007)) |
| 149 | +- James K Nelson ([@jamesknelson](https://github.com/jamesknelson)) |
| 150 | +- Jon Seidel ([@JESii](https://github.com/JESii)) |
| 151 | +- Kent C. Dodds ([@kentcdodds](https://github.com/kentcdodds)) |
| 152 | +- Leo Lamprecht ([@leo](https://github.com/leo)) |
| 153 | +- Leonardo Dino ([@leonardodino](https://github.com/leonardodino)) |
| 154 | +- Mikhail Vasin ([@mvasin](https://github.com/mvasin)) |
| 155 | +- Min ho Kim ([@minho42](https://github.com/minho42)) |
| 156 | +- Nikolay Stoynov ([@arvigeus](https://github.com/arvigeus)) |
| 157 | +- Orta ([@orta](https://github.com/orta)) |
| 158 | +- Peter Bengtsson ([@peterbe](https://github.com/peterbe)) |
| 159 | +- Rudolph Gottesheim ([@MidnightDesign](https://github.com/MidnightDesign)) |
| 160 | +- Ryan Boone ([@falldowngoboone](https://github.com/falldowngoboone)) |
| 161 | +- Ryan Marsh ([@ryanwmarsh](https://github.com/ryanwmarsh)) |
| 162 | +- Sebastian Silbermann ([@eps1lon](https://github.com/eps1lon)) |
| 163 | +- Sibiraj ([@sibiraj-s](https://github.com/sibiraj-s)) |
| 164 | +- Soufiane AIT AKKACHE ([@soufDev](https://github.com/soufDev)) |
| 165 | +- Sudhir Mitharwal ([@sudkumar](https://github.com/sudkumar)) |
| 166 | +- Thew Dhanat ([@ThewBear](https://github.com/ThewBear)) |
| 167 | +- Tobias Büschel ([@tobiasbueschel](https://github.com/tobiasbueschel)) |
| 168 | +- Toni ([@tlehtimaki](https://github.com/tlehtimaki)) |
| 169 | +- Vincent Pizzo ([@vincentjames501](https://github.com/vincentjames501)) |
| 170 | +- Vladyslav Moisieienkov ([@VMois](https://github.com/VMois)) |
| 171 | +- ZHAO Jinxiang ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 172 | +- dominic scanlan ([@dscanlan](https://github.com/dscanlan)) |
| 173 | + |
| 174 | +### Migrating from 3.0.1 to 3.1.0 |
| 175 | + |
| 176 | +Inside any created project that has not been ejected, run: |
| 177 | + |
| 178 | +```sh |
| 179 | +npm install --save --save-exact [email protected] |
| 180 | +``` |
| 181 | + |
| 182 | +or |
| 183 | + |
| 184 | +```sh |
| 185 | +yarn add --exact [email protected] |
| 186 | +``` |
| 187 | + |
1 | 188 | ## 3.0.1 (2019-05-08)
|
2 | 189 |
|
3 | 190 | v3.0.1 is a maintenance release that adjusts some ESLint rules for TypeScript along with other minor bug fixes and documentation updates.
|
|
0 commit comments