Driftwatch

Vercel / Vercel REST API /

Breakingdirection flip: their tools call this safe

compression can now return "gzip"

What changed

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

Affects delivery.compression on GET /v1/drains/{id}.

New value: gzip.

can now return "gzip"

Who is affected

Code that reads GET /v1/drains/{id} (delivery.compression).

Before and after

WhereBeforeAfter
GET /v1/drains/{id} · delivery.compression"none""gzip", "none"
PATCH /v1/drains/{id} · delivery.compression"none""gzip", "none"
POST /v1/drains · delivery.compression"none""gzip", "none"

Code that breaks

switch (response.delivery.compression) {
  // existing branches …
  // no branch for "gzip"
  default:
    throw new Error("unexpected compression");
}

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