Driftwatch

Vercel / Vercel REST API /

Breakingdirection flip: their tools call this safe

type can now return "project"

What changed

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

Affects creator.type on PATCH /v12/deployments/{id}/cancel.

New value: project.

can now return "project"

Who is affected

Code that reads PATCH /v12/deployments/{id}/cancel (creator.type).

Before and after

WhereBeforeAfter
PATCH /v12/deployments/{id}/cancel · creator.type"app", "integration", "system", "user""app", "integration", "project", "system", "user"
POST /v13/deployments · creator.type"app", "integration", "system", "user""app", "integration", "project", "system", "user"
GET /v13/deployments/{idOrUrl} · creator.type"app", "integration", "system", "user""app", "integration", "project", "system", "user"
GET /v7/deployments · deployments[].creator.type"app", "integration", "system", "user""app", "integration", "project", "system", "user"

Code that breaks

switch (response.creator.type) {
  // existing branches …
  // no branch for "project"
  default:
    throw new Error("unexpected type");
}

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