Driftwatch

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

Breakingdirection flip: their tools call this safe

value can now return "charge card"

What changed

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

Affects this value on CreditAccountSubtype reachable from 2 operations.

New value: charge card.

can now return "charge card"

Who is affected

Code that reads Plaid's CreditAccountSubtype objects, used by 2 Plaid operations.

Before and after

WhereBeforeAfter
CreditAccountSubtype"all", "credit card", "paypal""all", "charge card", "credit card", "paypal"

Code that breaks

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

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