- Add support for private Scheduling configuration.
- Added support for scheduler APIs
- Added
query_params
field toFolders
&Threads
find - Added custom filename support for attachments
- Added query support for folders
- Added dependency on
ostruct
gem - Enable SDK to reattach large files to messages on retry
- Downgraded
rest-client
to2.0
for better compatibility
- Fixed sending attachments less than 3MB
- Added query support for messages
- Added support for clean messages
- Added support for getting access token info
- Added new webhook triggers
- Improved message sending and draft create/update performance
- Change default timeout to match API (90 seconds)
- Fixed error when invoking
Auth.detect_provider
- Fixed the HTTP operation of updating grants
- Fixed endpoint URL of rotating webhooks
- Fixed a bug during OAuth URL building
- Fixed a bug where the
next_cursor
field was omitted for list responses
- BREAKING CHANGE: Ruby SDK v6 supports the Nylas API v3 exclusively, dropping support for any endpoints that are not available in v3.
- BREAKING CHANGE: Officially support minimum Ruby v3
- BREAKING CHANGE: Removed all models and typing from the SDK
- REMOVED: Local Webhook development support is removed due to incompatibility
- Rewrote the majority of SDK to be more modular and efficient
- Created error classes for the different API errors as well as SDK-specific errors
- Added a configurable timeout for outgoing calls to the API
- Add support for verifying webhook signatures
- Add
event.updated_at
- Allow native authentication to return the full response like the
exchange_code_for_token
- Add missing
provider_id
attribute toLabel
- Add
organizer_email
andorganizer_name
toEvent
- Add missing job status webhook triggers
- Fix
MESSAGE_LINK_CLICKED
trigger
- Add local webhook testing support
- Add
tzinfo
,faye-websocket
,eventmachine
as runtime dependencies
- Added support for rate limit errors
- Added
disable_provider_selection
option for building auth URL - Improved performance by skipping creating instance of StringIO before parsing JSON
- Add timezone fields to the
When
class - Adds visibility attribute to
Event
class - Add support for calendar colors (for Microsoft calendars)
- Add support for getting
ids
andcount
for collections not supported by the API - Fix Ruby 3.x compatibility for expanding keyword arguments
- Add missing hosted authentication parameters
- Add
reply_to_message_id
field inMessages
- Fix calendar availability failing when
round_robin
isnil
- Add support for event reminders
- Add
metadata
field toJobStatus
- Support collective and group events
- Fix
ModelNotFilterableError
when querying for accounts with metadata
- Fix calendar availability not serializing
FreeBusy
andOpenHours
properly - Fix Authentication demo app using deprecated Google scopes
- Add missing
phone_number
field inParticipant
- Fix
NoMethodError
when callingNewMessage#send!
- Add Outbox support
- Add new
authentication_type
field in Account - Add support for basic authentication
- Enable Nylas API v2.5 support
- Improved support for
Webhook
objects - Support
calendars
for availability methods - Fix
interval_minutes
keyword for availability methods
- Add job status support
- Add
Event
to ICS support - Add support for getting access token information
- Improved support for Application Details
- Enable ability to delete
Account
objects - Fix saving and deleting
Folder
objects
- Enabled support for adding metadata to a
NewMessage
/Draft
- Fix bug where updating an Event results in an API error
- Add support for event notifications
- Add more Scheduler support
- Add metadata support for
Calendar
,Message
andAccount
- Modify
exchange_code_for_token
to allow returning a full body
- Add Component CRUD Support
- Add Scheduler support
- Add support for calendar availability
- Add support for
File
delete operation - Fix issue where
file_ids
get reset to empty
- Fix draft send method to send existing draft when tracking is enabled
- Add support for Event Conferencing
- Fix update draft failing if version is not explicitly set
- Fix draft
.send
logic
- Add support for Neural API
- Fix issue where
Delta
did not have a header attribute for expanded headers - Fix ArgumentError when calling
Nylas::API#send!
due to missing double splat (**) - Fix issue where server errors are not reported if HTML is returned
- Fix issue where expanded
Thread
objects were not returning messages
- Add support for
Room Resource
- Fix issue where "302 Redirect" response codes were treated as errors
- Fix issue where
api
value was overriden when callingmessage.expanded
- Add support for read only attributes
- Add
save_all_attributes
andupdate_all_attributes
methods to support nullifying attributes. - Add support new
Event
metadata feature - Fix attributes assignment for
Delta
- Fix issue where files couldn't be attached to drafts
- Fix exception raise when content-type is not JSON
- Fix issue where draft version wouldn't update after
update
orsave
- Send
Nylas-API-Version
header to API with latest supported version. - Fix issue sending message using raw mime type.
- Support for
messages.expanded.find(id)
to return expanded message. - Add support for hosted authentication
- Fix bug to not send
id
,object
andaccount_id
on events update call
- Support for Ruby 3.
- Add support for
/free-busy
endpoint - Fix issue where download a file fetch via
find
failed,
- Add support for
notify_participants
when creating events - Add provider attribute to account
- Add
content_disposition
field to File - Fix thread-safety issue in HTTP::CookieJar loading
- 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.
- 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
- Add support to move
message
andthread
betweenfolder
. - Handle new attributes added to API gracefully
- Add is_primary and other new Calendar attributes
- Fix a bug with
when
blocks when creating events - Add support for the Event.ical_uid field
- Add support for
/contacts/groups
endpoint. - Fix issue when calling
.save
onmessage
(#233) - Add support for Rails 6.
- Fix issue for updating
message
with sendinglabel_ids
(#231) - Support for
when
inNylas::Event
for more attributes. - Add internal transfer api to support initialize related objects.
- Fix encoding issues when downloading attachments.
- Add support for
source
attribute in Contact model
- Add support for
/ip_addresses
endpoint - Add optional argument for
Model#to_json
- Reintroduce support for Ruby 2.3
- Add Rails 4 bundler support to setup script
- Specify gemfiles called in test script
- Drop support for Ruby 2.2 and 2.3: they have reached end-of-life
- Add support for Ruby 2.5 and 2.6
- Add
scopes
argument toNylas::API#authenticate
for selective sync - Add
Account#revoke_all
- Add X-Nylas-Client-Id header for HTTP requests
- Enables silent addition of fields to API without impact to SDK
- Fixes api attribute breakage on enumeration (#188)
- Drop support for ruby 2.0 and below
- Add support for v2 of the Contacts API
- Switch to an ActiveModel/ActiveQuery compliant interface for interacting with objects and APIs
- Add support for Ruby 2.4+
- Add support for Rails 4+
- Filters now work correctly for all models
.each
now pages requests- Numerous other bug fixes
- Fix deleting event request (#101)
- Adds support for message tracking (https://github.com/cberkom)
- Removes
interpret_http_status
to be included ininterpret_response
- Improve error handling
- Add native authentication example code
- Add webhooks example code
- Removes experimental JRuby support
- Fix folders and labels updates for threads and messages
- Revert pull request #71
- Remove get_cursor method that calls deprecated generate_cursor endpoint
- Modify
delta_stream method
to remove built-inEventMachine.run
block and allow for multiple streams.delta_stream
must now be called from inside anEventMachine.run
block url_for_authentication
now accepts a:state
parameter (see https://nylas.com/docs#server_side_explicit_flow for more details)
- Deprecate the tags API
- Remove the archive!/unarchive! methods
- Expose
starred
,unread
,has_attachments
in Nylas::Thread
- Add
Messages#files?
Issue #40 - Return an external Enumerator when no block given. Issue #42 (Steven Harman)
- Expose
folders
in the Delta Stream API. - Add
Inbox::Error
base class for all errors. (Steven Harman) - Expose
sync_state
on the/account
API. (Steven Harman) - Return Enumerator for #deltas when no block given
- Ruby < 1.9.3 no longer supported
- Add travis support for Mac OS X
Message#expanded
returns an expanded version of a message- Expose the
server_error
field when failing to send messages - minor bug fixes
- various test cleanups (Steven Harman)