Skip to content

Conversation

@AaronDDM
Copy link
Collaborator

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

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.

@AaronDDM AaronDDM requested a review from kraju3 June 12, 2025 12:57
@AaronDDM AaronDDM self-assigned this Jun 12, 2025
@AaronDDM AaronDDM changed the title V2.10.0 release v2.10.0 release Jun 12, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.57%. Comparing base (e9cf4f9) to head (588a50b).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #282   +/-   ##
=========================================
  Coverage     80.57%   80.57%           
  Complexity      333      333           
=========================================
  Files            36       36           
  Lines          1014     1014           
  Branches         88       88           
=========================================
  Hits            817      817           
  Misses          138      138           
  Partials         59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AaronDDM AaronDDM requested a review from tarunswarupverc June 12, 2025 13:04
@AaronDDM AaronDDM merged commit d47b137 into main Jun 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants