Quaver / api-v2

The new v2 API server for Quaver.
https://api.quavergame.com/v2/
GNU Affero General Public License v3.0
4 stars 0 forks source link

Update module github.com/stripe/stripe-go/v79 to v81 #121

Closed aiae-renovate closed 2 weeks ago

aiae-renovate commented 3 weeks ago

This PR contains the following updates:

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

Release Notes

stripe/stripe-go (github.com/stripe/stripe-go/v79) ### [`v81.0.0`](https://togithub.com/stripe/stripe-go/releases/tag/v81.0.0) [Compare Source](https://togithub.com/stripe/stripe-go/compare/v80.2.1...v81.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](https://stripe.com/blog/introducing-stripes-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](https://togithub.com/stripe/stripe-go/pull/1940) 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](https://togithub.com/stripe/stripe-go/pull/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](https://togithub.com/stripe/stripe-go/blob/v81.0.0/CHANGELOG.md). ### [`v80.2.1`](https://togithub.com/stripe/stripe-go/releases/tag/v80.2.1) [Compare Source](https://togithub.com/stripe/stripe-go/compare/v80.2.0...v80.2.1) - [#​1940](https://togithub.com/stripe/stripe-go/pull/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](https://togithub.com/stripe/stripe-go/blob/v80.2.1/CHANGELOG.md). ### [`v80.2.0`](https://togithub.com/stripe/stripe-go/releases/tag/v80.2.0) [Compare Source](https://togithub.com/stripe/stripe-go/compare/v80.1.0...v80.2.0) - [#​1929](https://togithub.com/stripe/stripe-go/pull/1929), [#​1933](https://togithub.com/stripe/stripe-go/pull/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](https://togithub.com/stripe/stripe-go/blob/v80.2.0/CHANGELOG.md). ### [`v80.1.0`](https://togithub.com/stripe/stripe-go/releases/tag/v80.1.0) [Compare Source](https://togithub.com/stripe/stripe-go/compare/v80.0.0...v80.1.0) - [#​1928](https://togithub.com/stripe/stripe-go/pull/1928) Update generated code - Remove the support for resource `Margin` that was accidentally made public in the last release See [the changelog for more details](https://togithub.com/stripe/stripe-go/blob/v80.1.0/CHANGELOG.md). ### [`v80.0.0`](https://togithub.com/stripe/stripe-go/releases/tag/v80.0.0) [Compare Source](https://togithub.com/stripe/stripe-go/compare/v79.12.0...v80.0.0) - [#​1926](https://togithub.com/stripe/stripe-go/pull/1926) Support for APIs in the new API version 2024-09-30.acacia This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading. ##### ⚠️ Breaking changes - Rename `usage_threshold_config` to `usage_threshold` on `BillingAlertParams` and `BillingAlert` - Remove support for `filter` on `BillingAlertParams` and `BillingAlert`. Use the filters on the `usage_threshold` instead - Remove support for `CustomerConsentCollected` on `TerminalReaderProcessSetupIntentParams` ##### Additions - Add support for `CustomUnitAmount` on `ProductDefaultPriceDataParams` - Add support for `AllowRedisplay` on `TerminalReaderProcessPaymentIntentProcessConfigParams` and `TerminalReaderProcessSetupIntentParams` - Add support for new value `international_transaction` on enum `TreasuryReceivedCreditFailureCode` - Add method [RawRequest()](https://togithub.com/stripe/stripe-go/tree/master?tab=readme-ov-file#custom-requests) that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK. See [the changelog for more details](https://togithub.com/stripe/stripe-go/blob/v80.0.0/CHANGELOG.md).

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.



This PR has been generated by Renovate Bot.

aiae-renovate commented 2 weeks ago

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.