Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
9f4cb4f
webpackHotDev now uses wss when https is used (#8079)
mikecaulley Dec 5, 2019
2ace7c2
Add custom-templates to docs sidebar (#8077)
ianschmitz Dec 5, 2019
8330e7c
Fix typo in CHANGELOG.md (#8080)
Trontor Dec 6, 2019
b19bffe
Remove error for @typescript-eslint/no-namespace (#7803)
szhu Dec 6, 2019
0b293e9
Fix CI build (#8122)
ianschmitz Dec 9, 2019
0327d89
Fix CSS font-face minification (#8106)
sidonaldson Dec 9, 2019
53a48c4
Add slashes to WebSocket protocol URL (#8116)
Baael Dec 9, 2019
b8ff97b
Fix typo in comment: `?.` is right, not `.?` (#8124)
vadzim Dec 9, 2019
1f1594d
chore: update docusaurus & tweak site (#8111)
endiliey Dec 10, 2019
8d1a4f2
[Security] Update terser webpack plugin (#8102)
RDIL Dec 11, 2019
ebcffda
Add current version and bin location to --info output (#8168)
heyimalex Dec 13, 2019
9922275
Bump pkgUp (#8163)
andriijas Dec 13, 2019
349a92a
Bump chalk (#8164)
andriijas Dec 13, 2019
ab2976f
Add link to Netlify in README
iansu Dec 13, 2019
f26de73
Bump internal dependencies (#8176)
andriijas Dec 14, 2019
f314855
Add package-runner note to readme (#8132)
JeromeDeLeon Dec 15, 2019
1a13b59
Update PWA docs links to point to template package (#8147)
peet Dec 15, 2019
30eaab4
Minor refactors in create-react-app (#8178)
heyimalex Dec 16, 2019
18e56da
fix: proactively append to .gitignore during init (#8028)
bmuenzenmeyer Dec 18, 2019
88a5435
Bump babel-plugin-tester and fix breaking changes (#8171)
andriijas Dec 19, 2019
3f2037b
Little typo (#8212)
sonyarianto Dec 20, 2019
c03bb36
Replace favicon in templates (#8194)
heyimalex Dec 30, 2019
fa85f03
Support shorthand scoped templates (#8298)
kevin940726 Jan 12, 2020
94932be
Allow additional package keys and add blacklist (#8082) (#8219)
tomvalorsa Jan 12, 2020
f875bb0
Minor grammatical edit (#8293)
egrim Jan 16, 2020
a608c5a
Update Dependencies (#8324)
RDIL Jan 21, 2020
dada035
Remove React.FC from Typescript template (#8177)
Retsam Jan 22, 2020
4bf14fa
Downgrade open from 7.0.0 to 6.4.0 (#8364)
vince1995 Jan 23, 2020
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
6526e06
update react-scripts package from 3.3.0 to 3.4.0
Jagatmachines Feb 19, 2020
7230a3d
Merge branch 'master' of https://github.com/react-workspaces/create-r…
Jagatmachines Feb 19, 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
12 changes: 6 additions & 6 deletions CHANGELOG-0.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,9 @@ npm install -g create-react-app@1.0.1

Historically we have allowed specifying `NODE_PATH` environment variable as a way to allow “absolute imports”. For example, running `NODE_PATH=src npm start` in Bash or `set NODE_PATH=src&&npm start` in Windows Cmd would let you import anything inside `src` without specifying a relative path. However, we found a few nasty edge cases when Node.js core modules end up being in `NODE_PATH` and erroneously become bundled. As a result the build would crash on some systems when some libraries are imported. To fix this, we now only honor relative paths from `NODE_PATH` in Create React App. This means the existing use case for absolute imports is still supported (`src` in the example above is relative), but absolute paths in `NODE_PATH` (such as paths to Node.js core modules) will be ignored.

* [#1188](https://github.com/facebook/create-react-app/pull/1188) Update Webpack to fix source map issues. ([@gaearon](https://github.com/gaearon))
* [#1188](https://github.com/facebook/create-react-app/pull/1188) Update webpack to fix source map issues. ([@gaearon](https://github.com/gaearon))

Since 0.8.0, we show source maps in development instead of the compiled code. However, it has come to our attention that Webpack's source map implementation had issues interpreting Babel output, and caused source maps to be wrong and breakpoints to be unusable in some cases. Webpack has released a fix for this, and we have updated the minimal version of Webpack that we are using.
Since 0.8.0, we show source maps in development instead of the compiled code. However, it has come to our attention that webpack's source map implementation had issues interpreting Babel output, and caused source maps to be wrong and breakpoints to be unusable in some cases. webpack has released a fix for this, and we have updated the minimal version of webpack that we are using.

* [#1180](https://github.com/facebook/create-react-app/pull/1180) Use `file-loader` for svgs. ([@bogdansoare](https://github.com/bogdansoare))

Expand Down Expand Up @@ -945,7 +945,7 @@ Thanks to [@fson](https://github.com/fson) for cutting this release.

### ESLint Config (`eslint-config-react-app`)

* Adds `import/no-webpack-loader-syntax` rule that forbids using custom Webpack specific syntax to specify Webpack loaders in import statements. ([@fson](https://github.com/fson) in [#803](https://github.com/facebook/create-react-app/pull/803))
* Adds `import/no-webpack-loader-syntax` rule that forbids using custom webpack specific syntax to specify webpack loaders in import statements. ([@fson](https://github.com/fson) in [#803](https://github.com/facebook/create-react-app/pull/803))
* `react/react-in-jsx-scope` rule ("React must be in scope") is now an error. ([@gaearon](https://github.com/gaearon) in [#822](https://github.com/facebook/create-react-app/pull/822))
* `no-unused-expressions` rule now allows the use of short circuit and ternary expressions. ([@cannona](https://github.com/cannona) in [#724](https://github.com/facebook/create-react-app/pull/724))

Expand All @@ -958,7 +958,7 @@ Thanks to [@fson](https://github.com/fson) for cutting this release.
### Utilities (`react-dev-utils`)

* The error overlay is now disposed after fixing linting errors. ([@jarlef](https://github.com/jarlef) in [#856](https://github.com/facebook/create-react-app/pull/856))
* Adds support for Webpack 2 to `webpackHotDevClient`. ([@michalkvasnicak](https://github.com/michalkvasnicak) in [#840](https://github.com/facebook/create-react-app/pull/840))
* Adds support for webpack 2 to `webpackHotDevClient`. ([@michalkvasnicak](https://github.com/michalkvasnicak) in [#840](https://github.com/facebook/create-react-app/pull/840))

### Global CLI (`create-react-app`)

Expand Down Expand Up @@ -1201,7 +1201,7 @@ Paths like `/src/somefile.png` used to be served in development, but only by acc

If you need a static file to be part for the build, [import it from JavaScript and you will get its filename](https://github.com/facebook/create-react-app/blob/master/template/README.md#adding-images-and-fonts). This ensures it gets included into the production build as well, and its filename contains the content hash.

If you used static files with `<link href>`, [read this new guide](https://github.com/facebook/create-react-app/blob/master/template/README.md#referring-to-static-assets-from-link-href) on how to make sure these files get included into the builds. For example, you can replace `<link href="/src/favicons/favicon-32.png">` with `<link href="./src/favicons/favicon-32.png">`, and then Webpack will recognize it and include it into the build.
If you used static files with `<link href>`, [read this new guide](https://github.com/facebook/create-react-app/blob/master/template/README.md#referring-to-static-assets-from-link-href) on how to make sure these files get included into the builds. For example, you can replace `<link href="/src/favicons/favicon-32.png">` with `<link href="./src/favicons/favicon-32.png">`, and then webpack will recognize it and include it into the build.

If you referenced some other files from `index.html`, please file an issue to discuss your use case. In the meantime, you can serve them from a separate static server until your use case is supported.

Expand Down Expand Up @@ -1315,7 +1315,7 @@ Newly created projects will use `0.2.2` automatically. You **don’t** need to u
### Build Dependency (`react-scripts`)

* Fixes an issue with `npm start` taking a very long time on OS X with Firewall enabled ([@gaearon](https://github.com/gaearon) in [#319](https://github.com/facebook/create-react-app/pull/319))
* Fixes an issue with Webpack eating a lot of CPU in some cases ([@dceddia](https://github.com/dceddia) in [#294](https://github.com/facebook/create-react-app/pull/294))
* Fixes an issue with webpack eating a lot of CPU in some cases ([@dceddia](https://github.com/dceddia) in [#294](https://github.com/facebook/create-react-app/pull/294))
* We now warn if you import a file with mismatched casing because this breaks the watcher ([@alexzherdev](https://github.com/alexzherdev) in [#266](https://github.com/facebook/create-react-app/pull/266))
* CSS files specifying `?v=` after asset filenames, such as Font Awesome, now works correctly ([@alexzherdev](https://github.com/alexzherdev) in [#298](https://github.com/facebook/create-react-app/pull/298))
* Issues with `npm link`ing `react-scripts` have been fixed ([@dallonf](https://github.com/dallonf) in [#277](https://github.com/facebook/create-react-app/pull/277))
Expand Down
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 react-scripts@1.1.1
- [#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 react-scripts@1.0.8
```

**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