Skip to content

Releases: grokify/ringcentral-sdk-ruby

Bugfix Release

14 Feb 09:15
Compare
Choose a tag to compare

Changes

  1. Additions
    1. Add client.send_request hash support in addition to Request::Base object
    2. Add documentation / FAQ for fax to.name attribute
  2. Bugfixes
    1. Fix RingCentralSdk::REST::Cache::Extensions bug - old client
    2. Fix RingCentralSdk::REST::Request::Simple bug - initialize body

Subscription Events - Helpers and Scripts

07 Feb 21:04
Compare
Choose a tag to compare

Changes

  1. Add Subscription to Retrieve New Messages functionality
    1. ./lib
      1. Add RingCentralSdk::REST::Event
      2. Add RingCentralSdk::REST::MessagesRetriever
      3. Add RingCentralSdk::REST::Request::Simple
      4. Update RingCentralSdk::REST::Client - update send_request
      5. Update RingCentralSdk::REST::Request::Base - add headers
    2. ./scripts
      1. Add scripts/fax_download.rb demo script
      2. Add scripts/fax_download_new.rb demo script
      3. Add scripts/sms_to_chat.rb demo script to send inbound SMS to chat

Consistency and Ease of Use Release

26 Jan 08:14
Compare
Choose a tag to compare

Changes

  1. Major Refactor
  2. Many naming changes for more consistency
    1. All code moved into RingCentralSdk::REST namespace
    2. RingCentralSdk::Platform is now RingCentralSdk::REST::Client
    3. RingCentralSdk::Platform::client is now RingCentralSdk::REST::Client::http
    4. RingCentralSdk::Helpers namespace is now RingCentralSdk::Request
  3. Add RingCentralSdk::REST::Config
    1. RingCentralSdk::REST::Config reads dotenv files
    2. Update sample scripts to use new Config object
    3. Add scripts/account-extensions.rb script
  4. Add RingCentral::REST::Messages, RingCentral::REST::Messages::MessagesSMS and RingCentral::REST::Messages::MessagesFax
  5. Update RingCentralSdk::REST::Request::Fax helper for nicer interface, formerly RingCentralSdk::Helpers::Fax
    1. Extract MIMEBuilder into its own gem
  6. Extract VoiceBase::Client into it's own gem as VoiceBase::V1::Client

Call Queue Manager Release

23 Jan 06:15
Compare
Choose a tag to compare

Changes

  1. Add RingCentralSdk::Cache::Extensions to manage extensions easier
  2. Add RingCentralSdk::Helpers::ExtensionPresence
  3. Add Call Queue Member Manager tutorial

Bugfix and Demo Release

09 Dec 06:50
Compare
Choose a tag to compare

Changes

  1. Fix fax helper to support UTF-8 metadata with file attachment
  2. Fix PubNub unsubscribe bug
  3. Add call recording transcription demo via VoiceBase
  4. Update tests to support tokens without refresh token
  5. Update sample scripts configuration for more scalability

Refactor and Test Release

19 Oct 02:11
Compare
Choose a tag to compare

Description

The goal of this release is to streamline the SDK interface and also add stubbed unit tests for API calls.

Non-Breaking Changes

  1. Add HTTP request API unit tests via stubbing with mocha with test coverage > 90%.
  2. Add RingCentralSdk.new() sugar method which returns a RingCentralSdk::Platform instance.

Breaking Changes

  1. Remove RingCentralSdk::Sdk class as it is no longer necessary. The create_subscription() method is now transferred to the RingCentralSdk::Platform class.
  2. Constants RingCentralSdk::Sdk::RC_SERVER_(PRODUCTION|SANDBOX) have been changed to RingCentralSdk::RC_SERVER_(PRODUCTION|SANDBOX)
  3. Remove lib/ringcentral_sdk/version.rb file. RingCentral::VERSION moved to ringcentral_sdk.rb
  4. Remove VERSION.txt file

3-Legged OAuth Release

16 Oct 05:17
Compare
Choose a tag to compare

Description

Support for 3-legged OAuth is provided consisting of SDK methods to generate authorize URLs ( authorize_url) and exchange authorization codes for access tokens (authorize_code). A stand-alone Sinatra example is also provided in the script/oauth2-sinatra directory.

A call recording download example is also provided in scripts/call_recording_download.rb.

Non-Breaking Changes

  1. Add 3-Legged OAuth support via platform authorize_url and authorize_code methods
  2. Add oauth2-sinatra demo app in scripts directory
  3. Add call_recording_download.rb demo script
  4. Add rc-credentials.json separate demo credentials file
  5. Update fax_send.rb demo script with name change

Breaking Changes

  1. Modify SDK initialization by converting optional params to options hash
  2. Refactor RingCentralSdk::Platform::Platform to RingCentralSdk::Platform

Subscriptions Release

08 Oct 04:18
Compare
Choose a tag to compare

Description

This release adds subscription support similar to official RingCentral SDKs. Subscription is an observable object which can be passed observers that will receive notifications from PubNub. This implementation includes automatic RingCentral decryption which is added as a layer on top of PubNub (not as part of PubNub's native encryption).

Non-Breaking Changes

  1. Add subscriptions support via PubNub
  2. Add ruby-head, jruby, jruby-head, and rbx-2 to Travis CI

Breaking Changes

  1. Remove Ruby 1.8.7 support due to hitimes requirement in pubnub and eventmachine. Subscription helper can be moved to separate gem in future if there remains a need to support 1.8.7 without subscriptions.

User Agent Release

14 Sep 16:16
Compare
Choose a tag to compare

Non-Breaking Changes

  1. Add User-Agent and Rc-User-Agent header support
  2. Add RingCentralSdk::VERSION used in User-Agent header

Breaking Changes

  1. Refactor platform class to rename authorized() method to set_token(). This is a breaking change.

Token Reuse Release

14 Sep 08:02
Compare
Choose a tag to compare

Changes

  1. Add ability to more easily reuse existing token using hash by adding platform class set_token() which takes a hash in addition to OAuth2::AccessToken object.