You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Version 7.8.0 - October 20, 2025
- **Improved:** Updated PDF.js library to 5.4.296 for stability and performance.
- **Added:** Ability to add, edit, view comments in the document.
New permission `DocumentViewerPermissions.EditComments` which is included in default permission `DocumentViewerPermissions.All`.
- **Improved:** Ensure toolbar menus are clamped to the viewer window
and repositioned when viewer window is scrolled, resized or menu is resized.
- **Improved:** Ensure top toolbar menus are always over vertical toolbar menus.
- **Fixed:** When creating multiple instances of viewer in the same page
`webviewerloaded` event was being registered multiple times thus causing errors.
This may be the root cause of unreplicated error: ```The `container` must be absolutely positioned.```.
The viewer id was being unnecessarily incremented even if it did not exist in the document.
Track viewer id internally as user may re-assign the window global variable.
- **Improved:** Set minimum value limits for `DocumentCache` settings to prevent unnecessary `Document cache info is not found`
errors due to user misconfiguration (e.g. thinking they can disable cache by setting zero
or low values but cache is required for correct operation of DocumentViewer).
The error happened due to very early trimming of the cache especially when multiple users.
- `MaxAge` -> The minimum value is 10 minutes.
- `WaitTimeout` -> The minimum value is 2 minutes.
- `AutoTrimInterval` -> The minimum value is 5 minutes. The default value is now changed from 20 minutes to 15 minutes
mainly because IIS AppPool default idle-timeout setting is 20 minutes so we ensure the auto-trim is run before app shutdown.
- **Improved:** Overwrite existing `CacheTrim.log` if it was created before `DocumentCache.MaxAge` to avoid very large log files.
0 commit comments