Commit graph

353 commits

Author SHA1 Message Date
Tim Neutkens
668cc6a6f1 v9.5.2-canary.4 2020-08-04 12:35:24 +02:00
Joe Haddad
8285df5ed2
v9.5.2-canary.3 2020-08-04 00:08:28 -04:00
Joe Haddad
ed0a47b110
v9.5.2-canary.2 2020-08-03 01:47:42 -04:00
Joe Haddad
6366727550
v9.5.2-canary.1 2020-07-31 13:31:49 -04:00
Joe Haddad
dcb69ee92f
Strictly type react-dev-overlay (#15669)
Fixes #15668
2020-07-30 06:55:23 +00:00
Arsalan Khattak
3caa996096
Error overlay should not be dismissable for a server error (#14011) 2020-07-30 00:57:29 -04:00
Joe Haddad
6a48e3de60
v9.5.2-canary.0 2020-07-29 23:53:24 -04:00
Joe Haddad
cac35c389a
Fix hot reloader edge case with broken webpack plugins (#15659) 2020-07-29 23:44:25 -04:00
Joe Haddad
6b0c4948f0
v9.5.1 2020-07-29 23:11:48 -04:00
Joe Haddad
662d84b95b
v9.5.1-canary.3 2020-07-29 22:36:18 -04:00
Joe Haddad
8f914a3bcb
Fix error overlay hotlinking (#15658)
This pull request:

1. Relocates tests to correct location
1. Tests more scenarios
1. Fixes a bug with anchors at the start of error message
1. Fixes react key warning error

Fixes #15599
2020-07-30 00:58:36 +00:00
Darsh Patel
c1e5b66cd7
Fix: space issue in error overlay and add tests (#15617) 2020-07-29 19:30:18 -04:00
Joe Haddad
b748b5a443
v9.5.1-canary.2 2020-07-29 13:18:18 -04:00
JJ Kasper
1a0cdbeacb
v9.5.1-canary.1 2020-07-29 09:58:32 -05:00
Tim Neutkens
4730a1061d v9.5.1-canary.0 2020-07-28 14:08:23 +02:00
Darsh Patel
23eb267499
Make Links rendered in the error overlay clickable [ 14017 ] (#14055)
Co-authored-by: TodorTotev <51530311+TodorTotev@users.noreply.github.com>
2020-07-28 13:22:28 +02:00
Tim Neutkens
d33dbea8dc v9.5.0 2020-07-27 16:55:16 +02:00
Joe Haddad
1ee151640e
v9.4.5-canary.45 2020-07-27 01:59:19 -04:00
Joe Haddad
ac12c07ce5
Fix peer dependency (#15511) 2020-07-27 01:58:36 -04:00
Joe Haddad
3accce37a7
v9.4.5-canary.44 2020-07-27 00:23:23 -04:00
Joe Haddad
53a3ffea25
v9.4.5-canary.43 2020-07-22 02:20:02 -04:00
Joe Haddad
0866ce3f5c
v9.4.5-canary.42 2020-07-20 16:19:48 -04:00
Joe Haddad
a45def87a2
v9.4.5-canary.41 2020-07-20 13:00:54 -04:00
Tim Neutkens
047b73b824 v9.4.5-canary.40 2020-07-20 17:39:41 +02:00
Joe Haddad
42014a49af
v9.4.5-canary.39 2020-07-19 22:20:41 -04:00
Joe Haddad
b1cfa51b47
v9.4.5-canary.38 2020-07-19 01:53:53 -04:00
Necmettin Karakaya
c2f38f2af0
[Fix] common misspelling errors (#15288)
For reference: https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
2020-07-19 04:38:20 +00:00
Tim Neutkens
569a289c84 v9.4.5-canary.37 2020-07-17 11:08:33 +02:00
Joe Haddad
2ffe46605d
v9.4.5-canary.36 2020-07-16 10:50:28 -04:00
Joe Haddad
b9f4bdfde3
v9.4.5-canary.35 2020-07-15 21:41:55 -04:00
Joe Haddad
ac7bee1589
v9.4.5-canary.34 2020-07-15 01:29:42 -04:00
Joe Haddad
29dfaf9c7b
v9.4.5-canary.33 2020-07-14 14:59:19 -04:00
Joe Haddad
a8b2a8e617
v9.4.5-canary.32 2020-07-13 15:40:57 -04:00
Tim Neutkens
096c9a33d2 v9.4.5-canary.31 2020-07-09 16:32:24 +02:00
JJ Kasper
62902545df
v9.4.5-canary.30 2020-07-08 14:51:37 -05:00
Joe Haddad
85057e5417
v9.4.5-canary.29 2020-07-07 02:11:43 -04:00
Tim Neutkens
55bfafc8a7
Add webpack peerdependency to react-dev-overlay (#14842) 2020-07-05 17:42:33 -04:00
Tim Neutkens
eecc73702b v9.4.5-canary.28 2020-07-03 13:31:38 +02:00
Tim Neutkens
c5e1e48e5a
Replace extra source line in webpack 5 (#14793)
Co-authored-by: Joe Haddad <timer@zeit.co>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-07-03 13:30:52 +02:00
Tim Neutkens
9e83ba8cf6 v9.4.5-canary.27 2020-07-01 20:49:52 +02:00
Tim Neutkens
c5cc6072d0
Use single webpack runtimeChunk for Node.js compilation (#14722)
Webpack 5 supports a single runtimechunk for the Node.js compilation, this solves sharing modules between entrypoints.
2020-07-01 15:34:00 +00:00
JJ Kasper
4a107b6994
v9.4.5-canary.26 2020-06-30 17:21:24 -05:00
Joe Haddad
cbb1c5c755
v9.4.5-canary.25 2020-06-30 11:54:20 -04:00
Joe Haddad
af901f4366
v9.4.5-canary.24 2020-06-29 17:31:30 -04:00
JJ Kasper
f12a9f92f8
v9.4.5-canary.23 2020-06-29 10:45:40 -05:00
Tim Neutkens
479c38d3b7 v9.4.5-canary.22 2020-06-27 20:39:52 +02:00
Tim Neutkens
3909c76cef v9.4.5-canary.21 2020-06-27 13:11:08 +02:00
Tim Neutkens
8393869912 v9.4.5-canary.20 2020-06-26 12:05:38 +02:00
Tim Neutkens
ae542b8525
Use entry option instead of custom make hook (#14527)
Simplifies on-demand-entries a bit.
2020-06-26 04:26:09 +00:00
JJ Kasper
3b12dbf488
v9.4.5-canary.19 2020-06-25 15:13:12 -05:00
JJ Kasper
15367829de
v9.4.5-canary.18 2020-06-23 16:04:34 -05:00
JJ Kasper
2136c46b89
Ensure dev overlay uses basePath for requests (#14475)
This fixes the `basePath` not being used when making requests for the `react-dev-overlay`. We might want to pass down the `basePath` to the overlay instead of relying on the `process.env` injection although may be fine this way, will defer to @Timer for preferred way to pass this value to the dev-overlay

Closes: https://github.com/vercel/next.js/issues/14470
2020-06-23 15:11:12 +00:00
Tim Neutkens
23db226ea5 v9.4.5-canary.17 2020-06-23 13:39:18 +02:00
Tim Neutkens
1f125f8a7e v9.4.5-canary.16 2020-06-22 23:20:11 +02:00
Joe Haddad
6ab0724916
v9.4.5-canary.15 2020-06-22 10:14:07 -04:00
Darsh Patel
19f3306aaa
open click-to-open editor in foreground for windows (#14307)
spent a lot of hours trying to figure out why did the editor window not open in the foreground on windows.

The fix was super simple  : /
Needed to add `detached: true` option in child_process.spawn call

Fixes: https://github.com/vercel/next.js/issues/14016
2020-06-22 05:13:55 +00:00
Tim Neutkens
ee1cf6f8c4 v9.4.5-canary.14 2020-06-21 11:20:23 +02:00
Joe Haddad
11753dd27f
v9.4.5-canary.13 2020-06-17 09:37:56 -04:00
Tim Neutkens
60d1ed2ee5 v9.4.5-canary.12 2020-06-12 11:11:17 +02:00
Joe Haddad
c2c0e6d677
v9.4.5-canary.11 2020-06-11 10:41:38 -04:00
Tim Neutkens
90638c7001 v9.4.5-canary.10 2020-06-11 10:57:59 +02:00
Joe Haddad
54ac432390
v9.4.5-canary.9 2020-06-10 00:51:04 -04:00
Joe Haddad
72ddfeb6a1
v9.4.5-canary.8 2020-06-08 14:12:17 -04:00
Tim Neutkens
0fc344e6a3
Remove unused variable (#13716)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-06-03 11:58:58 -04:00
Joe Haddad
ca4de3e7e8
v9.4.5-canary.7 2020-06-02 22:06:20 -04:00
Joe Haddad
7f6c6f0316
Do not syntax highlight collapsed frames [ch1899] (#13684)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-06-02 13:54:33 -04:00
Joe Haddad
4dd5616af2
v9.4.5-canary.6 2020-06-02 13:36:40 -04:00
Joe Haddad
4cd85a43b4
Skip reading filesystem in favor of sourcesContent [ch1898] (#13677)
This skips reading from the file system because the `sourcesContent` can be used to access the source code.

I've completely removed the filesystem fallback, because it's probably not our code that'd be syntax highlighted anyway.
2020-06-02 16:32:27 +00:00
Tim Neutkens
31b3e46b8f
Use inclusive naming for variables / examples (#13657)
https://twitter.com/vercel/status/1267650234236252161

The variables for the launchEditor feature were kept consistent with Create React App so it's probably a good idea for them to change them too: https://github.com/facebook/create-react-app/search?q=WINDOWS_FILE_NAME_WHITELIST

Prior discussions on this topic:
- https://github.com/hashicorp/consul/issues/7901
- https://github.com/styled-system/styled-system/issues/391
- https://github.com/go-sql-driver/mysql/pull/1116
- https://github.com/lagom/lagom/issues/2532
- https://github.com/grafana/grafana/issues/18841
2020-06-02 13:52:41 +00:00
Joe Haddad
9ce4655fee
v9.4.5-canary.5 2020-06-01 19:20:19 -04:00
Tim Neutkens
b124ed2e14
Added no-shadow rule to eslint (#13645)
Was going through _document and noticed some variable shadowing going on. Added a rule for it to our eslint configuration and went through all warnings with @Timer.
2020-06-01 21:00:22 +00:00
Joe Haddad
9dede1011a
v9.4.5-canary.4 2020-06-01 10:08:35 -04:00
Tim Neutkens
6a993d5972 v9.4.5-canary.3 2020-05-29 17:58:45 +02:00
Tim Neutkens
619493a9be v9.4.5-canary.2 2020-05-29 10:20:37 +02:00
Joe Haddad
a62aadddab
v9.4.5-canary.1 2020-05-29 00:47:33 -04:00
Tim Neutkens
ad145d347f v9.4.5-canary.0 2020-05-28 13:56:34 +02:00
Joe Haddad
bee8c31b87
Lint for invalid imports (#13482)
This adds a lint rule to ensure we don't import dev dependencies by accident.
2020-05-28 08:23:10 +00:00
Joe Haddad
e6eb32f676
v9.4.4 2020-05-28 00:07:27 -04:00
Joe Haddad
b37d2f1267
v9.4.4-canary.0 2020-05-27 23:44:36 -04:00
Joe Haddad
96c3b08701
v9.4.3 2020-05-27 22:17:56 -04:00
Joe Haddad
e7922873ba
v9.4.3-canary.3 2020-05-27 21:25:18 -04:00
Joe Haddad
b7e17e09e5
Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
JJ Kasper
61ace6ca03
v9.4.3-canary.2 2020-05-27 12:05:08 -05:00
Joe Haddad
202be4ceb8
v9.4.3-canary.1 2020-05-26 23:25:53 -04:00
Joe Haddad
89bc74909b
v9.4.3-canary.0 2020-05-23 21:52:57 -04:00
Joe Haddad
91b1548d32
v9.4.2 2020-05-20 15:32:29 -04:00
Joe Haddad
05a12cb742
v9.4.2-canary.5 2020-05-20 14:48:52 -04:00
Joe Haddad
5703362d77
v9.4.2-canary.4 2020-05-20 12:00:01 -04:00
Joe Haddad
d64e2e1cbe
Use eval-source-map for Server Side Errors (#13123)
This switches to faster source maps in development for the server-side compilation on macOS.

We still need to figure out a story for Windows.
2020-05-20 05:00:50 +00:00
Joe Haddad
d0d59782f5
v9.4.2-canary.3 2020-05-19 08:47:23 -04:00
Joe Haddad
53a2cebdf6
v9.4.2-canary.2 2020-05-18 23:23:08 -04:00
Joe Haddad
86160a5190
Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
Joe Haddad
2b58755027
v9.4.2-canary.1 2020-05-18 09:48:48 -04:00
Joe Haddad
da1e2b32fb
v9.4.2-canary.0 2020-05-18 08:56:28 -04:00
Felix Mosheev
c2f8046f9b
fix modal overlay in RTL layouts (#13000) 2020-05-17 17:32:56 -04:00
Joe Haddad
ca372a9500
v9.4.1 2020-05-16 18:14:00 -04:00
Joe Haddad
d5d9013795
v9.4.1-canary.9 2020-05-16 17:53:08 -04:00
Joe Haddad
01211ba21d
v9.4.1-canary.8 2020-05-16 17:15:27 -04:00
Joe Haddad
fc927a2a7f
v9.4.1-canary.7 2020-05-15 17:17:10 -04:00
JJ Kasper
1872219959
v9.4.1-canary.6 2020-05-15 14:04:04 -05:00
Joe Haddad
99766ca9e2
v9.4.1-canary.5 2020-05-15 08:50:03 -04:00
Joe Haddad
3bd2711c19
[Fast Refresh] Improve responsiveness on Windows (#12909) 2020-05-15 08:30:23 -04:00
Joe Haddad
fddf00c56f
v9.4.1-canary.4 2020-05-14 12:16:04 -04:00
Joe Haddad
18549e065d
Scroll entire content instead of only header (#12881) 2020-05-14 12:14:42 -04:00
Joe Haddad
ff8d4c45e3
Explicit header for SSR error (#12880) 2020-05-14 12:10:08 -04:00
Joe Haddad
e35c6534e7
Eliminate 404s from internal requests (#12871) 2020-05-14 15:54:34 +02:00
Joe Haddad
b48eb89d08
v9.4.1-canary.3 2020-05-13 17:25:01 -04:00
Tim Neutkens
efa763e924 v9.4.1-canary.2 2020-05-13 13:34:53 +02:00
Joe Haddad
bfed6d8dd1
v9.4.1-canary.1 2020-05-12 19:39:52 -04:00
Joe Haddad
87e096eb5b
v9.4.1-canary.0 2020-05-11 19:40:55 -04:00
Joe Haddad
6d1167eed6
v9.4.0 2020-05-11 10:47:34 -04:00
Joe Haddad
f9e24ab54c
v9.3.7-canary.21 2020-05-11 10:24:14 -04:00
Joe Haddad
0900d57359
v9.3.7-canary.20 2020-05-11 02:03:32 -04:00
Joe Haddad
565e111cb0
v9.3.7-canary.19 2020-05-10 20:49:17 -04:00
Tim Neutkens
61599b8598 v9.3.7-canary.18 2020-05-10 12:06:09 +02:00
Joe Haddad
80f1194421
v9.3.7-canary.17 2020-05-09 18:43:31 -04:00
Joe Haddad
1a8ad5a723
[Fast Refresh] Do not draw eye to collapsed frames (#12673) 2020-05-09 18:37:24 -04:00
Joe Haddad
1c555f6759
[Fast Refresh] Resize Arrows and Preserve Newlines (#12672) 2020-05-09 18:37:13 -04:00
Joe Haddad
56633ed6be
[Fast Refresh] Overlay hash must consider stack (#12639) 2020-05-08 12:09:45 -04:00
Joe Haddad
7a02581159
v9.3.7-canary.16 2020-05-08 10:29:37 -04:00
Joe Haddad
8d024554a7
v9.3.7-canary.15 2020-05-08 01:00:00 -04:00
Joe Haddad
9b35ca8adc
[Fast Refresh] Adjust Overlay Styling (#12623) 2020-05-08 00:58:58 -04:00
Joe Haddad
2fa3edccc9
Clarify dismissal message (#12624) 2020-05-08 00:29:41 -04:00
Joe Haddad
d5d3c60489
Fix error toast pluralization (#12622) 2020-05-08 00:29:25 -04:00
JJ Kasper
d37891a921
Update to latest version of stacktrace-parser (#12597) 2020-05-07 08:26:15 -05:00
Joe Haddad
9c1c551eeb
v9.3.7-canary.14 2020-05-07 01:36:27 -04:00
Joe Haddad
a795e48be1
v9.3.7-canary.13 2020-05-07 00:51:18 -04:00
JJ Kasper
d77bd94486
Fix moduleId not resolving correctly on Windows (#12584) 2020-05-06 22:17:03 -04:00
Joe Haddad
d6b61d3057
[Fast Refresh] Toggling of Collapsed Frames (#12560) 2020-05-06 12:39:48 -04:00
Joe Haddad
177b016e76
v9.3.7-canary.12 2020-05-06 01:05:24 -04:00
Joe Haddad
e173967b9f
[Fast Refresh] New Compile Error Overlay (#12543) 2020-05-05 23:46:07 -04:00
Joe Haddad
8fd7338f77
v9.3.7-canary.11 2020-05-05 12:01:06 -04:00
Joe Haddad
b82df02e63
[Fast Refresh] Fix overlay display on Safari (#12523) 2020-05-05 12:00:40 -04:00
Joe Haddad
f024814057
[Fast Refresh] Correctly Trap Focus in Overlay (#12502)
* [Fast Refresh] Correctly Trap Focus in Overlay

* Adjust escape behavior to be more correct

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-05 11:05:40 -04:00
Joe Haddad
a05b636b02
[Fast Refresh] Better Tabbing Order (#12503) 2020-05-05 11:05:25 -04:00
Joe Haddad
ed86e2d10b
v9.3.7-canary.10 2020-05-04 17:27:30 -04:00
Joe Haddad
e0449a5b9c
[Fast Refresh] New Overlay for Prerender Error (#12485) 2020-05-04 17:16:03 -04:00
Joe Haddad
e70e35a728
Elements with role=link should open on [Enter] (#12460) 2020-05-04 11:22:00 -04:00
Joe Haddad
11404551f3
v9.3.7-canary.9 2020-05-03 21:56:50 -04:00
Joe Haddad
2906c8e9e5
v9.3.7-canary.8 2020-05-03 21:44:53 -04:00
Joe Haddad
d00445090e
v9.3.7-canary.7 2020-05-03 20:22:43 -04:00
Joe Haddad
081c1a17e8
[Fast Refresh] Unlock Focus on Disabled Element (#12425) 2020-05-03 20:07:55 -04:00
Joe Haddad
45d8a7a5c2
[Fast Refresh] Fix terminal editors on macOS (#12430) 2020-05-03 19:56:14 -04:00
Joe Haddad
d1a43619f3
[Fast Refresh] Add Titles for Click to Open Action (#12427) 2020-05-02 22:40:11 -04:00
Joe Haddad
8cf61bf23e
v9.3.7-canary.6 2020-05-02 01:59:59 -04:00
Joe Haddad
922b0ecc9b
v9.3.7-canary.5 2020-05-01 23:44:52 -04:00
Joe Haddad
37e3ec8d17
[Fast Refresh] Click to open in editor (#12397) 2020-05-01 22:04:03 -04:00
Joe Haddad
eab41abada
Only monospace numbers for new overlay (#12394) 2020-05-01 16:04:10 -04:00
Joe Haddad
84cf6aad2a
v9.3.7-canary.4 2020-04-30 13:27:28 -04:00
Joe Haddad
42daf7f47c
Upgrade source-map package (#12355)
* Abort after 10s instead of 3s while testing

* skip tests to unlock CI

* re-enable tests

* fix

* Catch `performReactRefresh` errors
2020-04-30 13:13:40 -04:00
Joe Haddad
0ffeca26f6
v9.3.7-canary.3 2020-04-30 11:40:14 -04:00
Tim Neutkens
20b62de8d7 v9.3.7-canary.2 2020-04-30 16:51:26 +02:00
Joe Haddad
fbea795ad9
[Fast Refresh] Redesigned Runtime Error Experience (#12222) 2020-04-30 10:50:25 -04:00