diff --git a/API_VERSION b/API_VERSION index 496024ef527..e91c9d844e2 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -a4f6cd305e695abb9ca7cdf25b8828504e2854d7 \ No newline at end of file +91ef4c6abe8dcdab3a855d81aa624693a6a4da9f \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 847696c9c35..ba97425194e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## 31.0.0 - 2025-11-18 +This release changes the pinned API version to `2025-11-17.clover`. + +* [#2113](https://github.com/stripe/stripe-java/pull/2113) Update generated code + * ⚠️ Remove support for `gt`, `gte`, `lt`, and `lte` on `v2.core.EventListParams` in favor of `created`. +* [#2110](https://github.com/stripe/stripe-java/pull/2110) Update v2 array parameter serialization to use indexed format + - `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. + - The `arraysAsRepeated` parameter was removed from the internal-use-only method `FormEncoder#createQueryString` +* [#2108](https://github.com/stripe/stripe-java/pull/2108) Update generated code + * Add support for new resources `tax.Association` and `terminal.OnboardingLink` + * Add support for `find` method on resource `tax.Association` + * Add support for `create` method on resource `terminal.OnboardingLink` + * Add support for `paymentMethodConfiguration` on `billingportal.Configuration.features.payment_method_update` + * Add support for `transactionId` on `Charge.payment_method_details.ideal`, `PaymentAttemptRecord.payment_method_details.ideal`, and `PaymentRecord.payment_method_details.ideal` + * Add support for new value `finom` on enums `ConfirmationTokenCreateParams.payment_method_data.ideal.bank`, `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank` + * Add support for `created` on `CustomerBalanceTransactionListParams` and `InvoicePaymentListParams` + * Add support for `accountNumbers` on `financialconnections.Account` + * Add support for `fraudRisk` on `issuing.AuthorizationCreateParams.risk_assessment` + * Add support for `latestFraudWarning` on `issuing.Card` + * Add support for `hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent` + * Add support for `mbWay` and `twint` on `Refund.destination_details` + * Add support for new values `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` on enums `WebhookEndpointCreateParams.enabledEvents` and `WebhookEndpointUpdateParams.enabledEvents` + * Add support for `changes` on `v2.core.Event` + * Add support for snapshot events `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` with resource `financialconnections.Account` + ## 30.2.0 - 2025-11-05 * [#2102](https://github.com/stripe/stripe-java/pull/2102) Update generated code * Add support for `captureMethod` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present`