Skip to content

Releases: recurly/recurly-client-python

Version 2.7.0 November 20, 2017

20 Nov 23:25
0fea3d7
Compare
Choose a tag to compare
  • Implement API version 2.9 changes

Upgrade Notes

This version bumps us to API version 2.9. There are a few breaking changes.

  1. The subscription link on an instance of Adjustment is now only created if adjustment is
    originating from a subscription plan charge, setup fee, add on, trial or proration credit.
    It is no longer created for other adjustments.

  2. Instances of Transaction and Invoice no longer have a subscription link and you
    must now use the subscriptions link.

Version 2.6.2 November 9, 2017

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

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.