Driftwatch

Plaid / Plaid API (2020-09-14) /

Breakingdirection flip: their tools call this safe

value can now return "BLOCKED"

What changed

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

Affects this value on WalletStatus reachable from 3 operations.

New value: BLOCKED.

can now return "BLOCKED"

Who is affected

Code that reads Plaid's WalletStatus objects, used by 3 Plaid operations.

Before and after

WhereBeforeAfter
WalletStatus"ACTIVE", "CLOSED", "UNKNOWN""ACTIVE", "BLOCKED", "CLOSED", "UNKNOWN"

Code that breaks

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

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