Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

build(deps): bump stripe-java from 12.1.0 to 22.2.0 - #874

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/maven/com.stripe-stripe-java-22.2.0
Closed

build(deps): bump stripe-java from 12.1.0 to 22.2.0#874
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/maven/com.stripe-stripe-java-22.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 7, 2022

Copy link
Copy Markdown
Contributor

Bumps stripe-java from 12.1.0 to 22.2.0.

Release notes

Sourced from stripe-java's releases.

v22.2.0

  • #1484 API Updates
    • Add support for flow_data on BillingPortalSessionCreateParams
    • Add support for flow on BillingPortal.Session
  • #1483 API Updates
    • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
    • Add support for invoice on Checkout.Session
    • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]

See the changelog for more details.

v22.1.0

  • #1480 API Updates
    • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
  • #1479 API Updates
    • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

See the changelog for more details.

v22.0.0

  • #1471 Next major release changes

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.

"⚠️" symbol highlights breaking changes.

  • ⚠️ Inline several "shared" classes for consistency (#1455)
  • ⚠️ Removed LineItem.Product property that was released by mistake. (#1456)
  • ⚠️ Removed Charges property on PaymentIntent and replace it with LatestCharge (#1473)
  • ⚠️ Removed deprecated Amount, Currency, Description, Images, Name properties from SessionCreateParams.LineItem (#1473)
  • ⚠️ Remove support for tos_shown_and_accepted on CheckoutSessionCreateParams.payment_method_options.paynow (#1473)
  • ⚠️ Removed deprecated Sku resource (#1459)
  • ⚠️ Removed RequestOptions.getStripeVersionOverride, RequestOptions.setStripeVersionOverride, and RequestOptions.clearStripeVersionOverride (#1464)

Use of setStripeVersionOverride is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions.

If you were using these methods in conjunction with EphemeralKey resource prefer the EphemeralKeyCreateParamsBuilder.setStripeVersion.

EphemeralKeyCreateParams params = EphemeralKeyCreateParams.builder()
  .setStripeVersion("XXXX-YY-ZZ")
  .build();

If you have a use case that requires per-request version overrides, please file an issue on stripe-java repository to ensure we are aware and can add first-class support for it. In the meantime you can use unsafeSetStripeVersionOverride method as a workaround.

RequestOptions.RequestOptionsBuilder builder = RequestOptions.builder();
builder.setApiKey(...)
            .setClientId(...);
</tr></table> 

... (truncated)

Changelog

Sourced from stripe-java's changelog.

22.2.0 - 2022-12-06

  • #1484 API Updates
    • Add support for flow_data on BillingPortalSessionCreateParams
    • Add support for flow on BillingPortal.Session
  • #1483 API Updates
    • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
    • Add support for invoice on Checkout.Session
    • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]

22.1.0 - 2022-11-17

  • #1480 API Updates
    • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
  • #1479 API Updates
    • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

22.0.0 - 2022-11-16

  • #1471 Next major release changes

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.

"⚠️" symbol highlights breaking changes.

  • ⚠️ Inline several "shared" classes for consistency (#1455)
  • ⚠️ Removed LineItem.Product property that was released by mistake. (#1456)
  • ⚠️ Removed Charges property on PaymentIntent and replace it with LatestCharge (#1473)
  • ⚠️ Removed deprecated Amount, Currency, Description, Images, Name properties from SessionCreateParams.LineItem (#1473)
  • ⚠️ Remove support for tos_shown_and_accepted on CheckoutSessionCreateParams.payment_method_options.paynow (#1473)
  • ⚠️ Removed deprecated Sku resource (#1459)
  • ⚠️ Removed RequestOptions.getStripeVersionOverride, RequestOptions.setStripeVersionOverride, and RequestOptions.clearStripeVersionOverride (#1464)

Use of setStripeVersionOverride is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions.

If you were using these methods in conjunction with EphemeralKey resource prefer the EphemeralKeyCreateParamsBuilder.setStripeVersion.

EphemeralKeyCreateParams params = EphemeralKeyCreateParams.builder()
  .setStripeVersion("XXXX-YY-ZZ")
  .build();

If you have a use case that requires per-request version overrides, please file an issue on stripe-java repository to ensure we are aware and can add first-class support for it. In the meantime you can use unsafeSetStripeVersionOverride method as a workaround.

RequestOptions.RequestOptionsBuilder builder = RequestOptions.builder();
builder.setApiKey(...)
            .setClientId(...);
RequestOptionsBuilder.unsafeSetStripeVersionOverride(builder, "2022-11-15");

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [stripe-java](https://github.com/stripe/stripe-java) from 12.1.0 to 22.2.0.
- [Release notes](https://github.com/stripe/stripe-java/releases)
- [Changelog](https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-java@v12.1.0...v22.2.0)

---
updated-dependencies:
- dependency-name: com.stripe:stripe-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 7, 2022
@dependabot @github

dependabot Bot commented on behalf of github Dec 9, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #875.

@dependabot dependabot Bot closed this Dec 9, 2022
@dependabot
dependabot Bot deleted the dependabot/maven/com.stripe-stripe-java-22.2.0 branch December 9, 2022 05:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants