What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects item_type on radar.value_list reachable from 4 operations.
New value: account.
can now return "account"
Who is affected
Code that reads Stripe's radar.value_list objects, used by 4 Stripe operations.
Before and after
| Where | Before | After |
|---|---|---|
| radar.value_list.item_type | "card_bin", "card_fingerprint", "case_sensitive_string", "country", "crypto_fingerprint", "customer_id", "email", "ip_address", "sepa_debit_fingerprint", "string", "us_bank_account_fingerprint" | "account", "card_bin", "card_fingerprint", "case_sensitive_string", "country", "crypto_fingerprint", "customer_id", "email", "ip_address", "sepa_debit_fingerprint", "string", "us_bank_account_fingerprint" |
Code that breaks
switch (response.item_type) {
// existing branches …
// no branch for "account"
default:
throw new Error("unexpected item_type");
}Based on Stripe’s published API specification. How severity is decided.