Skip to content

Conversation

@AaronDDM
Copy link
Contributor

Changelog

  • Replaced rest-client dependency with httparty for improved maintainability and security
    • rest-client is no longer actively maintained and has known security vulnerabilities
    • httparty is actively maintained and provides better performance
    • All existing functionality remains backwards compatible - no customer code changes required
    • Removed workaround for rest-client cookie jar threading bug
  • Added support for new fields query parameter values in Messages API:
    • include_tracking_options: Returns messages and their tracking settings
    • raw_mime: Returns the grant_id, object, id, and raw_mime fields only
  • Added support for tracking_options field in message responses containing:
    • opens: Boolean indicating if message open tracking is enabled
    • thread_replies: Boolean indicating if thread replied tracking is enabled
    • links: Boolean indicating if link clicked tracking is enabled
    • label: String label describing the message tracking purpose
  • Added support for raw_mime field in message responses containing Base64url-encoded message data
  • Added MessageFields module with constants for all valid field values to improve developer experience
  • Fixed multipart email sending bug where large attachments would fail due to multipart flag key mismatch (Multipart emails fail to send when using Nylas::FileUtils.handle_message_payload #525)
    • FileUtils.handle_message_payload transforms keys to symbols (:multipart)
    • HttpClient.build_request was only checking for string keys ("multipart")
    • Now checks for both string and symbol keys to maintain full backwards compatibility
    • Prevents encoding errors when sending emails with attachments larger than 3MB

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 merged commit 3544b17 into main Jun 13, 2025
6 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.

3 participants