Joe Haddad
b31c296730
Experimental: Serverless Trace target ( #8246 )
...
* Experimental: Serverless Trace target
The Serverless Trace target produces Serverless-handler wrapped entrypoints, but does not bundle all of `node_modules`.
This behavior increases bundling performance to be more akin to `target: 'server'`.
This mode is expected to be used with smart platforms (like [ZEIT Now](https://zeit.co/now ) that can trace a program to its minimum dependencies.
* Use more generic variables
* Add asset relocator for production mode of serverless trace
* Verify Firebase compatiblity
* Revert "Add asset relocator for production mode of serverless trace"
This reverts commit 8404f1dcf28b60edab41a56c94b38dcd3fddec20.
* Add serverless trace tests
* Add _isLikeServerless helper
* Make constants
* Fix export
* Update packages/next-server/server/config.ts
Co-Authored-By: JJ Kasper <jj@jjsweb.site>
* Use a global helper for is like serverless
* Update import for isTargetLikeServerless
* Update packages/next/build/index.ts
Co-Authored-By: JJ Kasper <jj@jjsweb.site>
2019-08-05 18:26:20 -04:00
JJ Kasper
f40a90159b
[WIP] Add temp secret for PR Stats Action ( #8248 )
2019-08-05 11:21:43 -05:00
JJ Kasper
6ddb5ee341
Update to check browserName instead of browser.log ( #8234 )
...
* Update to check browserName instead of browser.log
* Fix browserName check for some tests
2019-08-04 15:44:32 +02:00
Natalie Marleny
487d62b132
[Enhancement]: Update README buttons ( #8235 )
...
* Update CN README for consistency
* Add buttons to README.md
* Center nextjs learn text
* Update CN README for consistency
* fix README link in README-zh-CN.md
2019-08-04 14:33:15 +01:00
Tim Neutkens
48e1d14d30
Update README.md
2019-08-03 23:16:34 +01:00
Luis Fernando Alvarez D
485dd9ea53
Make Azure CI (sometimes) work ( #8230 )
2019-08-03 16:44:05 -04:00
Joe Haddad
91b06c752a
Add Create Next App instructions ( #8224 )
2019-08-03 12:25:25 +01:00
Raja Sekar
8c208155cd
FIX- #8059 - Update relay version in examples to latest one ( #8227 )
2019-08-03 12:22:24 +01:00
Joe Haddad
2ab300dd81
Remove Old Prerender Implementation ( #8218 )
...
* Remove Prerender Implementation
* Fix PageConfig
* Fix next server
* Fix two more files
* Fix render
* Fix render
* Try to fix up page config
* Correct build file
* Switch back static checker
* Turn stuff back
* Add missing newline
* Revert changes
* Add missing newline
* Fix types
2019-08-02 10:28:03 -04:00
Joe Haddad
6468b6c9bf
Remove useless code block in docs
2019-08-01 18:49:47 -04:00
JJ Kasper
e7d96f77bd
Add test for dynamic routing/webpack HMR bug ( #8061 )
...
* Add failing test for dynamic routing/webpack HMR bug
* Remove un-used args from onDemandEntryHandler
* update to latest webpack with escaping
2019-08-01 11:17:42 -05:00
jordan-jarolim
9ee4f049ff
contributing guide rename initialprops ( #8203 )
2019-08-01 11:55:53 -04:00
Joe Haddad
ac31f1636e
Add some notes about Now deployment ( #8205 )
2019-08-01 11:08:21 -04:00
Joe Haddad
3f2027d583
Update TypeScript Instructions ( #8200 )
...
* Update TypeScript Instructions
* next dev => npm run dev
* Break line
2019-08-01 09:13:17 -04:00
Joe Haddad
92ea3b6e9d
Revert "Don't require test job for deploying" ( #8199 )
...
This reverts commit 00e50144c6
.
2019-08-01 12:26:31 +01:00
JJ Kasper
00e50144c6
Don't require test job for deploying ( #8194 )
2019-07-31 19:15:21 -04:00
Joe Haddad
8a74f0ae71
Golf page-loader ( #8190 )
2019-07-31 16:14:54 -04:00
Joe Haddad
00b56c6ede
v9.0.3
2019-07-31 16:14:36 -04:00
JJ Kasper
dc9e270898
Update examples for Apollo with AppTree ( #8180 )
...
* Update examples for Apollo with AppTree
* Fix apolloClient being overwritten when rendering AppTree
2019-07-31 16:07:14 -04:00
JJ Kasper
22aee7f246
tests(circleci): Update chromedriver to latest ( #8192 )
2019-07-31 16:07:14 -04:00
Peter McAree
6c2534362e
Fix typo within blog-starter example ( #8182 )
2019-07-30 16:49:12 -05:00
JJ Kasper
858f4eb8ec
v9.0.3-canary.6
2019-07-30 16:35:15 -05:00
Natalie Marleny
b8aee7af77
fix: Add error message for duplicate route param name ( #8047 )
...
* Add error message for duplicate slug name within a dynamic path
* Update based on feedback
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
* WIP - committed with no-verify - progress
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
* Remove old test placeholder
* Add test for re-used names
2019-07-30 16:21:36 -05:00
Joe Haddad
c61f6c1200
Test environment code should target Node ( #8181 )
2019-07-30 16:28:48 -04:00
JJ Kasper
4850bd03ef
Provide AppTree to getInitialProps for getDataFromTree ( #7732 )
...
* Provide AppContainer to getInitialProps for getDataFromTree
* Update to only pass AppTree component instead of AppContainer
* Clean up props and remove extra imports
* Make updates from review
* De-dupe AppTree a bit
* Re-use wrapApp in router
* Remove un-needed change
* revert changes to examples until on stable
* Add test for AppTree
2019-07-30 14:00:19 -04:00
Gabor Ottlik
72098328cf
Fix a typo in README ( #8177 )
2019-07-30 16:17:26 +01:00
Lukáš Huvar
3e03fee278
Fix build only server-side /api/index.js
( #8167 )
...
* Build error for index API routes
* Fix server build
2019-07-30 13:52:43 +01:00
Jason Miller
9659b4b555
Optional Server Compression ( #8066 )
...
* Add `compress` option to enable gzip compression in `next start`.
* Add compress option, defaulting to true
* Disable compression for serverless target
* Pin compression dep
Co-Authored-By: Joe Haddad <timer150@gmail.com>
* Pin compression types
Co-Authored-By: Joe Haddad <timer150@gmail.com>
* lockfile update for locked compression deps
* simplify compression middleware application
* add test for compression
2019-07-29 14:35:09 -04:00
Joe Haddad
df213f7aab
Include scheduler
in React bundle ( #8164 )
2019-07-29 13:42:57 -04:00
JJ Kasper
7b33fbbfe6
v9.0.3-canary.5
2019-07-29 11:54:02 -05:00
Joe Haddad
91f60cdadf
refactor(webpack): extract splitChunksConfig ( #8161 )
2019-07-29 12:19:31 -04:00
Joe Haddad
25fd3f86a3
Update missed lockfile
2019-07-29 11:30:33 -04:00
Sebastian Silbermann
273c6f0d66
docs: Document change concerning api-routes ( #8121 )
...
* Update UPGRADING.md
* Update UPGRADING.md
2019-07-29 11:12:29 -04:00
Felix Mosheev
730f9cc472
Update webpack to 4.38.0 ( #8147 )
2019-07-29 11:01:58 -04:00
Rakan Nimer
8f77713028
Add 2 AWS Amplify SSR examples one with JS and one with TS ( #8073 )
2019-07-29 09:44:05 -05:00
Lukáš Huvar
722d5d7703
Improve docs for API ( #8155 )
...
* Move API types to API section
* Improve wording
2019-07-29 10:29:17 +01:00
JJ Kasper
4bcf6aabe7
Allow manually setting amphtml and canonical links ( #8129 )
2019-07-29 08:18:23 +01:00
Piotr Tomasik
78775954f2
fix regex to not match any string with double underscore ( #8153 )
...
* fix regex to not match any string with double underscore
* add test for __ in env name and make existing test more descriptive.
2019-07-29 08:17:10 +01:00
Tim Neutkens
482f454c7a
Remove kodiak
2019-07-28 12:52:37 +01:00
Lachlan Campbell
6f89c36207
Upgrade with-mdx example from mdx 0.16 → 1.1 ( #8142 )
2019-07-27 19:49:08 +01:00
Lukáš Huvar
8dc5d22104
Remove next.config.js ( #8139 )
2019-07-27 19:46:40 +01:00
Youkyoung.Park
c4704fbd9e
fix spelling in tsconfig.js of readme.md ( #8138 )
2019-07-27 16:50:14 +01:00
Tim Neutkens
2b1a5c3eb4
v9.0.3-canary.4
2019-07-27 11:42:02 +01:00
Oğuz Kılıç
4ff6f5f514
update README.md for with-http2 example ( #8131 )
2019-07-27 10:39:09 +02:00
JJ Kasper
13fa2828c2
Add missing key prop for array elements in _document ( #8132 )
...
* Add missing keys for array elements
* Add test for missing key prop in app-document
2019-07-27 10:34:29 +02:00
Alexey Boklin
f5edfebc82
Docs: Fix comments in with-sentry example (server.js) ( #8125 )
2019-07-26 14:51:47 -05:00
Adam Misiorny
68e3223cd8
Improve type definitions ( #8117 )
2019-07-26 13:09:16 -05:00
Thijs Koerselman
8243af2519
Update example with firebase auth ( #8127 )
...
* Add sessions folder to prevent errors on first run
* Update readme steps to reflect current firebase ui
* Use default directory for sessions-file-store
* Remove obsolete databaseURL from config
2019-07-26 12:14:14 -05:00
Lukáš Huvar
cc6fe5fdf9
Fixes problem with API and wrong regex ( #8126 )
...
* Fixes regex for client bundel. Fixes #8115
* Add test
* Update test/integration/api-support/test/index.test.js
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update test/integration/api-support/test/index.test.js
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
2019-07-26 17:02:12 +02:00
Luis Fernando Alvarez D
a2b2a2a3e8
Auth example with api routes ( #8118 )
2019-07-25 18:52:41 -05:00