Skip to content

Releases: stripe/stripe-go

v75.5.0-beta.1

07 Sep 20:08
Compare
Choose a tag to compare
v75.5.0-beta.1 Pre-release
Pre-release
  • #1730 Update generated code for beta
    Release specs are identical.
  • #1725 Update generated code for beta
    • Remove support for SubmitCard test helper method on resource Issuing.Card
    • Add support for TaxForms on AccountSettingsParams and AccountSettings
    • Add support for CardDesign on IssuingCardParams
    • Remove support for value submitted from enum IssuingCardShippingStatus
    • Add support for new value platform_default on enum IssuingCardDesignPreference

See the changelog for more details.

v75.4.0

07 Sep 18:03
Compare
Choose a tag to compare
  • #1724 Update generated code
    • Add support for new resource PaymentMethodDomain
    • Add support for Get, List, New, Update, and Validate methods on resource PaymentMethodDomain
    • Add support for new value n26 on enums ChargePaymentMethodDetailsIdealBank, PaymentMethodIdealBank, and SetupAttemptPaymentMethodDetailsIdealBank
    • Add support for new value NTSBDEB1 on enums ChargePaymentMethodDetailsIdealBic, PaymentMethodIdealBic, and SetupAttemptPaymentMethodDetailsIdealBic
    • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.succeeded, and treasury.received_debit.created on enum EventType
    • Remove support for value invoiceitem.updated from enum EventType
    • Add support for Features on ProductParams and Product

See the changelog for more details.

v75.4.0-beta.1

01 Sep 00:13
Compare
Choose a tag to compare
v75.4.0-beta.1 Pre-release
Pre-release
  • #1721 Update generated code for beta
    • Rename quote.PreviewInvoices and quote.PreviewSubscriptionSchedules to quotepreviewinvoice.List and quotepreviewschedule.List
    • Add support for Components on AccountSessionParams and AccountSession

See the changelog for more details.

v75.3.0

31 Aug 20:30
Compare
Choose a tag to compare
  • #1722 Update generated code
    • Add support for new resource AccountSession
    • Add support for New method on resource AccountSession
    • Add support for new values obligation_inbound, obligation_outbound, obligation_payout_failure, obligation_payout, obligation_reversal_inbound, and obligation_reversal_outbound on enum BalanceTransactionType
    • Change type of EventType from string to enum
    • Add support for Application on PaymentLink

See the changelog for more details.

v75.2.0

24 Aug 17:51
Compare
Choose a tag to compare
  • #1718 Update generated code
    • Add support for Retention on BillingPortalSessionFlowDataSubscriptionCancelParams and BillingPortalSessionFlowSubscriptionCancel
    • Add support for Prefetch on CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections, FinancialConnectionsSessionParams, FinancialConnectionsSession, InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections, PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections, SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections, SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams, and SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
    • Add support for PaymentMethodDetails on Dispute
    • Add support for BalanceTransaction on CustomerCashBalanceTransaction.AdjustedForOverdraft
  • #1717 Replace import placeholder before running formatting
  • #1716 Replace version placeholder with an actual version during format

See the changelog for more details.

v75.0.0-beta.1

24 Aug 18:36
Compare
Choose a tag to compare
v75.0.0-beta.1 Pre-release
Pre-release
  • #1719 Move beta version back
  • #1715 Update generated code for beta
    • Add support for new resources QuotePreviewInvoice and QuotePreviewSchedule
    • Remove support for AppliesTo on Invoice and SubscriptionSchedule
    • Add support for Cl, Co, ID, Kr, MX, My, Sa, TH, TR, and Vn on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions
    • Remove support for Hk on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions
  • #1714 Merge master

See the changelog for more details.

v75.1.0

17 Aug 22:44
Compare
Choose a tag to compare
  • #1713 Update generated code
    • Add support for FlatAmount on TaxTransactionCreateReversalParams
  • #1712 Fix link title to go migration guide

See the changelog for more details.

v75.0.0

