Repository navigation
feat: add Next.js and Vinext compatibility with strict release gates - #52
Conversation
🦋 Changeset detectedLatest commit: 1666d37 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedToo many files! This PR contains 333 files, which is 233 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
|
||
| Vite's alias table is shared across environments. The adapter uses environment-specific resolution hooks so native server React and Flight remain intact. It uses the full Redact renderer. The separate Vite plugin's feature presets do not apply. | ||
|
|
||
| The adapter also keeps Vinext's Next shims out of server and App Router dependency prebundling, so router state has one module identity. Pages-only clients retain their prebundled pipeline, with shared instrumentation state. A version-scoped transform prevents Pages JSON requests from receiving document trailing-slash redirects. The development Flight profiler also validates end times and track indices for errors and cancellations, matching React's completed-component track. Valid measurements and application errors remain intact. These corrections run through Vite's normal plugin hooks, including its separate optimizer, and leave installed Vinext files intact. |
There was a problem hiding this comment.
Just a heads up that I've published the release that contains these fixes.
Adds browser integrations for Next.js 15.5 and 16.0 through 16.4, plus Vinext 1.3.0, covering App Router and Pages Router. Existing React imports stay unchanged and native React remains on the server. Redact retains its synchronous rendering model.
Ships maintained corrections for Next 16.2 development cache detection, Vinext module identity and Pages data navigation, development Flight timing, and Cloudflare's development evaluator. The optional Cloudflare entry includes the pinned distribution, original license, and reproducible provenance. Standard dependency overrides select the published Undici and fflate security fixes. Installed framework files stay intact.
Validation on the frozen package:
The refreshed upstream Vinext benchmark ran all seven scenarios, six rounds per implementation, and six browser workload checks. Client output remains 39.4 KB gzip smaller (25.4%). Production build times are effectively equal; local startup was 2.2% faster for App Router and 4.9% faster for the large Pages fixture. Browser rendering speed was not measured. Reports retain the earlier failures and raw measurements.
Docs and Changesets are prepared. Publication still uses the normal required CI and Changesets workflow.