Driftwatch

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

Breakingdirection flip: their tools call this safe

type can now return "interest only"

What changed

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

Affects type on StudentRepaymentPlan reachable from 2 operations.

New value: interest only.

can now return "interest only"

Who is affected

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

Before and after

WhereBeforeAfter
StudentRepaymentPlan.type"extended graduated", "extended standard", "graduated", "income-based repayment", "income-contingent repayment", "income-sensitive repayment", "interest-only", "other", "pay as you earn", "revised pay as you earn", "saving on a valuable education", "standard", null"extended graduated", "extended standard", "graduated", "income-based repayment", "income-contingent repayment", "income-sensitive repayment", "interest only", "other", "pay as you earn", "revised pay as you earn", "saving on a valuable education", "standard", null

Code that breaks

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

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