Commit graph

5631 commits

Author SHA1 Message Date
JJ Kasper
7f8f149f99
Add error when GSSP methods are added as page component members (#11645) 2020-04-03 19:08:17 -04:00
David Janda
d093dd5786
Updated with-shallow-routing to use getServerSideProps (#11585)
* Replaced getInitialProps with getServerSideProps

* Updated page and readme

* Removed unrequired props

* Mention getStaticProps too

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-03 14:59:39 -05:00
Jan Sepke
2bfbfea635
Update FAQ link (#11636)
to new Data fetching documentation
2020-04-03 19:20:19 +02: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
noejon
d97ac9ff82
[fix:typo] - Fixing a typo in the typescript example (#11630) 2020-04-03 11:44:57 +02:00
Jan Piotrowski
845f2a98fb
make providers headlines so they become linkable (#11613)
(hopefully)
2020-04-03 09:51:46 +02:00
Luis Alvarez D
9a7f29c981
[Docs] Remove concepts folder (#11621) 2020-04-03 09:45:00 +02:00
David Janda
641976a471
Replace getInitialProps with getServerSideProps (#11586) 2020-04-02 16:36:18 -05: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
bf96337c6c
Update minimum required node version to be more specific (#11604) 2020-04-02 14:06:36 -04:00
Sriram Thiagarajan
892794b013
[docs] Remove broken link to example api-routes-micro (#11597) 2020-04-02 17:22:12 +02:00
JJ Kasper
ef1bfc962b
v9.3.5-canary.0 2020-04-02 10:12:50 -05:00
swyx
4adab3d4b0
[docs] document how root routes coexist with dynamic api routes (#11591)
* document how root routes coexist with dynamic api routes

document how root routes coexist with dynamic api routes - related to https://github.com/zeit/next.js/issues/11542

* Update dynamic-api-routes.md

* Update dynamic-api-routes.md

* Run prettier

Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-02 11:05:01 +02:00
kvoncode
b48db989bb
add: jsx to list of supported files in docs (#11579) 2020-04-02 10:21:13 +02: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
Matt Carlotta
5db180b221
Fix styled-components example README notes (#11548)
* Add notes to styled-components example README

* Adjust notes to styled-components example README

* Fix styled-components README notes

* Update README
2020-04-01 14:00:13 -05: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
James Mosier
7b546a92c8
Update hello-world example React version & name for CodeSandbox (#11550) 2020-04-01 15:56:38 +02:00
Matt Carlotta
a37ad0ae07
Add notes to styled-components example README (#11540)
* Add notes to styled-components example README

* Adjust notes to styled-components example README
2020-04-01 12:21:04 +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
Luis Alvarez D
1992e2a96e
Example/update unstated (#11534)
* Updated components and deps

* Updated readme
2020-04-01 11:36:02 +02:00
JJ Kasper
d61eced9a6
Update to make sure AMP only bundles are always removed in pro… (#11527) 2020-04-01 10:24:44 +02:00
Vincent Voyer
fa5da6d220
Remove passing of NODE_OPTIONS='--inspect' to subprocesses (#11041)
* fix(debugging): do not pass NODE_OPTIONS='--inspect' to subprocesses

fixes #11030

* fix(debugger): use a regex to remove bad NODE_OPTIONS flags

Co-authored-by: Alec Larson <alec.stanford.larson@gmail.com>
2020-04-01 10:12:38 +02:00
JJ Kasper
f9cd7c581f
v9.3.4-canary.2 2020-03-31 14:30:10 -05:00
Jane Manchun Wong
c17ee73db7
Generic Type for GetStaticPaths (#11430)
* Generic Type for GetStaticPaths

* Add generic typing for params to GSSP and GSP too

* Added basic tests

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-03-31 14:11:09 -05:00
Hugo Morosini
226387694b
added "with-route-as-modal" example (#11473)
* added "with-route-as-modal" exemple

extra space missing in style.css

oops

linted

* Use Link and removed unrequired imports

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-03-31 14:10:55 -05:00
Freddy Jimenez
f2315ffc8f
update auth0 example with getServerSideProps (#11051)
* example improved

* put user cache back

* .env.template is back

* .env.template sorting back

* Header component calls fixed

* Context API removed

* Context API related text removed from README

* put everything back but getServerSideProps

* client side code removed from GSSP

* Updated comments

Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-03-31 13:08:01 -05:00
JJ Kasper
b307ed9186
Update checking for existing dotenv usage (#11496)
* Update checking for existing dotenv usage

* Check for package-lock.json also
2020-03-31 11:27:46 -05:00
Tim Neutkens
b8d075ef0e
Update environment support (#11524)
* Remove req.env

* Rename NEXT_APP_ to NEXT_PUBLIC_

* Remove key exposing env config

* Update tests

* Update NEXT_APP_ test to NEXT_PUBLIC_
2020-03-31 17:53:50 +02:00
Guy Bedford
ce3f7d05b3
Drop url dependency (#11503) 2020-03-31 10:00:17 +02:00
Joe Haddad
0bfc0b3f18
v9.3.4-canary.1 2020-03-30 16:29:38 -04:00
Joe Haddad
b88f20c90b Fix lockfile 2020-03-30 16:26:25 -04:00
Guy Bedford
d7f9a5270e correct babel dev dependency 2020-03-30 16:26:25 -04:00
Guy Bedford
755dc40969 postcss loaders 2020-03-30 16:26:25 -04:00
Guy Bedford
a3ec26d30a ignore-loader 2020-03-30 16:26:25 -04:00
Guy Bedford
8dad5abd66 file-loader 2020-03-30 16:26:25 -04:00
Guy Bedford
c855a3828e babel-loader, cache-loader 2020-03-30 16:26:25 -04:00
Guy Bedford
84a46dfb8c thread-loader 2020-03-30 16:26:25 -04:00
Guy Bedford
c5c4bef90e fixup self-externalization 2020-03-30 16:26:25 -04:00
Guy Bedford
40f6bdef32 autodll-webpack-plugin 2020-03-30 16:26:25 -04:00
Guy Bedford
8b1ea308c6 webpack-dev-middleware, webpack-hot-middleware 2020-03-30 16:26:25 -04:00
Guy Bedford
3621a5d515 Revert "@ampproject/toolbox-optimizer"
This reverts commit 4a7afb72b8c328057bd50b86de92c1abb8d8afc3.
2020-03-30 16:26:25 -04:00
Guy Bedford
278fd54ef1 @ampproject/toolbox-optimizer 2020-03-30 16:26:25 -04:00
Guy Bedford
35a6710cdb babel revert 2020-03-30 16:26:25 -04:00
Guy Bedford
d76844082b react-error-overlay 2020-03-30 16:26:25 -04:00
Guy Bedford
c16f60067b path-to-regexp 2020-03-30 16:26:25 -04:00