From 13c84a3a8564c93c1c7aebfa26bac4ba97bfbf96 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Wed, 29 Oct 2025 15:40:23 -0700 Subject: [PATCH] Bump version to 30.1.0 --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++ README.md | 10 +++---- VERSION | 2 +- gradle.properties | 2 +- src/main/java/com/stripe/Stripe.java | 2 +- 5 files changed, 50 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c38dfbcb6..c3eabb948d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## 30.1.0 - 2025-10-29 +* [#2093](https://github.com/stripe/stripe-java/pull/2093) Update generated code + * Improve docs for PaymentIntent related endpoints +* [#2086](https://github.com/stripe/stripe-java/pull/2086) Update generated code + * Add support for new resources `PaymentAttemptRecord`, `PaymentIntentAmountDetailsLineItem`, and `PaymentRecord` + * Add support for `list` and `retrieve` methods on resource `PaymentAttemptRecord` + * Add support for `report_payment_attempt_canceled`, `report_payment_attempt_failed`, `report_payment_attempt_guaranteed`, `report_payment_attempt_informational`, `report_payment_attempt`, `report_payment`, `report_refund`, and `retrieve` methods on resource `PaymentRecord` + * Add support for `list` method on resource `PaymentIntentAmountDetailsLineItem` + * Add support for `representativeDeclaration` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company` + * Change `billing.CreditGrantCreateParams.category` to be optional + * Add support for `paymentMethodConfiguration` on `billingportal.ConfigurationCreateParams.features.payment_method_update` and `billingportal.ConfigurationUpdateParams.features.payment_method_update` + * Add support for new value `mb_way` on enum `checkout.SessionCreateParams.excludedPaymentMethodTypes` + * Add support for `twint` on `checkout.Session.payment_method_options` and `checkout.SessionCreateParams.payment_method_options` + * Add support for new value `mb_way` on enum `checkout.SessionCreateParams.paymentMethodTypes` + * Add support for `paymentRecordRefund` and `type` on `CreditNote.refunds[]`, `CreditNoteCreateParams.refunds[]`, `CreditNotePreviewLinesParams.refunds[]`, and `CreditNotePreviewParams.refunds[]` + * Add support for `customerSheet` and `mobilePaymentElement` on `CustomerSession.components` and `CustomerSessionCreateParams.components` + * Add support for new value `custom` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` + * Add support for `provider` on `Customer.tax` + * Add support for new value `platform_terms_of_service` on enum `FileListParams.purpose` + * Add support for new value `platform_terms_of_service` on enum `FileCreateParams.purpose` + * Add support for `paymentRecord` on `InvoiceAttachPaymentParams`, `InvoicePayment.payment`, and `InvoicePaymentListParams.payment` + * Change type of `InvoicePaymentListParams.payment.type` from `literal('payment_intent')` to `enum('payment_intent'|'payment_record')` + * Add support for new value `custom` on enums `InvoiceCreateParams.payment_settings.paymentMethodTypes`, `InvoiceUpdateParams.payment_settings.paymentMethodTypes`, `SubscriptionCreateParams.payment_settings.paymentMethodTypes`, and `SubscriptionUpdateParams.payment_settings.paymentMethodTypes` + * Add support for `amountDetails` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, and `PaymentIntentUpdateParams` + * Add support for `paymentDetails` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent` + * Add support for `discountAmount`, `lineItems`, `shipping`, and `tax` on `PaymentIntent.amount_details` + * Add support for `nameCollection` on `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink` + * Add support for new value `mb_way` on enums `PaymentLinkCreateParams.paymentMethodTypes` and `PaymentLinkUpdateParams.paymentMethodTypes` + * Add support for `crypto` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, and `Refund.destination_details` + * Add support for `mbWay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` + * Add support for `custom` on `PaymentMethodCreateParams` and `PaymentMethod` + * Add support for `excludedPaymentMethodTypes` on `SetupIntentCreateParams`, `SetupIntentUpdateParams`, and `SetupIntent` + * Add support for `tw` on `tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` + * Add support for `gip` on `terminal.Configuration.tipping`, `terminal.ConfigurationCreateParams.tipping`, and `terminal.ConfigurationUpdateParams.tipping` + * Add support for `lastSeenAt` on `terminal.Reader` + * Add support for new values `balance_settings.updated` and `invoice.payment_attempt_required` on enums `WebhookEndpointCreateParams.enabledEvents` and `WebhookEndpointUpdateParams.enabledEvents` + * Add support for new value `2025-10-29.clover` on enum `WebhookEndpointCreateParams.apiVersion` + * Add support for `gt`, `gte`, `lt`, `lte`, and `types` on `v2.core.EventListParams` + * Change `v2.core.EventListParams.objectId` to be optional + * Add support for snapshot event `balance_settings.updated` with resource `BalanceSettings` + * Add support for snapshot event `invoice.payment_attempt_required` with resource `Invoice` + ## 30.0.0 - 2025-09-30 This release changes the pinned API version to `2025-09-30.clover` and contains breaking changes (prefixed with ⚠️ below) diff --git a/README.md b/README.md index 2bfacbfe6e0..1b49ac3c351 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Stripe Java client library -[![Maven Central](https://img.shields.io/badge/maven--central-v30.0.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) +[![Maven Central](https://img.shields.io/badge/maven--central-v30.1.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) [![JavaDoc](http://img.shields.io/badge/javadoc-reference-blue.svg)](https://stripe.dev/stripe-java) [![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) @@ -23,7 +23,7 @@ We support LTS versions of the JDK. Currently, that's Java versions: Add this dependency to your project's build file: ```groovy -implementation "com.stripe:stripe-java:30.0.0" +implementation "com.stripe:stripe-java:30.1.0" ``` ### Maven users @@ -34,7 +34,7 @@ Add this dependency to your project's POM: com.stripe stripe-java - 30.0.0 + 30.1.0 ``` @@ -43,8 +43,8 @@ Add this dependency to your project's POM: If you are not using Gradle or Maven, you will need to manually install the following JARs: 1. The Stripe JAR: - - Download the latest release version from [Maven Central](https://repo1.maven.org/maven2/com/stripe/stripe-java/30.0.0/stripe-java-30.0.0.jar) - - Current release version: 30.0.0 + - Download the latest release version from [Maven Central](https://repo1.maven.org/maven2/com/stripe/stripe-java/30.1.0/stripe-java-30.1.0.jar) + - Current release version: 30.1.0 2. Google Gson: - The Stripe JAR builds and tests with Gson version 2.10.1 diff --git a/VERSION b/VERSION index 8dd5c17a1b5..a75ef34cbaa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -30.0.0 +30.1.0 diff --git a/gradle.properties b/gradle.properties index 92cb1d608e0..fc07f279b47 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.stripe -VERSION_NAME=30.0.0 +VERSION_NAME=30.1.0 POM_URL=https://github.com/stripe/stripe-java POM_SCM_URL=git@github.com:stripe/stripe-java.git diff --git a/src/main/java/com/stripe/Stripe.java b/src/main/java/com/stripe/Stripe.java index f8f2ed23b4b..87fee8e6e2b 100644 --- a/src/main/java/com/stripe/Stripe.java +++ b/src/main/java/com/stripe/Stripe.java @@ -14,7 +14,7 @@ public abstract class Stripe { public static final String LIVE_API_BASE = "https://api.stripe.com"; public static final String UPLOAD_API_BASE = "https://files.stripe.com"; public static final String METER_EVENTS_API_BASE = "https://meter-events.stripe.com"; - public static final String VERSION = "30.0.0"; + public static final String VERSION = "30.1.0"; public static volatile String apiKey; public static volatile String clientId;