Driftwatch

Vercel / Vercel REST API /

Breaking

Response field cores removed

What changed

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

Affects PATCH /v12/deployments/{id}/cancel.

Who is affected

Code that reads PATCH /v12/deployments/{id}/cancel (resourceConfig.buildMachine.cores).

Before and after

WhereBeforeAfter
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.corespresentabsent
POST /v13/deployments · resourceConfig.buildMachine.corespresentabsent
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.machineSelectionTypepresentabsent
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.defaultPurchaseTypepresentabsent
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.memorypresentabsent
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.purchaseTypepresentabsent
PATCH /v12/deployments/{id}/cancel · resourceConfig.buildMachine.selectionSourcepresentabsent
POST /v13/deployments · resourceConfig.buildMachine.defaultPurchaseTypepresentabsent
POST /v13/deployments · resourceConfig.buildMachine.machineSelectionTypepresentabsent
POST /v13/deployments · resourceConfig.buildMachine.memorypresentabsent
POST /v13/deployments · resourceConfig.buildMachine.purchaseTypepresentabsent
POST /v13/deployments · resourceConfig.buildMachine.selectionSourcepresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.corespresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.defaultPurchaseTypepresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.machineSelectionTypepresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.memorypresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.purchaseTypepresentabsent
GET /v13/deployments/{idOrUrl} · resourceConfig.buildMachine.selectionSourcepresentabsent

Code that breaks

// response.resourceConfig.buildMachine.cores is now undefined
const cores = response.resourceConfig.buildMachine.cores;

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