Skip to content

v7.0.0

Compare
Choose a tag to compare
@mrashed-dev mrashed-dev released this 09 Feb 14:33
· 27 commits to main since this release

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.