Skip to content

vinext@1.4.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 23:09
· 333 commits to main since this release
ca9b714

Bug Fixes

App Router

  • reject route handler request reads inside unstable_cache() like Next.js (#4456)
  • report SSR-only shell errors in the dev overlay and answer error boundary documents with 500 (#4466)
  • accept _rsc values only for the headers they were computed from (#4448)
  • answer shell errors with the error document, and add VINEXT_QUIET (#4411)
  • keep a reused template seed under its destination identity (#4392)
  • apply afterFiles rewrites to a dynamic interception source (#4432)
  • keep a BFCache Activity list at layout-less segment levels (#4401)
  • keep redirect() targets whose pathname starts with // on the app origin (#4424)
  • 404 .rsc requests whose suffix strip leaves a dot segment (#4417)
  • decide RSC cacheability after a disconnected client's render finishes (#4419)

Cache

  • stop stripping .rsc from route handler cache identities (#4472)
  • key Response Store route handlers and metadata routes by path like Next.js (#4445)
  • support custom cacheLife profiles from next.config (#4398)
  • return unstable_cache and "use cache" misses without waiting for the write (#4465)
  • keep the unstable_cache result when the data cache write fails (#3742)
  • resolve cacheLife like Next.js across repeated calls and nested caches (#4399)

Misc

  • Link: settle useLinkStatus for links hidden in a BFCache Activity (#4476)
  • Rewrites: send the inbound Host as X-Forwarded-Host on external rewrites (#4443)
  • Server: drop request-line URL fragments like Next.js (#4451)
  • Middleware: copy middleware response headers onto the downstream request (#4441)
  • Rewrites: keep has captures inside a rewrite destination path like Next.js (#4440)
  • Pages: keep class field keys from retaining data-export-only helpers in client builds (#4435)
  • Headers: keep a request's draft mode after its headers context is cleared (#4437)
  • Prerender: skip a generateStaticParams path whose dynamic render throws a special error (#4386)
  • Prerender: record the revalidate getStaticProps returned for Pages routes (#4388)
  • Dev: run the dev origin check before vinext's pre-middlewares (#4425)
  • Pages: send the default Cache-Control for getInitialProps renders (#4422)
  • Prod Server: serve public files with Next.js's revalidating Cache-Control (#4421)
  • Server: apply trailing-slash redirects to /api routes like Next.js (#4418)

Contributors