Changelog History
Page 4
-
v4.0.3 Changes
February 22, 2021π v4.0.3 is a maintenance release that includes minor bug fixes and dependency updates.
:bug: Bug Fix
:house: Internal
react-dev-utils
create-react-app
- #10384 tests: update test case to match the description (@jamesgeorge007)
Committers: 4
- Brody McKee (@mrmckeb)
- Dion Woolley (@Awarua-)
- James George (@jamesgeorge007)
- Walker Clem (@wclem4)
-
v4.0.2 Changes
February 03, 2021π v4.0.2 is a maintenance release that includes minor bug fixes and documentation updates.
:rocket: New Feature
react-scripts
- #8986 Add support for new BUILD_PATH advanced configuration variable (@ajhyndman)
:bug: Bug Fix
react-scripts
:nail_care: Enhancement
react-scripts
- #9977 Move ESLint cache file into node_modules (@ehsankhfr)
- #9569 Improve vendor chunk names in development (@jrr)
π :memo: Documentation
- π #9473 docs: add missing override options for Jest config (@tobiasbueschel)
- β‘οΈ #10314 Update using-the-public-folder.md (@Avivhdr)
- π #10214 Remove references to Node 8 (@ianschmitz)
:house: Internal
react-scripts
create-react-app
- #10217 Fix CI tests (@ianschmitz)
react-dev-utils
,react-error-overlay
,react-scripts
:hammer: Underlying Tools
react-scripts
- #10216 Revert "Update postcss packages" (@ianschmitz)
- #9988 Upgrade sass-loader (@ehsankhfr)
- #10003 Update postcss packages (@raix)
- #10213 Upgrade @svgr/webpack to fix build error (@jabranr)
react-dev-utils
- #10198 remove chalk from formatWebpackMessages (@jasonwilliams)
cra-template-typescript
cra-template-typescript
,cra-template
- #10143 chore: bump web-vital dependency version (@sahilpurav)
Committers: 15
- Andrew Hyndman (@ajhyndman)
- Aviv Hadar (@Avivhdr)
- Brody McKee (@mrmckeb)
- Chris Shepherd (@sheepsteak)
- EhsanKhaki (@ehsankhfr)
- Hakjoon Sim (@trainto)
- Ian Schmitz (@ianschmitz)
- Jabran Rafiqueβ‘οΈ (@jabranr)
- Jason Williams (@jasonwilliams)
- John Ruble (@jrr)
- Kristoffer K. (@merceyz)
- Morten N.O. NΓΈrgaard Henriksen (@raix)
- Sahil Purav (@sahilpurav)
- Sergey Makarov (@maxsbelt)
- Tobias BΓΌschel (@tobiasbueschel)
- mad-jose (@josezone)
-
v4.0.1 Changes
May 08, 2019π v4.0.1 is a maintenance release that includes minor bug fixes and documentation updates.
:bug: Bug Fix
react-scripts
- #9921 Fix noFallthroughCasesInSwitch/jsx object is not extensible (@ryota-murakami)
- #9869 Fix react-jsx error (@benneq)
- #9885 fix:
React is not defined
compilation error after ejected (@n3tr) - #9911 fix: slow recompile time (@FezVrasta)
react-dev-utils
:nail_care: Enhancement
react-scripts
- #10048 Increase Workbox's maximumFileSizeToCacheInBytes (@jeffposnick)
π :memo: Documentation
:house: Internal
create-react-app
,react-dev-utils
,react-scripts
- #10083 replace inquirer with prompts (@EvanBacon)
cra-template-typescript
,cra-template
,react-scripts
- #9516 [ImgBot] Optimize images (@MichaelDeBoey)
- Other
- #9860 chore: Update .prettierrc (@MichaelDeBoey)
Committers: 9
- Anyul Rivas (@anyulled)
- Ben M (@benneq)
- Evan Bacon (@EvanBacon)
- Federico Zivolo (@FezVrasta)
- Jeffrey Posnick (@jeffposnick)
- Jirat Ki. (@n3tr)
- MichaΓ«l De Boey (@MichaelDeBoey)
- Ryota Murakami (@ryota-murakami)
- sho90 (@sho-t)
-
v4.0.0 Changes
October 23, 20204.0.0 (2020-10-23)
π Create React App 4.0 is a major release with several new features, including support for Fast Refresh!
π Thanks to all the maintainers and contributors who worked so hard on this release! π
Highlights
- Fast Refresh #8582
- π React 17 support
- New JSX transform #9645
- π TypeScript 4 support #9734
- π ESLint 7 #8978
- New Jest and React Testing Library rules #8963
- Jest 26 #8955
- PWA/workbox improvements
- Switch to the Workbox InjectManifest plugin #9205
- Now its own template so it can be released independently
- π Web Vitals support #9116
Migrating from 3.4.x to 4.0.0
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
NOTE: You may need to delete your
node_modules
folder and reinstall your dependencies by runningyarn
(ornpm install
) if you encounter errors after upgrading.β¬οΈ 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.
π₯ Breaking Changes
π Like any major release,
[email protected]
contains a number of breaking changes. We expect that they won't affect every user, but we recommend you look over this section to see if something is relevant to you. If we missed something, please file a new issue.π ESLint
β¬οΈ We've upgraded to ESLint 7 and added many new rules including some for Jest and React Testing Library as well as the
import/no-anonymous-default-export
rule. We've also upgradedeslint-plugin-hooks
to version 4.0.0 and removed theEXTEND_ESLINT
flag as it is no longer required to customize the ESLint config.Jest
β¬οΈ We've upgraded to Jest 26 and now set
resetMocks
totrue
by default in the Jest config.π· Service workers
π We've switched to the Workbox InjectManifest plugin and moved the PWA templates into their own repository.
β Removed
typescript
flag andNODE_PATH
supportπ We've removed the deprecated
typescript
flag when creating a new app. Use--template typescript
instead. We've also dropped deprecatedNODE_PATH
flag as this has been replaced by setting the base path injsconfig.json
.π Fix dotenv file loading order
π We've changed the loading order of env files to match the
dotenv
specification. See #9037 for more details.β¬οΈ Dropped Node 8 support
π Node 8 reached End-of-Life at the end of 2019 and is no longer supported.
Detailed Changelog
π± π New Feature
- π
eslint-config-react-app
,react-error-overlay
,react-scripts
- #8963 feat(eslint-config-react-app): Add jest & testing-library rules (@MichaelDeBoey)
react-scripts
create-react-app
cra-template-typescript
,cra-template
,react-scripts
- #9205 Switch to the Workbox InjectManifest plugin (@jeffposnick)
react-dev-utils
,react-scripts
- #8582 Add experimental react-refresh support (@charrondev)
π± π₯ Breaking Change
- π
eslint-config-react-app
,react-error-overlay
,react-scripts
- #8963 feat(eslint-config-react-app): Add jest & testing-library rules (@MichaelDeBoey)
- #8978 Support ESLint 7.x (@MichaelDeBoey)
- π
cra-template-typescript
,cra-template
,eslint-config-react-app
,react-error-overlay
,react-scripts
- π
eslint-config-react-app
- #9401 fix: remove deprecated rule (@ljosberinn)
create-react-app
cra-template-typescript
,cra-template
,react-scripts
- #9205 Switch to the Workbox InjectManifest plugin (@jeffposnick)
- π
babel-plugin-named-asset-import
,confusing-browser-globals
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #8955 Upgrade to Jest 26 (@ianschmitz)
create-react-app
,react-scripts
react-scripts
- #9037 Fix dotenv file loading order (@Timer)
- #7899 Set resetMocks to true by default in jest config (@alexkrolick)
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,create-react-app
,react-app-polyfill
,react-dev-utils
,react-error-overlay
,react-scripts
- #8950 Dependency major version upgrades (@ianschmitz)
- π
eslint-config-react-app
,react-scripts
- #8926 Add import/no-anonymous-default-export lint rule (@shakib609)
- #8939 Bump React Hooks ESLint plugin to 4.0.0 (@gaearon)
cra-template-typescript
,cra-template
,create-react-app
,react-app-polyfill
,react-dev-utils
,react-scripts
- #8948 Drop Node 8 support (@ianschmitz)
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,confusing-browser-globals
,cra-template-typescript
,react-dev-utils
,react-error-overlay
,react-scripts
π± π Bug Fix
react-scripts
- #9805 Fix refreshOverlayInterop module scope error (@ianschmitz)
- #9037 Fix dotenv file loading order (@Timer)
- #8700 Skip stdin resuming to support lerna parallel (@hieuxlu)
- #8845 Do not check for interactive session to shut down dev server (@jeremywadsack)
- #8768 Add .cjs and .mjs files support to test runner (@ai)
- π
babel-preset-react-app
,eslint-config-react-app
,react-scripts
- π
eslint-config-react-app
,react-scripts
create-react-app
babel-preset-react-app
react-dev-utils
- #9390 Publish refreshOverlayInterop with react-dev-utils (@klinem)
- #8492 Replace period in CSS Module classnames (@evankennedy)
react-dev-utils
,react-scripts
cra-template-typescript
,cra-template
,react-scripts
π± π Enhancement
react-scripts
- #9734 Use new JSX setting with TypeScript 4.1.0 (@iansu)
- #8638 Support source maps for scss in dev environments (@MKorostoff)
- #8834 Don't use webpack multi entry unnecessarily (@sebmarkbage)
- π
babel-preset-react-app
,eslint-config-react-app
,react-scripts
cra-template
babel-preset-react-app
,react-scripts
react-dev-utils
,react-scripts
react-dev-utils
,react-error-overlay
,react-scripts
cra-template-typescript
,cra-template
- #9116 Add performance relayer + documentation (web-vitals) (@housseindjirdeh)
- #8705 Update template tests (@MichaelDeBoey)
create-react-app
- #8460 Fix --use-pnp for Yarn 2 (@nickmccurdy)
π π Documentation
- Other
- #9728 Upgrade Docusaurus to latest version (@lex111)
- #9630 Emphasise that Next.js is capable of SSG (@liamness)
- #9073 Update running-tests.md (@MichaelDeBoey)
- #9560 Update Vercel deployment documentation (@timothyis)
- #9380 Update running-tests.md (@andycanderson)
- #9245 [Doc] fix React Testing Library example (@sakito21)
- #9231 Clarify wording in adding TypeScript to existing project (@merelinguist)
- #8895 Fix chai URL (@BMorearty)
- #9042 Update deployment docs for Azure Static Web Apps (@burkeholland)
- #8246 Add a VSCode tip in the CSS reset section (@maazadeeb)
- #8610 Update url to see prettier in action (@M165437)
- #8684 Simplify wording in setting-up-your-editor.md (@coryhouse)
- #8791 Add setupTests.js to the list of generated files (@MostafaNawara)
- #8763 Use simplified import of @testing-library/jest-dom (@Dremora)
react-dev-utils
- #9471 Fixes in the /packages/react-devs-utils/README.md file (@caspero-62)
- #8651 Update build script deployment URL (@StenAL)
cra-template-typescript
,cra-template
- #9241 Updated README.md Templates to Follow ESLint Markdown Rules (@firehawk09)
- #8406 Upgrade testing-library packages (@gnapse)
react-scripts
- #9244 Explain how to uninstall create-react-app globally (@nickmccurdy)
- #8838 Support devDependencies in templates (@mrmckeb)
cra-template-typescript
,cra-template
,react-dev-utils
,react-scripts
babel-preset-react-app
π± π Internal
- π
eslint-config-react-app
- #9670 fix(eslint-config-react-app): Make eslint-plugin-jest an optional peerDependency (@MichaelDeBoey)
- Other
- #9258 fix: Fix azure-pipelines' endOfLine (@MichaelDeBoey)
- #9102 Replace Spectrum links with GitHub Discussions (@iansu)
- #8656 Bump acorn from 6.4.0 to 6.4.1 in /docusaurus/website (@dependabot[bot])
- #8749 Specify what files are served form a bare local copy (@challet)
cra-template-typescript
,cra-template
- #9252 feat: Update testing-library dependencies to latest (@MichaelDeBoey)
react-dev-utils
cra-template
- #7787 Bump version of Verdaccio (@ianschmitz)
babel-preset-react-app
- #8858 Remove outdated comment (@availchet)
react-scripts
- #8952 fix react-refresh babel plugin not applied (@tanhauhau)
π± π¨ Underlying Tools
react-scripts
- #9865 Pass JSX runtime setting to Babel preset in Jest config (@iansu)
- #9841 Bump resolve-url-loader version (@johannespfeiffer)
- #9348 Upgrade refresh plugin (@ianschmitz)
- #8891 Bump style-loader to 1.2.1 (@chybisov)
react-error-overlay
,react-scripts
- #9863 Upgrade to React 17 (@iansu)
- #9856 feat: Update ESLint dependencies (@MichaelDeBoey)
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,confusing-browser-globals
,cra-template-typescript
,cra-template
,create-react-app
,eslint-config-react-app
,react-app-polyfill
,react-error-overlay
,react-scripts
- #9857 feat: Update all dependencies (@MichaelDeBoey)
- π
eslint-config-react-app
,react-dev-utils
,react-scripts
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,confusing-browser-globals
,cra-template-typescript
,cra-template
,create-react-app
,eslint-config-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #9639 Upgrade dependencies (@ianschmitz)
- π
eslint-config-react-app
,react-error-overlay
,react-scripts
- #9434 feat: Update ESLint dependencies (@MichaelDeBoey)
- #9251 feat: Update ESLint dependencies (@MichaelDeBoey)
- #8978 Support ESLint 7.x (@MichaelDeBoey)
cra-template-typescript
,cra-template
- #9526 Update template dependencies to latest version (@MichaelDeBoey)
- #8406 Upgrade testing-library packages (@gnapse)
react-app-polyfill
react-dev-utils
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,confusing-browser-globals
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #9317 Upgrade dependencies (@ianschmitz)
babel-preset-react-app
,cra-template-typescript
,cra-template
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #9196 Upgrade dependencies (@ianschmitz)
- #9132 Upgrade dependencies (@ianschmitz)
- π
babel-plugin-named-asset-import
,confusing-browser-globals
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #8955 Upgrade to Jest 26 (@ianschmitz)
babel-preset-react-app
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #9081 Update packages (@ianschmitz)
- #8947 Minor/patch dependency upgrades (@ianschmitz)
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,create-react-app
,react-app-polyfill
,react-dev-utils
,react-error-overlay
,react-scripts
- #8950 Dependency major version upgrades (@ianschmitz)
- π
eslint-config-react-app
,react-scripts
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,confusing-browser-globals
,cra-template-typescript
,react-dev-utils
,react-error-overlay
,react-scripts
Committers: 63
- Adam Charron (@charrondev)
- Alex Krolick (@alexkrolick)
- Alexey Pyltsyn (@lex111)
- Andrey Sitnik (@ai)
- Andy C (@andycanderson)
- Anuraag Agrawal (@anuraaga)
- Braedon Gough (@braedongough)
- Brian Morearty (@BMorearty)
- Brody McKee (@mrmckeb)
- Burke Holland (@burkeholland)
- Chetanya Kandhari (@availchet)
- ClΓ©ment DUNGLER (@tooppaaa)
- ClΓ©ment Hallet (@challet)
- Cory House (@coryhouse)
- Dan Abramov (@gaearon)
- Dylan Brookes (@merelinguist)
- Ernesto GarcΓa (@gnapse)
- Eugene Chybisov (@chybisov)
- Evan Kennedy (@evankennedy)
- Gerrit Alex (@ljosberinn)
- Hieu Do (@hieuxlu)
- Hongbo Miao (@Hongbo-Miao)
- Houssein Djirdeh (@housseindjirdeh)
- HuΓ‘ng JΓΉnliΓ ng (@JLHwung)
- Ian Schmitz (@ianschmitz)
- Ian Sutherland (@iansu)
- Iddan Aaronsohn (@iddan)
- Jakob Krigovsky (@sonicdoe)
- Jeffrey Posnick (@jeffposnick)
- Jeremy Wadsack (@jeremywadsack)
- Jeroen Claassens (@Favna)
- Joe Haddad (@Timer)
- Johannes Pfeiffer (@johannespfeiffer)
- Josemaria Nriagu (@josenriagu)
- Kenneth Skovhus (@skovhus)
- Kirill Korolyov (@Dremora)
- Kline Moralee (@klinem)
- Lenard Pratt (@Lapz)
- Liam Duffy (@liamness)
- Maaz Syed Adeeb (@maazadeeb)
- Marc Hassan (@mhassan1)
- Matt Korostoff (@MKorostoff)
- Michael Mok (@pmmmwh)
- Michael Schmidt-Voigt (@M165437)
- MichaΓ«l De Boey (@MichaelDeBoey)
- Minh Nguyen (@NMinhNguyen)
- Mostafa Nawara (@MostafaNawara)
- Nick McCurdy (@nickmccurdy)
- Rafael Quijada (@firehawk09)
- Raihan Nismara (@raihan71)
- Sakito Mukai (@sakito21)
- Sam Chen (@chenxsan)
- Sam Saccone (@samccone)
- Sebastian MarkbΓ₯ge (@sebmarkbage)
- Shakib Hossain (@shakib609)
- Simen Bekkhus (@SimenB)
- Stafford Williams (@staff0rd)
- Sten Arthur Laane (@StenAL)
- Tan Li Hau (@tanhauhau)
- Timothy (@timothyis)
- Tobias BΓΌschel (@tobiasbueschel)
- Webdot_30 (@caspero-62)
- @atlanteh
-
v3.4.3 Changes
August 12, 2020v3.4.2 release bumps
terser-webpack-plugin
to a version for whichnpm audit
does not report a vulnerability. Note that this vulnerability did not affect Create React App projects, so this change is only necessary to satisfy auditing tools.Migrating from 3.4.2 to 3.4.3
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
v3.4.2 Changes
August 11, 2020v3.4.2 release bumps
webpack-dev-server
to a version for whichnpm audit
does not report a vulnerability. Note that this vulnerability did not affect Create React App projects, so this change is only necessary to satisfy auditing tools.Migrating from 3.4.1 to 3.4.2
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
v3.4.1 Changes
March 20, 20203.4.1 (2020-03-20)
π v3.4.1 is a maintenance release that includes minor bug fixes and documentation updates including upgrading Babel to fix a bug in the 7.8 release line. This release also brings support for TypeScript 3.8.
π± π Bug Fix
react-scripts
- #8276 Use native ESLint behaviour when extending (@mrmckeb)
- #7203 Closes webpack dev server and exits process on "end" stdin (@kelseyleftwich)
babel-preset-react-app
- #8526 Fix optional chaining and nullish coalescing support (@ianschmitz)
- π
cra-template
,eslint-config-react-app
,react-scripts
π± π Enhancement
cra-template-typescript
,cra-template
react-scripts
- #8539 allow specification of package.main in template.json (@EvanBoyle)
π π Documentation
- Other
react-scripts
π± π¨ Underlying Tools
babel-preset-react-app
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #8681 Update to Babel 7.9 (@ianschmitz)
- #8620 Bump dependencies (@ianschmitz)
react-scripts
Committers: 9
- Brody McKee (@mrmckeb)
- Evan Boyle (@EvanBoyle)
- Herman J. Radtke III (@hjr3)
- Ian Schmitz (@ianschmitz)
- Kanitkorn Sujautra (@lukyth)
- KatCon (@connkat)
- Kelsey Leftwich (@kelseyleftwich)
- MaΓ«l Nison (@arcanis)
- Vincent (@Vinnl)
Migrating from 3.4.0 to 3.4.1
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
v3.4.0 Changes
February 14, 20203.4.0 (2020-02-14)
π v3.4.0 is a minor release that adds new features, including support for SSL and setting
PUBLIC_URL
in development. It also includes a fix for Hot Module Reloading with CSS Modules as well as other bug fixes.π± π Bug Fix
react-scripts
create-react-app
,react-dev-utils
,react-error-overlay
- #8439 Downgrade chalk for ie 11 support (@ianschmitz)
react-dev-utils
- #8292 Fixes unchecked access to 'deploy' script on build (@renato-bohler)
cra-template-typescript
,cra-template
- #8272 Handle service worker error in Firefox (@rosinghal)
cra-template-typescript
π± π Enhancement
react-dev-utils
,react-scripts
- #8442 fix(react-scripts): do not redirect served path if request may proxy (@iamandrewluca)
- #7259 feat(react-scripts): allow PUBLIC_URL in develoment mode (@iamandrewluca)
- #7750 Enable custom sockjs pathname for hot reloading server. (@heygrady)
cra-template-typescript
cra-template-typescript
,cra-template
- #8272 Handle service worker error in Firefox (@rosinghal)
react-scripts
- #5845 Add option to provide custom ssl certificates during development (@alexbrazier)
π π Documentation
cra-template-typescript
,cra-template
,react-dev-utils
,react-error-overlay
,react-scripts
- Other
π± π¨ Underlying Tools
react-dev-utils
- #8459 update open to v7.0.2 (@vince1995)
- #7948 Support JetBrains Rider IDE as an editor (@djpowell)
- #8367 Wider Chromium support for openBrowser (@handeyeco)
react-scripts
- #8282 Run git init before template dependencies are installed (@lukaszfiszer)
- Other
- #8402 fix(test): force install npm in e2e-behaviour (@iamandrewluca)
Committers: 18
- Alex Brazier (@alexbrazier)
- Andrew Luca (@iamandrewluca)
- Cassidy Williams (@cassidoo)
- Christopher Button (@devgeist)
- David Powell (@djpowell)
- Eugene Chybisov (@chybisov)
- Eugene Sviridov (@esvyridov)
- Grady Kuhnline (@heygrady)
- Ian Schmitz (@ianschmitz)
- Kevin Pham (@keevan)
- Lewis Llobera (@lewislbr)
- Martin Litvaj (@Kamahl19)
- Matthew Curtis (@handeyeco)
- Renato BΓΆhler (@renato-bohler)
- Rohit Singhal (@rosinghal)
- Vincent Semrau (@vince1995)
- Εukasz Fiszer (@lukaszfiszer)
- εη«ι (@JimmyLv)
Migrating from 3.3.1 to 3.4.0
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
v3.3.1 Changes
January 31, 20203.3.1 (2020-01-31)
π v3.3.1 is a maintenance release that includes minor bug fixes and documentation updates.
π± π Bug Fix
cra-template
react-scripts
- #8281 Fix sass importLoaders (@mariusc23)
- #8099 Add titleProp to SVGR ReactComponent type definition (@rhnorskov)
- #8028 fix(react-scripts): proactively append to .gitignore during generation (@bmuenzenmeyer)
- #8106 Fix CSS font-face minification (@sidonaldson)
babel-preset-react-app
- #8120 Sync dependencies babel config (@ianschmitz)
react-dev-utils
- #8116 Add slashes to WebSocket protocol URL (@Baael)
- #8079 webpackHotDevClient now uses wss when https is used (@mikecaulley)
π± π Enhancement
react-error-overlay
- #6548 Add helpful message to the footer (@pyrogenic)
cra-template-typescript
cra-template-typescript
,cra-template
,react-scripts
- #8219 Add template support for any package.json keys (#8082) (@tomvalorsa)
create-react-app
- #8298 Support shorthand scoped templates (@kevin940726)
- #8168 Add current version and bin location to --info output (@heyimalex)
cra-template-typescript
,cra-template
- #8194 Replace favicon in templates (@heyimalex)
- π
eslint-config-react-app
π π Documentation
- Other
- #8380 docs: Add troubleshooting documentation on ENOSPC (@huchenme)
- #8394 Update docs according to lint-staged v10 (@lukyth)
- #8307 Remove outdated docs regarding vscode eslint extension and typescript autofix (@alex-vukovity-cko)
- #8247 Update setting-up-your-editor.md (@dev-xu)
- #8092 Update custom template docs with instructions for testing custom template locally (@kevinold)
- #8293 Minor grammatical edit (@egrim)
- #8212 Little typo (@sonyarianto)
- #8147 update PWA docs links to point to template package (@peet)
- #8132 Add package-runner note to readme (@JeromeDeLeon)
- #8111 chore: update docusaurus & tweak site (@endiliey)
- #8080 Fix typo in CHANGELOG.md (@Trontor)
- #8077 Add custom-templates to docs sidebar (@ianschmitz)
babel-preset-react-app
π± π Internal
create-react-app
- #8178 Minor refactors in create-react-app (@heyimalex)
π± π¨ Underlying Tools
babel-preset-react-app
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #8353 Remove outdated babel plugins (@ianschmitz)
- #8324 Update Dependencies (@RDIL)
- #8122 Fix CI build (@ianschmitz)
react-dev-utils
- #8364 Downgrade open from 7.0.0 to 6.4.0 (@vince1995)
- #8163 Bump pkgUp (@andriijas)
- π
babel-plugin-named-asset-import
- #8171 Bump babel-plugin-tester and fix breaking changes (@andriijas)
create-react-app
,react-app-polyfill
,react-dev-utils
,react-error-overlay
,react-scripts
- #8176 Bump internal dependencies (@andriijas)
create-react-app
,react-dev-utils
,react-error-overlay
- #8164 Bump chalk (@andriijas)
react-error-overlay
,react-scripts
Committers: 29
- Alex Guerra (@heyimalex)
- Alex James Vukovity (@alex-vukovity-cko)
- Andreas CederstrΓΆm (@andriijas)
- Boyuan Xu (@dev-xu)
- Brian Muenzenmeyer (@bmuenzenmeyer)
- Endi (@endiliey)
- Evan Grim (@egrim)
- Hu Chen (@huchenme)
- Ian Schmitz (@ianschmitz)
- Jerome De Leon (@JeromeDeLeon)
- Joshua Pollak (@pyrogenic)
- Kai Hao (@kevin940726)
- Kanitkorn Sujautra (@lukyth)
- Kevin Old (@kevinold)
- Marius Craciunoiu (@mariusc23)
- Mike Caulley (@mikecaulley)
- Peet Goddard (@peet)
- Rasmus NΓΈrskov (@rhnorskov)
- Reece Dunham (@RDIL)
- Sean Zhu (@szhu)
- Simon Donaldson (@sidonaldson)
- Sony AK (@sonyarianto)
- Tom Valorsa (@tomvalorsa)
- Tomoya Fujita (@tomoyaf)
- Vadzim (@vadzim)
- Vincent Semrau (@vince1995)
- Wojciech ZieliΕski (@Baael)
- @Retsam
- @Trontor
Migrating from 3.3.0 to 3.3.1
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]
-
v3.3.0 Changes
December 04, 20193.3.0 (2019-12-04)
π v3.3.0 is a minor release that adds new features, including custom templates and support for the new optional chaining and nullish coalescing operators.
Custom Templates
You can now create a new app using custom templates.
π We've published our existing templates as
cra-template
andcra-template-typescript
, but we expect to see many great templates from the community over the coming weeks.The below command shows how you can create a new app with
cra-template-typescript
.npx create-react-app my-app --template typescript
π Note that you can omit the prefix
cra-template-
when specifying which template you would like. For TypeScript users, we're deprecating--typescript
in favour of--template typescript
.If you don't set a template, we'll create your new app with
cra-template
- which is just a new name for our base template.Optional Chaining and Nullish Coalescing Operators
π We now support the optional chaining and nullish coalescing operators!
// Optional chaininga?.(); // undefined if `a` is null/undefinedb?.c; // undefined if `b` is null/undefined// Nullish coalescingundefined ?? 'some other default'; // result: 'some other default'null ?? 'some other default'; // result: 'some other default''' ?? 'some other default'; // result: ''0 ?? 300; // result: 0false ?? true; // result: false
β¬οΈ If you're using TypeScript, you will need to upgrade your
typescript
dependency to3.7.0
or later if you wish to use the new operators.π If you're using Visual Studio Code 1.40 (the latest as of this release) or earlier, you will need to configure your editor if you want it to understand the new operators.
π If you're using TypeScript in your project and have already upgrade its version as described above, then you can configure VS Code to
Use Workspace Version
of TypeScript. If your project isn't using TypeScript, you can use the JavaScript and TypeScript Nightly extension until VS Code releases a newer version including TypeScript3.7.0
or newer.Numeric Separators
π We've added support for numeric separators to improve readability of numeric literals.
1000000000; // Is this a billion? a hundred millions? Ten millions?101475938.38; // what scale is this? what power of 10?1\_000\_000\_000; // Ah, so a billion101\_475\_938.38; // And this is hundreds of millions
no-unexpected-multiline
π We've removed this rule as it is not compatible with Prettier. If you rely on this rule you can re-enable it by extending our ESLint config and adding the following:
{ "extends": "react-app", "rules": { "no-unexpected-multiline": "warn" } }
π± π New Feature
babel-preset-react-app
- #7438 Add optional chaining and nullish coalescing operators support (@renatoagds)
babel-preset-react-app
,react-dev-utils
- #7817 Add numeric separator support (@tharun208)
cra-template-typescript
,cra-template
,create-react-app
,react-scripts
π± π₯ Breaking Change
create-react-app
,react-dev-utils
,react-scripts
#7988 Bump webpack-dev-server (@ianschmitz)
NOTE: This is only a breaking change if you're using
react-dev-utils
outside of Create React App.π± π Bug Fix
- π
eslint-config-react-app
create-react-app
react-scripts
- #7860 Mark TypeScript as an optional peer dependency for react-scripts (@dstaley)
- #7822 Fix absolute paths issue in Jest (@rovansteen)
- #7796 Fixed process type in TypeScript template. (@fuszenecker)
react-dev-utils
π± π Enhancement
cra-template-typescript
,cra-template
- #8005 Prefix apple-touch-icon links with PUBLIC_URL (@benblank)
- #7881 Add @testing-library to the default templates (@kentcdodds)
react-scripts
- #7989 Add scripts support to templates (@mrmckeb)
- #7921 Add restoreMocks to supported jest config keys (@ianschmitz)
- #6352 Add additional information for postcss errors (#6282) (@buildbreakdo)
- #6753 Add Service-Worker header to checkValidServiceWorker (@darthmaim)
- #7832 feat: add additional Jest keys to whitelist (@mrmckeb)
- #7022 Fix node_modules sourcemap config (which will fix VSCode debugging of CRA apps) (@justingrant)
cra-template
create-react-app
,react-error-overlay
- #7052 Dark scheme overlay (@Fabianopb)
babel-preset-react-app
π π Documentation
- Other
- #8050 Update template docs (@mrmckeb)
- #7995 Add contributors section to readme (@ianschmitz)
- #7896 chore: Fix broken link for e2e README (@haruelrovix)
- #7874 Bump docusaurus π¦ (@andriijas)
- #7819 π DOC: Improvement (@waahab)
- #7853 Update adding-bootstrap.md (@Xuhao)
- #7849 chore: update README.md gif links (@cchanxzy)
- #7840 Link to ASP.NET Core docs (@Daniel15)
- #7841 Update getting-started.md (@reactjser)
- #7809 Add a note about .eslintignore files being respected (@seanlaff)
- #7686 Link to React documentation for code splitting (@Hugodby)
- #7785 Upgrade to docusaurus 2 (@endiliey)
- #7824 Fix grammar error in troubleshooting.md (@jakeboone02)
- #7823 Document correct default behavior for HOST var (@jsejcksn)
- #7815 Tightens up the TypeScript docs (@orta)
- #7813 Clarify dynamic import stage in docs (@aprilandjan)
react-dev-utils
,react-scripts
babel-preset-react-app
react-dev-utils
- #7897 chore: Fix broken link for CRA deployment (@haruelrovix)
react-scripts
π± π Internal
react-scripts
- Other
- π
eslint-config-react-app
- #8003 Use @typescript-eslint/no-unused-expressions to support optional chaining (@maxdavidson)
create-react-app
cra-template-typescript
create-react-app
,react-dev-utils
,react-scripts
- #7773 Temporarily disable Windows in CI (@ianschmitz)
π± π¨ Underlying Tools
babel-preset-react-app
,cra-template-typescript
,cra-template
,create-react-app
,react-dev-utils
,react-error-overlay
,react-scripts
- #8024 Bump dependencies (@ianschmitz)
create-react-app
,react-dev-utils
,react-scripts
- #7988 Bump webpack-dev-server (@ianschmitz)
- #7876 Bump styling related loaders (@andriijas)
react-app-polyfill
- #7999 Unpin dependencies in react-app-polyfill (@ianschmitz)
babel-preset-react-app
,react-app-polyfill
,react-dev-utils
,react-scripts
- #7986 Bump dependencies (@ianschmitz)
react-scripts
- #7956 Upgrade jest-watch-typeahead (@Andarist)
- #7870 Fix eslint complaints in build.js (@andriijas)
- #7857 feat: upgrade terser & enable parallel minification in wsl (@endiliey)
- #7856 Move unused eslint webpack import into @remove-on-eject block (@mrseanbaines)
babel-preset-react-app
,cra-template-typescript
,create-react-app
,react-app-polyfill
,react-dev-utils
,react-error-overlay
,react-scripts
- #7951 Fix CI (@ianschmitz)
react-dev-utils
- #7910 Update open (@andriijas)
- π
babel-plugin-named-asset-import
,babel-preset-react-app
,react-error-overlay
,react-scripts
- #7814 Upgrade outdated packages (@andriijas)
react-error-overlay
,react-scripts
- #7875 Bump react (@andriijas)
Committers: 42
- π± Abdul Wahab β‘οΈ (@waahab)
- Alex Guerra (@heyimalex)
- π Ali Waseem (@awaseem)
- Andreas CederstrΓΆm (@andriijas)
- Ben Blank (@benblank)
- Brody McKee (@mrmckeb)
- Chun (@cchanxzy)
- Damian Senn (@topaxi)
- Daniel Lo Nigro (@Daniel15)
- Donavon West (@donavon)
- Dylan Staley (@dstaley)
- Endi (@endiliey)
- Fabiano Brito (@Fabianopb)
- Guillaume Hertault (@GuiHash)
- Havit Rovik (@haruelrovix)
- Hugo David-Boyet (@Hugodby)
- Ian Schmitz (@ianschmitz)
- Ian Sutherland (@iansu)
- Jake Boone (@jakeboone02)
- Jesse Jackson (@jsejcksn)
- Jonathan Felchlin (@GreenGremlin)
- π Joshua Robinson (@buildbreakdo)
- Justin Grant (@justingrant)
- Kanitkorn Sujautra (@lukyth)
- Kent C. Dodds (@kentcdodds)
- Klas BjΓΆrkqvist (@klasbj)
- Mateusz BurzyΕski (@Andarist)
- Max Davidson (@maxdavidson)
- May (@aprilandjan)
- Orta (@orta)
- RJ (@suprj)
- Renato Augusto Gama dos Santos (@renatoagds)
- Robert FUSZENECKER (@fuszenecker)
- Robert van Steen (@rovansteen)
- Sean Baines (@mrseanbaines)
- Sean Lafferty (@seanlaff)
- Tharun Rajendran (@tharun208)
- TomΓ‘Ε‘ HΓΌbelbauer (@TomasHubelbauer)
- Wataru Ashihara (@wataash)
- Xuhao (@Xuhao)
- @reactjser
- darthmaim (@darthmaim)
Migrating from 3.2.0 to 3.3.0
Inside any created project that has not been ejected, run:
npm install --save --save-exact [email protected]
or
yarn add --exact [email protected]