v2.40.0

Mailtrain-org/mailtrainv2.40.0Jun 17, 2026by raktima-opensignlabs

AI Summary

This release adds an attachments widget, improves document signing workflows by allowing the hiding of signer links, and fixes various bugs related to widget validation, user authorization, and API data retrieval.

Key Highlights

  • Introduced an attachments widget
  • Added parameter to hide signer's signing link in draft documents
  • Enhanced tenant-based user authorization
  • Fixed widget name validation across roles
  • Fixed viewer email retrieval issues in draft templates

New Features

  • Attachments widget
  • Attachment widget support in API
  • Parameter to hide signer's signing link in draft document API
  • Enhanced tenant-based user authorization

Full Release Notes

## What's Changed

**New Features:**
* Add attachments widget
* Attachment widget support in API 
* Add parameter to hide signer's signing link in draft document API


**Bug Fixes:**
* update signer's details in webhook call in draft document API 
* Handle validation of duplicate widget name for different role across all API
* Add widget name in duplicate widget message
* Apply Name, Company Name, Job Title, and Email widget details to all duplicate widget names
* Unable to get email of viewers in draft template and create document from template API
* Change userEmail declaration to let for reassignment and handle IdP-initiated login.
* Enhance tenant-based user authorization
* Add validation in draft document and draft template API to check if widgets are added for viewers
* Optimize getDrive payload and memoize DriveBody

**Full Changelog**: https://github.com/OpenSignLabs/OpenSign/compare/v2.39.0...v2.40.0