What changed
No error is raised. The value is ignored and your results change silently, which is the hardest class of break to notice.
Affects ignore_defaults on POST /accounts/{account_id}/workers/workers/{worker_id}/previews. Grep for it: nothing else will tell you.
Who is affected
Code that sends POST /accounts/{account_id}/workers/workers/{worker_id}/previews (ignore_defaults).
Before and after
| Where | Before | After |
|---|---|---|
| POST /accounts/{account_id}/workers/workers/{worker_id}/previews · ignore_defaults | present | absent |
| PUT /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id} · ignore_defaults | present | absent |
| POST /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments · ignore_defaults | present | absent |
| PATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/latest · ignore_defaults | present | absent |
Code that breaks
await client.post("/accounts/{account_id}/workers/workers/{worker_id}/previews", {
// ignore_defaults is now ignored, not rejected
ignore_defaults: value,
});Based on Cloudflare’s published API specification. How severity is decided.