Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stripe-java from 21.15.0 to 22.1.0 in /pgp-keys-map-test1 #1163

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2022

Bumps stripe-java from 21.15.0 to 22.1.0.

Release notes

Sourced from stripe-java's releases.

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(...);
RequestOptionsBuilder.unsafeSetStripeVersionOverride(builder, "2022-11-15");

  • #1474 API Updates
    • ⚠️ Remove support for tos_shown_and_accepted on CheckoutSessionCreateParams.payment_method_options.paynow. The property was mistakenly released and never worked.

v21.16.0-beta.1

  • #1475 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for DiscountEnd on Discount.
    • Add support for url on MerchantData.

... (truncated)

Changelog

Sourced from stripe-java's changelog.

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");

  • #1474 API Updates
    • ⚠️ Remove support for tos_shown_and_accepted on CheckoutSessionCreateParams.payment_method_options.paynow. The property was mistakenly released and never worked.
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 21.15.0 to 22.1.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@v21.15.0...v22.1.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 the dependencies Pull requests that update a dependency file label Nov 18, 2022
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@slawekjaranowski slawekjaranowski merged commit 8d55c33 into master Dec 1, 2022
@slawekjaranowski slawekjaranowski deleted the dependabot/maven/pgp-keys-map-test1/com.stripe-stripe-java-22.1.0 branch December 1, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

2 participants