-
Notifications
You must be signed in to change notification settings - Fork 368
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
Next major release changes #1471
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generate files for next major branch
Remove SKU resource
Co-authored-by: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com>
Ephemeral key accepts Stripe-Version through params, not opts (next major)
Bring sdk-release/next-major up to date
API Version 2022-11-09
Bring sdk-release/next-major up to date
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
22.0.0 - 2022-11-15
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.
LineItem.Product
property that was released by mistake. (RemoveLineItem.Product
andSessionCreateParams.subscription_data.items
#1456)Charges
property onPaymentIntent
and replace it withLatestCharge
(API Version 2022-11-09 #1473)Amount
,Currency
,Description
,Images
,Name
properties fromSessionCreateParams.LineItem
(API Version 2022-11-09 #1473)tos_shown_and_accepted
onCheckoutSessionCreateParams.payment_method_options.paynow
(API Version 2022-11-09 #1473)Sku
resource (Remove SKU resource #1459)RequestOptions.getStripeVersionOverride
,RequestOptions.setStripeVersionOverride
, andRequestOptions.clearStripeVersionOverride
(RemoveRequestOptions.setStripeVersionOverride
#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 theEphemeralKeyCreateParamsBuilder.setStripeVersion
.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.