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

chore(deps): bump com.stripe:stripe-java from 27.0.0 to 28.0.0 in /fixed-price-subscriptions/server/java #1184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2024

Bumps com.stripe:stripe-java from 27.0.0 to 28.0.0.

Release notes

Sourced from com.stripe:stripe-java's releases.

v28.0.0

Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia) without upgrading the SDK.

However, a bug in the 27.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #1896 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on AccountCreateParams, AccountUpdateParams, and Account
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, and samsung_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for disable_stripe_user_authentication on AccountSession.components.account_management.features, AccountSession.components.account_onboarding.features, AccountSession.components.balances.features, AccountSession.components.notification_banner.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.account_management.features, AccountSessionCreateParams.components.account_onboarding.features, AccountSessionCreateParams.components.balances.features, AccountSessionCreateParams.components.notification_banner.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for kakao_pay and kr_card on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, Mandate.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for naver_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for payco and samsung_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for metadata on Forwarding.Request and forwarding.RequestCreateParams
    • Add support for automatically_finalizes_at on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value retail_delivery_fee on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for new value alma on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for flat_amount and rate_type on Tax.Calculation.tax_breakdown[].tax_rate_details and TaxRate
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Add support for new value state_retail_delivery_fee on enum tax.RegistrationCreateParams.country_options.us.type
    • Add support for pln on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Add support for new value 2024-10-28.acacia on enum WebhookEndpointCreateParams.api_version

See the changelog for more details.

v27.2.0-beta.3

  • #1897 Update generated code for beta
    • Add support for alma_payments, gopay_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, qris_payments, samsung_pay_payments, shopeepay_payments, treasury_evolve, treasury_fifth_third, and treasury_goldman_sachs on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for gopay, qris, and shopeepay on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new values alma, gopay, qris, and shopeepay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, gopay, qris, and shopeepay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location

... (truncated)

Changelog

Sourced from com.stripe:stripe-java's changelog.

28.0.0 - 2024-10-29

Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia) without upgrading the SDK.

However, a bug in the 27.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #1896 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on AccountCreateParams, AccountUpdateParams, and Account
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, and samsung_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for disable_stripe_user_authentication on AccountSession.components.account_management.features, AccountSession.components.account_onboarding.features, AccountSession.components.balances.features, AccountSession.components.notification_banner.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.account_management.features, AccountSessionCreateParams.components.account_onboarding.features, AccountSessionCreateParams.components.balances.features, AccountSessionCreateParams.components.notification_banner.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for kakao_pay and kr_card on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, Mandate.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for naver_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for payco and samsung_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for metadata on Forwarding.Request and forwarding.RequestCreateParams
    • Add support for automatically_finalizes_at on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value retail_delivery_fee on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for new value alma on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for flat_amount and rate_type on Tax.Calculation.tax_breakdown[].tax_rate_details and TaxRate
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Add support for new value state_retail_delivery_fee on enum tax.RegistrationCreateParams.country_options.us.type
    • Add support for pln on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Add support for new value 2024-10-28.acacia on enum WebhookEndpointCreateParams.api_version

27.1.2 - 2024-10-29

  • #1912 add tolerance argument to parseThinEvent
    • The default tolerance value is still what most users will want, but this fixes an oversight where it wasn't possible to set tolerance at all when parsing thin events
  • #1911 Fixes bug #1899
    • Fixes the bug introduced in v27 where StripeException#getUserMessage on v1 API errors would return null instead of the error message.
  • #1906 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

27.1.1 - 2024-10-18

  • #1901 update object tags for meter-related classes

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [com.stripe:stripe-java](https://github.com/stripe/stripe-java) from 27.0.0 to 28.0.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@v27.0.0...v28.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 31, 2024
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants