RepoJournal
Vercel

@vercel

Next.js + the Vercel platform - frontend infrastructure for the web

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.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

NEXT.JS TURBOPACK ANALYZER GETS CRITICAL LOGIC FIX, CLAUDE OPUS 4.8 LANDS IN AI SDK

By RepoJournal · Filed · About Vercel

1 person shipped this

Next.js fixed a fundamental short-circuit evaluation bug in Turbopack's type analyzer that was inverting AND/OR logic for nullish and string checks, while the AI SDK absorbed Anthropic's latest flagship model with mid-conversation system message support.

The Turbopack analyzer had its predicate logic backwards for logical AND and OR operations across nullish, string, and empty-string checks [1]. The fix also removes unreachable dead code in the is_truthy binary handler that was duplicating pattern matching [2]. On the AI side, Claude Opus 4.8 is now available across Anthropic's first-party API plus Bedrock, Vertex, and the AI Gateway, marked by first-class mid-conversation system message handling [4]. The AI SDK also exposed `toUIMessageChunkStream` as a standalone helper, unbinding it from the `DefaultStreamTextResult` class methods that were previously the only access point [3], and fixed a validation loop bug where tool input errors were being re-validated on every follow-up message instead of being treated as already-failed [5]. Vercel also archived the standalone connect repo by moving @vercel/connect into the main monorepo with full git history preserved [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix short circuit evaluation of AND / OR in the Turbopack analyzer for string & nullish-related methods ↗ vercel/next.js
  2. [2] Remove dead code from `JsValue::Binary` in `is_truthy` (#94165) vercel/next.js
  3. [3] feat(ai): expose `toUIMessageChunkStream` helper (#14652) vercel/ai
  4. [4] feat(provider/anthropic): add support for `claude-opus-4-8` (#15674) vercel/ai
  5. [5] fix(ai): do not re-validate tool input for output-error parts in validateUIMessages (#15694) vercel/ai
  6. [6] chore: move @vercel/connect from vercel/connect repo (#16462) vercel/vercel

Quick answers

What shipped in Vercel on May 29, 2026?
Next.js fixed a fundamental short-circuit evaluation bug in Turbopack's type analyzer that was inverting AND/OR logic for nullish and string checks, while the AI SDK absorbed Anthropic's latest flagship model with mid-conversation system message support. In total, 44 commits, 51 pull requests, and 25 releases landed.
Who contributed to Vercel on May 29, 2026?
1 developer shipped this update, including sampoder.
What were the notable Vercel updates?
Fix short circuit evaluation of AND / OR in the Turbopack analyzer for string & nullish-related methods, Remove dead code from `JsValue::Binary` in `is_truthy` (#94165), and feat(ai): expose `toUIMessageChunkStream` helper (#14652).

More from @vercel

Daily updates, in your inbox

Follow Vercel

Keep up with Vercel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?