Skip to content

Commit d70b2f7

Browse files
committed
Bump version to 20.0.0
1 parent 53129c0 commit d70b2f7

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
# Changelog
2+
## 20.0.0 - 2025-11-18
3+
This release changes the pinned API version to `2025-11-17.clover`.
4+
5+
* [#2502](https://github.com/stripe/stripe-node/pull/2502) Update generated code
6+
* ⚠️ Remove support for `gt`, `gte`, `lt`, and `lte` on `V2.Core.EventListParams` in favor of `created`.
7+
* [#2497](https://github.com/stripe/stripe-node/pull/2497) Update v2 array parameter serialization to use indexed format
8+
- `Retrieve` and `List` calls for `/v2` endpoints now use indexed format (e.g., `?include[0]=foo&include[1]=bar`) instead of repeated parameter format (e.g., `?include=foo&include=bar`) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
9+
* [#2495](https://github.com/stripe/stripe-node/pull/2495) Update generated code
10+
* Add support for new resources `Tax.Association` and `Terminal.OnboardingLink`
11+
* Add support for `find` method on resource `Tax.Association`
12+
* Add support for `create` method on resource `Terminal.OnboardingLink`
13+
* Add support for `payment_method_configuration` on `BillingPortal.Configuration.features.payment_method_update`
14+
* Add support for `transaction_id` on `Charge.payment_method_details.ideal`, `PaymentAttemptRecord.payment_method_details.ideal`, and `PaymentRecord.payment_method_details.ideal`
15+
* Add support for new value `finom` on enums `Charge.payment_method_details.ideal.bank`, `ConfirmationToken.payment_method_preview.ideal.bank`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank`, `PaymentAttemptRecord.payment_method_details.ideal.bank`, `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethod.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `PaymentRecord.payment_method_details.ideal.bank`, `SetupAttempt.payment_method_details.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank`
16+
* Add support for new value `FNOMNL22` on enums `Charge.payment_method_details.ideal.bic`, `ConfirmationToken.payment_method_preview.ideal.bic`, `PaymentAttemptRecord.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, `PaymentRecord.payment_method_details.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
17+
* Add support for new value `tokenized_account_number_deactivated` on enums `ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason` and `PaymentMethod.us_bank_account.status_details.blocked.reason`
18+
* Add support for `created` on `CustomerListCustomerBalanceTransactionsParams` and `InvoicePaymentListParams`
19+
* Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enum `Event.type`
20+
* Add support for `account_numbers` on `FinancialConnections.Account`
21+
* Change type of `FinancialConnections.Session.client_secret` from `string` to `string | null`
22+
* Add support for `fraud_risk` on `Issuing.AuthorizationCreateParams.testHelpers.risk_assessment`
23+
* Add support for `latest_fraud_warning` on `Issuing.Card`
24+
* Add support for `hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
25+
* Add support for `mb_way` and `twint` on `Refund.destination_details`
26+
* Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointUpdateParams.enabled_events`
27+
* Add support for `changes` on `V2.Core.Event`
28+
* Add support for snapshot events `FinancialConnectionsAccountAccountNumbersUpdatedEvent` and `FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent` with resource `FinancialConnections.Account`
29+
230
## 19.3.1 - 2025-11-12
331
* [#2500](https://github.com/stripe/stripe-node/pull/2500) Use `TextEncoder` instead of `Buffer` to ensure support in other JS environments
432
* Fixes issues like [#2499](https://github.com/stripe/stripe-node/issues/2499) and [#2493](https://github.com/stripe/stripe-node/issues/2493) where use of `Buffer.byteLength` was causing errors in some runtime environments.
@@ -62,7 +90,7 @@ This release changes the pinned API version to `2025-10-29.clover`.
6290

6391
## 19.1.0 - 2025-10-03
6492
* [#2453](https://github.com/stripe/stripe-node/pull/2453) add missing fetchEvent type for UnknownEventNotification
65-
93+
6694
- Add missing `fetchEvent()` declaration to the `Stripe.Events.UnknownEventNotification` interface
6795
- Tweak `Stripe.Events.fetchRelatedObject` so that it's always defined and returns `null` if there's no `related_object`. This fixes the situation where the `UnknownEventNotification` says that `fetchRelatedObject()` is defined, but calling it throws an error.
6896
* [#2447](https://github.com/stripe/stripe-node/pull/2447) Update param in deprecation docs link

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.3.1
1+
20.0.0

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": "19.3.1",
3+
"version": "20.0.0",
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
@@ -60,7 +60,7 @@ export function createStripe(
6060
platformFunctions: PlatformFunctions,
6161
requestSender: RequestSenderFactory = defaultRequestSenderFactory
6262
): typeof Stripe {
63-
Stripe.PACKAGE_VERSION = '19.3.1';
63+
Stripe.PACKAGE_VERSION = '20.0.0';
6464
Stripe.API_VERSION = ApiVersion;
6565
Stripe.USER_AGENT = {
6666
bindings_version: Stripe.PACKAGE_VERSION,

0 commit comments

Comments
 (0)