Skip to content

Commit 7bab5dc

Browse files
committed
Bump version to 21.1.0-beta.1
1 parent adedfd5 commit 7bab5dc

File tree

4 files changed

+56
-3
lines changed

4 files changed

+56
-3
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# Changelog
22

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+
356
## 20.5.0-beta.1 - 2026-02-25
457
This release changes the pinned API version to `2026-02-25.preview`.
558

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.5.0-beta.1
1+
21.1.0-beta.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stripe",
3-
"version": "20.5.0-beta.1",
3+
"version": "21.1.0-beta.1",
44
"description": "Stripe API wrapper",
55
"keywords": [
66
"stripe",

src/stripe.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function createStripe(
6262
platformFunctions: PlatformFunctions,
6363
requestSender: RequestSenderFactory = defaultRequestSenderFactory
6464
): typeof Stripe {
65-
Stripe.PACKAGE_VERSION = '20.5.0-beta.1';
65+
Stripe.PACKAGE_VERSION = '21.1.0-beta.1';
6666
Stripe.API_VERSION = ApiVersion;
6767
const aiAgent =
6868
typeof process !== 'undefined' && process.env

0 commit comments

Comments
 (0)