Driftwatch

APIs / Vercel

Vercel API changes

Breaking changes, deprecations and new fields in the Vercel API, as they ship.

Vercel2 breaking1 behavioral11 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "messageboard-private-sync-created", "messageboard-private-sync-removed", "messageboard-sync-created", "messageboard-sync-removed"

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

    can now return "messageboard-private-sync-created", "messageboard-private-sync-removed", "messageboard-sync-created", "messageboard-sync-removed"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "messageboard-private-sync-created"
      // no branch for "messageboard-private-sync-removed"
      // no branch for "messageboard-sync-created"
      // no branch for "messageboard-sync-removed"
      default:
        throw new Error("unexpected name");
    }
  • Breaking

    Response field ttyBuildLogs removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    GET /v13/deployments/{idOrUrl} · ttyBuildLogs · 3 call sites
    Code that breaks
    // response.ttyBuildLogs is now undefined
    const ttyBuildLogs = response.ttyBuildLogs;
  • Behavioral

    409 is now documented on /ai-gateway/virtual-model-configs/{vmcSlug}

    An unhandled branch in your error handling.

    PATCH /ai-gateway/virtual-model-configs/{vmcSlug} · 2 call sites
  • Additive

    creators is now optional

    No action needed.

    GET /v7/deployments · creators
10 new response fields
  • version.creator
  • creator.name
  • deployments[].id
  • deployments[].creator.name
  • deployments[].gitSource
  • deployments[].ownerId
  • deployments[].team
  • versions[].creator
  • credentialTypes
  • credentialTypesSource
Vercel2 breaking1 behavioral19 additive
  • Breakingdirection flip: their tools call this safe

    type can now return "vercel-ci-task-analysis-created"

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

    can now return "vercel-ci-task-analysis-created"

    3 places: UserEvent.type, ListEventType.name, ListEventType.replacedBy[]
    Code that breaks
    switch (response.type) {
      // existing branches …
      // no branch for "vercel-ci-task-analysis-created"
      default:
        throw new Error("unexpected type");
    }
  • Breakingdirection flip: their tools call this safe

    to can now return "previous"

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

    UserEvent.payload.to · reachable from 1 operation
    Code that breaks
    switch (response.payload.to) {
      // existing branches …
      // no branch for "previous"
      default:
        throw new Error("unexpected to");
    }
  • Behavioral

    429 is now documented on /v1/billing/charges

    An unhandled branch in your error handling.

    GET /v1/billing/charges
  • Additive

    includeMetadata is now optional

    No action needed.

    GET /v1/drains/{id} · includeMetadata
  • Additive

    /v1/integrations/configuration/resolve added

    No action needed.

    /v1/integrations/configuration/resolve
  • Additive

    Request property enableAutoPause added

    No action needed unless it is required.

    POST /v1/drains · enableAutoPause · 2 call sites
16 new response fields
  • permissions.ciRepository
  • projects[].permissions.ciRepository
  • BillingAccountId
  • x_ServiceCategory
  • BillingAccountName
  • BillingPeriodEnd
  • BillingPeriodStart
  • ChargeClass
  • ChargeDescription
  • ContractedCost
  • HostProviderName
  • InvoiceIssuerName
  • ListCost
  • ProviderName
  • PublisherName
  • enableAutoPause
Vercel1 breaking6 additive
  • Breakingdirection flip: their tools call this safe

    replacedBy can now return "ai-gateway-member-budget-changes"

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

    can now return "ai-gateway-member-budget-changes"

    3 places: ListEventType.replacedBy[], UserEvent.type, ListEventType.name
    Code that breaks
    switch (response.replacedBy[0]) {
      // existing branches …
      // no branch for "ai-gateway-member-budget-changes"
      default:
        throw new Error("unexpected replacedBy");
    }
  • Additive

    customEnvironmentId is now optional

    No action needed.

    PUT /v1/projects/{idOrName}/daemons/{daemonName}/instances · customEnvironmentId · 2 call sites
  • Additive

    rollbackInfo is now optional

    No action needed.

    GET /v9/projects/{idOrName} · rollbackInfo
4 new response fields
  • permissions.aiGatewayBudgetOwnedBySelf
  • projects[].permissions.aiGatewayBudgetOwnedBySelf
  • UserEvent.payload.organizationScope
  • members[].membershipSource
