Releases: nylas/nylas-ruby
Releases · nylas/nylas-ruby
v5.2.0
New Features
- Add support for
Room Resource
(#307)
Enhancements and Fixes
- Fix issue where "302 Redirect" response codes were treated as errors (#306)
- Fix issue where
api
value was overridden when callingmessage.expanded
(#311)
Using New Features
Room Resource
Currently, the /resource
endpoint only supports the GET
operation without any extra functionality like filtering. To get a list of all room resource objects attached to your account, you can do the following:
#!/usr/bin/env ruby
require 'nylas'
# Initialize and connect to the Nylas client
nylas = Nylas::API.new(
app_id: CLIENT_ID,
app_secret: CLIENT_SECRET,
access_token: ACCESS_TOKEN
)
resources = nylas.room_resources
v5.1.0
5.0.0
5.0.0 / 2021-05-07
- Send Nylas-API-Version header to API with latest supported version. #296
- Fix issue sending message using raw mime type. #294
- Support for messages.expanded.find(id) to return expanded message. #293
- Add support for hosted authentication #292
- Fix bug to not send id, object and account_id on events update call #291
4.6.7
4.6.6
4.6.6 / 2021-04-06
- Add support for notify_participants when creating events
- Add provider attribute to account
4.6.5
4.6.5 / 2021-02-22
- Add content_disposition field to File
- Fix thread-safety issue in HTTP::CookieJar loading
4.6.4
4.6.4 / 2021-02-03
- fix failing http_client spec after merging main
- Skip parsing response if content is not JSON
- Add missing http status codes / errors.
- Add reply_to to NewMessage
- Add message tracking to drafts.
- Truncate the returned filename so it's less than 256 characters and compatible with rb_sysopen.
- Bump required rest client dep to >= 2.0, remove travis ci tests for rest client 1, ruby v2.3
- Use to_json helper instead of JSON.dump.
4.6.3
- Remove folder on message.save for updates
- Fix JSON parsing behavior
- Fix rubocop warnings for http_client and spec
- No longer rescue json parse errors, use Yajl instead of JSON for parsing responses (due to unicode issue).
- Add specs for changes to message.save
- Store folder id in folder_id and remove folder if present before saving.
- Adding secondary_address field to physical address model
4.6.2
Release 4.6.1
- Fix a bug with
when
blocks when creating events - Add support for the Event.ical_uid field