Skip to content

Commit 8898957

Browse files
committed
Bump version to 31.4.0-alpha.1
1 parent c1b8b24 commit 8898957

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

CHANGELOG.md

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

3+
## 31.4.0-alpha.1 - 2026-01-28
4+
This release changes the pinned API version to `2026-01-28.preview`.
5+
6+
* [#2148](https://github.com/stripe/stripe-java/pull/2148) Update generated code for private-preview
7+
* Add support for new resources `FrMealVouchersOnboarding`, `reserve.Hold`, `reserve.Plan`, and `reserve.Release`
8+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `FrMealVouchersOnboarding`
9+
* Add support for `list` and `retrieve` methods on resources `reserve.Hold` and `reserve.Release`
10+
* Add support for `retrieve` method on resource `reserve.Plan`
11+
* Add support for `pause` method on resource `Subscription`
12+
* Add support for `servicePeriodDetails` on `Discount`
13+
* Add support for `agenticCommerceSettings` on `AccountSession.components`
14+
* Add support for new value `service_period` on enums `CouponCreateParams.duration`, `checkout.SessionCreateParams.discounts[].coupon_data.duration`, and `checkout.SessionUpdateParams.discounts[].coupon_data.duration`
15+
* Add support for `servicePeriod` on `CouponCreateParams` and `Coupon`
16+
* Change type of `InvoiceItem.pricing.price_details.price` and `InvoiceLineItem.pricing.price_details.price` from `string` to `expandable($Price)`
17+
* Add support for `settings` on `InvoiceCreatePreviewParams.discounts[]`, `InvoiceCreatePreviewParams.schedule_details.amendments[].discount_actions[].add`, `InvoiceCreatePreviewParams.schedule_details.amendments[].discount_actions[].set`, `InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add.discounts[]`, `InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set.discounts[]`, `InvoiceCreatePreviewParams.schedule_details.phases[].discounts[]`, `InvoiceCreatePreviewParams.schedule_details.phases[].items[].discounts[]`, `InvoiceCreatePreviewParams.subscription_details.items[].discounts[]`, `QuoteCreateParams.lines[].actions[].add_discount`, `QuoteCreateParams.lines[].actions[].add_item.discounts[]`, `QuoteCreateParams.lines[].actions[].set_discounts[]`, `QuoteCreateParams.lines[].actions[].set_items[].discounts[]`, `QuoteUpdateParams.lines[].actions[].add_discount`, `QuoteUpdateParams.lines[].actions[].add_item.discounts[]`, `QuoteUpdateParams.lines[].actions[].set_discounts[]`, `QuoteUpdateParams.lines[].actions[].set_items[].discounts[]`, `SubscriptionCreateParams.discounts[]`, `SubscriptionCreateParams.items[].discounts[]`, `SubscriptionItemCreateParams.discounts[]`, `SubscriptionItemUpdateParams.discounts[]`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].add`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].set`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[]`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[]`, `SubscriptionScheduleCreateParams.phases[].discounts[]`, `SubscriptionScheduleCreateParams.phases[].items[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].items[].discounts[]`, `SubscriptionUpdateParams.discounts[]`, and `SubscriptionUpdateParams.items[].discounts[]`
18+
* Add support for `subtotal` on `InvoiceLineItem`
19+
* Add support for `billingCadence` on `SubscriptionListParams`
20+
321
## 31.3.0-alpha.1 - 2026-01-21
422
* [#2146](https://github.com/stripe/stripe-java/pull/2146) Update generated code for private-preview
523
* Remove support for `pause` method on resource `Subscription`

README.md

Lines changed: 3 additions & 3 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-alpha.1-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
3+
[![Maven Central](https://img.shields.io/badge/maven--central-v31.4.0-alpha.1-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-alpha.1"
26+
implementation "com.stripe:stripe-java:31.4.0-alpha.1"
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-alpha.1</version>
37+
<version>31.4.0-alpha.1</version>
3838
</dependency>
3939
```
4040

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
31.3.0-alpha.1
1+
31.4.0-alpha.1

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-alpha.1
2+
VERSION_NAME=31.4.0-alpha.1
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
@@ -15,7 +15,7 @@ public abstract class Stripe {
1515
public static final String LIVE_API_BASE = "https://api.stripe.com";
1616
public static final String UPLOAD_API_BASE = "https://files.stripe.com";
1717
public static final String METER_EVENTS_API_BASE = "https://meter-events.stripe.com";
18-
public static final String VERSION = "31.3.0-alpha.1";
18+
public static final String VERSION = "31.4.0-alpha.1";
1919

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

0 commit comments

Comments
 (0)