Skip to content

Commit 369d7a1

Browse files
committed
Bump version to 31.4.0
1 parent da30539 commit 369d7a1

5 files changed

Lines changed: 32 additions & 8 deletions

File tree

CHANGELOG.md

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

3+
## 31.4.0 - 2026-02-25
4+
This release changes the pinned API version to `2026-02-25.clover`.
5+
6+
* [#2158](https://github.com/stripe/stripe-java/pull/2158) Update generated code
7+
* Add support for new resources `reserve.Hold`, `reserve.Plan`, and `reserve.Release`
8+
* Add support for `location` and `reader` on `Charge.payment_method_details.card_present`, `Charge.payment_method_details.interac_present`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present`, `PaymentAttemptRecord.payment_method_details.card_present`, `PaymentAttemptRecord.payment_method_details.interac_present`, `PaymentMethod.card.generated_from.payment_method_details.card_present`, `PaymentRecord.payment_method_details.card_present`, and `PaymentRecord.payment_method_details.interac_present`
9+
* Add support for new value `lk_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type`
10+
* Add support for new values `terminal_wifi_certificate` and `terminal_wifi_private_key` on enum `FileListParams.purpose`
11+
* Add support for new values `terminal_wifi_certificate` and `terminal_wifi_private_key` on enum `FileCreateParams.purpose`
12+
* Add support for new value `pay_by_bank` on enums `InvoiceCreateParams.payment_settings.paymentMethodTypes`, `InvoiceUpdateParams.payment_settings.paymentMethodTypes`, `SubscriptionCreateParams.payment_settings.paymentMethodTypes`, and `SubscriptionUpdateParams.payment_settings.paymentMethodTypes`
13+
* Add support for `displayName` and `serviceUserNumber` on `Mandate.payment_method_details.bacs_debit`
14+
* Add support for `transactionPurpose` on `PaymentIntent.payment_method_options.us_bank_account`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account`, `PaymentIntentCreateParams.payment_method_options.us_bank_account`, and `PaymentIntentUpdateParams.payment_method_options.us_bank_account`
15+
* Add support for `optionalItems` on `PaymentLinkUpdateParams`
16+
* Remove support for unused `cardIssuerDecline` on `radar.PaymentEvaluation.insights`
17+
* Add support for `paymentBehavior` on `SubscriptionItemDeleteParams`
18+
* Add support for `lk` on `tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options`
19+
* Add support for `cellular` and `stripeS710` on `terminal.ConfigurationCreateParams`, `terminal.ConfigurationUpdateParams`, and `terminal.Configuration`
20+
* Add support for new values `simulated_stripe_s710` and `stripe_s710` on enum `terminal.ReaderListParams.deviceType`
21+
* Add support for new values `reserve.hold.created`, `reserve.hold.updated`, `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, `reserve.plan.updated`, and `reserve.release.created` on enums `WebhookEndpointCreateParams.enabledEvents` and `WebhookEndpointUpdateParams.enabledEvents`
22+
* Add support for new value `2026-02-25.clover` on enum `WebhookEndpointCreateParams.apiVersion`
23+
* Add support for snapshot events `reserve.hold.created` and `reserve.hold.updated` with resource `reserve.Hold`
24+
* Add support for snapshot events `reserve.plan.created`, `reserve.plan.disabled`, `reserve.plan.expired`, and `reserve.plan.updated` with resource `reserve.Plan`
25+
* Add support for snapshot event `reserve.release.created` with resource `reserve.Release`
26+
327
## 31.3.0 - 2026-01-28
428
This release changes the pinned API version to `2026-01-28.clover`.
529

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-v31.3.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
3+
[![Maven Central](https://img.shields.io/badge/maven--central-v31.4.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:31.3.0"
26+
implementation "com.stripe:stripe-java:31.4.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>31.3.0</version>
37+
<version>31.4.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/31.3.0/stripe-java-31.3.0.jar)
47-
- Current release version: 31.3.0
46+
- Download the latest release version from [Maven Central](https://repo1.maven.org/maven2/com/stripe/stripe-java/31.4.0/stripe-java-31.4.0.jar)
47+
- Current release version: 31.4.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-
31.3.0
1+
31.4.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=31.3.0
2+
VERSION_NAME=31.4.0
33

44
POM_URL=https://github.com/stripe/stripe-java
55
POM_SCM_URL=git@github.com: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 = "31.3.0";
17+
public static final String VERSION = "31.4.0";
1818

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

0 commit comments

Comments
 (0)