diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c4b7ffcec..923efd7fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 78.11.0 - 2024-06-13 +* [#1871](https://github.com/stripe/stripe-go/pull/1871) Update generated code + * Add support for `MultibancoPayments` and `TWINTPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for `TWINT` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `Multibanco` on `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for new value `de_stn` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType` + * Add support for new values `multibanco` and `twint` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` + * Add support for `MultibancoDisplayDetails` on `PaymentIntentNextAction` + * Add support for `InvoiceSettings` on `Subscription` + ## 78.10.0 - 2024-06-06 * [#1870](https://github.com/stripe/stripe-go/pull/1870) Update generated code * Add support for `GBBankTransferPayments`, `JPBankTransferPayments`, `MXBankTransferPayments`, `SEPABankTransferPayments`, and `USBankTransferPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` @@ -52,18 +62,18 @@ * Add support for `ShipFromDetails` on `TaxCalculationParams`, `TaxCalculation`, and `TaxTransaction` * Add support for `Bh`, `Eg`, `Ge`, `Ke`, `Kz`, `Ng`, and `Om` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` * [#1856](https://github.com/stripe/stripe-go/pull/1856) Deprecate Go methods and Params - - Mark as deprecated the `Approve` and `Decline` methods on `issuing/authorization/client.go`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). + - Mark as deprecated the `Approve` and `Decline` methods on `issuing/authorization/client.go`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling). - Mark as deprecated the `persistent_token` property on `ConfirmationTokenPaymentMethodPreviewLink.persistent_token`, `PaymentIntentPaymentMethodOptionsLink`, `PaymentIntentPaymentMethodOptionsLinkParams`, `PaymentMethodLink`, `SetupIntentPaymentMethodOptionsCard`, `SetupIntentPaymentMethodOptionsLinkParams`. This is a legacy parameter that no longer has any function. ## 78.4.0 - 2024-04-25 * [#1852](https://github.com/stripe/stripe-go/pull/1852) Update generated code - * Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsAmazonPay`, `CheckoutSessionPaymentMethodOptionsRevolutPay`, `PaymentIntentPaymentMethodOptionsAmazonPay`, and `PaymentIntentPaymentMethodOptionsRevolutPay` - * Change type of `EntitlementsActiveEntitlementFeature` from `string` to `*EntitlementsFeature` - * Remove support for inadvertently released identity verification features `Email` and `Phone` on `IdentityVerificationSessionOptionsParams` - * Add support for new values `amazon_pay` and `revolut_pay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` - * Add support for `AmazonPay` and `RevolutPay` on `MandatePaymentMethodDetails` and `SetupAttemptPaymentMethodDetails` - * Add support for `EndingBefore`, `Limit`, and `StartingAfter` on `PaymentMethodConfigurationListParams` - * Add support for `Mobilepay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` + * Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsAmazonPay`, `CheckoutSessionPaymentMethodOptionsRevolutPay`, `PaymentIntentPaymentMethodOptionsAmazonPay`, and `PaymentIntentPaymentMethodOptionsRevolutPay` + * Change type of `EntitlementsActiveEntitlementFeature` from `string` to `*EntitlementsFeature` + * Remove support for inadvertently released identity verification features `Email` and `Phone` on `IdentityVerificationSessionOptionsParams` + * Add support for new values `amazon_pay` and `revolut_pay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` + * Add support for `AmazonPay` and `RevolutPay` on `MandatePaymentMethodDetails` and `SetupAttemptPaymentMethodDetails` + * Add support for `EndingBefore`, `Limit`, and `StartingAfter` on `PaymentMethodConfigurationListParams` + * Add support for `Mobilepay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` ## 78.3.0 - 2024-04-18 * [#1849](https://github.com/stripe/stripe-go/pull/1849) Update generated code @@ -76,12 +86,12 @@ ## 78.2.0 - 2024-04-16 * [#1847](https://github.com/stripe/stripe-go/pull/1847) Update generated code - * Add support for new resource `Entitlements.ActiveEntitlementSummary` - * Add support for `Balances` and `PayoutsList` on `AccountSessionComponentsParams` and `AccountSessionComponents` - * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `EventType` - * Remove support for `Config` on `ForwardingRequestParams` and `ForwardingRequest`. This field is no longer used by the Forwarding Request API. - * Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsRevolutPayParams`, `PaymentIntentPaymentMethodOptionsRevolutPayParams`, and `PaymentIntentPaymentMethodOptionsRevolutPay` - * Add support for `Swish` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` + * Add support for new resource `Entitlements.ActiveEntitlementSummary` + * Add support for `Balances` and `PayoutsList` on `AccountSessionComponentsParams` and `AccountSessionComponents` + * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `EventType` + * Remove support for `Config` on `ForwardingRequestParams` and `ForwardingRequest`. This field is no longer used by the Forwarding Request API. + * Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsRevolutPayParams`, `PaymentIntentPaymentMethodOptionsRevolutPayParams`, and `PaymentIntentPaymentMethodOptionsRevolutPay` + * Add support for `Swish` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` ## 78.1.0 - 2024-04-11 * [#1846](https://github.com/stripe/stripe-go/pull/1846) Update generated code diff --git a/VERSION b/VERSION index 78c2ef9d73..531d97eccd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -78.10.0 +78.11.0 diff --git a/stripe.go b/stripe.go index 0292b76c75..912f8f5cdb 100644 --- a/stripe.go +++ b/stripe.go @@ -1279,7 +1279,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "78.10.0" +const clientversion = "78.11.0" // defaultHTTPTimeout is the default timeout on the http.Client used by the library. // This is chosen to be consistent with the other Stripe language libraries and