From 37d44e4df42c44eabc804d0c15c47451adae5f5c Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 29 Jul 2020 08:40:20 -0700 Subject: [PATCH] Bump version to 71.40.0 --- CHANGELOG.md | 10 ++++++++++ VERSION | 2 +- stripe.go | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e384ec5a4..8f68f5cbf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 71.40.0 - 2020-07-29 +* [#1136](https://github.com/stripe/stripe-go/pull/1136) Add support for multiple coupons on Billing APIs + * Add support for arrays of expandable API resources otherwise returning an array of strings by default + * Add custom deserialization to `Discount` to support expansion of the object + * Add support for `Id`, `Invoice` and `InvoiceItem` on `Discount`. + * Add support for `Discounts` on `Invoice`, `InvoiceItem` and `InvoiceLineItem` + * Add support for `DiscountAmounts` on `CreditNote`, `CreditNoteLineItem`, `InvoiceLineItem` + * Add support for `TotalDiscountAmounts` on `Invoice` + * Add `Object` to `Invoice`, `InvoiceLine`, `Discount` and `Coupon` + ## 71.39.0 - 2020-07-27 * [#1142](https://github.com/stripe/stripe-go/pull/1142) Bug fix: Copy the JSON data of ephemeral keys to own buffer diff --git a/VERSION b/VERSION index 929e37dab1..8a7ecf7913 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -71.39.0 +71.40.0 diff --git a/stripe.go b/stripe.go index d6ce76cfd1..fb548caf8c 100644 --- a/stripe.go +++ b/stripe.go @@ -994,7 +994,7 @@ func StringSlice(v []string) []*string { const apiURL = "https://api.stripe.com" // clientversion is the binding version -const clientversion = "71.39.0" +const clientversion = "71.40.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