Vercel1 breaking4 additive
  • Breakingdirection flip: their tools call this safe

    projectScope can now return "none"

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

    can now return "none"

    4 places: UserEvent.payload.next.projectScope, UserEvent.payload.next.repositoryScope, UserEvent.payload.previous.projectScope, UserEvent.payload.previous.repositoryScope
    Code that breaks
    switch (response.payload.next.projectScope) {
      // existing branches …
      // no branch for "none"
      default:
        throw new Error("unexpected projectScope");
    }
4 new response fields
  • Team.directorySyncSource
  • Team.directorySyncType
  • TeamLimited.directorySyncSource
  • TeamLimited.directorySyncType
Vercel1 breaking7 additive
5 new response fields
  • permissions.organizationAdmin
  • permissions.organizationMember
  • projects[].permissions.organizationMember
  • projects[].permissions.organizationAdmin
  • AuthUser.accountUpdateContext.orphanSsoTeam
Vercel2 breaking4 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "ai-gateway-system-credential-fallback-opt-out-toggled"

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

    can now return "ai-gateway-system-credential-fallback-opt-out-toggled"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "ai-gateway-system-credential-fallback-opt-out-toggled"
      default:
        throw new Error("unexpected name");
    }
  • Breakingdirection flip: their tools call this safe

    permissions can now return "read-write:desktop-device"

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

    can now return "read-write:desktop-device"

    2 places: UserEvent.payload.permissions[], UserEvent.payload.nextPermissions[]
    Code that breaks
    switch (response.payload.permissions[0]) {
      // existing branches …
      // no branch for "read-write:desktop-device"
      default:
        throw new Error("unexpected permissions");
    }
4 new response fields
  • permissions.desktopDevice
  • projects[].permissions.desktopDevice
  • UserEvent.payload.next.repositoryScope
  • UserEvent.payload.previous.repositoryScope
Vercel1 breaking5 deprecation1 behavioral6 additive
2 new response fields
  • Network.connectionTesting
  • expiresAt
Vercel4 breaking1 additive
  • Breaking

    Response field disableHardAutoBlocks removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    Team.disableHardAutoBlocks · reachable from 3 operations
    Code that breaks
    // response.disableHardAutoBlocks is now undefined
    const disableHardAutoBlocks = response.disableHardAutoBlocks;
  • Breaking

    startTimestamp changed type

    Serialization mismatch. Integer-to-string moves are the usual cause and the usual outage.

    GET /v1/security/firewall/events · startTimestamp · 2 call sites
    Code that breaks
    // payload.startTimestamp
    // was: number
    // now: integer
  • Breaking

    endTimestamp changed type

    GET /v1/security/firewall/events · endTimestamp · 2 call sites
    Code that breaks
    // payload.endTimestamp
    // was: number
    // now: integer
  • Breaking

    limit changed type

    GET /v1/security/firewall/events · limit
    Code that breaks
    // payload.limit
    // was: number
    // now: integer
  • Additive

    Response field buildTarget added

    No action needed unless you validate responses against a closed schema.

    PATCH /v12/deployments/{id}/cancel · services[].builder.config.daemon.buildTarget · 6 call sites
Vercel2 breaking1 behavioral
  • Breakingdirection flip: their tools call this safe

    name can now return "drive-created", "drive-deleted", "drive-snapshot-created", "drive-snapshot-deleted"

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

    can now return "drive-created", "drive-deleted", "drive-snapshot-created", "drive-snapshot-deleted"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "drive-created"
      // no branch for "drive-deleted"
      // no branch for "drive-snapshot-created"
      // no branch for "drive-snapshot-deleted"
      default:
        throw new Error("unexpected name");
    }
  • Breakingdirection flip: their tools call this safe

    compression can now return "gzip"

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

    GET /v1/drains/{id} · delivery.compression · 5 call sites
    Code that breaks
    switch (response.delivery.compression) {
      // existing branches …
      // no branch for "gzip"
      default:
        throw new Error("unexpected compression");
    }
  • Behavioral

    409 is now documented on /v1/teams/{teamId}/members/{uid}

    An unhandled branch in your error handling.

    DELETE /v1/teams/{teamId}/members/{uid}
Vercel1 additive
  • Additive

    Response field tokenSetKey added

    No action needed unless you validate responses against a closed schema.

    POST /v1/storage/stores/integration/direct · store.secrets[].tokenSetKey
