1. 04 3月, 2020 1 次提交
  2. 02 3月, 2020 2 次提交
  3. 29 2月, 2020 2 次提交
  4. 28 2月, 2020 2 次提交
  5. 27 2月, 2020 1 次提交
    • J
      Ability to Disable SSG Fallback (#10701) · 47ff1eb9
      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
      47ff1eb9
  6. 25 2月, 2020 1 次提交
  7. 22 2月, 2020 1 次提交
  8. 20 2月, 2020 1 次提交
  9. 13 2月, 2020 2 次提交
  10. 12 2月, 2020 1 次提交
    • J
      SSG Preview Mode (#10459) · 3cb34983
      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
      3cb34983
  11. 11 2月, 2020 1 次提交
  12. 07 2月, 2020 1 次提交
    • J
      Add initial SSG fallback handling (#10424) · 3099f088
      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
      3099f088
  13. 06 2月, 2020 1 次提交
  14. 05 2月, 2020 1 次提交
  15. 04 2月, 2020 1 次提交
  16. 01 2月, 2020 2 次提交
  17. 29 1月, 2020 1 次提交
  18. 28 1月, 2020 1 次提交
    • J
      Add initial support for unstable_getServerProps (#10077) · c24daa21
      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
      c24daa21
  19. 25 1月, 2020 1 次提交
  20. 23 1月, 2020 1 次提交
  21. 21 1月, 2020 2 次提交
  22. 20 1月, 2020 1 次提交
  23. 15 1月, 2020 2 次提交
  24. 11 1月, 2020 1 次提交
  25. 10 1月, 2020 1 次提交
    • J
      Fix `public/` file name encoding (#10022) · 3e923d05
      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
      3e923d05
  26. 09 1月, 2020 1 次提交
  27. 05 1月, 2020 1 次提交
  28. 01 1月, 2020 2 次提交
  29. 31 12月, 2019 1 次提交
  30. 30 12月, 2019 1 次提交
    • T
      Add basePath support (#9872) · 86808bbc
      Tim Neutkens 提交于
      * Add basePath support
      
      * Add tests including copy of HMR tests
      
      * Add production tests
      
      * Add tests for serverless target
      
      * Add missing quotes
      86808bbc
  31. 24 12月, 2019 1 次提交
    • J
      Add checking filesystem after each rewrite (#9568) · b9865ba3
      JJ Kasper 提交于
      * Add check: true behavior to custom routes
      
      * Update adding dev routes
      
      * Add checking of pages and dynamic routes for check: true
      
      * Fix hasPage binding
      
      * Add tests for check: true behavior
      
      * Update regex checking
      
      * Make changes based on review
      
      * Update to handle rewrites in serverless loader
      
      * Update to not change req.url
      
      * Make sure to always parse dynamic route params
      
      * Export all of pathToRegexp from path-match
      Co-authored-by: NJoe Haddad <timer150@gmail.com>
      b9865ba3
  32. 18 12月, 2019 1 次提交