16 Aug 20:10
Compare
Choose a tag to compare
  • This release changes the pinned API version to 2023-08-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe-go.
  • More information is available in the stripe-dotnet v75 migration guide
  • #1705 Update generated code
    • ⚠️Add support for new values verification_directors_mismatch, verification_document_directors_mismatch, verification_extraneous_directors, and verification_missing_directors on enums AccountFutureRequirementsErrorsCode, AccountRequirementsErrorsCode, BankAccountFutureRequirementsErrorsCode, and BankAccountRequirementsErrorsCode
    • Remove support for AvailableOn on BalanceTransactionListParams
      • Use of this parameter is discouraged. You may use .AddExtra if sending the parameter is still required.
    • ⚠️Remove support for Destination on Charge
      • Please use TransferData or OnBehalfOf instead.
    • ⚠️Remove support for AlternateStatementDescriptors and Dispute on Charge
      • Use of these parameters is discouraged.
    • ⚠️Remove support for ShippingRates on CheckoutSessionParams
      • Please use ShippingParams instead.
    • ⚠️Remove support for Coupon and TrialFromPlan on CheckoutSessionSubscriptionDataParams
    • ⚠️Remove support for value charge_refunded from enum DisputeStatus
    • ⚠️Remove support for BLIK on MandatePaymentMethodDetails, PaymentMethodParams, SetupAttemptPaymentMethodDetails, SetupIntentConfirmPaymentMethodOptionsParams, SetupIntentPaymentMethodOptionsParams, and SetupIntentPaymentMethodOptions
      • These fields were mistakenly released.
    • ⚠️Remove support for ACSSDebit, AUBECSDebit, Affirm, BACSDebit, CashApp, SEPADebit, and Zip on PaymentMethodParams
      • These fields were empty hashes.
    • ⚠️Remove support for Country on PaymentMethodLink
      • This field was not fully operational.
    • ⚠️Remove support for Recurring on PriceParams
      • This property should be set on create only.
    • ⚠️Remove support for Attributes, Caption, and DeactivateOn on ProductParams and Product
      • These fields are not fully operational.
  • #1699
    • Add Metadata and Expand to individual Params classes.

    • Expand, AddExpand, Metadata and AddMetadata on embedded Params struct were deprecated.
      Before:

      params := &stripe.AccountParams{
                Params: stripe.Params{
                  Expand: []*string{stripe.String("business_profile")},
                  Metadata: map[string]string{
      	            "order_id": "6735",
                  },
                },
      }

      After:

      params := &stripe.AccountParams{
                Expand: []*string{stripe.String("business_profile")},
                Metadata: map[string]string{
                         "order_id": "6735",
                },
      }

      You don't have to change your calls to AddMetadata and AddExpand
      Before/After:

      params.AddMetadata("order_id", "6735") 
      params.AddExpand("business_profile")
    • ⚠️ Removed deprecated excluded_territory, jurisdiction_unsupported, vat_exempt taxability reasons:
      • CheckoutSessionShippingCostTaxTaxabilityReasonExcludedTerritory
      • CheckoutSessionShippingCostTaxTaxabilityReasonJurisdictionUnsupported
      • CheckoutSessionShippingCostTaxTaxabilityReasonVATExempt
      • CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
      • CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
      • CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
      • CreditNoteShippingCostTaxTaxabilityReasonExcludedTerritory
      • CreditNoteShippingCostTaxTaxabilityReasonJurisdictionUnsupported
      • CreditNoteShippingCostTaxTaxabilityReasonVATExempt
      • InvoiceShippingCostTaxTaxabilityReasonExcludedTerritory
      • InvoiceShippingCostTaxTaxabilityReasonJurisdictionUnsupported
      • InvoiceShippingCostTaxTaxabilityReasonVATExempt
      • LineItemTaxTaxabilityReasonExcludedTerritory
      • LineItemTaxTaxabilityReasonJurisdictionUnsupported
      • LineItemTaxTaxabilityReasonVATExempt
      • QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
      • QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
      • QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
      • QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
      • QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
      • QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
      • QuoteTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
      • QuoteTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
      • QuoteTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
    • ⚠️ Removed deprecated error code constant ErrorCodeCardDeclinedRateLimitExceeded, prefer ErrorCodeCardDeclineRateLimitExceeded.
    • ⚠️ Removed deprecated error code constant ErrorCodeInvalidSwipeData.
    • ⚠️ Removed deprecated error code constant ErrorCodeInvoicePamentIntentRequiresAction prefer ErrorCodeInvoicePaymentIntentRequiresAction.
    • ⚠️ Removed deprecated error code constant ErrorCodeSepaUnsupportedAccount, prefer ErrorCodeSEPAUnsupportedAccount.
    • ⚠️ Removed deprecated error code constant ErrorCodeSkuInactive, prefer ErrorCodeSKUInactive.
    • ⚠️ Removed deprecated error code constant ErrorCodeinstantPayoutsLimitExceeded, prefer ErrorCodeInstantPayoutsLimitExceeded.

See the changelog for more details.

v74.31.0-beta.1

11 Aug 00:46
Compare
Choose a tag to compare
v74.31.0-beta.1 Pre-release
Pre-release
  • #1701 Update generated code for beta
    • Add support for Paypal on PaymentMethodConfigurationParams and PaymentMethodConfiguration

See the changelog for more details.

v74.30.0

11 Aug 00:33
Compare
Choose a tag to compare
  • #1702 Update generated code
    • Add support for new values incorporated_partnership and unincorporated_partnership on enum AccountCompanyStructure
    • Add support for new value payment_reversal on enum BalanceTransactionType

See the changelog for more details.