-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,63 @@ | ||
## 5.0.1 (2022-04-12) | ||
|
||
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. | ||
|
||
# Migrating from 5.0.0 to 5.0.1 | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
npm install --save --save-exact [email protected] | ||
``` | ||
|
||
or | ||
|
||
``` | ||
yarn add --exact [email protected] | ||
``` | ||
|
||
#### :bug: Bug Fix | ||
|
||
- `react-scripts` | ||
- [#12245](https://github.com/facebook/create-react-app/pull/12245) fix: webpack noise printed only if error or warning ([@Andrew47](https://github.com/Andrew47)) | ||
- `create-react-app` | ||
- [#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)) | ||
- `react-dev-utils` | ||
- [#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)) | ||
|
||
#### :nail_care: Enhancement | ||
|
||
- `cra-template-typescript`, `cra-template`, `react-scripts` | ||
- [#12220](https://github.com/facebook/create-react-app/pull/12220) Update templates to use React 18 `createRoot` ([@kyletsang](https://github.com/kyletsang)) | ||
- `cra-template-typescript`, `cra-template` | ||
- [#12223](https://github.com/facebook/create-react-app/pull/12223) chore: upgrade rtl version to support react 18 ([@MatanBobi](https://github.com/MatanBobi)) | ||
- `eslint-config-react-app` | ||
- [#11622](https://github.com/facebook/create-react-app/pull/11622) updated deprecated rules ([@wisammechano](https://github.com/wisammechano)) | ||
|
||
#### :memo: Documentation | ||
|
||
- [#11594](https://github.com/facebook/create-react-app/pull/11594) Fix a typo in deployment.md ([@fishmandev](https://github.com/fishmandev)) | ||
- [#11805](https://github.com/facebook/create-react-app/pull/11805) docs: Changelog 5.0.0 ([@jafin](https://github.com/jafin)) | ||
- [#11757](https://github.com/facebook/create-react-app/pull/11757) prevent both npm and yarn commands from being copied ([@mubarakn](https://github.com/mubarakn)) | ||
|
||
#### :house: Internal | ||
|
||
- [#11985](https://github.com/facebook/create-react-app/pull/11985) Ignore docs when publishing ([@iansu](https://github.com/iansu)) | ||
|
||
#### Committers: 11 | ||
|
||
- Andrew Burnie ([@Andrew47](https://github.com/Andrew47)) | ||
- Clément Vannicatte ([@shortcuts](https://github.com/shortcuts)) | ||
- Dmitriy Fishman ([@fishmandev](https://github.com/fishmandev)) | ||
- Dmitry Vinnik ([@dmitryvinn](https://github.com/dmitryvinn)) | ||
- Ian Sutherland ([@iansu](https://github.com/iansu)) | ||
- Jason Finch ([@jafin](https://github.com/jafin)) | ||
- Kyle Tsang ([@kyletsang](https://github.com/kyletsang)) | ||
- Matan Borenkraout ([@MatanBobi](https://github.com/MatanBobi)) | ||
- Wisam Naji ([@wisammechano](https://github.com/wisammechano)) | ||
- [@mubarakn](https://github.com/mubarakn) | ||
- [@psiservices-justin-sullard](https://github.com/psiservices-justin-sullard) | ||
|
||
## 5.0.0 (2021-12-14) | ||
|
||
Create React App 5.0 is a major release with several new features and the latest version of all major dependencies. | ||
|
6fb4f97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installing template dependencies using npm...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"<18.0.0" from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@"^12.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/camerondixon/.npm/eresolve-report.txt for a full report.
Error fixed. Thank you.