Driftwatch

Vercel / Vercel REST API /

Breakingdirection flip: their tools call this safe

to can now return "previous"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects payload.to on UserEvent reachable from 1 operation.

New value: previous.

can now return "previous"

Who is affected

Code that reads Vercel's UserEvent objects, used by 1 Vercel operation.

Before and after

WhereBeforeAfter
UserEvent.payload.to"vercel", "workos""previous", "vercel"

Code that breaks

switch (response.payload.to) {
  // existing branches …
  // no branch for "previous"
  default:
    throw new Error("unexpected to");
}

Based on Vercel’s published API specification. How severity is decided.