[2024-02-09] Nylas Python SDK v6.0.0 - GA
The Nylas Python SDK v6.0.0 has been released!
- GitHub: Nylas Python SDK
- Distribution: PyPi
Breaking Changes
- Python SDK v6 supports Nylas v3 exclusively, dropping support for any endpoints that are not available in v3. See v3 Features and Changes for more information.
- Dropped support for Python < v3.8.
- Dropped the use of "Collections" in favor of "Resources".
- Moved all REST calls from models into resources.
- Models no longer inherit from
dict
but instead either are adataclass
or inherit fromTypedDict
. - Renamed the SDK entry point from
APIClient
toClient
.
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.
Updated
- Rewrote the majority of SDK to be more intuitive, explicit, and efficient.
Removed
- Local Webhook development support is removed due to incompatibility with the new API version.