Vercel1 breaking1 behavioral2 additive
2 new response fields
  • security.rulesets[key].rateLimit.action
  • projects[].security.rulesets[key].rateLimit.action
Vercel2 breaking2 additive
  • Breakingdirection flip: their tools call this safe

    permissions can now return "read-write:drive", "read:drive"

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

    can now return "read-write:drive", "read:drive"

    4 places: UserEvent.payload.permissions[], UserEvent.payload.nextPermissions[], UserEvent.payload.after.permissions[], UserEvent.payload.before.permissions[]
    Code that breaks
    switch (response.payload.permissions[0]) {
      // existing branches …
      // no branch for "read-write:drive"
      // no branch for "read:drive"
      default:
        throw new Error("unexpected permissions");
    }
  • Breakingdirection flip: their tools call this safe

    name can now return "schedule-created", "schedule-deleted", "schedule-disabled", "schedule-enabled", "schedule-invoked", "schedule-updated"

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

    can now return "schedule-created", "schedule-deleted", "schedule-disabled", "schedule-enabled", "schedule-invoked", "schedule-updated"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "schedule-created"
      // no branch for "schedule-deleted"
      // no branch for "schedule-disabled"
      // no branch for "schedule-enabled"
      // no branch for "schedule-invoked"
      // no branch for "schedule-updated"
      default:
        throw new Error("unexpected name");
    }
2 new response fields
  • permissions.drive
  • projects[].permissions.drive
Vercel2 breaking1 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "ai-agent-usage-billing", "project-git-credential-token-minted"

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

    can now return "ai-agent-usage-billing", "project-git-credential-token-minted"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "ai-agent-usage-billing"
      // no branch for "project-git-credential-token-minted"
      default:
        throw new Error("unexpected name");
    }
  • Breakingdirection flip: their tools call this safe

    status can now return "crash_looping"

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

    GET /v1/projects/{idOrName}/daemons · daemons[].status
    Code that breaks
    switch (response.daemons[0].status) {
      // existing branches …
      // no branch for "crash_looping"
      default:
        throw new Error("unexpected status");
    }
  • Additive

    Response field process added

    No action needed unless you validate responses against a closed schema.

    GET /v1/projects/{idOrName}/daemons · daemons[].instances.items[].process
Vercel2 breaking1 behavioral7 additive
  • Breakingdirection flip: their tools call this safe

    type can now return "response_header"

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

    can now return "response_header"

    24 places: GET /v1/security/firewall/bypass/rules · conditionGroup[].conditions[].type, GET /v1/security/firewall/bypass/rules · rules[].conditionGroup[].conditions[].type, PUT /v1/security/firewall/bypass/rules · conditionGroup[].conditions[].type, POST /v1/security/firewall/bypass/rules · conditionGroup[].conditions[].type, GET /v1/security/firewall/config · active.conditions[].conditionGroup[].conditions[].type, GET /v1/security/firewall/config · active.rules[].conditionGroup[].conditions[].type +18 more
    Code that breaks
    switch (response.conditionGroup[0].conditions[0].type) {
      // existing branches …
      // no branch for "response_header"
      default:
        throw new Error("unexpected type");
    }
  • Breakingdirection flip: their tools call this safe

    events can now return "ai-gateway.budget.updated"

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

    POST /v1/webhooks · events[] · 2 call sites
    Code that breaks
    switch (response.events[0]) {
      // existing branches …
      // no branch for "ai-gateway.budget.updated"
      default:
        throw new Error("unexpected events");
    }
  • Behavioral

    500 is now documented on /v1/organizations/{organizationId}/teams/{targetTeamId}

    An unhandled branch in your error handling.

    DELETE /v1/organizations/{organizationId}/teams/{targetTeamId}
  • Additive

    orgId is now optional

    No action needed.

    GET /v1/billing/charges · orgId
6 new response fields
  • SubAccountId
  • SubAccountName
  • x_CostAttribution
  • SubAccountType
  • projects[].security.firewallRoutes[].response_missing
  • security.firewallRoutes[].response_missing
Vercel1 breaking1 behavioral
Vercel1 breaking
  • Breakingdirection flip: their tools call this safe

    name can now return "admin-observability-disabled"

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

    can now return "admin-observability-disabled"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "admin-observability-disabled"
      default:
        throw new Error("unexpected name");
    }
