Driftwatch

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

Breakingdirection flip: their tools call this safe

value can now return "commercial line of credit", "home equity loan", "installment"

What changed

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

Affects this value on LoanAccountSubtype reachable from 2 operations.

New values: commercial line of credit, home equity loan, installment.

can now return "commercial line of credit", "home equity loan", "installment"

Who is affected

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

Before and after

WhereBeforeAfter
LoanAccountSubtype"all", "auto", "business", "commercial", "construction", "consumer", "home equity", "line of credit", "loan", "mortgage", "other", "overdraft", "student""all", "auto", "business", "commercial line of credit", "commercial", "construction", "consumer", "home equity loan", "home equity", "installment", "line of credit", "loan", "mortgage", "other", "overdraft", "student"

Code that breaks

switch (response) {
  // existing branches …
  // no branch for "commercial line of credit"
  // no branch for "home equity loan"
  // no branch for "installment"
  default:
    throw new Error("unexpected value");
}

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