ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published May 22, 2026seen 5d

cloudflare/vinext v0.0.52

cloudflare/vinext

Open original ↗

Captured source

source ↗
published May 22, 2026seen 5dcaptured 8hhttp 200method plain

v0.0.52

Repository: cloudflare/vinext

Tag: v0.0.52

Published: 2026-05-22T14:08:52Z

Prerelease: no

Release notes:

What's Changed

New Features

  • Added native App Router route type generation via CLI
  • Introduced cache reuse proof system for static layout artifacts with cross-checks
  • Implemented _next/data JSON endpoint for Pages Router
  • Added support for onNavigate prop in Next.js Link components
  • Exposed window.next.router on hydration in Pages Router
  • Added experimental appShells configuration plumbing
  • Added disabled ClientReuseManifest protocol support

Bug Fixes

Router & Navigation

  • Fixed route hybrid pages API fallbacks to properly route through pages entry
  • Fixed deployment fallback hard navigations in App Router
  • Preserved default locale for unprefixed root links
  • Fixed parameter isolation for root-params in prerendering and SSR
  • Normalized trailing slash behavior for routing parity
  • Fixed route priority preservation on middleware rewrite target resolution
  • Rendered optimistic loading shells for dynamic App Router navigation
  • Rendered loading shell for unlisted fallback: true paths in Pages Router

Internationalization (i18n)

  • Normalized default-locale paths before route matching
  • Stripped locale prefix for API routes
  • Honored locale: false setting on rewrites/redirects with proper default-locale redirect
  • Preserved i18n client root navigation in Pages Router

Middleware

  • Allowed server-only imports in middleware
  • Preserved query parameters on rewrite
  • Fixed redirect protocol with relative Location and x-nextjs-redirect headers

App Router

  • Parsed interception route markers in route scanner
  • Resolved nested slot pages over default.tsx in parallel routes
  • Emitted metadata from parallel route slots
  • Prerendered layout static params
  • Returned 404 + x-nextjs-action-not-found for missing actions

Pages Router

  • Honored shallow prop on next/link
  • Avoided getServerSideProps identifier collision during build
  • Wrapped edge API requests in NextRequest with bare runtime export support
  • Guarded navigation shim against SSR
  • Executed edge API routes with Fetch Request

Caching & Performance

  • Preserved Next.js cache headers for prerendered app pages
  • Wired next/after to Workers ctx.waitUntil in deploy mode

Assets & Styling

  • Set default assetsDir to _next/static for Next.js parity
  • Supported data URL composes in CSS modules

Configuration & Base Path

  • Enforced trailing slash configuration in routing and middleware redirects
  • Enforced base path scoping on rewrites/redirects/routes
  • Applied basePath and route via Pages Router for form soft navigation
  • Added deprecation warning for experimental.rootParams

Metadata & URLs

  • Matched Next.js metadata image route behavior
  • Fixed usePathname to return canonical URL after middleware rewrite
  • Warned on blocked javascript: URL navigation
  • Passed params: null instead of {} for non-dynamic routes

Error Handling & Flight

  • Matched Next.js default error page UI
  • Returned flight payload (200) for RSC navigations on redirects
  • Awaited top-level await module imports

Performance

  • Pre-installed compatible React in deploy harness for faster e2e tests

Internal / Chores

  • Migrated font-google tests from fetch hijacking to MSW
  • Introduced MSW infrastructure for testing
  • Extracted Playwright cache plumbing into composite action
  • Split e2e compatibility testing by App Router vs Pages Router
  • Refactored navigation runtime topology

Contributors

@Divkix @JamesbbBriz @NathanDrake2406 @james-elicx @lyzno1

Notability

notability 2.0/10

Minor incremental release, no traction.