Skip to content

Releases: nylas/nylas-nodejs

v7.5.2

12 Jul 15:27
Compare
Choose a tag to compare

Changelog

Changed

  • Fix issue where metadata was being incorrectly modified before being sent to the API (#571)

v7.5.1

09 Jul 13:54
Compare
Choose a tag to compare

Changelog

Changed

  • Added collective availability method (#567)
  • Fix crash when timeout encountered (#569)
  • Bump braces sub-dependency from 3.0.2 to 3.0.3 (#568)

New Contributors

v7.5.0

17 May 20:04
Compare
Choose a tag to compare

Changelog

Added

  • Added support for filtering by event type when listing events (#564)
  • Added support for filtering a list of folders (#565)

Updated

  • Fixed query parameters not being formatted properly (#564)

v7.4.0

01 May 16:51
Compare
Choose a tag to compare

Changelog

Added

  • Added support for provider field in code exchange response (#560)
  • Added clean messages support (#561)

Changed

  • Fixed issue where attachments < 3mb were not being encoded correctly (#559)

v7.3.0

15 Apr 20:45
Compare
Choose a tag to compare

Changelog

Added

  • Add response type to sendRsvp (#556)
  • Add support for adding custom headers to outgoing requests (#552)
  • Add support for custom headers field for drafts and messages (#553)
  • Add support for setting include_grant_scopes for auth url generation (#554)

Changed

  • Rename incorrect type field in When models to object (#551)
  • Fix inaccuracy in ReminderOverride model (#555)

New Contributors 🎉

v7.2.1

05 Mar 22:02
Compare
Choose a tag to compare

Changelog

Changed

  • Improved message sending and draft create/update performance (#544)
  • Change default timeout to match API (90 seconds) (#545)
  • Fixed serialization/deserialization of keys with numbers in them (#546)

v7.2.0

27 Feb 23:21
Compare
Choose a tag to compare

Changelog

Added

  • Added support for roundTo field in availability response model (#540)
  • Added support for attributes field in folder model (#540)
  • Added support for icloud as an auth provider (#540)

Changed

  • Fixed query params not showing up in method parameters for finding a message (#539)
  • Fixed missing fields in message models (#541, #542)

Removed

  • Removed unnecessary clientId from detectProvider params (#540)

v7.1.0

12 Feb 20:30
Compare
Choose a tag to compare

The first release adds support for a new endpoint and a couple of updates.

Changelog

Added

  • Added support for /v3/connect/tokeninfo endpoint (#536)

Updated

  • Models can now directly be imported from the top-level nylas package (#534)
  • Fixed inaccuracies in event and webhook models (#535)

v6.11.1

09 Feb 17:23
Compare
Choose a tag to compare

Changelog

Updates

  • Fix issue where Graph events were returning 400 on update (#524)
  • Make comment param in rsvp optional (#529)

v7.0.0

09 Feb 14:33
Compare
Choose a tag to compare

The Nylas Node SDK v7.0.0 is out of beta now Generally Available! This SDK sees a number of changes, including breaking changes, and more importantly brings full support of the new Nylas API v3.

Changelog

Breaking changes

  • Node SDK v7 supports the Nylas API v3 exclusively, dropping support for any endpoints that are not available in v3. See API v3 Features and Changes for more information.
  • Convert Nylas class from a static to a non-static class.
  • Officially support minimum Node 16.
  • Dropped the use of 'Collections' in favor of 'Resources'.
  • Removed all REST calls from models and moved them directly into resources.

Added

  • Created models for all API resources and endpoints, for all HTTP methods to reduce confusion on which fields are available for each endpoint.
  • Created error classes for the different API errors as well as SDK-specific errors.
  • Added support for both ES6 and CommonJS module systems.

Updated

  • Rewrote the majority of SDK to be more modular and efficient.

Removed

  • Removed the use of custom strings for serialization and deserialization, now automatically converting to camelCase and from the API's snake_case.
  • Local Webhook development support is removed due to incompatibility with the new API version.

Docs and References

Please refer to the README.md for a quick description and getting started guide with the new SDK. Furthermore, we have an UPGRADE.md for instructions on upgrading from v6.x to v7.x, as well as a reference guide for the Node SDK.