Skip to content

merging upstream master #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 87 commits into from
May 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
b855da5
Remove outdated babel plugins (#8353)
ianschmitz Jan 30, 2020
ddcb7d5
Add titleProp to SVGR ReactComponent type definition (#8099)
rhnorskov Jan 30, 2020
720d90b
Sync dependencies babel config (#8120)
ianschmitz Jan 30, 2020
cafd602
Update custom template docs with instructions for testing custom temp…
kevinold Jan 30, 2020
ca9c61e
Update setting-up-your-editor.md (#8247)
eip1599 Jan 30, 2020
dd0df73
Remove outdated docs regarding vscode eslint extension and type… (#8307)
john-james-gh Jan 30, 2020
e530598
Fix sass importLoaders (#8281)
mariusc23 Jan 30, 2020
ed162a3
Add "Disallow:" to robots.txt (#8255)
tomoyaf Jan 30, 2020
6ee4e91
Add helpful message to the footer (#6548)
pyrogenic Jan 31, 2020
03018d7
Update docs according to lint-staged v10 (#8394)
lukyth Jan 31, 2020
4da41b4
docs: Add troubleshooting documentation on ENOSPC (#8380)
huchenme Jan 31, 2020
a7b8732
Prepare 3.3.1 release
iansu Jan 31, 2020
d7c6842
Publish
iansu Jan 31, 2020
fb9745e
Make the PWA link point to the right place (#8379)
cassidoo Jan 31, 2020
d9e05f9
Update commit message to use imperative mood (#8377)
crstead Jan 31, 2020
d2de54b
Wider Chromium support for openBrowser (#8367)
Jan 31, 2020
325e599
fix(test): force install npm in e2e-behaviour (#8402)
Jan 31, 2020
0db04ec
setupTestFrameworkScriptFile is deprecated (#8390)
JimmyLv Jan 31, 2020
1959131
Fix robots.txt for TS (#8403)
Kamahl19 Jan 31, 2020
9233caf
Update public folder usage docs to clarify globals (#8299)
keevan Jan 31, 2020
84d8b14
Run git init before template dependencies are installed (#8282)
lukaszfiszer Jan 31, 2020
cc985d0
Support JetBrains Rider IDE as an editor (#7948)
djpowell Jan 31, 2020
822422c
Enable custom sockjs pathname for hot reloading server. (#7750)
heygrady Jan 31, 2020
0299c0e
Add option to provide custom ssl certificates during development (#5845)
alexbrazier Jan 31, 2020
3190e4f
Handle service worker error in Firefox (#8272)
rosinghal Jan 31, 2020
1cbc6f7
feat(react-scripts): allow PUBLIC_URL in develoment mode (#7259)
Feb 2, 2020
687c4eb
Change arrow functions to function declarations (#8412)
Feb 3, 2020
cd2469e
Fix navbar line break in header (#8437)
esvyridov Feb 6, 2020
767aa18
Fixes unchecked access to 'deploy' script on build (#8292)
renato-bohler Feb 8, 2020
eb8e7be
Downgrade chalk for ie 11 support (#8439)
ianschmitz Feb 8, 2020
d45823c
fix(react-scripts): do not redirect served path if request may proxy …
Feb 8, 2020
865ea05
fix(typescriptFormatter): use chalk@2 constructor (#8450)
Feb 10, 2020
589b41a
update open to v7.0.2 (#8459)
vince1995 Feb 11, 2020
4784997
Correct webpack name casing (#8475)
Feb 13, 2020
e579de1
Downgrade style-loader to v0.23.1 due to CSS modules hot reload… (#8378)
chybisov Feb 14, 2020
5ccee88
Prepare 3.4.0 release
iansu Feb 14, 2020
8b0dd54
Publish
iansu Feb 14, 2020
af926d5
Bump pnp-webpack-plugin (#8509)
arcanis Feb 19, 2020
7e6d6cd
Closes webpack dev server and exits process on "end" stdin (#7203)
Feb 19, 2020
038e6fa
Widen eslint-config-react-app peer dependency versions (#7790)
lukyth Feb 19, 2020
2030ee1
Fix optional chaining and nullish coalescing support (#8526)
ianschmitz Feb 20, 2020
7d3b72c
Update template example in docs (#8561)
Vinnl Feb 29, 2020
8ba0ccb
Whitelist main in template.json (#8539)
EvanBoyle Feb 29, 2020
4d26208
Use native ESLint behaviour when extending (#8276)
mrmckeb Mar 1, 2020
3f699fd
Fix proxying API request docs (#8515)
hjr3 Mar 4, 2020
a452ddc
Bump dependencies (#8620)
ianschmitz Mar 9, 2020
6adb82a
Add React.StrictMode to default templates (#8558)
connkat Mar 10, 2020
d5b527f
Update to Babel 7.9 (#8681)
ianschmitz Mar 20, 2020
7641a3c
Prepare 3.4.1 release
iansu Mar 20, 2020
d2f813f
Publish
iansu Mar 21, 2020
79dbc33
Update template tests (#8705)
MichaelDeBoey Mar 24, 2020
edc671e
Bump TypeScript template to 3.8 (#8713)
braedongough Mar 27, 2020
bc41892
Add .cjs and .mjs files support to test runner (#8768)
ai Apr 4, 2020
56d34c0
Use simplified import of @testing-library/jest-dom (#8763)
Dremora Apr 4, 2020
c7352c7
Include absoluteRuntime in babel preset docs (#5847)
iddan Apr 4, 2020
4cbb003
Specify what files are served form a bare local copy (#8749)
challet Apr 4, 2020
e0b179c
fix: handle templates without main package field (#8734)
mrmckeb Apr 4, 2020
c5b96c2
Add experimental react-refresh support (#8582)
charrondev Apr 6, 2020
53cace5
Add setupTests.js to the list of generated files (#8791)
MostafaNawara Apr 7, 2020
f0f4d5b
Simplify wording in setting-up-your-editor.md (#8684)
coryhouse Apr 7, 2020
d80e533
Update url to see prettier in action (#8610)
M165437 Apr 7, 2020
a4fa63f
Bump acorn from 6.4.0 to 6.4.1 in /docusaurus/website (#8656)
dependabot[bot] Apr 7, 2020
e89f153
Don't use webpack multi entry unnecessarily (#8834)
sebmarkbage Apr 15, 2020
855a984
Widen eslint-config-react-app peer dependency versions (#8892)
NMinhNguyen Apr 27, 2020
3771237
Revert "Replace favicon in templates (#8194)" (#8925)
gaearon Apr 28, 2020
9cc1bdf
Minor/patch dependency upgrades (#8947)
ianschmitz May 3, 2020
9904075
Upgrade to Jest 25 (#8362)
skovhus May 4, 2020
8b0d21f
Drop Node 8 support (#8948)
ianschmitz May 4, 2020
fa93437
Bump React Hooks ESLint plugin to 4.0.0 (#8939)
gaearon May 4, 2020
99f1b6b
Update build script deployment URL (#8651)
StenAL May 4, 2020
2975939
Do not check for interactive session to shut down dev server (#8845)
jeremywadsack May 4, 2020
b37cff9
Support source maps for scss in dev environments (#8638)
mkorostoff May 4, 2020
790fba9
Skip stdin resuming to support lerna parallel (#8700)
hieuxlu May 4, 2020
4974a20
Set resetMocks to true by default in jest config (#7899)
alexkrolick May 4, 2020
3c2f2d4
Add import/no-anonymous-default-export lint rule (#8926)
shakib609 May 4, 2020
5d437b8
Upgrade testing-library packages (#8406)
gnapse May 4, 2020
5a019e6
Bump style-loader to 1.2.1 (#8891)
chybisov May 4, 2020
2473a73
Support devDependencies in templates (#8838)
mrmckeb May 4, 2020
62e8e3d
fix react-refresh babel plugin not applied (#8952)
tanhauhau May 4, 2020
6a7aaa2
Add a VSCode tip in the CSS reset section (#8246)
maazadeeb May 5, 2020
408c065
Add back in --stats output from webpack. (#8790)
samccone May 5, 2020
1f81469
Fix --use-pnp for Yarn 2 (#8460)
nickserv May 5, 2020
6b28c60
Replace period in CSS Module classnames (#8492)
evankennedy May 5, 2020
9123aae
Move shortlinks to cra.link (#8957)
iansu May 5, 2020
0cfccd8
Remove outdated comment (#8858)
availchet May 8, 2020
a0b3753
bump webpack-dev-server to 3.11.0 (#8975)
mhassan1 May 8, 2020
f5c3bdb
Dependency major version upgrades (#8950)
ianschmitz May 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"arrowParens": "avoid",
"trailingComma": "es5",
"singleQuote": true,
"semi": true
Expand Down
837 changes: 449 additions & 388 deletions CHANGELOG-0.x.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ yarn add --exact [email protected]
- [#3757](https://github.com/facebook/create-react-app/pull/3757) Try updating Flow. ([@gaearon](https://github.com/gaearon))
- [#3414](https://github.com/facebook/create-react-app/pull/3414) Export `dismissRuntimeErrors` function. ([@skidding](https://github.com/skidding))
- [#3036](https://github.com/facebook/create-react-app/pull/3036) Cleaning up `printHostingInstructions` a bit. ([@GreenGremlin](https://github.com/GreenGremlin))
- [#3514](https://github.com/facebook/create-react-app/pull/3514) Fix `FileSizeReporter` for multi build Webpack setups. ([@iiska](https://github.com/iiska))
- [#3514](https://github.com/facebook/create-react-app/pull/3514) Fix `FileSizeReporter` for multi build webpack setups. ([@iiska](https://github.com/iiska))
- [#3362](https://github.com/facebook/create-react-app/pull/3362) Refactor extra watch options regex to `react-dev-utils`. ([@xjlim](https://github.com/xjlim))

#### Committers: 47
Expand Down Expand Up @@ -1104,7 +1104,7 @@ or
yarn add --dev --exact [email protected]
```

**If you previously used `HTTPS=true` environment variable in development**, make sure you aren't affected by a now-fixed vulnerability in Webpack by [visiting this page](http://badcert.mike.works/). You can read more about the vulnerability [here](https://medium.com/@mikenorth/webpack-preact-cli-vulnerability-961572624c54).
**If you previously used `HTTPS=true` environment variable in development**, make sure you aren't affected by a now-fixed vulnerability in webpack by [visiting this page](http://badcert.mike.works/). You can read more about the vulnerability [here](https://medium.com/@mikenorth/webpack-preact-cli-vulnerability-961572624c54).

You may optionally then move `react-scripts` from `devDependencies` to `dependencies` since that’s how we’ll structure newly created projects. It is not necessary though.

Expand Down Expand Up @@ -1724,7 +1724,7 @@ Please [file an issue](https://github.com/facebook/create-react-app/issues/new)
- `react-dev-utils`
- [#2125](https://github.com/facebook/create-react-app/pull/2125) Only show the first compilation error. ([@gaearon](https://github.com/gaearon))
- [#2120](https://github.com/facebook/create-react-app/pull/2120) Omit ESLint warnings when there are ESLint errors. ([@gaearon](https://github.com/gaearon))
- [#2113](https://github.com/facebook/create-react-app/pull/2113) Prettify errors and warnings for Webpack 2. ([@gaearon](https://github.com/gaearon))
- [#2113](https://github.com/facebook/create-react-app/pull/2113) Prettify errors and warnings for webpack 2. ([@gaearon](https://github.com/gaearon))
- [#1842](https://github.com/facebook/create-react-app/pull/1842) Modularize and extract crash overlay to iframe. ([@Timer](https://github.com/Timer))
- `create-react-app`
- [#1811](https://github.com/facebook/create-react-app/pull/1811) Allow creation of apps in empty Mercurial repos. ([@GreenGremlin](https://github.com/GreenGremlin))
Expand Down Expand Up @@ -1770,7 +1770,7 @@ Please [file an issue](https://github.com/facebook/create-react-app/issues/new)
- [#1736](https://github.com/facebook/create-react-app/pull/1736) Fix eject for linked react-scripts. ([@tuchk4](https://github.com/tuchk4))
- [#1741](https://github.com/facebook/create-react-app/pull/1741) Fix internal linting setup. ([@gaearon](https://github.com/gaearon))
- [#1730](https://github.com/facebook/create-react-app/pull/1730) Fix Node 4 e2e tests. ([@Timer](https://github.com/Timer))
- [#1715](https://github.com/facebook/create-react-app/pull/1715) Remove unused `url` import in Webpack config. ([@pd4d10](https://github.com/pd4d10))
- [#1715](https://github.com/facebook/create-react-app/pull/1715) Remove unused `url` import in webpack config. ([@pd4d10](https://github.com/pd4d10))
- [#1700](https://github.com/facebook/create-react-app/pull/1700) Update extract-text-webpack-plugin to stable. ([@SimenB](https://github.com/SimenB))
- `react-dev-utils`, `react-scripts`
- [#2209](https://github.com/facebook/create-react-app/pull/2209) Move more logic from react-scripts to react-dev-utils. ([@gaearon](https://github.com/gaearon))
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ You can read more about [these polyfills here](https://github.com/facebook/creat

### Dynamic `import()` of a CommonJS module now has a `.default` property

[Webpack 4 changed the behavior of `import()`](https://medium.com/webpack/webpack-4-import-and-commonjs-d619d626b655) to be closer in line with the specification.
[webpack 4 changed the behavior of `import()`](https://medium.com/webpack/webpack-4-import-and-commonjs-d619d626b655) to be closer in line with the specification.

Previously, importing a CommonJS module did not require you specify the default export. In most cases, this is now required.
If you see errors in your application about `... is not a function`, you likely need to update your dynamic import, e.g.:
Expand Down Expand Up @@ -973,7 +973,7 @@ If you used 2.x alphas, please [follow these instructions](https://gist.github.c
- `react-scripts`
- [#5218](https://github.com/facebook/create-react-app/pull/5218) Support globalSetup and globalTeardown Jest options ([@gaearon](https://github.com/gaearon))
- [#5073](https://github.com/facebook/create-react-app/pull/5073) Add user defined proxy via middleware ([@Timer](https://github.com/Timer))
- [#3945](https://github.com/facebook/create-react-app/pull/3945) Allow bundles to be analyzed with Webpack-specific tools ([@joshwcomeau](https://github.com/joshwcomeau))
- [#3945](https://github.com/facebook/create-react-app/pull/3945) Allow bundles to be analyzed with webpack-specific tools ([@joshwcomeau](https://github.com/joshwcomeau))
- [#4195](https://github.com/facebook/create-react-app/pull/4195) Sass loader ([@Fabianopb](https://github.com/Fabianopb))
- [#3909](https://github.com/facebook/create-react-app/pull/3909) Add loader for .graphql files ([@petetnt](https://github.com/petetnt))
- [#1288](https://github.com/facebook/create-react-app/pull/1288) Create git repository with initial commit ([@mauricedb](https://github.com/mauricedb))
Expand All @@ -988,7 +988,7 @@ If you used 2.x alphas, please [follow these instructions](https://gist.github.c
- [#3865](https://github.com/facebook/create-react-app/pull/3865) Add opt-out for preset-flow to work with @babel/preset-typescript ([@oieduardorabelo](https://github.com/oieduardorabelo))
- [#3675](https://github.com/facebook/create-react-app/pull/3675) add experimental babel-plugin-macros support ([@kentcdodds](https://github.com/kentcdodds))
- `babel-preset-react-app`, `confusing-browser-globals`, `eslint-config-react-app`, `react-dev-utils`, `react-error-overlay`, `react-scripts`
- [#4077](https://github.com/facebook/create-react-app/pull/4077) Webpack 4 ([@andriijas](https://github.com/andriijas))
- [#4077](https://github.com/facebook/create-react-app/pull/4077) webpack 4 ([@andriijas](https://github.com/andriijas))
- `create-react-app`
- [#4350](https://github.com/facebook/create-react-app/pull/4350) Support package distribution tags ([@miraage](https://github.com/miraage))
- `babel-preset-react-app`, `react-scripts`
Expand Down Expand Up @@ -1125,7 +1125,7 @@ If you used 2.x alphas, please [follow these instructions](https://gist.github.c
- [#4846](https://github.com/facebook/create-react-app/pull/4846) Update jest version ([@skoging](https://github.com/skoging))
- [#4362](https://github.com/facebook/create-react-app/pull/4362) Bumped jest version to 22.4.1 ([@CGreenburg](https://github.com/CGreenburg))
- `babel-preset-react-app`, `confusing-browser-globals`, `eslint-config-react-app`, `react-dev-utils`, `react-error-overlay`, `react-scripts`
- [#4077](https://github.com/facebook/create-react-app/pull/4077) Webpack 4 ([@andriijas](https://github.com/andriijas))
- [#4077](https://github.com/facebook/create-react-app/pull/4077) webpack 4 ([@andriijas](https://github.com/andriijas))
- `babel-preset-react-app`
- [#4432](https://github.com/facebook/create-react-app/pull/4432) Update babel-plugin-macros to fix a bug ([@stereobooster](https://github.com/stereobooster))
- [#3818](https://github.com/facebook/create-react-app/pull/3818) Remove PropTypes from production build (#209) ([@iansu](https://github.com/iansu))
Expand Down
Loading