1.7 release notes
We’re excited to introduce Nutrient Web SDK 1.7, a release that brings important stability improvements and enhanced UI customization capabilities. This version focuses on improving the content editor experience and expanding customization options for comments and sidebars. Additionally, it introduces numerous bug fixes to improve overall stability. Refer to the changelog for the full list.
UI customization with slots
This release includes some improvements to the UI customization API introduced in version 1.6:
- Support for new UI customization slots in comments and comment threads.
- Support for building custom sidebars.
You can learn more about UI customization slots in our UI slots customization guide.
UI and interaction improvements
This release includes several refinements to the user interface and user experience, outlined below.
Toolbar interaction enhancements
We improved interaction handling for custom input elements in the toolbar, ensuring custom components integrate seamlessly with the existing toolbar functionality and provide consistent behavior across different input types.
Annotation behavior fixes
We made several annotation-related improvements:
- Note annotations now properly disable dragging in read-only mode, preventing unintended modifications when documents are in read-only state.
- Overriding the
onPress
handler for annotation toolbar items will now work for components using popovers (such as select and combo box elements).
Dialog and interface improvements
- The stored signatures dialog now takes up the full width of its container, providing better visual consistency and improved usability.
- Document MIME type detection has been improved to improve format identification during the loading process.
- The edit bookmark button now functions correctly when clicked, resolving an issue where the button appeared inactive.
Document events and state tracking
This release includes a couple of important fixes and improvements to enhance developer experience when working with documents.
- The
applyRedactions
operation is now correctly passed in thedocument.change
event, ensuring all document modifications are properly tracked and reported through the event system. - The
document.saveStateChange
listener is now also called after creating invalid annotations (such as empty text-valued text annotations), ensuring consistent state tracking across annotation creation scenarios.
Nightly builds on NPM
Testing Nutrient Web SDK’s nightly builds for upcoming features or fixes has now been made even easier, thanks to the new @nightly tag available for the @nutrient-sdk/viewer npm package. This tag points to today’s build. Moreover, older nightly builds will be permanently available from now on. Here’s how to install:
npm install @nutrient-sdk/viewer@nightly
Bug fixes and stability improvements
This release addresses numerous issues that improve overall SDK stability and user experience.
Minimum Document Engine version required: 1.5.6
For a complete list of changes, bug fixes, and performance improvements, refer to the changelog. For previous release notes, refer to the Web SDK 1.6 release notes. We appreciate your feedback and contributions as we continue to enhance Nutrient Web SDK.