Driftwatch

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

Breakingdirection flip: their tools call this safe

AssetEmployerSponsoredIndicator can now return "No", "Yes"

What changed

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

Affects AssetEmployerSponsoredIndicator on AssetDetail reachable from 2 operations.

New values: No, Yes.

can now return "No", "Yes"

Who is affected

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

Before and after

WhereBeforeAfter
AssetDetail.AssetEmployerSponsoredIndicatorfalse, true"No", "Yes"
AssetDetail.AssetRetirementIndicatorfalse, true"No", "Yes"
AssetHolding.AssetHoldingRestrictedIndicatorfalse, true"No", "Yes"

Code that breaks

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

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