Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

value can now return "domain"

What changed

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

Affects this value on abuse-reports_MitigatedEntityType reachable from 2 operations.

New value: domain.

can now return "domain"

Who is affected

Code that reads Cloudflare's abuse-reports_MitigatedEntityType objects, used by 2 Cloudflare operations.

Before and after

WhereBeforeAfter
abuse-reports_MitigatedEntityType"account", "custom_expression", "url_pattern", "zone""account", "custom_expression", "domain", "url_pattern", "zone"

Code that breaks

switch (response) {
  // existing branches …
  // no branch for "domain"
  default:
    throw new Error("unexpected value");
}

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