Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

sourcing can now return "performance"

What changed

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

Affects sourcing on tax_product_resource_line_item_tax_breakdown reachable from 3 operations.

New value: performance.

can now return "performance"

Who is affected

Code that reads Stripe's tax_product_resource_line_item_tax_breakdown objects, used by 3 Stripe operations.

Before and after

WhereBeforeAfter
tax_product_resource_line_item_tax_breakdown.sourcing"destination", "origin""destination", "origin", "performance"

Code that breaks

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

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