Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

selector can now return "cf1", "cf2"

What changed

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

Affects selector on email_email_domain_dns_record reachable from 6 operations.

New values: cf1, cf2.

can now return "cf1", "cf2"

Who is affected

Code that reads Cloudflare's email_email_domain_dns_record objects, used by 6 Cloudflare operations.

Before and after

WhereBeforeAfter
email_email_domain_dns_record.selector"s1", "s2""cf1", "cf2", "s1", "s2"

Code that breaks

switch (response.selector) {
  // existing branches …
  // no branch for "cf1"
  // no branch for "cf2"
  default:
    throw new Error("unexpected selector");
}

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