Skip to content

Releases: nylas/nylas-ruby

v5.2.0

15 Jul 14:45
7bd1d24
Compare
Choose a tag to compare

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 calling message.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

07 Jun 22:00
3deeaf3
Compare
Choose a tag to compare

New Features

  • Add support for read only attributes (#298)
  • Add save_all_attributes and update_all_attributes methods to support nullifying attributes. (#299)
  • Add support new Event metadata feature (#300)

Enhancements and Fixes

  • Fix attributes assignment for Delta (#297)
  • Fix issue where files couldn't be attached to drafts (#302)
  • Fix exception raise when content-type is not JSON (#303)
  • Fix issue where draft version wouldn't update after update or save (#304)

5.0.0

07 May 20:28
d4f7633
Compare
Choose a tag to compare

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

22 Apr 20:50
3b4a432
Compare
Choose a tag to compare

4.6.7 / 2021-04-22

  • Support for Ruby 3.
  • Add support for /free-busy endpoint #288
  • Fix issue where download a file fetch via find failed #258, #287

4.6.6

06 Apr 21:39
e6c1880
Compare
Choose a tag to compare

4.6.6 / 2021-04-06

  • Add support for notify_participants when creating events
  • Add provider attribute to account

4.6.5

22 Feb 17:45
9d8ced6
Compare
Choose a tag to compare

4.6.5 / 2021-02-22

  • Add content_disposition field to File
  • Fix thread-safety issue in HTTP::CookieJar loading

4.6.4

04 Feb 00:20
Compare
Choose a tag to compare

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

19 Dec 00:52
Compare
Choose a tag to compare
  • 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

09 Sep 00:43
Compare
Choose a tag to compare
  • Add support to move message and thread between folder.
  • Handle new attributes added to API gracefully
  • Add is_primary and other new Calendar attributes

Release 4.6.1

08 Jan 00:00
Compare
Choose a tag to compare
  • Fix a bug with when blocks when creating events
  • Add support for the Event.ical_uid field