Skip to content

Commit bcd7d13

Browse files
committed
Bump version to 31.0.0
1 parent 6a30e75 commit bcd7d13

File tree

5 files changed

+33
-8
lines changed

5 files changed

+33
-8
lines changed

CHANGELOG.md

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

3+
## 31.0.0 - 2025-11-18
4+
This release changes the pinned API version to `2025-11-17.clover`.
5+
6+
* [#2113](https://github.com/stripe/stripe-java/pull/2113) Update generated code
7+
* ⚠️ Remove support for `gt`, `gte`, `lt`, and `lte` on `v2.core.EventListParams` in favor of `created`.
8+
* [#2110](https://github.com/stripe/stripe-java/pull/2110) Update v2 array parameter serialization to use indexed format
9+
- `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.
10+
- The `arraysAsRepeated` parameter was removed from the internal-use-only method `FormEncoder#createQueryString`
11+
* [#2108](https://github.com/stripe/stripe-java/pull/2108) Update generated code
12+
* Add support for new resources `tax.Association` and `terminal.OnboardingLink`
13+
* Add support for `find` method on resource `tax.Association`
14+
* Add support for `create` method on resource `terminal.OnboardingLink`
15+
* Add support for `paymentMethodConfiguration` on `billingportal.Configuration.features.payment_method_update`
16+
* Add support for `transactionId` on `Charge.payment_method_details.ideal`, `PaymentAttemptRecord.payment_method_details.ideal`, and `PaymentRecord.payment_method_details.ideal`
17+
* 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`
18+
* Add support for `created` on `CustomerBalanceTransactionListParams` and `InvoicePaymentListParams`
19+
* Add support for `accountNumbers` on `financialconnections.Account`
20+
* Add support for `fraudRisk` on `issuing.AuthorizationCreateParams.risk_assessment`
21+
* Add support for `latestFraudWarning` on `issuing.Card`
22+
* Add support for `hooks` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
23+
* Add support for `mbWay` and `twint` on `Refund.destination_details`
24+
* 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`
25+
* Add support for `changes` on `v2.core.Event`
26+
* Add support for snapshot events `financial_connections.account.account_numbers_updated` and `financial_connections.account.upcoming_account_number_expiry` with resource `financialconnections.Account`
27+
328
## 30.2.0 - 2025-11-05
429
* [#2102](https://github.com/stripe/stripe-java/pull/2102) Update generated code
530
* 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`

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stripe Java client library
22

3-
[![Maven Central](https://img.shields.io/badge/maven--central-v30.2.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
3+
[![Maven Central](https://img.shields.io/badge/maven--central-v31.0.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
44
[![JavaDoc](http://img.shields.io/badge/javadoc-reference-blue.svg)](https://stripe.dev/stripe-java)
55
[![Build Status](https://github.com/stripe/stripe-java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-java/actions?query=branch%3Amaster)
66

@@ -23,7 +23,7 @@ We support LTS versions of the JDK. Currently, that's Java versions:
2323
Add this dependency to your project's build file:
2424

2525
```groovy
26-
implementation "com.stripe:stripe-java:30.2.0"
26+
implementation "com.stripe:stripe-java:31.0.0"
2727
```
2828

2929
### Maven users
@@ -34,7 +34,7 @@ Add this dependency to your project's POM:
3434
<dependency>
3535
<groupId>com.stripe</groupId>
3636
<artifactId>stripe-java</artifactId>
37-
<version>30.2.0</version>
37+
<version>31.0.0</version>
3838
</dependency>
3939
```
4040

@@ -43,8 +43,8 @@ Add this dependency to your project's POM:
4343
If you are not using Gradle or Maven, you will need to manually install the following JARs:
4444

4545
1. The Stripe JAR:
46-
- Download the latest release version from [Maven Central](https://repo1.maven.org/maven2/com/stripe/stripe-java/30.2.0/stripe-java-30.2.0.jar)
47-
- Current release version: 30.2.0
46+
- Download the latest release version from [Maven Central](https://repo1.maven.org/maven2/com/stripe/stripe-java/31.0.0/stripe-java-31.0.0.jar)
47+
- Current release version: 31.0.0
4848

4949
2. Google Gson:
5050
- The Stripe JAR builds and tests with Gson version 2.10.1

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
30.2.0
1+
31.0.0

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.stripe
2-
VERSION_NAME=30.2.0
2+
VERSION_NAME=31.0.0
33

44
POM_URL=https://github.com/stripe/stripe-java
55
POM_SCM_URL=[email protected]:stripe/stripe-java.git

src/main/java/com/stripe/Stripe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class Stripe {
1414
public static final String LIVE_API_BASE = "https://api.stripe.com";
1515
public static final String UPLOAD_API_BASE = "https://files.stripe.com";
1616
public static final String METER_EVENTS_API_BASE = "https://meter-events.stripe.com";
17-
public static final String VERSION = "30.2.0";
17+
public static final String VERSION = "31.0.0";
1818

1919
public static volatile String apiKey;
2020
public static volatile String clientId;

0 commit comments

Comments
 (0)