From cc7f36ca4b39d7ead5f3060b983d5185fafc4c04 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Thu, 7 Sep 2023 13:01:52 -0700 Subject: [PATCH] Bump version to 23.5.0-beta.1 --- CHANGELOG.md | 28 ++++++++++++++++++---------- README.md | 8 ++++---- VERSION | 2 +- gradle.properties | 2 +- src/main/java/com/stripe/Stripe.java | 2 +- 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9048863166b..d991546c79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 23.5.0-beta.1 - 2023-09-07 +* [#1648](https://github.com/stripe/stripe-java/pull/1648) Update generated code for beta + Release specs are identical. +* [#1644](https://github.com/stripe/stripe-java/pull/1644) Update generated code for beta + * Remove support for `submit_card` test helper method on resource `Issuing.Card` + * Add support for `card_design` on `issuing.CardUpdateParams` + * Add support for new value `platform_default` on enum `issuing.CardDesignListParams.preference` + ## 23.4.0-beta.1 - 2023-08-31 * [#1639](https://github.com/stripe/stripe-java/pull/1639) Update generated code for beta * Rename `Quote.list_preview_invoices` to `QuotePreviewInvoice.list` and `Quote.list_preview_subscription_schedules` to `QuotePreviewSchedule.list` @@ -8,11 +16,11 @@ ## 23.0.0-beta.1 - 2023-08-24 * [#1630](https://github.com/stripe/stripe-java/pull/1630) Update generated code for beta - * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule` - * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule` - * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` - * Remove support for `hk` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` - * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` + * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule` + * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule` + * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` + * Remove support for `hk` on `Tax.Registration.country_options` and `tax.RegistrationCreateParams.country_options` + * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` * [#1633](https://github.com/stripe/stripe-java/pull/1633) Merge master ## 23.4.0 - 2023-09-07 @@ -33,11 +41,11 @@ ## 23.2.0 - 2023-08-24 * [#1635](https://github.com/stripe/stripe-java/pull/1635) Update generated code - * Add support for `retention` on `BillingPortal.Session.flow.subscription_cancel` and `billingportal.SessionCreateParams.flow_data.subscription_cancel` - * Add support for `prefetch` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `FinancialConnections.Session`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections`, and `financialconnections.SessionCreateParams` - * Add support for `payment_method_details` on `Dispute` - * Change type of `PaymentIntentCreateParams.mandate_data` and `SetupIntentCreateParams.mandate_data` from `secret_key_param` to `emptyStringable(secret_key_param)` - * Change type of `PaymentIntentConfirmParams.mandate_data` and `SetupIntentConfirmParams.mandate_data` from `secret_key_param | client_key_param` to `emptyStringable(secret_key_param | client_key_param)` + * Add support for `retention` on `BillingPortal.Session.flow.subscription_cancel` and `billingportal.SessionCreateParams.flow_data.subscription_cancel` + * Add support for `prefetch` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `FinancialConnections.Session`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections`, and `financialconnections.SessionCreateParams` + * Add support for `payment_method_details` on `Dispute` + * Change type of `PaymentIntentCreateParams.mandate_data` and `SetupIntentCreateParams.mandate_data` from `secret_key_param` to `emptyStringable(secret_key_param)` + * Change type of `PaymentIntentConfirmParams.mandate_data` and `SetupIntentConfirmParams.mandate_data` from `secret_key_param | client_key_param` to `emptyStringable(secret_key_param | client_key_param)` * Add support for `balance_transaction` on `CustomerCashBalanceTransaction.adjusted_for_overdraft` ## 23.1.1 - 2023-08-21 diff --git a/README.md b/README.md index 1aed8343888..20dd2720466 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Stripe Java client library -[![Maven Central](https://img.shields.io/badge/maven--central-v23.4.0-beta.1-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) +[![Maven Central](https://img.shields.io/badge/maven--central-v23.5.0-beta.1-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) [![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-java/badge.svg?branch=master)](https://coveralls.io/github/stripe/stripe-java?branch=master) @@ -18,7 +18,7 @@ The official [Stripe][stripe] Java client library. Add this dependency to your project's build file: ```groovy -implementation "com.stripe:stripe-java:23.4.0-beta.1" +implementation "com.stripe:stripe-java:23.5.0-beta.1" ``` ### Maven users @@ -29,7 +29,7 @@ Add this dependency to your project's POM: com.stripe stripe-java - 23.4.0-beta.1 + 23.5.0-beta.1 ``` @@ -37,7 +37,7 @@ Add this dependency to your project's POM: You'll need to manually install the following JARs: -- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/23.4.0-beta.1/stripe-java-23.4.0-beta.1.jar) +- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/23.5.0-beta.1/stripe-java-23.5.0-beta.1.jar) - [Google Gson][gson] from . ### [ProGuard][proguard] diff --git a/VERSION b/VERSION index 20bd6d5e483..81902720b98 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -23.4.0-beta.1 +23.5.0-beta.1 diff --git a/gradle.properties b/gradle.properties index 22d77f10cf9..7db8df2e8f5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.stripe -VERSION_NAME=23.4.0-beta.1 +VERSION_NAME=23.5.0-beta.1 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 5cd597d31f8..07aeff23ce6 100644 --- a/src/main/java/com/stripe/Stripe.java +++ b/src/main/java/com/stripe/Stripe.java @@ -18,7 +18,7 @@ public abstract class Stripe { public static final String CONNECT_API_BASE = "https://connect.stripe.com"; 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 VERSION = "23.4.0-beta.1"; + public static final String VERSION = "23.5.0-beta.1"; public static volatile String apiKey; public static volatile String clientId;