PdfJsKit v2.4.15 is released:
- Added: New permission options.permissions.runScripts with default value of true.
- Fixed: Error when viewer is put into a cross-domain iframe:
- Fixed: Attempt to fix bfcache (back-forward cache) issues on iOS Safari (and others) and apps using WebView.
- Fixed: Loading bar position was not accurate on mobile mode (was shown in the middle of the toolbar)
or when toolbarAtBottom option was used.
https://t.co/dhkX2Vd7W8
PdfJsKit v2.4.11 is released:
- **Improved:** Updated PDF.js library to 5.4.449 for stability and performance.
- **Fixed:** Comments sidebar and signature menus should use the same font-family and font-size should be relative to the UI e.g. when using `ui-sizing-lg`.
https://t.co/aGmrDEkNWK
PdfJsKit v2.4.9 is released:
- **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 `options.permissions.editComments` with default value of `true`.
https://t.co/qtNWBrkFQ7
PdfJsKit v2.4.8 is released:
- **Improved:** Updated PDF.js library to 5.4.149 for stability and performance.
- **Improved:** Created toggle-able sub-menus for scrollMode and spreadMode buttons
to reduce crowdedness of the vertical toolbar.
- **Improved:** Default value for `options.language` will now be `navigator.language || "en-US"`.
So if this option is not set, it will try to use the browser's current language.
- **Improved:** Stability of some page events (new `PageUtil` class).
https://t.co/6nIXRzbzbe
PdfJsKit v2.4.5 is released:
- **Fixed:** Enlarged toolbar height in older browsers like before Chrome 115 (2023).
- **Fixed:** Wrong theme colors in older browsers (before Chrome 123 and iOS Safari 17.5).
**Improved:** Toolbar and findbar size on phones.
https://t.co/davPKKf5DE
PdfJsKit v2.4.3 is released:
- **Improved:** When using `searchOptions.matchAnyWord`, now the quotation marks can be used to specify phrases
inside a query that is set via `searchOptions.term`.
https://t.co/6YR0OKVn8C
PdfJsKit v2.4.2 is released:
- **Improved:** Scrollbar colors are beautified and made consistent for all themes.
- **Fixed:** Setting a specific theme like "classic-light" or "classic-dark" was no longer overriding user OS preference.
https://t.co/IA3Dz8YNyL