Skip to content

Releases: stripe/stripe-go

stripe-go v35.0.0

15 Jun 15:13
Compare
Choose a tag to compare
  • #557 Add automatic retries for intermittent errors (enabling using BackendConfiguration.SetMaxNetworkRetries)
  • #589 Fix all Get methods to support standardized parameter structs + remove some deprecated functions
    • IssuerFraudRecordListParams now uses *string for Charge (set it using stripe.String like elsewhere)
    • event.Get now takes stripe.EventParams instead of Params for consistency
    • The Get method for countryspec, exchangerate, issuerfraudrecord now take an extra params struct parameter to be consistent and allow setting a connected account (use stripe.CountrySpecParams, stripe.ExchangeRateParams, and IssuerFraudRecordParams)
    • charge.MarkFraudulent and charge.MarkSafe have been removed; use charge.Update instead
    • charge.CloseDispute and charge.UpdateDispute have been removed; use dispute.Update or dispute.Close instead
    • loginlink.New now properly passes its params struct into its API call

See the changelog for more details.

stripe-go v34.3.0

14 Jun 19:11
Compare
Choose a tag to compare
  • #587 Use net/http constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior)

See the changelog for more details.

stripe-go v34.2.0

14 Jun 18:18
Compare
Choose a tag to compare
  • #581 Push parameter encoding into BackendConfiguration.Call (this is an internal cleanup and should not affect library behavior)

See the changelog for more details.

stripe-go v34.1.0

13 Jun 23:23
Compare
Choose a tag to compare
  • #586 Add AmountPaid, AmountRemaining, BillingReason (including new InvoiceBillingReason and constants), and SubscriptionProrationDate to Invoice

See the changelog for more details.

stripe-go v34.0.0

12 Jun 21:40
Compare
Choose a tag to compare
  • #585 Remove File in favor of FileUpload, and consolidating both classes which were already nearly identical except MIMEType has been replaced by Type (this is technically a breaking change, but quite a small one)

See the changelog for more details.

stripe-go v33.0.0

11 Jun 14:16
Compare
Choose a tag to compare
  • #583 Add new account constants, rename one, and fix DueBy (this is quite a small breaking change)

See the changelog for more details.

stripe-go v32.4.1

11 Jun 14:05
Compare
Choose a tag to compare
  • #582 Fix unmarshaling of LegalEntity (specifically when we have legal_entity[additional_owners][][verification]) so that it comes out as a struct

See the changelog for more details.

stripe-go v32.4.0

07 Jun 18:51
Compare
Choose a tag to compare
  • #577 Add DocumentBack to account legal entity identity verification parameters and response

See the changelog for more details.

stripe-go v32.3.0

07 Jun 13:17
Compare
Choose a tag to compare
  • #576 Fix plan transform usage to use BucketSize instead of DivideBy; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work

See the changelog for more details.

stripe-go v32.2.0

07 Jun 02:40
Compare
Choose a tag to compare
  • #571 Add HostedInvoiceURL and InvoicePDF to Invoice
  • #573 Add FormatURLPath helper to allow safer URL path building

See the changelog for more details.