Driftwatch

Square / Square API /

Breaking

status is now required

What changed

Partial payloads are rejected.

Affects RiskEvaluation reachable from 6 operations.

Who is affected

Code that sends Square's RiskEvaluation objects, used by 6 Square operations.

Before and after

WhereBeforeAfter
RiskEvaluation.statusoptionalrequired

Code that breaks

await client.post("/…", {
  // …
  status: /* now required */,
});

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