Skip to content

Commit d47b137

Browse files
authored
v2.10.0 release (#282)
# Changelog ### Added * Support for `include_tracking_options` and `raw_mime` values in `MessageFields` enum * Support for `tracking_options` field in `Message` model to access message tracking settings * Support for `raw_mime` field in `Message` model to access Base64url-encoded message data * Support for query parameters in `Messages.find()` method to specify fields like `include_tracking_options` and `raw_mime` * Added `Builder` pattern to `FindMessageQueryParams` for consistency with other query parameter classes * Support for `single_level` query parameter in `ListFoldersQueryParams` for Microsoft accounts to control folder hierarchy traversal * Added folder examples demonstrating the new `single_level` parameter usage in both Java and Kotlin ### Fixed * Fixed `ListThreadsQueryParams.inFolder` parameter to properly handle single folder ID filtering as expected by the Nylas API. The API only supports filtering by a single folder ID, but the SDK was incorrectly accepting a list and only using the last item. Now the SDK uses the first item from a list if provided and includes overloaded `inFolder(String)` method in the Builder for new code. The list-based method is deprecated and will be changed to String in the next major version for backwards compatibility. ### Deprecated * `ListThreadsQueryParams.Builder.inFolder(List<String>)` is deprecated in favor of `inFolder(String)`. The Nylas API only supports filtering by a single folder ID. In a future major version, this parameter will be changed to accept only a String. # License <!-- Your PR comment must contain the following line for us to merge the PR. --> 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.
1 parent e9cf4f9 commit d47b137

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Nylas Java SDK Changelog
22

33

4-
## [Unreleased]
4+
## [2.10.0] - Release 2025-06-12
55

66
### Added
77
* Support for `include_tracking_options` and `raw_mime` values in `MessageFields` enum

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you have a question about the Nylas Communications Platform, [contact Nylas S
3030
If you're using Gradle, add the following to the dependencies section of `build.gradle`:
3131

3232
```groovy
33-
implementation("com.nylas.sdk:nylas:2.8.0")
33+
implementation("com.nylas.sdk:nylas:2.10.0")
3434
```
3535

3636
### Build from source

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=com.nylas.sdk
2-
version=2.9.0
2+
version=2.10.0
33

44
# Override and set these in ~/.gradle/gradle.properties
55
ossrhUser=

0 commit comments

Comments
 (0)