|
1 | 1 | # 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 | + |
2 | 30 | ## 19.3.1 - 2025-11-12 |
3 | 31 | * [#2500](https://github.com/stripe/stripe-node/pull/2500) Use `TextEncoder` instead of `Buffer` to ensure support in other JS environments |
4 | 32 | * 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`. |
62 | 90 |
|
63 | 91 | ## 19.1.0 - 2025-10-03 |
64 | 92 | * [#2453](https://github.com/stripe/stripe-node/pull/2453) add missing fetchEvent type for UnknownEventNotification |
65 | | - |
| 93 | + |
66 | 94 | - Add missing `fetchEvent()` declaration to the `Stripe.Events.UnknownEventNotification` interface |
67 | 95 | - 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. |
68 | 96 | * [#2447](https://github.com/stripe/stripe-node/pull/2447) Update param in deprecation docs link |
|
0 commit comments