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

Update module github.com/stripe/stripe-go/v80 to v81 #122

Closed

Conversation

aiae-renovate
Copy link
Collaborator

@aiae-renovate aiae-renovate commented Oct 29, 2024

This PR contains the following updates:

Package Type Update Change
github.com/stripe/stripe-go/v80 require major v80.1.0 -> v81.0.0

Release Notes

stripe/stripe-go (github.com/stripe/stripe-go/v80)

v81.0.0

Compare Source

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 80.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.

  • #​1931 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for New, Retrieve, Update, List, Delete, Disable, Enable and Ping methods on resource V2.EventDestinations
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountParams and Account
    • Add support for AlmaPayments, KakaoPayPayments, KrCardPayments, NaverPayPayments, PaycoPayments, and SamsungPayPayments on AccountCapabilitiesParams and AccountCapabilities
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesParams, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesParams, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesParams, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsNotificationBannerFeaturesParams, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesParams, and AccountSessionComponentsPayoutsFeatures
    • Add support for ScheduleAtPeriodEnd on BillingPortalConfigurationFeaturesSubscriptionUpdateParams and BillingPortalConfigurationFeaturesSubscriptionUpdate
    • Add support for Alma on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, RefundDestinationDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for KakaoPay and KrCard on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupAttemptPaymentMethodDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for NaverPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for EnhancedEvidence on DisputeEvidenceParams and DisputeEvidence
    • Add support for EnhancedEligibilityTypes on Dispute
    • Add support for EnhancedEligibility on DisputeEvidenceDetails
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enum EventType
    • Add support for Metadata on ForwardingRequestParams and ForwardingRequest
    • Add support for AutomaticallyFinalizesAt on InvoiceParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoicePaymentSettingsPaymentMethodTypes and SubscriptionPaymentSettingsPaymentMethodTypes
    • Add support for new value alma on enum PaymentLinkPaymentMethodTypes
    • Add support for AmazonPay on PaymentMethodDomain
    • Change type of RefundNextActionDisplayDetails from nullable(RefundNextActionDisplayDetails) to RefundNextActionDisplayDetails
    • Add support for new value retail_delivery_fee on enums TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType, TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType, TaxCalculationTaxBreakdownTaxRateDetailsTaxType, TaxRateTaxType, and TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
    • Add support for FlatAmount and RateType on TaxCalculationTaxBreakdownTaxRateDetails and TaxRate
    • Add support for By, Cr, Ec, Ma, Md, RU, Rs, Tz, and Uz on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions
    • Add support for new value state_retail_delivery_fee on enum TaxRegistrationCountryOptionsUsType
    • Add support for Pln on TerminalConfigurationTippingParams and TerminalConfigurationTipping

See the changelog for more details.

v80.2.1

Compare Source

  • #​1940 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

See the changelog for more details.

v80.2.0

Compare Source

  • #​1929, #​1933 Remove rawrequests Post, Get, and Delete in favor of rawrequests.Client
    • The individual rawrequests functions for Post, Get, and Delete methods are removed in favor of the client model which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.

See the changelog for more details.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@aiae-renovate aiae-renovate force-pushed the renovate/github.com-stripe-stripe-go-v80-81.x branch from 07d2a0f to 2074728 Compare November 3, 2024 23:01
@Swan Swan closed this Nov 8, 2024
@aiae-renovate
Copy link
Collaborator Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 81.x releases. But if you manually upgrade to 81.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@aiae-renovate aiae-renovate deleted the renovate/github.com-stripe-stripe-go-v80-81.x branch November 8, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants