Version:
Only show these results:

[2024-02-09] GA - Nylas Node.js SDK v7.0.0

The Nylas Node.js SDK v7.0.0 has been released!

Breaking changes

  • Node SDK v7 supports Nylas v3 exclusively, dropping support for any endpoints that are not available in v3. See v3 Features and Changes for more information.
  • Converted Nylas class from a static to a non-static class.
  • Updated minimum support to Node 16.
  • Dropped the use of "Collections" in favor of "Resources".
  • Moved all REST calls from models 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.