$ the-wire · showcase
Uncapped chat history retention, dev overlay route overrides fixed
By RepoJournal · Filed · About Vercel
Vercel's chat library now supports unlimited per-user history retention, and Next.js fixes stale route info in the dev overlay.
The vercel/chat history feature now accepts `history.user.maxPerUser: false` and the legacy `transcripts.maxPerUser: false` to disable count-based eviction, so apps can retain complete user histories beyond the default 200 entries [1]. Numeric limits still trim older entries, and retention TTL remains independent. Tests cover retaining 205 entries with no cap, the default 200-entry cap, and legacy configuration merging [2].
Next.js fixed an issue in the Route Info dev tools panel where toggling a route segment boundary like `loading.js` or `not-found.js` didn't update the UI until the modal was closed and reopened [3]. The cause was the segment explorer trie mutating nodes in place, which prevented the memoized view from picking up insertions until remount [4].
The AI SDK @ai-sdk/openai 4.0.60 adds "GPT-6 reasoning configuration updates" [5], with @ai-sdk/azure 4.0.63 and @ai-sdk/amazon-bedrock 5.0.76 updating their OpenAI dependency accordingly [6][8]. These are patch releases with no breaking changes.
Action items
- → Evaluate adopting uncapped history in vercel/chat if your app needs to keep full user transcripts vercel/chat [plan]
- → Pull the Next.js fix if you rely on the Route Info dev overlay in dev vercel/next.js [monitor]
- → Monitor the @ai-sdk/openai release for GPT-6 reasoning changes relevant to your setup vercel/ai [monitor]
References
- [1] feat(history): support uncapped per-user retention ↗ vercel/chat
- [2] feat(history): support uncapped per-user retention (#904) ↗ vercel/chat
- [3] fix: route info segment overrides not updating in dev overlay ↗ vercel/next.js
- [4] fix: route info segment overrides not updating in dev overlay (#96968) ↗ vercel/next.js
- [5] v16.4.0-canary.19 ↗ vercel/next.js
- [6] @ai-sdk/openai@4.0.60 ↗ vercel/ai
- [7] @ai-sdk/azure@4.0.63 ↗ vercel/ai
- [8] @ai-sdk/amazon-bedrock@5.0.76 ↗ vercel/ai