- Released mirror package for API v2 supported Nylas Ruby SDK called 'nylas-legacy'
- Add support for count on message/thread search
- Add support for detect provider endpoint
- Add accept header by default
- Fix contact picture encoding error
- 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
(nylas#233) - Add support for Rails 6.
- Fix issue for updating
message
with sendinglabel_ids
(nylas#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 (nylas#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 (nylas#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)