The Wire · Showcase
NEXT.JS UNIFIES NAVIGATION RESPONSES, EVE SHIPS BREAKING SESSION API REDESIGN
By RepoJournal · Filed · About Vercel
Andrew Clark landed a two-part refactor that collapses Next.js parallel tree structures into unified types, while Eve 0.31.0 replaces continuation tokens with fixed ID-addressed session handles across the entire platform.
Next.js is consolidating how it represents server responses to the client. The first piece introduces TransportData, a new type that replaces FlightDataPath and works identically whether the server renders a full page or intentionally omits segments [1]. The second unifies RouteTree and CacheNodeSeedData into a single tree structure, eliminating the convention-based isomorphism that required every consumer to defend against mismatches [2]. This is foundational work that simplifies the navigation contract and reduces hidden dependencies across the codebase. Meanwhile, Eve 0.31.0 is a breaking migration that replaces continuation-token session APIs with fixed handles: TypeScript clients now call `client.sessions.create(input)` and `client.sessions.attach(sessionId)` instead of the previous token-based approach [3]. The shift is pervasive across client, eval, frontend, and message delivery surfaces. Will Binns-Smith also cleaned house by moving `devlow-bench` out of `turbopack/packages` into the root `packages/` directory [4], fixing a broken release pipeline that hadn't published since December 2024. On the AI SDK front, Vercel shipped consistency fixes: speech translation models are now uniformly named `*SpeechTranslationModel` instead of the shortened `Translation` names that violated provider interface conventions [5], and the Alibaba provider now preserves unmapped usage fields in `usage.raw` as the spec requires [6]. A chat stream resumption bug also landed that prevents detached or overlapping resumptions from mutating state after cancellation [7]. Across 4 repos: 37 commits, 39 PRs, 12 releases.
One email a day. Unsubscribe in one click.
Keep up with Vercel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Plan for Eve 0.31.0 migration: audit all session creation and attachment calls, update to new client.sessions API vercel/eve [plan]
- → Review Next.js navigation type changes if you consume FlightDataPath or route trees directly vercel/next.js [plan]
- → Monitor chat stream resumptions for state corruption in production with the fix deployed vercel/ai [monitor]
References
- [1] Unify full/partial navigation response types (#96439) vercel/next.js
- [2] Unify RouteTree and CacheNodeSeedData on the client (#96406) vercel/next.js
- [3] eve@0.31.0 ↗ vercel/eve
- [4] Remove `turbopack/packages` and relocate devlow to `packages/` (#96860) vercel/next.js
- [5] chore: rename `*TranslationModel` and its related types to `*SpeechTranslationModel` for consistency (#18423) vercel/ai
- [6] fix(alibaba): preserve unmapped usage fields in usage.raw (#18563) vercel/ai
- [7] fix: resumed chat streams updating state after cancellation or a newer resume (#18461) vercel/ai