v2.40.0

parruda/swarmv2.40.0Jun 17, 2026by raktima-opensignlabs

AI Summary

Introduces an attachments widget and API parameters to control signer visibility, alongside fixes for duplicate widget validation and webhook handling.

Key Highlights

  • Attachments widget support
  • API parameter to hide signer's signing link
  • Duplicate widget validation fixes

New Features

  • Attachments widget
  • Widget API support
  • Tenant-based user authorization
  • Drive payload optimization

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