|
| 1 | +## 5.0.1 (2022-04-12) |
| 2 | + |
| 3 | +Create React App 5.0.1 is a maintenance release that improves compatibility with React 18. We've also updated our templates to use `createRoot` and relaxed our check for older versions of Create React App. |
| 4 | + |
| 5 | +# Migrating from 5.0.0 to 5.0.1 |
| 6 | + |
| 7 | +Inside any created project that has not been ejected, run: |
| 8 | + |
| 9 | +``` |
| 10 | +npm install --save --save-exact [email protected] |
| 11 | +``` |
| 12 | + |
| 13 | +or |
| 14 | + |
| 15 | +``` |
| 16 | +yarn add --exact [email protected] |
| 17 | +``` |
| 18 | + |
| 19 | +#### :bug: Bug Fix |
| 20 | + |
| 21 | +- `react-scripts` |
| 22 | + - [#12245](https://github.com/facebook/create-react-app/pull/12245) fix: webpack noise printed only if error or warning ([@Andrew47](https://github.com/Andrew47)) |
| 23 | +- `create-react-app` |
| 24 | + - [#11915](https://github.com/facebook/create-react-app/pull/11915) Warn when not using the latest version of create-react-app but do not exit ([@iansu](https://github.com/iansu)) |
| 25 | +- `react-dev-utils` |
| 26 | + - [#11640](https://github.com/facebook/create-react-app/pull/11640) Ensure posix compliant joins for urls in middleware ([@psiservices-justin-sullard](https://github.com/psiservices-justin-sullard)) |
| 27 | + |
| 28 | +#### :nail_care: Enhancement |
| 29 | + |
| 30 | +- `cra-template-typescript`, `cra-template`, `react-scripts` |
| 31 | + - [#12220](https://github.com/facebook/create-react-app/pull/12220) Update templates to use React 18 `createRoot` ([@kyletsang](https://github.com/kyletsang)) |
| 32 | +- `cra-template-typescript`, `cra-template` |
| 33 | + - [#12223](https://github.com/facebook/create-react-app/pull/12223) chore: upgrade rtl version to support react 18 ([@MatanBobi](https://github.com/MatanBobi)) |
| 34 | +- `eslint-config-react-app` |
| 35 | + - [#11622](https://github.com/facebook/create-react-app/pull/11622) updated deprecated rules ([@wisammechano](https://github.com/wisammechano)) |
| 36 | + |
| 37 | +#### :memo: Documentation |
| 38 | + |
| 39 | +- [#11594](https://github.com/facebook/create-react-app/pull/11594) Fix a typo in deployment.md ([@fishmandev](https://github.com/fishmandev)) |
| 40 | +- [#11805](https://github.com/facebook/create-react-app/pull/11805) docs: Changelog 5.0.0 ([@jafin](https://github.com/jafin)) |
| 41 | +- [#11757](https://github.com/facebook/create-react-app/pull/11757) prevent both npm and yarn commands from being copied ([@mubarakn](https://github.com/mubarakn)) |
| 42 | + |
| 43 | +#### :house: Internal |
| 44 | + |
| 45 | +- [#11985](https://github.com/facebook/create-react-app/pull/11985) Ignore docs when publishing ([@iansu](https://github.com/iansu)) |
| 46 | + |
| 47 | +#### Committers: 11 |
| 48 | + |
| 49 | +- Andrew Burnie ([@Andrew47](https://github.com/Andrew47)) |
| 50 | +- Clément Vannicatte ([@shortcuts](https://github.com/shortcuts)) |
| 51 | +- Dmitriy Fishman ([@fishmandev](https://github.com/fishmandev)) |
| 52 | +- Dmitry Vinnik ([@dmitryvinn](https://github.com/dmitryvinn)) |
| 53 | +- Ian Sutherland ([@iansu](https://github.com/iansu)) |
| 54 | +- Jason Finch ([@jafin](https://github.com/jafin)) |
| 55 | +- Kyle Tsang ([@kyletsang](https://github.com/kyletsang)) |
| 56 | +- Matan Borenkraout ([@MatanBobi](https://github.com/MatanBobi)) |
| 57 | +- Wisam Naji ([@wisammechano](https://github.com/wisammechano)) |
| 58 | +- [@mubarakn](https://github.com/mubarakn) |
| 59 | +- [@psiservices-justin-sullard](https://github.com/psiservices-justin-sullard) |
| 60 | + |
1 | 61 | ## 5.0.0 (2021-12-14)
|
2 | 62 |
|
3 | 63 | Create React App 5.0 is a major release with several new features and the latest version of all major dependencies.
|
|
0 commit comments