1. 26 9月, 2019 2 次提交
  2. 25 9月, 2019 3 次提交
    • J
      v9.0.7-canary.6 · ebf1fe3d
      Joe Haddad 提交于
      ebf1fe3d
    • J
      SPR follow ups (#8846) · 2ae475e0
      JJ Kasper 提交于
      * Add revalidate header and error when invalid
      object from getStaticProps
      
      * Make sprCache no-op in dev mode
      
      * Update packages/next/next-server/server/next-server.ts
      
      * Update tests for fixes
      
      * Update getStaticProps error and add test
      
      * Update manifest test
      
      * Add validating revalidate value
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Change from error to warning high revalidate value
      2ae475e0
    • J
      Remove extra build logs (#8839) · fd50e51e
      JJ Kasper 提交于
      fd50e51e
  3. 24 9月, 2019 5 次提交
    • J
      Add `src` directory support (#8735) · a8e3b022
      JJ Kasper 提交于
      * Add find-pages-dir
      
      * Add support for src directory
      
      * Add test for pages dir preference
      
      * Update comment
      a8e3b022
    • T
      v9.0.7-canary.5 · fb9d777f
      Tim Neutkens 提交于
      fb9d777f
    • M
      TS / PnP compatibility (#8744) · 62fce6f5
      Maël Nison 提交于
      * Fixes PnP + TS support
      
      * Uses import on the resolved TS path (since it's not a dep)
      
      * Fixes TS
      62fce6f5
    • J
      ebb39f10
    • J
      Add experimental SPR support (#8832) · 85e720a0
      JJ Kasper 提交于
      * initial commit for SPRv2
      
      * Add initial SPR cache handling
      
      * update SPR handling
      
      * Implement SPR handling in render
      
      * Update tests, handle caching with serverless next
      start, add TODOs, and update manifest generating
      
      * Handle no prerender-manifest from not being used
      
      * Fix url.parse error
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Replace set with constants in next-page-config
      
      * simplify sprStatus.used
      
      * Add error if getStaticProps is used with getInitialProps
      
      * Remove stale TODO
      
      * Update revalidate values in SPR cache for non-seeded routes
      
      * Apply suggestions from code review
      
      * Remove concurrency type
      
      * Rename variable for clarity
      
      * Add copying prerender files during export
      
      * Add comment for clarity
      
      * Fix exporting
      
      * Update comment
      
      * Add additional note
      
      * Rename variable
      
      * Update to not re-export SPR pages from build
      
      * Hard navigate when fetching data fails
      
      * Remove default extension
      
      * Add brackets
      
      * Add checking output files to prerender tests
      
      * Adjust export move logic
      
      * Clarify behavior of export aggregation
      
      * Update variable names for clarity
      
      * Update tests
      
      * Add comment
      
      * s/an oxymoron/contradictory/
      
      * rename
      
      * Extract error case
      
      * Add tests for exporting SPR pages and update
      /_next/data endpoint to end with .json
      
      * Relocate variable
      
      * Adjust route building
      
      * Rename to unstable
      
      * Rename unstable_getStaticParams
      
      * Fix linting
      
      * Only add this when a data request
      
      * Update prerender data tests
      
      * s/isServerless/isLikeServerless/
      
      * Don't rely on query for `next start` in serverless mode
      
      * Rename var
      
      * Update renderedDuringBuild check
      
      * Add test for dynamic param with bracket
      
      * Fix serverless next start handling
      
      * remove todo
      
      * Adjust comment
      
      * Update calculateRevalidate
      
      * Remove cache logic from render.tsx
      
      * Remove extra imports
      
      * Move SPR cache logic to next-server
      
      * Remove old isDynamic prop
      
      * Add calling App getInitialProps for SPR pages
      
      * Update revalidate logic
      
      * Add isStale to SprCacheValue
      
      * Update headers for SPR
      
      * add awaiting pendingRevalidation
      
      * Dont return null for revalidation render
      
      * Adjust logic
      
      * Be sure to remove coalesced render
      
      * Fix data for serverless
      
      * Create a method coalescing utility
      
      * Remove TODO
      
      * Extract send payload helper
      
      * Wrap in-line
      
      * Move around some code
      
      * Add tests for de-duping and revalidating
      
      * Update prerender manifest test
      85e720a0
  4. 23 9月, 2019 1 次提交
  5. 21 9月, 2019 3 次提交
  6. 20 9月, 2019 3 次提交
  7. 19 9月, 2019 12 次提交
  8. 18 9月, 2019 10 次提交
  9. 17 9月, 2019 1 次提交
    • W
      Example update: with-sentry-simple (#8684) · dc28e5b7
      Weston Thayer 提交于
      * Update to capture server exceptions and more
      
      - Adds test cases for several server and client-side exceptions
      - Allows capturing more server-side exceptions by overriding _error.js and using Sentry.captureException() within
      - Use @sentry/node on the server
      - Rely on Next.js's React Error Boundary instead of creating our own in _app.js
      
      * Update test notes
      
      Found some differences while testing in production
      
      * Remove accidental mount throw on test 8
      
      * Add note about server-side source maps
      
      * Linting fixes
      dc28e5b7