Driftwatch

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

Breakingdirection flip: their tools call this safe

value can now return "prediction market"

What changed

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

Affects this value on InvestmentAccountSubtype reachable from 2 operations.

New value: prediction market.

can now return "prediction market"

Who is affected

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

Before and after

WhereBeforeAfter
InvestmentAccountSubtype"401a", "401k", "403B", "457b", "529", "all", "brokerage", "cash isa", "crypto exchange", "education savings account", "fhsa", "fixed annuity", "gic", "health reimbursement arrangement", "hsa", "ira", "isa", "keogh", "lif", "life insurance", "line of credit", "lira", "lrif", "lrsp", "mutual fund", "non-custodial wallet", "non-taxable brokerage account", "other annuity", "other insurance", "other", "pension", "prif", "profit sharing plan", "qshr", "rdsp", "resp", "retirement", "rlif", "roth 401k", "roth 403B", "roth 457b", "roth pension", "roth profit sharing plan", "roth thrift savings plan", "roth", "rrif", "rrsp", "sarsep", "sep ira", "simple ira", "sipp", "stock plan", "tfsa", "thrift savings plan", "trust", "ugma", "utma", "variable annuity""401a", "401k", "403B", "457b", "529", "all", "brokerage", "cash isa", "crypto exchange", "education savings account", "fhsa", "fixed annuity", "gic", "health reimbursement arrangement", "hsa", "ira", "isa", "keogh", "lif", "life insurance", "line of credit", "lira", "lrif", "lrsp", "mutual fund", "non-custodial wallet", "non-taxable brokerage account", "other annuity", "other insurance", "other", "pension", "prediction market", "prif", "profit sharing plan", "qshr", "rdsp", "resp", "retirement", "rlif", "roth 401k", "roth 403B", "roth 457b", "roth pension", "roth profit sharing plan", "roth thrift savings plan", "roth", "rrif", "rrsp", "sarsep", "sep ira", "simple ira", "sipp", "stock plan", "tfsa", "thrift savings plan", "trust", "ugma", "utma", "variable annuity"

Code that breaks

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

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