Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

Response field unit_memberships is no longer guaranteed

What changed

Producer-side tools call this non-breaking. For a consumer it is a null dereference on an unknown future date.

Affects unit_memberships on organizations-api_TenantUnit reachable from 1 operation. Nothing fails at the call; it fails wherever the value is finally used, which is usually somewhere else entirely.

can now be null

Who is affected

Code that reads Cloudflare's organizations-api_TenantUnit objects, used by 1 Cloudflare operation.

Before and after

WhereBeforeAfter
organizations-api_TenantUnit.unit_membershipsarrayarray|null

Code that breaks

// response.unit_memberships may now be absent or null
const unit_memberships = response.unit_memberships ?? fallback;

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