Vercel4 additive
4 new response fields
  • services[].rewrites[].transforms[].fallback
  • store.product.integration.capabilities.credentialTypesCreate
  • expiration
  • projects[].expiration
Vercel1 breaking7 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "project-expiration-removed"

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

    can now return "project-expiration-removed"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "project-expiration-removed"
      default:
        throw new Error("unexpected name");
    }
  • Additive

    justification is now optional

    No action needed.

    DELETE /ai-gateway/budgets · justification · 2 call sites
3 new response fields
  • store.capabilities.credentialTypesTransitions
  • store.credentialTypes
  • store.credentialTypesTransition
3 new request properties
  • justification
  • credentialTypes
  • expiration
Vercel3 breaking5 additive
  • Breakingdirection flip: their tools call this safe

    permissions can now return "use:private-npm"

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

    can now return "use:private-npm"

    4 places: UserEvent.payload.permissions[], UserEvent.payload.nextPermissions[], UserEvent.payload.after.permissions[], UserEvent.payload.before.permissions[]
    Code that breaks
    switch (response.payload.permissions[0]) {
      // existing branches …
      // no branch for "use:private-npm"
      default:
        throw new Error("unexpected permissions");
    }
  • Breakingdirection flip: their tools call this safe

    name can now return "vercel-agent-security-finding-dismissed", "vercel-agent-security-finding-reopened", "vercel-agent-security-finding-resolved"

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

    can now return "vercel-agent-security-finding-dismissed", "vercel-agent-security-finding-reopened", "vercel-agent-security-finding-resolved"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "vercel-agent-security-finding-dismissed"
      // no branch for "vercel-agent-security-finding-reopened"
      // no branch for "vercel-agent-security-finding-resolved"
      default:
        throw new Error("unexpected name");
    }
  • Breakingdirection flip: their tools call this safe

    defaultFor can now return "nextjs-tracing"

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

    POST /v1/drains · source.defaultFor · 7 call sites
    Code that breaks
    switch (response.source.defaultFor) {
      // existing branches …
      // no branch for "nextjs-tracing"
      default:
        throw new Error("unexpected defaultFor");
    }
5 new response fields
  • SandboxInjectionRule.matchDimensions
  • SandboxNetworkPolicy.forwardRules
  • SandboxNetworkPolicy.responseRules
  • permissions.privateNpmUsage
  • projects[].permissions.privateNpmUsage
Vercel2 breaking6 additive
  • Breakingdirection flip: their tools call this safe

    Response field username is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    no longer guaranteed present

    9 places: UserEvent.payload.rollbackDescription.username, GET /v1/microfrontends/groups/{groupId}/projects · projects[].rollbackDescription.username, POST /v1/projects/{idOrName}/avatar · rollbackDescription.username, DELETE /v1/projects/{idOrName}/avatar · rollbackDescription.username, PATCH /v1/projects/{projectId}/microfrontends · rollbackDescription.username, GET /v10/projects · projects[].rollbackDescription.username +3 more
    Code that breaks
    // response.payload.rollbackDescription.username may now be absent or null
    const username = response.payload.rollbackDescription.username ?? fallback;
  • Breakingdirection flip: their tools call this safe

    Response field userId is no longer guaranteed

    Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

    no longer guaranteed present

    9 places: UserEvent.payload.rollbackDescription.userId, GET /v1/microfrontends/groups/{groupId}/projects · projects[].rollbackDescription.userId, POST /v1/projects/{idOrName}/avatar · rollbackDescription.userId, DELETE /v1/projects/{idOrName}/avatar · rollbackDescription.userId, GET /v10/projects · projects[].rollbackDescription.userId, PATCH /v1/projects/{projectId}/microfrontends · rollbackDescription.userId +3 more
    Code that breaks
    // response.payload.rollbackDescription.userId may now be absent or null
    const userId = response.payload.rollbackDescription.userId ?? fallback;
6 new response fields
  • rollbackDescription.principal
  • jobs.health-check
  • Team.defaultProjectJobs.health-check
  • projects[].jobs.health-check
  • projects[].rollbackDescription.principal
  • UserEvent.payload.rollbackDescription.principal
Vercel2 additive
2 new response fields
  • permissions.schedulePreview
  • projects[].permissions.schedulePreview
