|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 21.1.0-beta.1 - 2026-03-25 |
| 4 | + |
| 5 | +This release changes the pinned API version to `2026-03-25.preview`. It is built on top of SDK version 21.0.0 which contains breaking changes. Please review the [changelog for 21.0.0](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#2100---2026-03-25) if upgrading from older SDK versions. |
| 6 | + |
| 7 | +* [#2621](https://github.com/stripe/stripe-node/pull/2621) Update generated code for beta |
| 8 | +* [#2622](https://github.com/stripe/stripe-node/pull/2622) Merge to beta |
| 9 | +* [#2587](https://github.com/stripe/stripe-node/pull/2587) Update generated code for beta |
| 10 | + * Add support for new resources `ProductCatalog.TrialOffer`, `Tax.Location`, and `V2.Core.BatchJob` |
| 11 | + * Add support for `create` method on resource `ProductCatalog.TrialOffer` |
| 12 | + * Add support for `create`, `list`, and `retrieve` methods on resource `Tax.Location` |
| 13 | + * Add support for `cancel`, `create`, and `retrieve` methods on resource `V2.Core.BatchJob` |
| 14 | + * Add support for `performance_location` on `Tax.CalculationCreateParams.line_items[]` and `Tax.CalculationLineItem` |
| 15 | + * ⚠️ Add support for new value `performance` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].sourcing`, `Tax.CalculationLineItem.tax_breakdown[].sourcing`, and `Tax.Transaction.shipping_cost.tax_breakdown[].sourcing` |
| 16 | + * ⚠️ Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, and `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type` |
| 17 | + * Add support for `trial_offer` on `InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add`, `InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set`, `InvoiceCreatePreviewParams.schedule_details.phases[].items[]`, `QuoteCreateParams.lines[].actions[].add_item`, `QuoteCreateParams.lines[].actions[].set_items[]`, `QuoteLine.actions[].add_item`, `QuoteLine.actions[].set_items[]`, `QuotePreviewSubscriptionSchedule.phases[].items[]`, `QuoteUpdateParams.lines[].actions[].add_item`, `QuoteUpdateParams.lines[].actions[].set_items[]`, `SubscriptionSchedule.phases[].items[]`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].add`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].set`, `SubscriptionScheduleCreateParams.phases[].items[]`, and `SubscriptionScheduleUpdateParams.phases[].items[]` |
| 18 | + * Add support for `risk_reserved` on `Balance` |
| 19 | + * ⚠️ Remove support for `source_type` on `Charge.payment_method_details.stripe_balance`, `ConfirmationToken.payment_method_preview.stripe_balance`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data.stripe_balance`, `PaymentAttemptRecord.payment_method_details.stripe_balance`, `PaymentIntentConfirmParams.payment_method_data.stripe_balance`, `PaymentIntentCreateParams.payment_method_data.stripe_balance`, `PaymentIntentUpdateParams.payment_method_data.stripe_balance`, `PaymentMethod.stripe_balance`, `PaymentMethodCreateParams.stripe_balance`, `PaymentRecord.payment_method_details.stripe_balance`, `SetupIntentConfirmParams.payment_method_data.stripe_balance`, `SetupIntentCreateParams.payment_method_data.stripe_balance`, and `SetupIntentUpdateParams.payment_method_data.stripe_balance` |
| 20 | + * Add support for `tax_details` on `Checkout.SessionCreateParams.line_items[].price_data.product_data`, `Checkout.SessionUpdateParams.line_items[].price_data.product_data`, `InvoiceAddLinesParams.lines[].price_data.product_data`, `InvoiceLineItemUpdateParams.price_data.product_data`, `InvoiceUpdateLinesParams.lines[].price_data.product_data`, `PaymentLinkCreateParams.line_items[].price_data.product_data`, `PlanCreateParams.product[0]`, `PriceCreateParams.product_data`, `ProductCreateParams`, and `ProductUpdateParams` |
| 21 | + * Add support for `pending_invoice_item_interval` on `Checkout.SessionUpdateParams.subscription_data` |
| 22 | + * Add support for `hosted` and `ui_mode` on `FinancialConnections.SessionCreateParams` and `FinancialConnections.Session` |
| 23 | + * Add support for `url` on `FinancialConnections.Session` |
| 24 | + * Add support for `expires_after_seconds` on `Invoice.payment_settings.payment_method_options.pix`, `InvoiceCreateParams.payment_settings.payment_method_options.pix`, `InvoiceUpdateParams.payment_settings.payment_method_options.pix`, `QuotePreviewInvoice.payment_settings.payment_method_options.pix`, `Subscription.payment_settings.payment_method_options.pix`, `SubscriptionCreateParams.payment_settings.payment_method_options.pix`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.pix` |
| 25 | + * Add support for `current_trial` on `InvoiceCreatePreviewParams.subscription_details.items[]`, `SubscriptionCreateParams.items[]`, `SubscriptionItemCreateParams`, `SubscriptionItemUpdateParams`, `SubscriptionItem`, and `SubscriptionUpdateParams.items[]` |
| 26 | + * Add support for `surcharge` on `PaymentIntent.amount_details`, `PaymentIntentCaptureParams.amount_details`, `PaymentIntentConfirmParams.amount_details`, `PaymentIntentCreateParams.amount_details`, `PaymentIntentIncrementAuthorizationParams.amount_details`, and `PaymentIntentUpdateParams.amount_details` |
| 27 | + * Add support for `amount_details` and `payment_details` on `PaymentIntentDecrementAuthorizationParams` |
| 28 | + * Add support for `mandate_options` on `PaymentIntent.payment_method_options.stripe_balance` |
| 29 | + * Add support for `managed_payments` on `PaymentLinkCreateParams` and `PaymentLink` |
| 30 | + * Add support for `stripe_balance` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options` |
| 31 | + * Add support for `billing_cycle_anchor` on `Subscription.trial_settings.end_behavior`, `SubscriptionCreateParams.trial_settings.end_behavior`, and `SubscriptionUpdateParams.trial_settings.end_behavior` |
| 32 | + * ⚠️ Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type` |
| 33 | + * Add support for `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on `Tax.Registration.country_options.us` |
| 34 | + * Add support for `requirements` on `TaxCode` |
| 35 | + * ⚠️ Change type of `V2.Billing.Cadence.settings_data.collection.payment_method_options.card.mandate_options.amount`, `V2.Billing.CollectionSetting.payment_method_options.card.mandate_options.amount`, `V2.Billing.CollectionSettingCreateParams.payment_method_options.card.mandate_options.amount`, `V2.Billing.CollectionSettingUpdateParams.payment_method_options.card.mandate_options.amount`, and `V2.Billing.CollectionSettingVersion.payment_method_options.card.mandate_options.amount` from `longInteger` to `int64_string` |
| 36 | + * ⚠️ Add support for new values `ar_bank_account`, `co_bank_account`, and `eg_bank_account` on enum `V2.Core.Account.configuration.recipient.default_outbound_destination.type` |
| 37 | + * Add support for `timezone` on `V2.Core.Account.defaults`, `V2.Core.AccountCreateParams.defaults`, and `V2.Core.AccountUpdateParams.defaults` |
| 38 | + * Add support for `azure_event_grid` on `V2.Core.EventDestinationCreateParams` and `V2.Core.EventDestination` |
| 39 | + * ⚠️ Add support for new value `no_azure_partner_topic_exists` on enum `V2.Core.EventDestination.status_details.disabled.reason` |
| 40 | + * ⚠️ Add support for new value `azure_event_grid` on enums `V2.Core.EventDestination.type` and `V2.Core.EventDestinationCreateParams.type` |
| 41 | + * Add support for `supported_currencies` on `V2.Core.Vault.GbBankAccount`, `V2.Core.Vault.UsBankAccount`, and `V2.MoneyManagement.PayoutMethod.card` |
| 42 | + * ⚠️ Change `V2.Core.Vault.GbBankAccount.sort_code` and `V2.Core.Vault.GbBankAccountCreateParams.sort_code` to be optional |
| 43 | + * Add support for `restricted` on `V2.MoneyManagement.PayoutMethod` |
| 44 | + * Add support for `currencies` on `V2.MoneyManagement.PayoutMethodsBankAccountSpec.countries.value.fields[]` |
| 45 | + * Add support for `counterparty` and `description` on `V2.MoneyManagement.Transaction` |
| 46 | + * ⚠️ Add support for `currency` on `V2.Core.Vault.GbBankAccountCreateParams`, `V2.Core.Vault.UsBankAccountCreateParams`, `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.bank_account`, `V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.card`, `V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.bank_account`, and `V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.card` |
| 47 | + * Add support for `iban` on `V2.Core.Vault.GbBankAccountCreateParams` |
| 48 | + * Change `V2.Core.Vault.GbBankAccountCreateParams.account_number` to be optional |
| 49 | + * ⚠️ Add support for new value `currency` on enum `InvalidPaymentMethodError.invalid_param` |
| 50 | + * Add support for event notifications `V2CoreBatchJobBatchFailedEvent`, `V2CoreBatchJobCanceledEvent`, `V2CoreBatchJobCompletedEvent`, `V2CoreBatchJobCreatedEvent`, `V2CoreBatchJobReadyForUploadEvent`, `V2CoreBatchJobTimeoutEvent`, `V2CoreBatchJobUpdatedEvent`, `V2CoreBatchJobUploadTimeoutEvent`, `V2CoreBatchJobValidatingEvent`, and `V2CoreBatchJobValidationFailedEvent` with related object `V2.Core.BatchJob` |
| 51 | + * Add support for error code `service_period_coupon_with_metered_tiered_item_unsupported` on `QuotePreviewInvoice.last_finalization_error` |
| 52 | +* [#2608](https://github.com/stripe/stripe-node/pull/2608) Merge to beta |
| 53 | +* [#2597](https://github.com/stripe/stripe-node/pull/2597) Merge to beta |
| 54 | +* [#2592](https://github.com/stripe/stripe-node/pull/2592) Merge to beta |
| 55 | + |
3 | 56 | ## 20.5.0-beta.1 - 2026-02-25 |
4 | 57 | This release changes the pinned API version to `2026-02-25.preview`. |
5 | 58 |
|
|
0 commit comments