v2.40.0
medusajs/medusav2.40.0Jun 17, 2026by raktima-opensignlabs
AI Summary
v2.40.0 introduces an attachments widget, a new API parameter to hide signer links, and enhances tenant-based user authorization and validation.
Key Highlights
- Added attachments widget and corresponding API support
- Added parameter to hide signer's signing link in draft document API
- Enhanced tenant-based user authorization
- Improved validation for duplicate widget names across roles
New Features
- Attachments widget
- API parameter to hide signer links
- 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