What changed #
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects payload.method on UserEvent reachable from 1 operation.
New values: apple, bitbucket, chatgpt, claude, github, gitlab, google.
can now return "apple", "bitbucket", "chatgpt", "claude", "github", "gitlab", "google"
Who is affected #
Code that reads Vercel's UserEvent objects, used by 1 Vercel operation.
Before and after #
| Where | Before | After |
|---|---|---|
| UserEvent.payload.method | "email-otp", "recovery-code", "totp", "webauthn" | "apple", "bitbucket", "chatgpt", "claude", "email-otp", "github", "gitlab", "google", "recovery-code", "totp", "webauthn" |
Code that breaks #
switch (response.payload.method) {
// existing branches …
// no branch for "apple"
// no branch for "bitbucket"
// no branch for "chatgpt"
// no branch for "claude"
// no branch for "github"
// no branch for "gitlab"
// no branch for "google"
default:
throw new Error("unexpected method");
}
Based on Vercel’s published API specification. How severity is decided.