|
| 1 | +## 4.0.1 (2020-11-23) |
| 2 | + |
| 3 | +v4.0.1 is a maintenance release that includes minor bug fixes and documentation updates. |
| 4 | + |
| 5 | +#### :bug: Bug Fix |
| 6 | + |
| 7 | +- `react-scripts` |
| 8 | + - [#9921](https://github.com/facebook/create-react-app/pull/9921) Fix noFallthroughCasesInSwitch/jsx object is not extensible ([@ryota-murakami](https://github.com/ryota-murakami)) |
| 9 | + - [#9869](https://github.com/facebook/create-react-app/pull/9869) Fix react-jsx error ([@benneq](https://github.com/benneq)) |
| 10 | + - [#9885](https://github.com/facebook/create-react-app/pull/9885) fix: `React is not defined` compilation error after ejected ([@n3tr](https://github.com/n3tr)) |
| 11 | + - [#9911](https://github.com/facebook/create-react-app/pull/9911) fix: slow recompile time ([@FezVrasta](https://github.com/FezVrasta)) |
| 12 | +- `react-dev-utils` |
| 13 | + - [#9884](https://github.com/facebook/create-react-app/pull/9884) fix: page doesn't get refreshed when FAST_REFRESH=false ([@n3tr](https://github.com/n3tr)) |
| 14 | + |
| 15 | +#### :nail_care: Enhancement |
| 16 | + |
| 17 | +- `react-scripts` |
| 18 | + - [#10048](https://github.com/facebook/create-react-app/pull/10048) Increase Workbox's maximumFileSizeToCacheInBytes ([@jeffposnick](https://github.com/jeffposnick)) |
| 19 | + |
| 20 | +#### :memo: Documentation |
| 21 | + |
| 22 | +- [#10052](https://github.com/facebook/create-react-app/pull/10052) docs: add React Testing Library as a library requiring jsdom ([@anyulled](https://github.com/anyulled)) |
| 23 | + |
| 24 | +#### :house: Internal |
| 25 | + |
| 26 | +- `create-react-app`, `react-dev-utils`, `react-scripts` |
| 27 | + - [#10083](https://github.com/facebook/create-react-app/pull/10083) replace inquirer with prompts ([@EvanBacon](https://github.com/EvanBacon)) |
| 28 | +- `cra-template-typescript`, `cra-template`, `react-scripts` |
| 29 | + - [#9516](https://github.com/facebook/create-react-app/pull/9516) [ImgBot] Optimize images ([@MichaelDeBoey](https://github.com/MichaelDeBoey)) |
| 30 | +- Other |
| 31 | + - [#9860](https://github.com/facebook/create-react-app/pull/9860) chore: Update .prettierrc ([@MichaelDeBoey](https://github.com/MichaelDeBoey)) |
| 32 | + |
| 33 | +#### Committers: 9 |
| 34 | + |
| 35 | +- Anyul Rivas ([@anyulled](https://github.com/anyulled)) |
| 36 | +- Ben M ([@benneq](https://github.com/benneq)) |
| 37 | +- Evan Bacon ([@EvanBacon](https://github.com/EvanBacon)) |
| 38 | +- Federico Zivolo ([@FezVrasta](https://github.com/FezVrasta)) |
| 39 | +- Jeffrey Posnick ([@jeffposnick](https://github.com/jeffposnick)) |
| 40 | +- Jirat Ki. ([@n3tr](https://github.com/n3tr)) |
| 41 | +- Michaël De Boey ([@MichaelDeBoey](https://github.com/MichaelDeBoey)) |
| 42 | +- Ryota Murakami ([@ryota-murakami](https://github.com/ryota-murakami)) |
| 43 | +- sho90 ([@sho-t](https://github.com/sho-t)) |
| 44 | + |
| 45 | +# Migrating from 4.0.0 to 4.0.1 |
| 46 | + |
| 47 | +Inside any created project that has not been ejected, run: |
| 48 | + |
| 49 | +```bash |
| 50 | +npm install --save --save-exact [email protected] |
| 51 | +``` |
| 52 | + |
| 53 | +or |
| 54 | + |
| 55 | +``` |
| 56 | +yarn add --exact [email protected] |
| 57 | +``` |
| 58 | + |
1 | 59 | ## 4.0.0 (2020-10-23)
|
2 | 60 |
|
3 | 61 | Create React App 4.0 is a major release with several new features, including support for Fast Refresh!
|
|
0 commit comments