Releases: recurly/recurly-client-go
3.15.0
Merged Pull Requests
- Generated Latest Changes for v2019-10-10 #153 (recurly-integrations)
4.17.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 #148 (recurly-integrations)
3.14.0
Merged Pull Requests
- Generated Latest Changes for v2019-10-10 #147 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #141 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #138 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #137 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 (Tax Inclusive Pricing) #129 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 (Account Hierarchy Invoice Rollup) #127 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #124 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #123 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 (Added new response to subscription change) #121 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 (Dunning Campaigns feature) #118 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 (get_preview_renewal) #116 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #113 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #103 (recurly-integrations)
- Generated Latest Changes for v2019-10-10 #98 (recurly-integrations)
4.16.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 (Percentage tiers feature) #145 (recurly-integrations)
4.15.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 (Percentage tiers feature) #140 (recurly-integrations)
4.14.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 #139 (recurly-integrations)
4.13.0
A breaking change has been introduced in the 4.13.0 release.
While adding support for the EU, the ClientOptions
struct and NewClientWithOptions
function were added. Part of this process necessitated adding region validations to the NewClient*
functions.
When creating an instance of a Client
with the existing NewClient
function, you will need to handle the potential error response:
Original:
client := recurly.NewClient("<apikey>")
Updated:
client, err := recurly.NewClient("<apikey>")
if err != nil {
// Custom error condition handling
}
Using the newly added NewClientWithOptions
:
client, err := recurly.NewClientWithOptions("<apikey>", recurly.ClientOptions{
Region: recurly.EU,
})
if err != nil {
// Custom error condition handling
}
While we make every effort to support semantic versioning in our modules, we determined that this breaking change was necessary in the 4.x version of the client.
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 #136 (recurly-integrations)
- Add region argument to client to connect in EU data center #132 (FabricioCoutinho)
4.12.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 (Invoice Customization) #133 (recurly-integrations)
- Generated Latest Changes for v2021-02-25 #131 (recurly-integrations)
4.11.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 (Tax Inclusive Pricing) #130 (recurly-integrations)
4.10.0
Merged Pull Requests
- Generated Latest Changes for v2021-02-25 #128 (recurly-integrations)
- Generated Latest Changes for v2021-02-25 #126 (recurly-integrations)
- Generated Latest Changes for v2021-02-25 #125 (recurly-integrations)
- Generated Latest Changes for v2021-02-25 #122 (recurly-integrations)