JJ Kasper
c14d983d54
Ensure hybrid AMP works correctly with SSG ( #11205 )
...
* Ensure hybrid AMP works correctly with SSG
* Strip AMP from query when not needed
2020-03-20 09:46:52 +01:00
Tim Neutkens
38e42cd4bb
Add support for baseUrl option in tsconfig and jsconfig ( #11203 )
...
* Add support for baseUrl option in tsconfig and jsconfig
* Move jsconfigPath
* Remove filter
2020-03-19 17:34:24 +01:00
Prateek Bhatnagar
3907dfd60d
updating min nodejs requirement ( #11181 )
...
* updating min canary requirement
* watchpack requires 10.13.0
2020-03-19 09:25:41 +01:00
JJ Kasper
e28e8ada98
Group CSS files in shared build output separate from JS files ( #11184 )
...
* Group CSS files in shared build output separate from JS files
* Fix buildId not being replaced in shared by all
2020-03-19 09:25:10 +01:00
Joe Haddad
bf93ca4af6
v9.3.2-canary.0
2020-03-18 13:00:25 -04:00
Sebastian Benz
4b1ce16e12
upgrade @ampproject/toolbox-optimizer to 2.0.1 ( #11168 )
...
Fixes #11159
2020-03-18 14:20:29 +01:00
Tim Neutkens
527453560e
Update <dir> reference in help text
...
Fixes #11151
2020-03-18 10:18:29 +01:00
JJ Kasper
836f68aa67
Add CSS file to build output ( #11145 )
...
* Remove filtering CSS from build output
* Add displaying page specific CSS files and including them in page size
2020-03-18 09:47:39 +01:00
JJ Kasper
203f43c1fe
Add error when attempting to export GSSP page ( #11154 )
...
* Add error when attempting to export GSSP page
* Update errors/gssp-export.md
* Update errors/gssp-export.md
* Update errors/gssp-export.md
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-03-18 09:33:10 +01:00
Shu Uesugi
408a01ce95
Update CLI custom config documentation link ( #11152 )
...
* Update CLI custom config documentation link
* Update packages/next/cli/next-dev.ts
Co-Authored-By: Joe Haddad <timer150@gmail.com>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-03-18 09:21:12 +01:00
Tim Neutkens
9730be6734
v9.3.1
2020-03-17 16:06:51 +01:00
Tim Neutkens
d661fac733
v9.3.1-canary.7
2020-03-17 15:39:49 +01:00
Tim Neutkens
25d8652283
v9.3.1-canary.6
2020-03-16 10:57:41 +01:00
JJ Kasper
ea7c1e1dcf
Add support for SCSS options ( #11063 )
...
* Add support for SCSS includePaths
* Support sassOptions instead of just includePaths
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-16 10:55:16 +01:00
Tim Neutkens
30cf4d5ab6
v9.3.1-canary.5
2020-03-15 15:15:19 +01:00
Aaron Reisman
85e9ce1b0b
Update preset.ts: Remove any and use updated Node.js types ( #11075 )
...
Remove any and use updated Node.js types
2020-03-15 12:22:53 +01:00
Giuseppe
bc4aba1713
Upgrade styled-jsx ( #11070 )
...
The main change in this version is https://github.com/zeit/styled-jsx/pull/621
2020-03-15 11:51:55 +01:00
JJ Kasper
71f97198d1
Add support for static 404 when _error does not have custom GIP ( #11062 )
...
* Add support for static 404 when _error does not have custom GIP
* Update tests
2020-03-14 09:58:20 +01:00
Joe Haddad
925d843503
v9.3.1-canary.4
2020-03-13 09:09:10 -04:00
Joe Haddad
18036d4e51
Correct Cache-Control Behavior for GS(S)P ( #11022 )
...
* Correct Cache-Control Behavior for GS(S)P
* remove old line
* fix test
2020-03-13 10:40:10 +01:00
Joe Haddad
8f8030f7eb
v9.3.1-canary.3
2020-03-12 14:09:12 -04:00
Armand Abric
886037b1ba
Add "noreferrer" to the prerender indicator doc link ( #11005 )
2020-03-12 11:23:58 -04:00
Jeremy Stucki
861257bdfc
Generic form of GetStaticProps and GetServerSideProps ( #10856 )
...
* Generic form of GetStaticProps and GetServerSideProps
* Oops, fix type!
* Add constraint for P
* Update packages/next/types/index.d.ts
Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-12 09:11:15 -04:00
Joe Haddad
a86184eb89
v9.3.1-canary.2
2020-03-12 07:31:26 -04:00
JJ Kasper
ccb6ce7ed4
Add support for getStaticProps in pages/404 ( #10984 )
...
* Make sure to not show pages/404 GIP error from _app having GIP
* Add error for getStaticProps in pages/404 too
* Add support for getStaticProps in pages/404
* Update test
2020-03-12 10:48:14 +01:00
Joe Haddad
9d9f7a5873
Improve Sass Error ( #10982 )
...
* Improve Sass Error
* test sass error massage
* use quotes
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-03-11 16:34:14 -04:00
JJ Kasper
34a8e8843d
Make sure to not show pages/404 GIP error from _app having GIP ( #10974 )
...
* Make sure to not show pages/404 GIP error from _app having GIP
* Add error for getStaticProps in pages/404 too
2020-03-11 12:18:05 -04:00
Joe Haddad
33503f70a7
v9.3.1-canary.1
2020-03-11 10:37:26 -04:00
Joe Haddad
905f0ce214
Check SSG Page via Route Lookup ( #10971 )
2020-03-11 09:33:55 -05:00
JJ Kasper
6616a371e8
Update handling for patterns in custom routes ( #10523 )
...
* Update handling for unnamed params and named patterns in custom-routes
* Update query handling to match Now
2020-03-10 16:09:35 -04:00
JJ Kasper
fde1ce2924
Add warning when built-in CSS/SCSS support is disabled ( #10942 )
2020-03-10 14:29:40 -04:00
Joe Haddad
a4ab088746
v9.3.1-canary.0
2020-03-09 14:59:13 -04:00
Joe Haddad
1e53a4961a
Correctly Count Object References ( #10903 )
...
* Correctly Count Object References
* Make error message better
* add more tests
2020-03-09 14:58:51 -04:00
Tim Neutkens
befb5006f4
v9.3.0
2020-03-09 19:08:52 +01:00
Joe Haddad
713340600d
v9.2.3-canary.29
2020-03-09 13:31:12 -04:00
Joe Haddad
8443a809f3
Verify GS(S)P Serializability ( #10857 )
...
* Verify GS(S)P Serializability
* Add support for cyclic refs
* Add unit tests
* Test for error in development mode
* Fix prerender preview tests
* Fix gssp preview tests
* fix 2x test cases
* Add desired test
* fix some more tests
* Fix route manifest expect
* Fix test expects
* Test that `getServerSideProps` does not error in production
* Test that getStaticProps is not checked in production
* Test serialization check during build
* Fix export detection for serverless
* Update test/unit/is-serializable-props.test.js
Co-Authored-By: JJ Kasper <jj@jjsweb.site>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-03-09 13:30:44 -04:00
Tim Neutkens
1a47dbea69
Upgrade webpack ( #10895 )
...
Fixes #10890
2020-03-09 13:11:06 +01:00
Tim Neutkens
f0cec748d8
v9.2.3-canary.28
2020-03-09 11:01:02 +01:00
Tim Neutkens
1d16b10e3a
v9.2.3-canary.27
2020-03-09 10:45:11 +01:00
JJ Kasper
764edc51b2
Add identifier to NEXT_DATA when custom server is used ( #10869 )
2020-03-06 11:14:39 -05:00
Tim Neutkens
9edafc6469
v9.2.3-canary.26
2020-03-06 12:20:38 +01:00
Joe Haddad
49369d7649
Fix getServerSideProps
Test Case ( #10862 )
...
* Fix `getServerSideProps` Test Case
* Data requests should fail instead of rendering
2020-03-06 00:53:11 -05:00
JJ Kasper
b274fe39d3
Update method for attaching GS(S)P identifier to page ( #10859 )
...
* Update to use separate export instead of attaching to Component to identify GS(S)P pages
* Handle initialProps being undefined
2020-03-05 23:15:10 -05:00
Joe Haddad
d07db4a054
v9.2.3-canary.25
2020-03-05 13:54:01 -05:00
Joe Haddad
5dfc7da2f9
Fix getStaticPaths modules being cached in dev mode ( #10852 )
2020-03-05 13:48:09 -05:00
Tim Neutkens
2d64986733
v9.2.3-canary.24
2020-03-05 16:00:12 +01:00
Tim Neutkens
1e505e860f
Ensure an accessible default viewport meta tag ( #10823 )
...
* fix: remove minimum-scale from default viewport
* update test
* remove extra comma
* drop initial-scale
2020-03-05 11:03:15 +01:00
Tim Neutkens
0f0398c88e
Make sure to error when setting too large of preview data ( #10831 )
...
* Make sure to error when setting too large of preview data
* Update to check size after signing and limit to 2KB
2020-03-04 21:37:53 +01:00
Joe Haddad
640e8f3548
v9.2.3-canary.23
2020-03-04 11:56:58 -05:00
Joe Haddad
50c95d16b4
Send Credentials for getServerSideProps
Requests ( #10826 )
...
* Send Credentials for `getServerSideProps` Requests
* Fix tests
2020-03-04 11:56:08 -05:00