Joe Haddad
d1b987f524
v9.3.5-canary.11
2020-04-14 10:49:42 -04:00
Joe Haddad
841cd6c4d7
Fix Situation Where Build Can Hang Indefinitely ( #11881 )
2020-04-14 10:25:24 -04:00
Tim Neutkens
5713bcbb6c
v9.3.5-canary.10
2020-04-14 11:35:38 +02:00
JJ Kasper
d3e308a79f
Add basePath in link component and add/remove it consistently ( #9988 )
...
* Add basePath in link component and add/remove it consistently
* Update to not use regex for delBasePath
* Expose addBasePath as router method
* Revert "Expose addBasePath as router method"
This reverts commit 40fed596195c6affabf837e42d472452768e13a3.
* Expose basePath as router field
* Apply suggestion
* Expose basePath as router field
* remove un-used vars
* Update externals
* Apply lint fix
* Update size-limit test
* Update prefetch
2020-04-14 09:50:39 +02:00
Houssein Djirdeh
04ceba4309
Adds first input delay performance metric ( #8884 )
...
* measures fid
* updates typings, fixes logic, updates per review comments
* update to es5
* separate clearMeasures
* use relayer
* creates fid polyfll render helper + simplifies measure
* switch to dynamic import
* creates fid experimental flag
* removes unecessary time-to-first-input metric
* removes hydration measure removes
* default flag to false
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-13 14:46:46 -04:00
JJ Kasper
2594bb93ab
v9.3.5-canary.9
2020-04-13 11:26:11 -05:00
JJ Kasper
dcb0a656f5
Add gip identifiers to NEXT_DATA ( #11835 )
...
* Add gip identifiers to NEXT_DATA
* Update test a bit
2020-04-13 11:59:49 +02:00
Dave Cardwell
cbcb10b922
Add displayName property to React Context objects ( #11829 )
...
https://reactjs.org/docs/context.html#contextdisplayname
Use the .displayName property to show distinct component names in React
DevTools. For example, “DocumentContext.Provider” instead of just
“Context.Provider”.
2020-04-13 11:55:42 +02:00
JJ Kasper
37c98faa01
Make sure to pass through query values for custom routes ( #11812 )
2020-04-11 12:57:52 +02:00
Tim Neutkens
099ea8b932
v9.3.5-canary.8
2020-04-11 12:45:39 +02:00
Joe Haddad
1199c235b1
Externalize next-server
from Server Builds ( #11819 )
...
* Externalize from Server Builds
* Windows Compatibility for Plugins
* Only check for windows path on windows
* add comments
2020-04-11 12:36:06 +02:00
JJ Kasper
46ecb00112
v9.3.5-canary.7
2020-04-10 18:12:02 -05:00
JJ Kasper
cd1a2a5949
Handle more invalid CSS class characters ( #11809 )
...
* Handle more invalid CSS class characters
* Remove old comment
2020-04-10 10:37:24 -05:00
JJ Kasper
ab4ba0418c
Replace brackets in CSS classes for dynamic routes ( #11795 )
2020-04-10 12:32:55 +02:00
JJ Kasper
0648c35508
Update auto export opt-out warning and err.sh ( #11801 )
2020-04-10 12:31:19 +02:00
Joe Haddad
13cf97055f
v9.3.5-canary.6
2020-04-09 10:24:02 -04:00
Joe Haddad
041384bdda
Upgrade ci-info
( #11758 )
...
* Upgrade `ci-info`
This adds support for Nevercode, GH Actions, and Render.
* Repackage compiled deps
* Try to fix test
2020-04-09 10:23:04 -04:00
JJ Kasper
7af04db4e4
Fix just headers not being applied in dev mode ( #11755 )
2020-04-09 10:24:15 +02:00
JJ Kasper
fa167e3346
Update to latest version of AMP optimizer ( #11753 )
...
* Update to latest version of AMP optimizer
* Update test
* Update another test
* Update another test
2020-04-09 10:23:31 +02:00
Joe Haddad
2704387d2e
Add New Provider ( #11757 )
2020-04-08 16:20:28 -04:00
Zack Krida
21be4c054b
Fix: small typo in SERVER_PROPS_EXPORT_ERROR
constant ( #11749 )
2020-04-08 09:43:18 -04:00
JJ Kasper
cad2a75649
Make sure to handle "next" import gracefully ( #11733 )
...
* Make sure to handle "next" import gracefully
* Update test file
2020-04-07 15:13:01 -04:00
Joe Haddad
43a8e57b3e
v9.3.5-canary.5
2020-04-07 13:38:48 -04:00
JJ Kasper
cc9678056e
Fix inconsistent handling for /index ( #11643 )
...
* Fix inconsistent handling for /index
* Add more test cases
* Add pages/index/index.js test
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 13:24:53 -04:00
JJ Kasper
bf184fceeb
Update to merge props from GSSP methods with _app pageProps ( #11709 )
...
* Add warning for pageProps GSSP conflict
* Update warning
* Update to merge pageProps instead of warn on conflict
* bump
* Update merging
2020-04-07 11:33:26 -04:00
JJ Kasper
84b89c8b24
Pre-ncc compiled packages to prevent re-nccing unnecessarily ( #11569 )
...
* Pre-ncc compiled packages to prevent re-nccing unnecessarily
* Add compiled files
* Re-run pre-ncc step
* Add check to workflow to ensure pre-compiled doesnt need updating
* Update check-pre-compiled script
* Add handling for lower case license while nccing
* bump
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 09:42:16 -04:00
JJ Kasper
43b9f8fbfe
v9.3.5-canary.4
2020-04-06 14:24:16 -05:00
JJ Kasper
04e4c457d9
Update to not modify req.url for getServerSideProps requests ( #11637 )
2020-04-06 13:55:22 -05:00
Joey Tepperman
cdc7f01954
Add warning when a page is rendered without a starting / ( #11418 )
...
* Add error/warning when a page is rendered without a /
Throws an error for development and gives a warning in production
* Add tests for error when rendering without starting slash
* Update to always warn and add err.sh
* Update errors/render-no-starting-slash.md
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-06 11:54:42 -05:00
Aaron Reisman
8f4e265f76
Fix Utility Types ( #11077 )
2020-04-06 17:59:44 +02:00
Aaron Reisman
7a61fb7fdf
Cleanup Build Output Types ( #11076 )
2020-04-06 17:59:36 +02:00
Aaron Reisman
bddd1ce53e
Update compiler.ts Improve TypeScript typings ( #11074 )
...
Improve TypeScript typings
2020-04-06 17:58:35 +02:00
matamatanot
6821d1f8f7
import from compiled ( #11684 )
...
Co-authored-by: “kosuke_matano” <kosuke_matano@cyberagent.co.jp>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-06 10:24:37 -04:00
Madeline Ziolko
301cca3802
Update webpack and mkdirp ( #11165 )
...
* Update mkdirp to a version that no longer has a dependency on minimist: https://npmjs.com/advisories/1179
* Update webpack to the most recent minor version to remove minimist vulnerability.
* Update deps
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-06 13:12:14 +02:00
Tim Neutkens
69984de796
v9.3.5-canary.3
2020-04-06 11:51:39 +02:00
Tim Neutkens
6e84c0c12a
Add dependencies used by compiled files ( #11699 )
...
* Add dependencies used by compiled files
* Update utils.ts
2020-04-06 11:52:19 +02:00
Janicklas Ralph
52f9e911ec
Updating native-url version ( #11670 )
...
* Updating native-url version
* Bump version
2020-04-05 13:20:05 +02:00
JJ Kasper
1cdc607968
Warn when user has pages/_error but no pages/404 ( #11603 )
...
* Warn when user has pages/_error but no pages/404
* Update test
* Update custom-error-no-custom-404.md
* Apply suggestions from code review
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-05 13:19:14 +02:00
JJ Kasper
9baa103bb8
v9.3.5-canary.2
2020-04-04 12:39:57 -05:00
JJ Kasper
7f8f149f99
Add error when GSSP methods are added as page component members ( #11645 )
2020-04-03 19:08:17 -04:00
Joe Haddad
ed1aba0dbb
v9.3.5-canary.1
2020-04-03 13:18:26 -04:00
Joe Haddad
b747a366ab
Fix Preview Mode in <iframe>
( #11638 )
2020-04-03 13:18:04 -04:00
JJ Kasper
97a6b64f83
Rename unstable GSP field ( #11602 )
...
* Rename unstable GSP revalidate field
* Update error message
* Tweak error message some more
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-02 14:29:41 -04:00
JJ Kasper
ef1bfc962b
v9.3.5-canary.0
2020-04-02 10:12:50 -05:00
JJ Kasper
56118439b7
Update to make sure to respond with 400 for invalid URLs ( #11561 )
...
* Update to make sure to respond with 400 for invalid URLs
* Update response text for 400 API error
2020-04-02 09:24:32 +02:00
Gerald Monaco
139da5ade2
Prevent extraneous re-renders with next/dynamic ( #11587 )
...
* Prevent extraneous rerenders with loadables
* Don't try to spread undefined
* Allow ref to be memoized
2020-04-02 09:22:04 +02:00
Tim Neutkens
8c899ee5e4
v9.3.4
2020-04-01 16:05:04 +02:00
Tim Neutkens
e000d843b2
v9.3.4-canary.4
2020-04-01 16:04:03 +02:00
Tim Neutkens
a99244402e
v9.3.4-canary.3
2020-04-01 12:14:38 +02:00
JJ Kasper
3f6bd47dfb
Update build output with renamed column ( #11401 )
...
* Update build output with renamed column
* Update build output test
* Update naming of column
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-01 11:39:25 +02:00