Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Latest commit

 

History

History
171 lines (88 loc) · 3.26 KB

CHANGES.md

File metadata and controls

171 lines (88 loc) · 3.26 KB

4.2.0

  • Added get_sms_pricing method

  • Added get_voice_pricing method

  • Added get_event_alert_numbers method to get opt-in/opt-out numbers

  • Added resubscribe_event_alert_number method to opt-in a number

  • Added more clearly named methods for Verify API

4.1.0

  • Added topup method

  • Added update_settings method

  • Added api_host option

4.0.0

  • Removed exception behaviour from #send_message

    This is a backwards incompatible change. You now need to check the message status code returned in the response, for example:

    response = nexmo.send_message(params)
    
    if response['messages'][0]['status'].zero?
      # success!
    else
      # error response
    end
    
  • Removed deprecated number_search method (use #get_available_numbers instead)

  • Added method for Number Insight Basic API

  • Added method for Number Insight Standard API

  • Added Nexmo::ClientError and Nexmo::ServerError classes

  • Added User-Agent header to requests

  • Changed license from LGPL-3.0 to MIT

3.1.0

  • Renamed #number_search method to #get_available_numbers

  • Added #control_verification_request method

3.0.0

  • Removed :http accessor

  • Changed #send_message to return full message object

  • Fixed Voice API TTS methods (now on api.nexmo.com)

  • Added Number Verify API methods

  • Added Number Insight API method

  • Added license info

2.0.0

  • Dropped support for Ruby 1.8.7

  • Removed deprecated :json option

  • Removed beta OAuth functionality

  • Removed initializer block functionality

  • Removed positional key/secret args in favour of options

  • Removed custom response class

  • Removed Nexmo::Client#send_message! method

  • Added Nexmo::AuthenticationError exception class

  • Added USSD API methods

  • Added US Shared Short Code API methods

  • Added Voice API methods

1.3.0

  • Added Nexmo::Client#buy_number method

  • Added Nexmo::Client#cancel_number method

  • Added Nexmo::Client#update_number method

  • Added :host option for specifying a different hostname to connect to

1.2.0

  • Added initializer block functionality for tweaking response behaviour

  • Deprecated the :json option (use an initializer block instead)

1.1.0

  • Added default lookup of NEXMO_API_KEY and NEXMO_API_SECRET environment variables

  • Added preliminary/experimental support for Nexmo OAuth (beta)

1.0.0

  • Ruby 1.8.7 compatibility

  • Rewrote Nexmo::Client#send_message

  • Added Nexmo::Client#send_message! method

0.5.0

  • Added Nexmo::Client#search_messages method

  • Changed Nexmo::Response#object to return hash instead of Nexmo::Object

  • Added :json option for specifying an alternate JSON implementation

0.4.0

  • Added Nexmo::Client#get_balance method

  • Added Nexmo::Client#get_country_pricing method

  • Added Nexmo::Client#get_prefix_pricing method

  • Added Nexmo::Client#get_account_numbers method

  • Added Nexmo::Client#number_search method

  • Added Nexmo::Client#get_message method

  • Added Nexmo::Client#get_message_rejections method

0.3.1

  • Fixed content type checking (thanks @dbrock)

0.3.0

  • Fixed Nexmo::Client#send_message for unexpected HTTP responses

0.2.2

  • Added Nexmo status code to error messages

0.2.1

  • No significant changes

0.2.0

  • Added Nexmo::Client#headers method

0.1.1

  • Ruby 1.8.7 compatibility

0.1.0

  • First version!