1. 23 6月, 2020 1 次提交
  2. 22 6月, 2020 1 次提交
  3. 02 6月, 2020 1 次提交
  4. 01 6月, 2020 1 次提交
    • J
      Handle encoding for data requests and fix fallback response (#13622) · c0368e1b
      JJ Kasper 提交于
      This addresses some errors for `/_next/data` requests where encoded `/` values in dynamic route param would cause invalid behavior, a headers already sent error would be shown when sending the fallback page in development, and when rendering the `_error` page for a data request the error response would still be treated as a data request. 
      
      This also adds test cases for these errors to prevent regression
      c0368e1b
  5. 30 5月, 2020 1 次提交
  6. 19 5月, 2020 1 次提交
  7. 03 4月, 2020 1 次提交
  8. 26 3月, 2020 1 次提交
  9. 10 3月, 2020 1 次提交
    • J
      Verify GS(S)P Serializability (#10857) · 8443a809
      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>
      8443a809
  10. 06 3月, 2020 1 次提交
  11. 29 2月, 2020 1 次提交
  12. 28 2月, 2020 1 次提交
  13. 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
  14. 25 2月, 2020 1 次提交
  15. 24 2月, 2020 1 次提交
  16. 16 2月, 2020 1 次提交
  17. 13 2月, 2020 1 次提交
  18. 08 2月, 2020 1 次提交
  19. 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
  20. 05 2月, 2020 1 次提交
  21. 21 1月, 2020 1 次提交
  22. 18 1月, 2020 1 次提交
  23. 04 1月, 2020 1 次提交
  24. 31 12月, 2019 1 次提交
  25. 21 12月, 2019 1 次提交
  26. 14 12月, 2019 2 次提交
  27. 12 12月, 2019 2 次提交
  28. 06 12月, 2019 1 次提交
  29. 28 11月, 2019 2 次提交
  30. 11 11月, 2019 1 次提交
  31. 02 11月, 2019 1 次提交
  32. 01 11月, 2019 1 次提交
  33. 31 10月, 2019 1 次提交
  34. 30 10月, 2019 1 次提交
  35. 26 10月, 2019 1 次提交
  36. 17 10月, 2019 1 次提交
  37. 28 9月, 2019 1 次提交
    • J
      Configure the Default Revalidate (#8880) · 2aa12031
      Joe Haddad 提交于
      * Configure the Default Revalidate
      The default revalidate behavior should be configured by Next.js. Otherwise, the behavior might drift or change in non-semver compliant ways between Next.js and the builder (or other 3rd party setups).
      
      * Add additional comment
      2aa12031