Releases: grokify/ringcentral-sdk-ruby
Bugfix Release
Changes
- Additions
- Add
client.send_request
hash support in addition toRequest::Base
object - Add documentation / FAQ for fax
to.name
attribute
- Add
- Bugfixes
- Fix
RingCentralSdk::REST::Cache::Extensions
bug - old client - Fix
RingCentralSdk::REST::Request::Simple
bug - initialize body
- Fix
Subscription Events - Helpers and Scripts
Changes
- Add Subscription to Retrieve New Messages functionality
./lib
- Add
RingCentralSdk::REST::Event
- Add
RingCentralSdk::REST::MessagesRetriever
- Add
RingCentralSdk::REST::Request::Simple
- Update
RingCentralSdk::REST::Client
- updatesend_request
- Update
RingCentralSdk::REST::Request::Base
- addheaders
- Add
./scripts
- Add
scripts/fax_download.rb
demo script - Add
scripts/fax_download_new.rb
demo script - Add
scripts/sms_to_chat.rb
demo script to send inbound SMS to chat
- Add
Consistency and Ease of Use Release
Changes
- Major Refactor
- Many naming changes for more consistency
- All code moved into
RingCentralSdk::REST
namespace RingCentralSdk::Platform
is nowRingCentralSdk::REST::Client
RingCentralSdk::Platform::client
is nowRingCentralSdk::REST::Client::http
RingCentralSdk::Helpers
namespace is nowRingCentralSdk::Request
- All code moved into
- Add
RingCentralSdk::REST::Config
RingCentralSdk::REST::Config
readsdotenv
files- Update sample scripts to use new
Config
object - Add
scripts/account-extensions.rb
script
- Add
RingCentral::REST::Messages
,RingCentral::REST::Messages::MessagesSMS
andRingCentral::REST::Messages::MessagesFax
- Update
RingCentralSdk::REST::Request::Fax
helper for nicer interface, formerlyRingCentralSdk::Helpers::Fax
- Extract
MIMEBuilder
into its own gem
- Extract
- Extract
VoiceBase::Client
into it's own gem asVoiceBase::V1::Client
Call Queue Manager Release
Changes
- Add
RingCentralSdk::Cache::Extensions
to manage extensions easier - Add
RingCentralSdk::Helpers::ExtensionPresence
- Add Call Queue Member Manager tutorial
Bugfix and Demo Release
Changes
- Fix fax helper to support UTF-8 metadata with file attachment
- Fix PubNub unsubscribe bug
- Add call recording transcription demo via VoiceBase
- Update tests to support tokens without refresh token
- Update sample scripts configuration for more scalability
Refactor and Test Release
Description
The goal of this release is to streamline the SDK interface and also add stubbed unit tests for API calls.
Non-Breaking Changes
- Add HTTP request API unit tests via stubbing with
mocha
with test coverage > 90%. - Add
RingCentralSdk.new()
sugar method which returns aRingCentralSdk::Platform
instance.
Breaking Changes
- Remove
RingCentralSdk::Sdk
class as it is no longer necessary. Thecreate_subscription()
method is now transferred to theRingCentralSdk::Platform
class. - Constants
RingCentralSdk::Sdk::RC_SERVER_(PRODUCTION|SANDBOX)
have been changed toRingCentralSdk::RC_SERVER_(PRODUCTION|SANDBOX)
- Remove
lib/ringcentral_sdk/version.rb
file.RingCentral::VERSION
moved toringcentral_sdk.rb
- Remove
VERSION.txt
file
3-Legged OAuth Release
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
- Add 3-Legged OAuth support via platform
authorize_url
andauthorize_code
methods - Add
oauth2-sinatra
demo app inscripts
directory - Add
call_recording_download.rb
demo script - Add
rc-credentials.json
separate demo credentials file - Update
fax_send.rb
demo script with name change
Breaking Changes
- Modify SDK initialization by converting optional params to options hash
- Refactor
RingCentralSdk::Platform::Platform
toRingCentralSdk::Platform
Subscriptions Release
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
- Add subscriptions support via PubNub
- Add
ruby-head
,jruby
,jruby-head
, andrbx-2
to Travis CI
Breaking Changes
- Remove Ruby 1.8.7 support due to
hitimes
requirement inpubnub
andeventmachine
. 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
Non-Breaking Changes
- Add
User-Agent
andRc-User-Agent
header support - Add
RingCentralSdk::VERSION
used inUser-Agent
header
Breaking Changes
- Refactor platform class to rename
authorized()
method toset_token()
. This is a breaking change.
Token Reuse Release
Changes
- Add ability to more easily reuse existing token using hash by adding platform class
set_token()
which takes a hash in addition toOAuth2::AccessToken
object.