Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.95 KB

UPGRADE.md

File metadata and controls

51 lines (33 loc) · 1.95 KB

Upgrade Guide

After 5.0.0 all MINOR and MAJOR version bumps will have upgrade notes posted here.

[2024-01-19] 6.x.x to 7.x.x

Overview

Twilio Ruby Helper Library’s major version 7.0.0 is now available. We ensured that you can upgrade to Ruby helper Library 7.0.0 version without any breaking changes of existing apis

Behind the scenes Ruby Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages. We're pleased to inform you that version 7.0.0 adds support for the application/json content type in the request body.

To learn more about the Ruby Helper Library, check out our docs.

[2023-05-03] 5.x.x to 6.x.x

Overview

Twilio Ruby Helper Library’s major version 6.0.0 is now available. We ensured that you can upgrade to Ruby helper Library 6.0.0 version without any breaking changes

Behind the scenes Ruby Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages.

To learn more about the Ruby Helper Library, check out our docs.

[2017-09-29] 5.x.x to 5.3.x

CHANGED - Body parameter on Chat Message creation is no longer required.

Rationale

This was changed to add support for sending media in Chat messages, users can now either provide a body or a media_sid.

5.x.x

require 'twilio-ruby'

@client = Twilio::REST::Client.new "AC123", "auth"
@client.chat.v2.service('IS123').channel('CH123').message.create("this is the body", "from")

5.3.x

require 'twilio-ruby'

@client = Twilio::REST::Client.new "AC123", "auth"
@client.chat.v2.service('IS123').channel('CH123').message.create("from", body:"this is the body")