|
| 1 | +## 3.2.0 (2019-10-03) |
| 2 | + |
| 3 | +v3.2.0 is a minor release that adds support for production profiling and ignoring TypeScript type errors to make migrating JavaScript projects to TypeScript easier. It also includes other minor bug fixes and documentation updates. |
| 4 | + |
| 5 | +#### :rocket: New Feature |
| 6 | + |
| 7 | +- `react-scripts` |
| 8 | + - [#7737](https://github.com/facebook/create-react-app/pull/7737) Support production profiling with React Developer Tools ([@JacobMGEvans](https://github.com/JacobMGEvans)) |
| 9 | +- `react-dev-utils`, `react-scripts` |
| 10 | + - [#6931](https://github.com/facebook/create-react-app/pull/6931) Adds TSC_COMPILE_ON_ERROR env var... ([@kylebebak](https://github.com/kylebebak)) |
| 11 | + |
| 12 | +#### :bug: Bug Fix |
| 13 | + |
| 14 | +- `react-scripts` |
| 15 | + - [#7754](https://github.com/facebook/create-react-app/pull/7754) Fix linting error when using rest props ([@alexandrtovmach](https://github.com/alexandrtovmach)) |
| 16 | +- `react-app-polyfill` |
| 17 | + - [#7205](https://github.com/facebook/create-react-app/pull/7205) Guard polyfills against window possibly being undefined ([@jxom](https://github.com/jxom)) |
| 18 | + |
| 19 | +#### :nail_care: Enhancement |
| 20 | + |
| 21 | +- `react-scripts` |
| 22 | + - [#7687](https://github.com/facebook/create-react-app/pull/7687) Use installing package manager in README ([@ashr81](https://github.com/ashr81)) |
| 23 | + - [#7755](https://github.com/facebook/create-react-app/pull/7755) Support setting baseUrl to root directory ([@rovansteen](https://github.com/rovansteen)) |
| 24 | + - [#7530](https://github.com/facebook/create-react-app/pull/7530) only load eslint config when EXTEND_ESLINT environment variable is specified/ do not swallow eslint config errors ([@n1ru4l](https://github.com/n1ru4l)) |
| 25 | + - [#7742](https://github.com/facebook/create-react-app/pull/7742) set output.globalObject to 'this' ([@kentcdodds](https://github.com/kentcdodds)) |
| 26 | + - [#7721](https://github.com/facebook/create-react-app/pull/7721) Add "entrypoints" key to asset manifest ([@samuelmeuli](https://github.com/samuelmeuli)) |
| 27 | + - [#7562](https://github.com/facebook/create-react-app/pull/7562) enable .eslintignore again ([@igtm](https://github.com/igtm)) |
| 28 | +- `react-dev-utils` |
| 29 | + - [#6980](https://github.com/facebook/create-react-app/pull/6980) Stop hiding the column number of ESLint errors ([@justingrant](https://github.com/justingrant)) |
| 30 | + |
| 31 | +#### :memo: Documentation |
| 32 | + |
| 33 | +- [#7302](https://github.com/facebook/create-react-app/pull/7302) docs: note that 2 to 3 migration may require deletion of node_modules ([@kimpers](https://github.com/kimpers)) |
| 34 | +- [#7757](https://github.com/facebook/create-react-app/pull/7757) Documentation typo fix: accessbile→accessible ([@tomer](https://github.com/tomer)) |
| 35 | +- [#7601](https://github.com/facebook/create-react-app/pull/7601) [Documentation] Updated list of supported Jest config overrides ([@neilbryson](https://github.com/neilbryson)) |
| 36 | +- [#7705](https://github.com/facebook/create-react-app/pull/7705) Update runtime chunk name separator in docs ([@samuelmeuli](https://github.com/samuelmeuli)) |
| 37 | + |
| 38 | +#### :house: Internal |
| 39 | + |
| 40 | +- `react-scripts` |
| 41 | + - [#7752](https://github.com/facebook/create-react-app/pull/7752) Fix wrong letter casing ([@lewislbr](https://github.com/lewislbr)) |
| 42 | +- `react-dev-utils`, `react-scripts` |
| 43 | + - [#7707](https://github.com/facebook/create-react-app/pull/7707) Remove 'shortcut' link type before 'icon' ([@lewislbr](https://github.com/lewislbr)) |
| 44 | + |
| 45 | +#### :hammer: Underlying Tools |
| 46 | + |
| 47 | +- `react-scripts` |
| 48 | + - [#7729](https://github.com/facebook/create-react-app/pull/7729) Remove switch case ([@andrelmlins](https://github.com/andrelmlins)) |
| 49 | + |
| 50 | +#### Committers: 19 |
| 51 | + |
| 52 | +- Alexandr Tovmach ([@alexandrtovmach](https://github.com/alexandrtovmach)) |
| 53 | +- André Lins ([@andrelmlins](https://github.com/andrelmlins)) |
| 54 | +- Ashrith Reddy ([@ashr81](https://github.com/ashr81)) |
| 55 | +- Federico Zivolo ([@FezVrasta](https://github.com/FezVrasta)) |
| 56 | +- Iguchi Tomokatsu ([@igtm](https://github.com/igtm)) |
| 57 | +- Jacob M-G Evans ([@JacobMGEvans](https://github.com/JacobMGEvans)) |
| 58 | +- Jake Moxey ([@jxom](https://github.com/jxom)) |
| 59 | +- Justin Grant ([@justingrant](https://github.com/justingrant)) |
| 60 | +- Kent C. Dodds ([@kentcdodds](https://github.com/kentcdodds)) |
| 61 | +- Kim Persson ([@kimpers](https://github.com/kimpers)) |
| 62 | +- Kyle Bebak ([@kylebebak](https://github.com/kylebebak)) |
| 63 | +- Laurin Quast ([@n1ru4l](https://github.com/n1ru4l)) |
| 64 | +- Lewis Llobera ([@lewislbr](https://github.com/lewislbr)) |
| 65 | +- Rakan Nimer ([@rakannimer](https://github.com/rakannimer)) |
| 66 | +- Reece Dunham ([@RDIL](https://github.com/RDIL)) |
| 67 | +- Robert van Steen ([@rovansteen](https://github.com/rovansteen)) |
| 68 | +- Samuel Meuli ([@samuelmeuli](https://github.com/samuelmeuli)) |
| 69 | +- Tomer Cohen ([@tomer](https://github.com/tomer)) |
| 70 | +- neilbryson ([@neilbryson](https://github.com/neilbryson)) |
| 71 | + |
| 72 | +### Migrating from 3.1.2 to 3.2.0 |
| 73 | + |
| 74 | +Inside any created project that has not been ejected, run: |
| 75 | + |
| 76 | +```sh |
| 77 | +npm install --save --save-exact react-scripts@3.2.0 |
| 78 | +``` |
| 79 | + |
| 80 | +or |
| 81 | + |
| 82 | +```sh |
| 83 | +yarn add --exact react-scripts@3.2.0 |
| 84 | +``` |
| 85 | + |
| 86 | +## 3.1.2 (2019-09-19) |
| 87 | + |
| 88 | +v3.1.2 is a maintenance release that includes minor bug fixes and documentation updates. |
| 89 | + |
| 90 | +#### :bug: Bug Fix |
| 91 | + |
| 92 | +- `react-scripts` |
| 93 | + - [#7679](https://github.com/facebook/create-react-app/pull/7679) Change runtime chunk name separator from tilde to dash ([@javadoug](https://github.com/javadoug)) |
| 94 | + - [#7538](https://github.com/facebook/create-react-app/pull/7538) Explicitly checking that EXTEND_ESLINT is true ([@BrockWills](https://github.com/BrockWills)) |
| 95 | +- `babel-preset-react-app`, `react-error-overlay`, `react-scripts` |
| 96 | + - [#7662](https://github.com/facebook/create-react-app/pull/7662) Fix build ([@ianschmitz](https://github.com/ianschmitz)) |
| 97 | + |
| 98 | +#### :nail_care: Enhancement |
| 99 | + |
| 100 | +- `react-scripts` |
| 101 | + - [#7704](https://github.com/facebook/create-react-app/pull/7704) Add new logo ([@iansu](https://github.com/iansu)) |
| 102 | + - [#7587](https://github.com/facebook/create-react-app/pull/7587) Minor performance improvements ([@deftomat](https://github.com/deftomat)) |
| 103 | + - [#7633](https://github.com/facebook/create-react-app/pull/7633) Disable babel-loader's cacheCompression ([@jleclanche](https://github.com/jleclanche)) |
| 104 | + |
| 105 | +#### :memo: Documentation |
| 106 | + |
| 107 | +- [#7616](https://github.com/facebook/create-react-app/pull/7616) Update deployment.md with another AWS example ([@AndrewBestbier](https://github.com/AndrewBestbier)) |
| 108 | +- [#7663](https://github.com/facebook/create-react-app/pull/7663) Remove --single-quote from prettier examples ([@brlewis](https://github.com/brlewis)) |
| 109 | +- [#7659](https://github.com/facebook/create-react-app/pull/7659) Update running-tests.md ([@weyert](https://github.com/weyert)) |
| 110 | +- [#7459](https://github.com/facebook/create-react-app/pull/7459) Update troubleshooting.md ([@prevostc](https://github.com/prevostc)) |
| 111 | +- [#7650](https://github.com/facebook/create-react-app/pull/7650) Adopt Contributor Covenant ([@iansu](https://github.com/iansu)) |
| 112 | +- [#7620](https://github.com/facebook/create-react-app/pull/7620) cleanup-after-each is no longer necessary! ([@iHmD](https://github.com/iHmD)) |
| 113 | +- [#7613](https://github.com/facebook/create-react-app/pull/7613) Fix seams between changelog majors ([@emilpalsson](https://github.com/emilpalsson)) |
| 114 | +- [#7368](https://github.com/facebook/create-react-app/pull/7368) Correcting proxy sample ([@szabolcs-szilagyi](https://github.com/szabolcs-szilagyi)) |
| 115 | +- [#7536](https://github.com/facebook/create-react-app/pull/7536) add a migration step to remove static from robots.txt ([@lookfirst](https://github.com/lookfirst)) |
| 116 | +- [#7521](https://github.com/facebook/create-react-app/pull/7521) Show logo for mobile views in create-react-app.dev ([@GrooChu](https://github.com/GrooChu)) |
| 117 | + |
| 118 | +#### :house: Internal |
| 119 | + |
| 120 | +- `react-scripts` |
| 121 | + - [#7526](https://github.com/facebook/create-react-app/pull/7526) The variable dotenvFiles is never reassigned - use const instead ([@Primajin](https://github.com/Primajin)) |
| 122 | + - [#7585](https://github.com/facebook/create-react-app/pull/7585) remove trailing spaces ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 123 | + |
| 124 | +#### :hammer: Underlying Tools |
| 125 | + |
| 126 | +- `babel-plugin-named-asset-import`, `confusing-browser-globals`, `react-app-polyfill`, `react-dev-utils`, `react-error-overlay`, `react-scripts` |
| 127 | + - [#7681](https://github.com/facebook/create-react-app/pull/7681) Bump dependencies ([@ianschmitz](https://github.com/ianschmitz)) |
| 128 | +- `react-scripts` |
| 129 | + - [#7531](https://github.com/facebook/create-react-app/pull/7531) Upgrade dotenv-expand to fix issues ([@DominicTobias](https://github.com/DominicTobias)) |
| 130 | +- `eslint-config-react-app`, `react-scripts` |
| 131 | + - [#7540](https://github.com/facebook/create-react-app/pull/7540) Bump version of @typescript-eslint/\* ([@pierreneter](https://github.com/pierreneter)) |
| 132 | + |
| 133 | +#### Committers: 20 |
| 134 | + |
| 135 | +- Andrew ([@AndrewBestbier](https://github.com/AndrewBestbier)) |
| 136 | +- Brock Wills ([@BrockWills](https://github.com/BrockWills)) |
| 137 | +- Clément Prévost ([@prevostc](https://github.com/prevostc)) |
| 138 | +- Dominic Tobias ([@DominicTobias](https://github.com/DominicTobias)) |
| 139 | +- Doug Ross ([@javadoug](https://github.com/javadoug)) |
| 140 | +- Emil Pålsson ([@emilpalsson](https://github.com/emilpalsson)) |
| 141 | +- Federico Zivolo ([@FezVrasta](https://github.com/FezVrasta)) |
| 142 | +- Ian Schmitz ([@ianschmitz](https://github.com/ianschmitz)) |
| 143 | +- Ian Sutherland ([@iansu](https://github.com/iansu)) |
| 144 | +- Jannis Hell ([@Primajin](https://github.com/Primajin)) |
| 145 | +- Jerome Leclanche ([@jleclanche](https://github.com/jleclanche)) |
| 146 | +- Jon Stevens ([@lookfirst](https://github.com/lookfirst)) |
| 147 | +- Sabesh Rajendran ([@GrooChu](https://github.com/GrooChu)) |
| 148 | +- Tomáš Szabo ([@deftomat](https://github.com/deftomat)) |
| 149 | +- Weyert de Boer ([@weyert](https://github.com/weyert)) |
| 150 | +- ZHAO Jinxiang ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 151 | +- [@brlewis](https://github.com/brlewis) |
| 152 | +- [@iHmD](https://github.com/iHmD) |
| 153 | +- [@pierreneter](https://github.com/pierreneter) |
| 154 | +- szabi ([@szabolcs-szilagyi](https://github.com/szabolcs-szilagyi)) |
| 155 | + |
| 156 | +### Migrating from 3.1.1 to 3.1.2 |
| 157 | + |
| 158 | +Inside any created project that has not been ejected, run: |
| 159 | + |
| 160 | +```sh |
| 161 | +npm install --save --save-exact react-scripts@3.1.2 |
| 162 | +``` |
| 163 | + |
| 164 | +or |
| 165 | + |
| 166 | +```sh |
| 167 | +yarn add --exact react-scripts@3.1.2 |
| 168 | +``` |
| 169 | + |
1 | 170 | ## 3.1.1 (2019-08-13) |
2 | 171 |
|
3 | 172 | v3.1.1 is a maintenance release that includes minor bug fixes and documentation updates. |
|
329 | 498 | yarn add --exact react-scripts@3.0.0 |
330 | 499 | ``` |
331 | 500 |
|
| 501 | +**NOTE: You may need to delete your `node_modules` folder and reinstall your dependencies by running `yarn` (or `npm install`) if you encounter errors after upgrading.** |
| 502 | + |
332 | 503 | 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 is now supported out of the box. |
333 | 504 |
|
334 | 505 | ## Breaking Changes |
|
0 commit comments