Vercel2 breaking1 behavioral4 additive
  • Breakingdirection flip: their tools call this safe

    type can now return "organization-team-dsync-update"

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

    can now return "organization-team-dsync-update"

    3 places: UserEvent.type, ListEventType.replacedBy[], ListEventType.name
    Code that breaks
    switch (response.type) {
      // existing branches …
      // no branch for "organization-team-dsync-update"
      default:
        throw new Error("unexpected type");
    }
  • Breakingdirection flip: their tools call this safe

    type can now return "aws-oidc"

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

    can now return "aws-oidc"

    2 places: ConnectConnector.type, ConnectConnectorCreateResult.type
    Code that breaks
    switch (response.type) {
      // existing branches …
      // no branch for "aws-oidc"
      default:
        throw new Error("unexpected type");
    }
  • Behavioral

    409 is now documented on /v1/kms/issuers

    An unhandled branch in your error handling.

    POST /v1/kms/issuers
2 new response fields
  • discoveryLayout
  • issuers[].discoveryLayout
2 new request properties
  • gitComments
  • gitProviderOptions
Vercel2 breaking2 additive
Vercel2 breaking2 additive
  • Breakingdirection flip: their tools call this safe

    origin can now return "org-admin-sync"

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

    can now return "org-admin-sync"

    7 places: Team.membership.joinedFrom.origin, TeamLimited.membership.joinedFrom.origin, UserEvent.payload.removedUsers[key].joinedFrom.origin, UserEvent.payload.source, POST /v1/teams/{teamId}/request · joinedFrom.origin, GET /v1/teams/{teamId}/request/{userId} · joinedFrom.origin +1 more
    Code that breaks
    switch (response.membership.joinedFrom.origin) {
      // existing branches …
      // no branch for "org-admin-sync"
      default:
        throw new Error("unexpected origin");
    }
  • Breakingdirection flip: their tools call this safe

    name can now return "team-data-cache-user-disabled-updated"

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

    can now return "team-data-cache-user-disabled-updated"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "team-data-cache-user-disabled-updated"
      default:
        throw new Error("unexpected name");
    }
2 new response fields
  • OrganizationTeam.dsyncMode
  • OrganizationTeamListItem.dsyncMode
Vercel1 breaking
  • Breakingdirection flip: their tools call this safe

    name can now return "connect-branding-updated"

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

    can now return "connect-branding-updated"

    3 places: ListEventType.name, UserEvent.type, ListEventType.replacedBy[]
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "connect-branding-updated"
      default:
        throw new Error("unexpected name");
    }
Vercel2 breaking3 behavioral11 additive
7 new response fields
  • permissions.aiGatewayByokCredentials
  • services[].builder.config.daemon.livenessProbe
  • ConnectConnector.mcpEventsUiVisibility
  • ConnectConnector.hasMcpEventDeliveries
  • projects[].permissions.aiGatewayByokCredentials
  • ConnectConnectorCreateResult.hasMcpEventDeliveries
  • ConnectConnectorCreateResult.mcpEventsUiVisibility
Vercel2 additive
2 new response fields
  • UserEvent.details
  • UserEvent.summary
Vercel2 behavioral8 additive
7 new response fields
  • vercelFlags
  • permissions.emaSetup
  • projectSettings.vercelFlags
  • projects[].vercelFlags
  • projects[].permissions.emaSetup
  • route.caseSensitive
  • deployments[].projectSettings.vercelFlags
Vercel1 breaking4 additive
  • Breaking

    Response field v0 removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    4 places: Drive.v0, NamedSandbox.v0, Session.v0, Snapshot.v0
    Code that breaks
    // response.v0 is now undefined
    const v0 = response.v0;
4 new response fields
  • Session.workloadType
  • NamedSandbox.workloadType
  • Snapshot.workloadType
  • Drive.workloadType
