Driftwatch

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

Breakingdirection flip: their tools call this safe

apr_type can now return "penalty_apr"

What changed

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

Affects apr_type on APR reachable from 2 operations.

New value: penalty_apr.

can now return "penalty_apr"

Who is affected

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

Before and after

WhereBeforeAfter
APR.apr_type"balance_transfer_apr", "cash_apr", "purchase_apr", "special""balance_transfer_apr", "cash_apr", "penalty_apr", "purchase_apr", "special"

Code that breaks

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

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