This PR is a culmination of all the PRs that contained v7-related development, with formal support for the Nylas API v3. This release is essentially the same as the v7.0.0-beta.5 release found on npm. Please refer to the readme for a quick start guide on using the new SDK, as well as links to the upgrade doc as well as the SDK reference docs.
Changelog
BREAKING CHANGE: Node SDK v7 supports the Nylas API v3 exclusively, dropping support for any endpoints that are not available in v3.
BREAKING CHANGE: Convert Nylas class from a static to a non-static class
BREAKING CHANGE: Officially support minimum Node 16
BREAKING CHANGE: Dropped the use of 'Collections' in favor of 'Resources'
BREAKING CHANGE: Removed all REST calls from models and moved them directly into resources
REMOVED: Local Webhook development support is removed due to incompatibility
Rewrote the majority of SDK to be more modular and efficient
Removed the use of custom strings for serialization and deserialization, now automatically converting to camelCase and from the API's snake_case
Added support for both ES6 and CommonJS module systems
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
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Description
This PR is a culmination of all the PRs that contained v7-related development, with formal support for the Nylas API v3. This release is essentially the same as the v7.0.0-beta.5 release found on npm. Please refer to the readme for a quick start guide on using the new SDK, as well as links to the upgrade doc as well as the SDK reference docs.
Changelog
Nylas
class from a static to a non-static classLicense
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.