Version:
Only show these results:

[2024-02-09] Nylas Kotlin/Java SDK v2.0.0 - GA

Categories: Sdks Java Kotlin

The Nylas Kotlin/Java SDK v2.0.0 has been released!

Breaking changes

  • Renamed artifact from nylas-java-sdk to nylas.
  • Nylas SDK v2 supports Nylas v3 exclusively, dropping support for any endpoints that are not available in v3. See v3 Features and Changes for more information.
  • Moved all REST calls from models 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.