Skip to content

Releases: recurly/recurly-client-python

Version 2.5.1 November 9, 2017

15 Nov 18:31
Compare
Choose a tag to compare
  • Fix SSRF: do not use urljoin, quote uuids. Commit: 049c746

Version 2.4.5 November 9, 2017

15 Nov 18:31
Compare
Choose a tag to compare
  • Fix SSRF: do not use urljoin, quote uuids. Commit: 049c746

Version 2.3.1 November 9, 2017

15 Nov 18:31
Compare
Choose a tag to compare
  • Fix SSRF: do not use urljoin, quote uuids. Commit: 049c746

Version 2.2.22 November 9, 2017

15 Nov 18:31
Compare
Choose a tag to compare
  • Fix SSRF: do not use urljoin, quote uuids. Commit: 049c746

Version 2.1.16 November 9, 2017

15 Nov 18:30
Compare
Choose a tag to compare
  • Fix SSRF: do not use urljoin, quote uuids. Commit: 049c746

Version 2.6.1 October 26, 2017

26 Oct 20:14
Compare
Choose a tag to compare

Version 2.6.0 October 12, 2017

12 Oct 19:13
Compare
Choose a tag to compare

This brings us to API version 2.8.

  • imported_trial flag on Subscription PR
  • Purchases endpoint PR
  • Support multiple suberrors per field in ValidationError PR

Upgrade Notes

There are two breaking changes in this API version you must consider.

Country Codes

All country fields must now contain valid 2 letter ISO 3166 country codes. If your country code fails validation, you will receive a validation error. This affects any endpoint where an address is collected.

Purchase Currency

The purchases endpoint can create and invoice multiple adjustments at once but our invoices can only contain items in one currency. To make this explicit the currency can no longer be provided on an adjustment, it must be set once for the entire purchase:

purchase = recurly.Purchase(
  # The purchase object is the only place you can set the currency:
  currency = 'USD',
  account = recurly.Account(
    account_code = 'someone',
  ),
  adjustments = [
      # Remove this currency
      # You can no longer set the currency on adjustment level
      recurly.Adjustment(currency='USD', unit_amount_in_cents=1000, description='Item 1',
                         quantity=1),
  ]
)

Version 2.5.0 April 17, 2017

19 May 21:37
Compare
Choose a tag to compare
  • Remove parsing of X-Records header PR
  • Cardless Free Trial changes for 2.6 PR

Upgrade Notes

This release will upgrade us to API version 2.6. There are two breaking changes:

  1. To speed up your listing requests we’re no long automatically computing the record counts for each requests. For our larger sites this could halve the response time. If you still need a count it will be computed with a separate request. You can no longer use len() on a Page. From now on you must explicitly call the count() class method on a Page. See PR #202 for more information.
  2. For POST /v2/subscriptions Sending None for total_billing_cycles attribute will now override plan total_billing_cycles setting and will make subscription renew forever.
    Omitting the attribute will cause the setting to default to the value of plan total_billing_cycles.

Version 2.4.4 March 23, 2017

23 Mar 16:13
Compare
Choose a tag to compare
  • Add API version 2.5 changes #195

Version 2.4.3 February 6th, 2017

06 Feb 17:55
Compare
Choose a tag to compare
  • Add canceled at, preview, and redeem-on-account support to gift cards #188
  • Add timestamps to MeasuredUnit #186
  • Add tests to new gift cards features and fix redemption url generation #189
  • Add Account acquisitions #193
  • Add cached rate limiting headers #192