Release notes
Learn about the changes, additions, and fixes in the PDF Viewer SDK.
Version 4
4.3.5
20 August 2025
Added
- Added an option to turn off all external hyperlinks while keeping internal links active. Configure this option using the
viewer.permissions.allowExternalLinksflag inWebViewerOptions. - Introduced a new print option that can exclude annotations when printing documents. By default, the PDF Viewer SDK includes annotations unless you manually turn them off in the print dialog.
- This update adds support for an optional
titleproperty on stamps. When set, the title displays as a tooltip on hover, improving clarity and accessibility. - Option to hide the Cancel button in the password dialog for password-protected PDFs. Controlled via the
viewer.general.hidePasswordFormCancelButtonflag inWebViewerOptions.
Changed
- Updated ink annotation behavior so that the PDF Viewer SDK applies strokes immediately. This ensures that if a user starts drawing an ink annotation and attempts to close the viewer, the user receives a notification that unsaved changes may disappear.
Fixed
- Fixed an issue where printing documents could result in excess blank pages. The PDF Viewer SDK now prints the correct number of pages.
- The password dialog for password-protected PDF files now works as expected. Entering an incorrect password now displays an error message, and clicking Cancel no longer results in an empty viewer.
- Fixed an issue with editing text annotations containing only plain text without styling, where content could disappear. Such annotations now remain intact and editable.
- Disabled radio button highlighting to ensure proper display in form fields.
- Fixed checkbox display in form fields by applying blend mode for widget highlighting.
4.3.4
29 January 2025
Fixed
- Prior to this update, when you downloaded a PDF Viewer SDK trial version, the trial license included with the PDF Viewer SDK by default was invalid. As a consequence, the SDK displayed an invalid license error. With this update, we replaced the invalid key with a valid key. As a result, you can now test the SDK without encountering an invalid license error.
- The preview panel with thumbnails of PDF files was previously crashing due to a race condition. With this update, the error is handled properly. As a result, previews of PDF files are displayed correctly, and the described error no longer occurs.
4.3
24 April 2024
Added
- Redaction icon for custom button to call the SDK redaction feature.
- Safari optimizations, HTTP options are now provided on a separate build.
Fixed
- You can now resize image stamps to their original size if smaller than a minimal defined size.
- Memory exception happening on large documents in single page mode.
- Issue with saved shape annotations with 1pt width stroke disappearing when editing and reloading multiple times.
- Transparent sticky annotations now have a fallback black color.
4.2
13 April 2023
Added
WebViewerOptionto disable the main toolbar and the annotation toolbar. You can use this option to create your own custom toolbars.viewer.general.disableMainToolbar: booleanviewer.general.disableAnnotationToolbar: boolean
WebViewerOptionto disable the annotation lock feature.viewer.permissions.allowLockAnnotations: trueviewer.permissions.allowEditLockedAnnotations: false
PdfWebViewer.getSelectedText(): string. Returns selected text.- Method
PdfWebViewer.print() void. Opens the print dialog. - Method
PdfWebViewer.zoomIn(): void. Sets the zoom to the closest higher predefined zoom level. - Method
PdfWebViewer.toggleInformationPane(): void. Toggles the visibility of the information pane. - Event
textSelected: stringforPdfWebViewer. - Event
documentClosed: voidforPdfWebViewer.
4.1
3 March 2023
Added
WebViewerOptionto highlight the current page in the PDF Viewer SDK.viewer.general.currentPageShadowshadowBlur: numbershadowColor: stringshadowOffsetX: numbershadowOffsetY: number- The
WebViewerOptionlets you define custom permissions for annotations. You can restrict the permissions to a specific user.annotation.annotationPermissionCallback: (annotation: Annotation, user: string) => boolean
- Improved eraser tool. The radius for the eraser can now be adjusted in the user interface (UI).
4.0.1
2 February 2023
Fixed
- An issue where
hasChanges()returnednullwhen multiple types of changes were made. - An issue that prevented from filling the form fields.
- The
textsearchno longer interprets braces as part of a regular expression unless a regular expression option is enabled. - Previously, when a page was rotated, stamp annotations could only follow the page rotation. With this update, you can rotate
stampannotationsindependently of the page rotation. - Interaction with annotations on right half of the viewport in SinglePage mode.
4.0
14 November 2022
Added
WebViewerOptionto disable view rotation.viewer.permissions.allowRotateView
WebViewerOptionto disable page layout mode.viewer.permissions.enablePageLayoutMode
WebViewerOptionto open the page navigation with a specific tab.viewer.sidebar.selectedNavigation?: 'thumbnail' | 'outline' | 'annotation'
- Improved edit existing annotations.
- Shape annotations
- Ink annotations
- Highlight annotations
- Tool to create rectangular highlight annotations.
- Properties for
HttpOptionsfor theopenmethod:mode?: 'cors' | 'no-cors' | 'same-origin'cache? 'default' | 'no-cache' | 'reload' | 'force-cache' | 'only-if-cached'credentials?: 'include' | 'same-origin' | 'omit'redirect?: 'manual' | 'follow' | 'error'referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross' | 'unsafe-url'
- Properties for
ViewOptionsfor theopenmethod:initialPageNumber?: numberinitialZoom?: number
- Improved general visual appearance and user experience.
Version 3
3.11.1
10 January 2023
Added
- Option
WebViewerOptions.viewer.permissions.allowCopyTextto prevent copying of text from the PDF file. The default value istrue.
Fixed
- When calling
startSearchmultiple times, the search input field is now updated with the new search term. - An issue that prevented the PDF Viewer SDK from evaluation without configuring a license key.
3.11
20 October 2022
Added
- Method
PdfWebViewer.getPageNumber(): number | null. Get the currently most visible page. - Method
PdfWebViewer.getZoom(): number | null. Get the viewer zoom. - Method
PdfWebViewer.getFitMode(): PdfFitMode | null. Get the current fit mode. - Method
PdfWebViewer.getPageLayoutMode(): PdfPageLayoutMode | null. Get the current page layout mode. - Method
PdfWebViewer.getRotation(): number | null.- Get the viewer rotation property value.
- Method
PdfWebViewer.hasChanges(): DocumentChange | null.- Check whether there are unsaved changes in the document.
- Method
PdfWebViewer.showInformationPane(selectedPane?: 'thumbnail' | 'outline' | 'annotation'): void. Opens the information pane and selects the given pane. - Method
PdfWebViewer.hideInformationPane(): void. Closes the information pane. - Method
PdfWebViewer.startSearch(text: string, searchOptions: SearchOptions): void. Opens the search tool bar and starts a new search with the given text. - Method
PdfWebViewer.nextSearchMatch(). Highlights the next search result - Method
PdfWebViewer.previousSearchMatch(). Highlights the previous search result - Method
PdfWebViewer.endSearch(). Stops the current search and closes the search tool bar - New events for
PdfWebViewer.pageNumberChanged: numberzoomChanged: numberrotationChanged: numberfitModeChanged: PdfFitModepageLayoutModeChanged: PdfPageLayoutModedocumentChanged: void
3.10.1
5 October 2022
Fixed
- Annotation filtering that yielded unpredictable results when filtering annotations from PDF files with duplicate annotation names. This described issue has been fixed.
- Saving to FDF format no longer returns errors if any annotations are illegal to save to FDF, but only if it is actually being saved.
3.10
28 September 2022
Added
- Eraser tool for deleting individual lines in free-hand drawings.
- Translation keys available for the eraser tool:
eraser.begineraser.deleteFreeDrawingLines
- Keyboard shortcut to cancel the current annotation tool. The default shortcut binding is Esc.
shortcuts.cancelEditAnnotation
- Method
open(pdfFile, fdfFiles?, password?, renderOptions?, viewOptions?).Open a PDF and optionally one or more associated FDFs. - Method
save(saveOptions). Return the opened PDF asBlobto be used. For example to save the file.
Changed
- Deprecated
openFileuse the newopenmethod instead. - Deprecated
openFDFuse the newopenmethod instead. - Deprecated
saveFileuse the newsavemethod instead.
3.9
8 November 2022
Added
- Preview for text markup annotations (highlight, underline, strike out) in annotation information pane.
sidebar.annotationNavigation.textMarkup.preview
3.8
15 June 2022
- Support custom buttons, configurable with the following options:
viewer.customButtons.documentbarviewer.customButtons.informationbarviewer.customButtons.annotationbar
3.7
18 May 2022
Added
- Support for rectangular text selection, configurable with the option.
viewer.general.rectangularTextSelection
3.6
21 April 2022
Added
- Translation key
contextbar.openPopup. - Support for rotating free-text annotations.
- Support for custom shortcuts. Specifiable shortcuts in the WebViewerOptions:
shortcuts.zoomInshortcuts.zoomOutshortcuts.nextPageshortcuts.previousPageshortcuts.firstPageshortcuts.lastPageshortcuts.scrollUpshortcuts.scrollDownshortcuts.scrollLeftshortcuts.scrollRightshortcuts.releaseSelectionshortcuts.copyshortcuts.printshortcuts.cancelPrintshortcuts.resetZoomshortcuts.fitToPageshortcuts.fitToWidthshortcuts.rotateViewshortcuts.saveshortcuts.searchshortcuts.searchNextshortcuts.searchPreviousshortcuts.closeSearchshortcuts.toggleSidePaneshortcuts.showAnnotationsshortcuts.showOutlineshortcuts.showThumbnails
Changed
- Rendering of form fields. Interactive form fields are now highlighted.
3.5
1 April 2022
Added
- You can now evaluate (try out) the PDF Viewer SDK without a license key.
Changed
- When operating without a productive license. A watermark is displayed if no license key is set or when setting an evaluation license key. An evaluation license with disabled watermark can be provided upon request.
3.4
23 February 2022
Added
The PDF Viewer SDK is now available on npmjs.com.
3.3
Added
- Improved ink annotations:
- Improved resizing behavior.
- Improved bounding box computation for large line widths.
- Improved drawing of small ink lines.
- Line caps and joins changed to
round.
3.2
Added
- Improved mobile and responsive view:
- Responsive collapsing of toolbars.
- The outline-pane is now available for small mobile devices.
- The annotations-pane is now available for small mobile devices.
Changed
- A complete redesign of the CSS.
- Existing customer-specific style adjustments can be revised.
- The font family is no longer overwritten but inherited from the document.
3.1
Added
- Support for tooltips for all supported languages (English, German, French, and Italian). You can set the new tooltip mode with
WebViewerOptions.viewer.general.tooltips. Allowed values are:- Enable tooltips:
'title' - Disable tooltips:
'none' - A CSS to configure the tooltips. Use:
'css'
- Enable tooltips:
- Improved translation to French.
- New support for a close button. This button can be enabled or disabled with the new option
WebViewerOptions.permissions.allowCloseFile. The new callbackonCloseFileButtonClicked?()can be optionally used. - Support for external translation files in JSON format. Supported keys are:
openFile.dropFileHereopenFile.openFileDisabledopenFile.openDocumentopenFile.selectFileopenFileError.descriptionopenFileError.okloadFile.titlesaveFile.titlepasswordForm.descriptionpasswordForm.okpasswordForm.cancelpasswordForm.passwordRequiredErrorpasswordForm.invalidPasswordErrorapplicationLoader.titleapplicationError.titleapplicationError.reloadapplicationError.defaultMessageapplicationError.invalidLicenseunsavedChanges.descriptionunsavedChanges.saveunsavedChanges.dontSaveunsavedChanges.cancelsearch.inputPlaceholdersearch.optionCaseSensitivesearch.optionWrapsearch.optionRegularExpressionsearch.previousMatchsearch.nextMatchsearch.optionssideNavigation.thumbnailssideNavigation.outlinesideNavigation.annotationsideNavigation.annotation.pagesideNavigation.annotation.historypageLayoutMode.oneColumnpageLayoutMode.singlePagepageLayoutMode.twoColumnLeftpageLayoutMode.twoColumnRightpageLayoutMode.twoPageLeftpageLayoutMode.twoPageRightfitMode.pagefitMode.widthfitMode.nonetoolbar.openDocumenttoolbar.closeDocumenttoolbar.printtoolbar.saveDocumenttoolbar.nextPagetoolbar.previewsPagetoolbar.pageOftoolbar.zoomtoolbar.zoomIntoolbar.zoomOuttoolbar.rotateViewtoolbar.searchtoolbar.toggleSidePaneannotText.addannotFreeDrawing.addannotFreeDrawing.opacityannotFreeDrawing.strokeWidthannotFreeDrawing.undoannotFreeDrawing.addNewannotFreeDrawing.deleteLineannotFreeText.addannotFreeText.editannotFreeText.fontFamilyannotFreeText.fontSizeannotFreeText.fontColorannotFreeText.bgColorannotFreeText.borderWidthannotFreeText.alignLeftannotFreeText.alignCenterannotFreeText.alignRightannotFreeText.boldannotFreeText.italicannotFreeText.underlineannotFreeText.lockannotFreeText.unlockannotFreeText.subjectPlaceholderannotHighlight.addannotHighlight.highlightannotHighlight.underlineannotHighlight.squigglyannotHighlight.strikeOutannotStamp.addannotStamp.chooseStampannotShape.addannotShape.addRectangleannotShape.addEllipseannotShape.strokeColorannotShape.strokeWidthannotShape.strokeStyleannotShape.bgColorannotImage.addannotPopup.deleteannotPopup.lockannotPopup.unlockannotPopup.colorannotPopup.subjectPlaceholderannotPopup.contentPlaceholdercontextbar.rotatecontextbar.editPopupcontextbar.addPopupcontextbar.deletePopupcontextbar.lockcontextbar.unlockcontextbar.deletecontextbar.confirmDeletecontextbar.cancelDeletecontextbar.copyTextcontextbar.highlightTextcontextbar.underlineTextcontextbar.squigglyTextcontextbar.strikeOutTexterrors.invalidLicensestamptext.approvedstamptext.notApprovedstamptext.draftstamptext.finalstamptext.completedstamptext.confidentialstamptext.forPublicstamptext.notForPublicstamptext.voidstamptext.forCommentstamptext.preliminaryResultsstamptext.informationOnlyprint.titleprint.allprint.currentprint.rangeprint.invalidprint.printprint.cancelborder.none
Changed
- Icons for freetext annotation and fitmode page.
Version 2
Added
-
Filling form fields support:
- Text fields
- Check boxes
- Radio buttons
- List boxes
- Drop down
Enable or disable filling form fields with the option
WebViewerOptions.forms.enabled. -
Support for pre-configuring stamp annotations created from pages of a PDF file.
-
Viewing-only mode with disabled editing of annotations and form filling capability. This mode is entered automatically if the license key does not support editing. Additionally, you can enable or disable the viewing-only mode with the option
WebViewerOptions.viewer.general.viewOnly. -
Support for preventing the modification and deletion of all annotations except the currently configured author’s. You can enable or disable this restriction with the new option
WebViewerOptions.annotation.onlyAuthorCanEdit. -
Double-click selects words.
-
Improved scrolling sensitivity for mobile devices.
-
French translation.
Changed
- In the side pane, the title texts are substituted with icons.
- In the page mode selection user interface, the texts are substituted with icons.