recurly-client-ruby

A Ruby API wrapper for Recurly

MIT License

Downloads
4.5M
Stars
183
Committers
20

Bot releases are visible (Hide)

recurly-client-ruby - 2.11.1 (10-20-2017)

Published by bhelx almost 7 years ago

  • Added subscriptions link to Invoice and Transaction PR
recurly-client-ruby - 2.11.0 (10-06-2017)

Published by bhelx about 7 years ago

This release will upgrade us to API version 2.8.

  • Added custom invoice notes to Purchase PR
  • Added imported_trial boolean field to Subscription Commit

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.new(
  # The purchase object is the only place you can set the currency:
  currency: 'USD',
  account: {
    account_code: 'someone'
  }
  adjustments: [
    {
       # Remove this currency
       # You can no longer set the currency on adjustment level
       currency: 'USD',
       unit_amount_in_cents: 1000
    }
  ]
)
recurly-client-ruby - 2.10.2 (2017-09-27)

Published by bhelx about 7 years ago

  • Fix Subscription constructor API breakage PR
recurly-client-ruby - 2.10.1 (07-03-2017)

Published by bhelx over 7 years ago

NOTE: This release contains an accidental breaking change on Subscription.new. See #338 for more details. Upgrade to 2.10.2 for the fix.

This release will upgrade us to API version 2.7. There are no breaking changes.

  • Added updated_account_notification notification event PR
  • Removed Plan#trial_requires_billing_info coercion PR
  • Fixed "address" being serialized as "addres" bug PR
  • Bump to API v2.7 (Purchase endpoint updates) PR
recurly-client-ruby - 2.10.0 (05-17-2017)

Published by bhelx over 7 years ago

  • resource_class option should be class_name and other mislabeled options PR
  • Upgrade rake to fix warnings PR
  • Purchases endpoint PR
  • Removal of X-Records header 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 longer 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. From now on, when you call Pager#count, it will send a HEAD request to the server. Ensure you aren't calling that method in places where you expect the value
    to be cached for you. For more info see PR #324.
  2. For POST /v2/subscriptions Sending nil 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.
recurly-client-ruby - 2.9.0 (04-06-2017)

Published by bhelx over 7 years ago

  • Remove Nokogiri as a dependency of the recurly gem. If you'd like to continue using it (for that nice speed boost), make sure to add gem "nokogiri" to your Gemfile. PR
  • Add sort and filter params to Pager rubydocs PR
  • Ban nokogiri on dead rubies PR
  • Fix Address serialization bug (serialize every attribute on update) PR
  • Upgrade webmock so specs can run on ruby 2.4 PR

Upgrade Notes:

Ruby 1.9 and 2.0 are now deprecated. You may no longer use nokogiri on these rubies. Please see PR #317 for more information. If you wish to use nokogiri and it's not already required (by rails for instance), you will need to explicitly add it as a dependency and require it.

recurly-client-ruby - 2.8.0 (03-22-2017)

Published by bhelx over 7 years ago

  • Finishes API v2.5 updates PR
  • Adding product_code to Transactions and Adjustments PR
  • Adding all_line_items PR
  • Implement fields for Vertex integration PR
  • Adds geo_code to billing_info, account address, and shipping address PR
  • Guard against passing Resource.find empty strings #307
  • Add yard docs link #305
  • Fix jruby+nokogiri failure on comments #312

Upgrade Notes:

If you are using as_json on a Resource (previously unsupported) we are now returning the attributes as json rather than the resource as json. This means your returned Hash will not have an attributes key but will rather BE the attributes value. See #295

recurly-client-ruby - 2.8.0.rc3

Published by bhelx over 7 years ago

  • Adding product_code to Transaction and Adjustment #298
recurly-client-ruby - 2.7.6 (2017-01-30)

Published by bhelx over 7 years ago

  • Fix cloudflare 502 error #296
  • Fix stack-level-too-deep for as_json #295

Upgrade Notes:

If you were are using as_json on a Resource (previously unsupported) we are now returning the attributes as json rather than the resource as json. This means your returned Hash will not have an attributes key but will rather BE the attributes value. See #295

recurly-client-ruby - 2.8.0.rc1

Published by bhelx almost 8 years ago

Bumps use to API version 2.5. This is a release candidate and we cannot guarantee a stable API yet.

  • Implement tax fields for Vertex integration #289
  • adds geo_code to billing_info, account address, and shipping address #273
recurly-client-ruby - 2.7.5 (2016-12-01)

Published by bhelx almost 8 years ago

  • Fix coupon redemption bug on bulk coupons #284 PR
recurly-client-ruby - 2.7.4 (2016-11-17)

Published by bhelx almost 8 years ago

  • Fix coupon redemption errors PR
  • Remove "base" from pretty printed error messages PR
  • Fix rails deprecation warning PR
  • Add updated_at to MeasuredUnit PR
  • Support gift card canceled_at timestamp PR
  • Fix AddOns quantity accumulator bug from #226 PR
  • Fix Ruby 1.9.3 and jruby testing dependencies PR
  • Add new dunning event webhook PR
  • Add timeframe attribute to Subscription PR
recurly-client-ruby - 2.7.3 (2016-08-19)

Published by cookrn about 8 years ago

Properly add support for gift cards.

recurly-client-ruby - 2.7.2 (2016-08-15)

Published by bhelx about 8 years ago

  • Support Shipping Addresses PR
recurly-client-ruby - 2.7.1 (2016-08-04)

Published by bhelx about 8 years ago

Bumps to API version 2.4

  • Add updated_at fields PR
  • Add support for gift cards PR
recurly-client-ruby - v2.6.1 (2016-06-01)

Published by bhelx over 8 years ago

  • Fix method missing changed? in Account PR
recurly-client-ruby - v2.6.0 (2016-06-01)

Published by bhelx over 8 years ago

  • Add support for free trial coupons PR
  • Add support for roku_billing_agreement_id PR
  • Fix Account#address_changed? dirty check PR
  • Add support for <fraud> if it exists on Transaction PR
  • Fix updating unit_amount_in_cents on Subscription PR
  • Fix stray puts in specs PR

Note: This version has a bug around creating accounts. We recommend using 2.6.1 or later https://github.com/recurly/recurly-client-ruby/releases/tag/v2.6.1

recurly-client-ruby - v2.5.2 (2016-05-02)

Published by bhelx over 8 years ago

  • Remove Gemfile.lock, add more rubies to testing matrix PR
  • Remove autoload and reorder requires PR
  • Usage Based Billing PR
recurly-client-ruby - v2.5.1 (2016-02-18)

Published by bhelx over 8 years ago

  • Add currency attribute to BillingInfo object so client can pass currency on create/update PR
recurly-client-ruby - 2.5.0

Published by bhelx almost 9 years ago

v2.5.0 (2016-01-13)

  • Fix redemption destroy path for accounts with multiple redemptions PR

N.B. This release has API breaking changes around coupon redemptions.