Releases: stripe/stripe-go
Releases · stripe/stripe-go
stripe-go v35.0.0
- #557 Add automatic retries for intermittent errors (enabling using
BackendConfiguration.SetMaxNetworkRetries
) - #589 Fix all
Get
methods to support standardized parameter structs + remove some deprecated functionsIssuerFraudRecordListParams
now uses*string
forCharge
(set it usingstripe.String
like elsewhere)event.Get
now takesstripe.EventParams
instead ofParams
for consistency- The
Get
method forcountryspec
,exchangerate
,issuerfraudrecord
now take an extra params struct parameter to be consistent and allow setting a connected account (usestripe.CountrySpecParams
,stripe.ExchangeRateParams
, andIssuerFraudRecordParams
) charge.MarkFraudulent
andcharge.MarkSafe
have been removed; usecharge.Update
insteadcharge.CloseDispute
andcharge.UpdateDispute
have been removed; usedispute.Update
ordispute.Close
insteadloginlink.New
now properly passes its params struct into its API call
stripe-go v34.3.0
- #587 Use
net/http
constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior)
stripe-go v34.2.0
- #581 Push parameter encoding into
BackendConfiguration.Call
(this is an internal cleanup and should not affect library behavior)
stripe-go v34.1.0
- #586 Add
AmountPaid
,AmountRemaining
,BillingReason
(including newInvoiceBillingReason
and constants), andSubscriptionProrationDate
toInvoice
stripe-go v34.0.0
- #585 Remove
File
in favor ofFileUpload
, and consolidating both classes which were already nearly identical exceptMIMEType
has been replaced byType
(this is technically a breaking change, but quite a small one)
stripe-go v33.0.0
- #583 Add new account constants, rename one, and fix
DueBy
(this is quite a small breaking change)
stripe-go v32.4.1
- #582 Fix unmarshaling of
LegalEntity
(specifically when we havelegal_entity[additional_owners][][verification]
) so that it comes out as a struct
stripe-go v32.4.0
- #577 Add
DocumentBack
to account legal entity identity verification parameters and response
stripe-go v32.3.0
- #576 Fix plan transform usage to use
BucketSize
instead ofDivideBy
; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work