v0.4.0
0.4.0 (2026-11-29)
⚠ BREAKING CHANGES
- polar:
RevenueProviderhas a new required methodchangeSubscriptionQuantity, andRevenueCapabilitieshas a new required keysubscriptionQuantity. A custom provider does not compile until it adds both. On Polar a checkout itemquantityis now always sent, alsoquantity: 1. Pass it only for a product with a unit price, because Polar refuses it for any other product and the call fails withvalidation. On Polar a checkout whose items have different quantities now throwsunsupported. On Polarsubscriptions.changePlannow throwsunsupportedfor everyquantity, alsoquantity: 1. Change the quantity withsubscriptions.changeQuantity. A Polar price with a unit price now reportsPrice.model: 'tiered'instead of'custom'.
Features
- polar: support quantities on subscriptions (5b0e91a)