recurly-client-ruby

A Ruby API wrapper for Recurly

MIT License

Downloads
4.5M
Stars
183
Committers
20

Bot releases are hidden (Show)

recurly-client-ruby - Release 4.0.0

Published by douglasmiller over 3 years ago

Changelog

4.0.0 (2021-03-01)

Full Changelog

Major Version Release

The 4.x major version of the client pairs with the v2021-02-25 API version. This version of the client and the API contain breaking changes that should be considered before upgrading your integration.

Breaking Changes in the API

All changes to the core API are documented in the Developer Portal changelog

Breaking Changes in Client

  • Remove site_id and subdomain from client initializer. [#624]

  • Remove set_site_id method from client. [#627]

  • Classify unexpected error responses from Recurly API via an HTTP status code mapping provided in Recurly::Errors::ERROR_MAP. [#616]

  • Remove NetworkError class. All error classes now extend the APIError. This means that the order of multiple rescue blocks will need to be re-considered. [#616]

    3.x

    rescue Recurly::Errors::ValidationError => ex
      # catch a validation error
    rescue Recurly::Errors::APIError => ex
      # catch a generic api error
    rescue Recurly::Errors::TimeoutError => ex
      # catch a specific network error
    

    4.x

    rescue Recurly::Errors::ValidationError => ex
      # catch a validation error
    rescue Recurly::Errors::TimeoutError => ex
      # catch a specific network error
    rescue Recurly::Errors::APIError => ex
      # catch a generic api error
    
  • Rename InvalidResponseError to InvalidContentTypeError. [#616]

  • Rename UnavailableError to ServiceUnavailableError. [#616]

  • Reorganize top-level keys of the optional parameters hash to improve clarity and create space for additional options. [#619]

    3.x

    options = {
      limit: 200,
      headers: {
        'Accept-Language' => 'fr'
      }
    }
    accounts = @client.list_accounts(options)
    

    4.x

    options = {
      params: {
          limit: 200
      }
      headers: {
        'Accept-Language' => 'fr'
      }
    }
    accounts = @client.list_accounts(options)
    

Implemented enhancements:

  • Remove site_id and subdomain from client initializer #624 (joannasese)

Fixed bugs:

  • Every method is returning wrong number of arguments #664

Merged pull requests:

recurly-client-ruby - Release 3.18.1

Published by douglasmiller over 3 years ago

Changelog

Unreleased

Full Changelog

Fixed bugs:

recurly-client-ruby - Release 3.18.0

Published by douglasmiller over 3 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Release 3.17.0

Published by douglasmiller almost 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Release 3.16.0

Published by douglasmiller almost 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Release 2.18.18

Published by joannasese almost 4 years ago

recurly-client-ruby - Release 2.18.17

Published by joannasese almost 4 years ago

recurly-client-ruby - Release 3.15.0

Published by douglasmiller almost 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Release 2.18.16

Published by joannasese almost 4 years ago

recurly-client-ruby - Release 3.14.0

Published by douglasmiller almost 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

Merged pull requests:

  • Fixes uninitialized constant Recurly::Errors::ServiceNotAvailableError #641 (ruyrocha)
recurly-client-ruby - Release 3.13.0

Published by douglasmiller about 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

  • Latest Changes for 2019-10-10 (Automated Exports, additional resource data attributes) #638 (douglasmiller)
recurly-client-ruby - Release 2.18.15

Published by joannasese about 4 years ago

recurly-client-ruby - Release 3.12.0

Published by douglasmiller about 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

Merged pull requests:

recurly-client-ruby - Release 3.11.0

Published by douglasmiller about 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Relese 2.18.14

Published by joannasese about 4 years ago

This bumps us up to API version 2.29. There are no breaking changes.

recurly-client-ruby - Release 2.18.13

Published by joannasese about 4 years ago

recurly-client-ruby - Release 3.10.0

Published by douglasmiller about 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements:

recurly-client-ruby - Release 2.18.12

Published by joannasese about 4 years ago

This bumps us to API version 2.28. There are no breaking changes.

recurly-client-ruby - Release 2.18.11

Published by joannasese over 4 years ago

recurly-client-ruby - Release 3.9.0

Published by douglasmiller over 4 years ago

Changelog

Unreleased

Full Changelog

Implemented enhancements: