Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

ignore_defaults is no longer accepted

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

WhereBeforeAfter
POST /accounts/{account_id}/workers/workers/{worker_id}/previews · ignore_defaultspresentabsent
PUT /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id} · ignore_defaultspresentabsent
POST /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments · ignore_defaultspresentabsent
PATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/latest · ignore_defaultspresentabsent

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.