- 13 3月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* Correct Cache-Control Behavior for GS(S)P * remove old line * fix test
-
- 11 3月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update handling for unnamed params and named patterns in custom-routes * Update query handling to match Now
-
- 10 3月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* 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: NJJ Kasper <jj@jjsweb.site> Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
- 07 3月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 04 3月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
* Update to make sure preview mode works with getServerSideProps * Update to only parse previewData in GS(S)P mode
-
由 Gerald Monaco 提交于
* Throw a NoFallbackError instead of returning * Replace invariant Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
- 02 3月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
* Correctly pass preview data * remove todo * re-do change * fix types * Prevent regression
-
由 Joe Haddad 提交于
* Remove Dead Code from Next Server * remove options * trigger
-
- 29 2月, 2020 2 次提交
-
-
由 Gerald Monaco 提交于
* Extract getStaticPaths helper * Extract sendPayload and prepareServerlessUrl * Remove erroneously included file
-
由 Gerald Monaco 提交于
-
- 28 2月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
* Rename getServerProps to getServerSideProps * Remove unstable_ prefix from new methods * Add error when legacy methods are detected * Add legacy methods for babel transform * Add unstable_getServerSideProps also * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Update types import Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
由 JJ Kasper 提交于
-
- 27 2月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* Ability to Disable SSG Fallback * Throw error when value is missing * Fix existing tests * Adjust error message * Do not render fallback at build time for `fallback: false` page * Fix existing fallback behavior * fix build * fix version * fix some tests * Fix last test * Add docs for get static paths * Add explicit mode tests * test for fallback error message
-
- 25 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add calling getStaticPaths in development before showing fallback * Move staticPathsWorker to next-dev-server * Make sure to clear require cache in worker process * bump * Remove staticPathsCache member * Update numWorkers for staticPathsWorker
-
- 22 2月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* Preview Mode Should Not Cache * add import * fix import * add tests * Add real serverless mode tests
-
- 20 2月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
* Clean up landed experimental flags * Remove check for experimental flags from build too * Remove /_errors/404 in favor of /404 * Remove unneeded check for pathname * Update test paths * Fix test * Update test * Remove test for disabled config * Set pages404 always to true Co-authored-by: NJoe Haddad <timer150@gmail.com> Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
- 13 2月, 2020 2 次提交
-
-
由 Gerald Monaco 提交于
* Clean up async in next-server * fix case when err is null * Refactor how components are loaded Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
由 Joe Haddad 提交于
* Adjust SSG Loading Behavior * Update expected preview behavior * Rename two corrections * Only use skeleton in production for now * Fix "should SSR SPR page correctly" test * fix tests * fix trailing comment letter * disable test for now
-
- 12 2月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
* checkpoint: api impl * Add support for tryGetPreviewData * snapshot: server(less) support * Add X-Prerender-Bypass-Mode header support * Pass preview data to getStaticProps call * add TODO * setPreviewData * 100k iterations * Handle jwt error * Write out preview values * forgot file * set preview props * Send preview props * add preview props * Pass around more data * update yarn lock * Fail on Invalid Prerender Manifest * Make Missing Prerender Manifest Fatal * fix ts errors * fix test * Fix setting cookies + maxage * Secure is not needed as we encrypt necessary data * Set on domain root * Set cookie max ages * Render a fallback on-demand for non-dynamic pages * Test preview mode * remove old build * remove snapshots * Add serverless tests * use afterAll * Remove object assigns * fix cookie spread * add comment
-
- 11 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update next-server routes order for expected priority * Update router to allow disabling page routes * Fix headers having check: true behavior when they should not Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 07 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add initial SSG fallback handling * Remove extra changes and update fallback handling * Remove extra timeout for testing * Update SSG tests in dynamic-routing suite * Add racing to decide between rendering fallback and data * Update size-limit test * Update comment * Make sure to follow correct route change order * Make comment more verbose for racing * Revert getStaticData to only return Promise * Make sure to update URL on fallback * Add retrying for data, de-dupe initial fallback request, and merge fallback replace * Update to add preload for fallback pages data * Add test for data preload link * Use pre-built fallback in production mode * Remove preload link for fallback from _document * Update to make sure fallback is rendered correctly for serverless
-
- 06 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update to use existing util to de-dupe path check * Update error message for requested/resolved mismatch * Use correct dataRoute value for prerender manifest * Fix pageUrl having double slash on Windows
-
- 05 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add support for rewriting to external resources * Update rewrite proxying test Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 04 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 01 2月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
* Implement experimental pages/404.js for custom 404 page * Make sure to show error for getInitialProps in pages/404 in dev mode also * Update routes-manifest tests for new value * Make sure page404 is boolean in routes-manifest * Rename variables for consistency * Make sure to only use 404 page for 404 error
-
由 JJ Kasper 提交于
* Add failing test case * Add check that dynamic route is API route in handleApiRequest
-
- 29 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Enable static 404 config to allow static 404 page when available * Update static 404 suite * Fix invalid params test case
-
- 28 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add support for unstable_getServerProps * Apply suggestions from review * Add no-cache header and update types * Revert sharing of load-components type * Add catchall test and update routes-manifest field * Update header check * Update to pass query for getServerProps data requests * Update to not cache getServerProps requests * Rename server side props identifier * Update to nest props for getServerProps * Add no-cache header in serverless-loader also * Update to throw error for mixed SSG/serverProps earlier * Add comment explaining params chosing in serverless-loader * Update invalidKeysMsg to return a string and inline throwing * Inline throwing mixed SSG/serverProps error * Update setting cache header in serverless-loader * Add separate getServerData method in router * Update checkIsSSG -> isDataIdentifier * Refactor router getData back to ternary * Apply suggestions to build/index.ts * drop return * De-dupe extra escape regex * Add param test
-
- 25 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update SSG types and clean up RenderOpts type * Move SSG types back to internal module
-
- 23 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 21 1月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
* Test CSS Modules in Production Suite * fix build * test css and media assets
-
由 Vitaliy 提交于
Co-authored-by: NJJ Kasper <jj@jjsweb.site> Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 20 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add initial support for static 404 page * Apply suggestions from code review Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * Simplify custom error page check * Add comment explaining reason for custom app check Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-
- 15 1月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
* Rename some spr related stuff to ssg * Update packages/next/lib/constants.ts Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
由 JJ Kasper 提交于
* Add permanent field for redirects * Update printing redirect status code * Don't add permanent to routes-manifest Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 11 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 10 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Update serving of files from public folder to handle special chars * Update tests and match handling in dev mode * Fix windows public file handling * Remove colon test to make git on windows happy * Remove un-used files * Add missing await
-
- 09 1月, 2020 1 次提交
-
-
由 Afzal Sayed 提交于
* Use optional chaining syntax * Changes as per review * Bug fix
-
- 05 1月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
* Remove experiment * Add back ssr-prepass for serverless test * Update size as they both decreased Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
- 01 1月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add headers support to custom-routes * Update manifest version test * Add headers field for dynamic routes test * Update test
-