What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects payload.budget.scope on UserEvent reachable from 1 operation.
New value: product.
can now return "product"
Who is affected
Code that reads Vercel's UserEvent objects, used by 1 Vercel operation.
Before and after
| Where | Before | After |
|---|---|---|
| UserEvent.payload.budget.scope | "organization", "project", "team" | "organization", "product", "project", "team" |
| UserEvent.payload.prevBudget.scope | "organization", "project", "team" | "organization", "product", "project", "team" |
| UserEvent.payload.budget.budgetItem.scope | "organization", "project", "team" | "organization", "product", "project", "team" |
Code that breaks
switch (response.payload.budget.scope) {
// existing branches …
// no branch for "product"
default:
throw new Error("unexpected scope");
}Based on Vercel’s published API specification. How severity is decided.