What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects version on three_d_secure_details reachable from 100 operations.
New values: 2.3.0, 2.3.1.
can now return "2.3.0", "2.3.1"
Who is affected
Code that reads Stripe's three_d_secure_details objects, used by 159 Stripe operations.
Before and after
| Where | Before | After |
|---|---|---|
| three_d_secure_details.version | "1.0.2", "2.1.0", "2.2.0" | "1.0.2", "2.1.0", "2.2.0", "2.3.0", "2.3.1" |
| three_d_secure_details_charge.version | "1.0.2", "2.1.0", "2.2.0" | "1.0.2", "2.1.0", "2.2.0", "2.3.0", "2.3.1" |
Code that breaks
switch (response.version) {
// existing branches …
// no branch for "2.3.0"
// no branch for "2.3.1"
default:
throw new Error("unexpected version");
}Based on Stripe’s published API specification. How severity is decided.