Vercel1 breaking1 behavioral
Vercel2 breaking1 behavioral
  • Breakingdirection flip: their tools call this safe

    type can now return "project"

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

    can now return "project"

    4 places: PATCH /v12/deployments/{id}/cancel · creator.type, POST /v13/deployments · creator.type, GET /v13/deployments/{idOrUrl} · creator.type, GET /v7/deployments · deployments[].creator.type
    Code that breaks
    switch (response.creator.type) {
      // existing branches …
      // no branch for "project"
      default:
        throw new Error("unexpected type");
    }
  • Breakingdirection flip: their tools call this safe

    name can now return "messageboard-project-channel-created", "messageboard-project-private-channel-created"

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

    can now return "messageboard-project-channel-created", "messageboard-project-private-channel-created"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "messageboard-project-channel-created"
      // no branch for "messageboard-project-private-channel-created"
      default:
        throw new Error("unexpected name");
    }
  • Behavioral

    Status code no longer documented

    Dead branch, or an undocumented response you still receive.

    POST /v2/sandboxes/sessions/{sessionId}/cmd · 8 call sites
Vercel1 behavioral3 additive
  • Behavioral

    Status code no longer documented

    Dead branch, or an undocumented response you still receive.

    PUT /v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets · 4 call sites
3 new response fields
  • store.projectsMetadata[].secretsOutdated
  • UserEvent.payload.id
  • store.secretsAppliedAt
Vercel1 breaking1 additive
Vercel1 breaking1 behavioral7 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "startup-terms-accepted"

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

    can now return "startup-terms-accepted"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "startup-terms-accepted"
      default:
        throw new Error("unexpected name");
    }
  • Behavioral

    401 is now documented on /v1/organizations

    An unhandled branch in your error handling.

    GET /v1/organizations · 9 call sites
  • Additive

    Request field now accepts null

    A relaxation. Existing payloads are unaffected.

    PUT /v1/projects/{idOrName}/daemons/{daemonName}/instances
6 new response fields
  • permissions.messageboardMessage
  • permissions.messageboardModeration
  • permissions.messageboardReaction
  • projects[].permissions.messageboardModeration
  • projects[].permissions.messageboardReaction
  • projects[].permissions.messageboardMessage
Vercel1 breaking1 behavioral
  • Breakingdirection flip: their tools call this safe

    name can now return "organization-sso-deleted"

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

    can now return "organization-sso-deleted"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "organization-sso-deleted"
      default:
        throw new Error("unexpected name");
    }
  • Behavioral

    503 is now documented on /v1/drains

    An unhandled branch in your error handling.

    GET /v1/drains · 2 call sites
Vercel3 behavioral19 additive
18 new response fields
  • disabledReason
  • disabledBy
  • disabledAt
  • filterV2
  • firstErrorTimestamp
  • name
  • projectIds
  • sampling
  • schemas
  • source
  • teamId
  • updatedAt
  • createdAt
  • status
  • delivery
  • deliveryStats
  • id
  • ownerId
Vercel1 breaking2 additive
  • Breakingdirection flip: their tools call this safe

    purchaseType can now return "14cpu-28gb"

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

    PATCH /v12/deployments/{id}/cancel · config.resourceConfig.buildMachine.purchaseType · 3 call sites
    Code that breaks
    switch (response.config.resourceConfig.buildMachine.purchaseType) {
      // existing branches …
      // no branch for "14cpu-28gb"
      default:
        throw new Error("unexpected purchaseType");
    }
2 new response fields
  • services[].builder.config.daemon.bindings
  • connector.service
Vercel3 breaking3 additive
  • Breakingdirection flip: their tools call this safe

    permissions can now return "read-write:webhooks"

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

    can now return "read-write:webhooks"

    4 places: UserEvent.payload.permissions[], UserEvent.payload.nextPermissions[], UserEvent.payload.after.permissions[], UserEvent.payload.before.permissions[]
    Code that breaks
    switch (response.payload.permissions[0]) {
      // existing branches …
      // no branch for "read-write:webhooks"
      default:
        throw new Error("unexpected permissions");
    }
  • Breaking

    Response field replicas removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    2 places: GET /v1/projects/{idOrName}/daemons · daemons[].config.replicas, GET /v1/projects/{idOrName}/daemons · daemons[].replicas
    Code that breaks
    // response.daemons[0].config.replicas is now undefined
    const replicas = response.daemons[0].config.replicas;
  • Breaking

    Response field configuredReplicas removed

    GET /v1/projects/{idOrName}/daemons · daemons[].config.configuredReplicas
    Code that breaks
    // response.daemons[0].config.configuredReplicas is now undefined
    const configuredReplicas = response.daemons[0].config.configuredReplicas;
3 new response fields
  • daemons[].config.configuredInstances
  • daemons[].config.instances
  • daemons[].instances
