Sha256: c024bf4ce5dbdbb28a3f2c3aa79a3ec49bf53eab7f563e12370b909607367fb3

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

# Upgrade Guide

_After `5.0.0` all `MINOR` and `MAJOR` version bumps will have upgrade notes
posted here._

[2023-03-23] 5.3.x to 6.0.0-rc.x
----------------------------
Twilio Ruby Helper Library’s rc version 6.0.0-rc.x is now available. We ensured that you can upgrade to Ruby helper Library 6.0.0-rc version without any breaking changes.
Behind the scenes Ruby RC 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](https://www.twilio.com/docs/libraries/ruby).

[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
```ruby
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
```ruby
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")
```


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio-ruby-6.0.0.pre.rc.3 UPGRADE.md
twilio-ruby-6.0.0.pre.rc.2 UPGRADE.md
twilio-ruby-6.0.0.pre.rc.1 UPGRADE.md