Skip to content

v2.0.0

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

The Nylas SDK for Kotlin & Java v2.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 as well as full Kotlin support.

Changelog

Breaking changes

  • Renamed artifact from nylas-java-sdk to nylas.
  • Nylas SDK v2 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.
  • Removed all REST calls from models and moved them directly into resources.

Added

  • Full Kotlin support.
  • 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.

Updated

  • Now using Moshi annotations for JSON serialization/deserialization as opposed to manually writing JSON maps.
  • Removed all REST calls from models and moved them directly into resources.

Removed

  • Non-builder ways for initializing NylasClient.
  • 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 v1.x to v2.x, as well as a reference guide for the Kotlin & Java SDK.