Vercel4 breaking5 additive
  • Breaking

    Response field messageboardSpace removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    8 places: GET /v1/microfrontends/groups/{groupId}/projects · projects[].permissions.messageboardSpace, POST /v1/projects/{idOrName}/avatar · permissions.messageboardSpace, DELETE /v1/projects/{idOrName}/avatar · permissions.messageboardSpace, GET /v10/projects · projects[].permissions.messageboardSpace, PATCH /v1/projects/{projectId}/microfrontends · permissions.messageboardSpace, POST /v11/projects · permissions.messageboardSpace +2 more
    Code that breaks
    // response.projects[0].permissions.messageboardSpace is now undefined
    const messageboardSpace = response.projects[0].permissions.messageboardSpace;
  • Breakingdirection flip: their tools call this safe

    scope can now return "product"

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

    can now return "product"

    3 places: UserEvent.payload.budget.scope, UserEvent.payload.prevBudget.scope, UserEvent.payload.budget.budgetItem.scope
    Code that breaks
    switch (response.payload.budget.scope) {
      // existing branches …
      // no branch for "product"
      default:
        throw new Error("unexpected scope");
    }
  • Breakingdirection flip: their tools call this safe

    replacedBy can now return "messageboard-channel-created", "messageboard-channel-updated", "messageboard-private-channel-created", "messageboard-private-channel-updated"

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

    can now return "messageboard-channel-created", "messageboard-channel-updated", "messageboard-private-channel-created", "messageboard-private-channel-updated"

    3 places: ListEventType.replacedBy[], UserEvent.type, ListEventType.name
    Code that breaks
    switch (response.replacedBy[0]) {
      // existing branches …
      // no branch for "messageboard-channel-created"
      // no branch for "messageboard-channel-updated"
      // no branch for "messageboard-private-channel-created"
      // no branch for "messageboard-private-channel-updated"
      default:
        throw new Error("unexpected replacedBy");
    }
  • Breaking

    Response field ownerId removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    Organization.ownerId · reachable from 4 operations
    Code that breaks
    // response.ownerId is now undefined
    const ownerId = response.ownerId;
5 new response fields
  • permissions.messageboardChannel
  • projects[].permissions.messageboardChannel
  • purchaseIntent.configuration.options.fromPlan.additionalSubscriptions
  • purchaseIntent.configuration.options.fromPlan.planItemPrices
  • purchaseIntent.configuration.options.planItemPrices
Vercel1 breaking4 additive
  • Breakingdirection flip: their tools call this safe

    name can now return "xaa-updated"

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

    can now return "xaa-updated"

    3 places: ListEventType.name, ListEventType.replacedBy[], UserEvent.type
    Code that breaks
    switch (response.name) {
      // existing branches …
      // no branch for "xaa-updated"
      default:
        throw new Error("unexpected name");
    }
4 new response fields
  • services[].builder.config.functions[key].installCommand
  • services[].builder.config.projectSettings.vercelFlags
  • functions[key].installCommand
  • services[].functions[key].installCommand
Vercel2 breaking
  • Breaking

    Response field vhs removed

    Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

    GET /v1/projects/{idOrName}/daemons · daemons[].config.image.vhs
    Code that breaks
    // response.daemons[0].config.image.vhs is now undefined
    const vhs = response.daemons[0].config.image.vhs;
  • Breaking

    Response field iroh removed

    GET /v1/projects/{idOrName}/daemons · daemons[].replicas.items[].iroh
    Code that breaks
    // response.daemons[0].replicas.items[0].iroh is now undefined
    const iroh = response.daemons[0].replicas.items[0].iroh;
Vercel1 breaking11 additive
8 new response fields
  • permissions.githubUsage
  • permissions.connexClientAccess
  • projects[].permissions.githubUsage
  • projects[].permissions.connexClientAccess
  • outstandingTotal
  • paidTotal
  • pendingRefundTotal
  • refundedTotal
Vercel1 breaking
  • Breakingdirection flip: their tools call this safe

    cmdId is no longer accepted

    No error is raised. The value is ignored and your results change silently, which is the hardest class of break to notice.

    POST /v2/sandboxes/sessions/{sessionId}/cmd · cmdId
    Code that breaks
    await client.post("/v2/sandboxes/sessions/{sessionId}/cmd", {
      // cmdId is now ignored, not rejected
      cmdId: value,
    });