Version 8.0.0 Changelog (2021-07-19)
Breaking changes
See v8 migration guide for information on the breaking changes.
Technically not a breaking change, but there are new namespaces on the instance object for Core and UI. You can find more details and examples inside the migration guide.
WebViewer Core
New
Added the
FormFieldCreationManageras well as several new tools to allow users to create form fields. Note that these new tools are used in the UI's new forms toolbar.Added the ability to view
doc,xlsandpptfiles completely on the client sideAdded support for adding/editing/reorganizing bookmarks in the outline panel. Note that
fullAPI: trueneeds to be enabled.Added support for rotating freetext, stamp, rectangle and ellipse annotations
Added a new
Corenamespace which replaces theCoreControlsnamespace and now contains all the other namespaces (e.g. Annotations, Tools, etc). Note that the previous namespace structure is still usable but deprecated. See the migration guide for more detailsAdded support for adding 3D annotations to a document in WebViewer. Note that the annotations can be saved in XFDF but are not currently merged into the PDF when downloading.
Updated the three-panel Diff Documents sample to have better performance, handle rotation better and show differences in annotations
Added APIs for office file template filling
doc.getTemplateKeysanddoc.applyTemplateValues, as well as a sample that demonstrates how to use themUpdated the version of
PDFNetused to version 9.0. All Apryse SDK 9.0 APIs are available with the full API.Added support for passing initialization options into Annotation constructors (e.g. X, Y, Width, FillColor, etc)
Updated a number of APIs to be of the form
enableXYZ/disableXYZ. The previous APIs are still available for backwards compatibility.Renamed
CoreControls.jstowebviewer-core.min.jsUpdated annotation linking to use the normal grouping APIs instead of special link only APIs
Added support for scrolling a document with two fingers on mobile devices
Added the
fieldManager.areRequiredFieldsFilledAPI that returns true if all required fields in the current document have a valueAdded the
fieldManager.getFieldsAPI which returns an array of all fields in the document, including nested fieldsAdded a tool for creating freehand highlight annotations, typically used for highlighting images or text on scanned documents
For files with no extension specified or contained in the URL, WebViewer will attempt to read the Content-Type header to determine the type of file
Removed the
WidgetEditingManageras it has been replaced by theFormFieldCreationManagerUpdated the
annotationManager.jumpToAnnotationAPI to take optional optionszoom,horizontalOffset,verticalOffsetandfitToViewImproved the performance of automatic page linking so that it doesn't slow down the
annotationsLoadedeventAdded the
document.updateRasterizerOptionsAPI which allows a number of document rasterizer options to be applied when rendering pages.Added the
freetextAnnotation.setAutoSizeTypeAPI which lets the type of autosizing being used be changed programmaticallyAdded the
useStampAPI on theRubberStampCreateTool. When called on an instance of this tool it will immediately create a stamp with the provided properties that can be added to the page.Updated the
setCustomDatafunction to only take in strings, and thegetCustomDatafunction to only return strings. TheCustomDataproperty has been removed. This is for compatibility with other platforms and more information can be found in the migration guideAdded better crash reporting for office documents
Added support for displaying file attachment annotations created by Outlook
Added support for displaying the appearance of readonly text widgets
Added constants for stamp annotation icon files
Annotations.StampAnnotation.IconNamesAdded the
documentViewer.setDefaultPageColorAPI which sets the background color for pagesAdded support for symmetric annotation resizing. Holding alt/option and resizing will maintain the center point while resizing in all directions. Holding alt/option and shift while resizing will do the same thing while also maintaining the aspect ratio.
Improving the zooming behavior so that annotations don't blink when changing the zoom level
Updated annotation
NoZoomrendering to be consistent. Now all annotations will properly render with theNoZoomproperty set to true.Added support for the
documentFileNameproperty in embedded JSAdded support for displaying different checkbox and radio button styles (e.g. circle, square, star, cross, rectangle, diamond)
Added the
refreshAppearancesAPI on field objects which will refresh the appearance of each widget associated with that fieldWhen
deselectAllAnnotationsis called, now theannotationSelectedevent will return an array of the previously selected annotations, not nullUpdated the expected property name of the parameter to
documentViewer.selectto bepageNumberinstead ofpageIndexUpdated the pageList parameter passed to setPagesUpdatedInternalAnnotationsTransform from 0-indexed page numbers to 1-indexed
Fixes
Fixed issue where a freetext annotation with a callout intent is treated as a normal freetext if there are no callout line values
Fixed issue where the measurement value for perimeter and area annotations wasn't being updated as the annotation was created
Fixed issue where using
DocumentViewerdirectly inside an Angular project wouldn't fire iframe loading events properly because of how Angular changes the event handlingFixed issue where the
documentViewer.setViewportRenderModeAPI wasn't working properlyFixed issue where the text height wasn't calculated properly for freetext annotations in Safari
Fixed issue where autosized freetext annotations didn't work correctly on rotated pages
Fixed issue with some embedded JS scripts in IE11
Fixed issue where undo didn't work in certain cases
Fixed issue with surrogate handling in XOD rendering
Fixed issue where Firefox and Safari were scaling down checkboxes unnecessarily
Fixed issue where page open actions for the first page wouldn't fire if the document loaded wasn't the first one
Fixed issue where the optimize script wouldn't work with the npm package
Fixed issue where signatures with a white background weren't able to be signed
Fixed issue where freetext annotations could be partially initialized in a bad state programmatically
Fixed issue where XOD canvas elements with opacity wouldn't be blended correctly
Fixed issue where WebViewer was capping the maximum font size for auto-sized text widgets
WebViewer UI
New
Added a new "Forms" toolbar which provides tools to create different form fields. A form style menu is also available to edit various styles on existing form fields.
Added a "Fill and Sign" toolbar which provides tools to more easily fill and sign documents that don't include fillable forms (e.g. scanned documents)
The legacy UI will no longer be updated to work with WebViewer Core 8.0 or newer versions
Added the
UInamespace on the WebViewer instance object. This namespace includes all UI APIs and constants.Added the
addEventListenerandremoveEventListenerAPIs on theUInamespace to more easily listen to events fired by the UI.Added support for viewing, adding and modifying text annotations in reader mode
Added the
instance.UI.enable/disableDesktopOnlyModeAPIs which prevents the UI from making adjustments to the UI on smaller screensChanging the freetext fill and stroke will now update the icon color in the UI
Improved handling of nested and locked layers in the layers panel
Updated the page navigation component to automatically fade out after a period of inactivity so that it doesn't block the page content. It will return when scrolling or hovering. The
instance.UI.disableFadePageNavigationComponentAPI is available if you would like to disable this behavior.Added support for multiple page selection in the thumbnail panel with shift + click
Updated extract pages modal to allow the extracted pages to be removed at the same time
Added support for sorting and filtering by annotation color in the notes panel
Adjusted the behavior of the annotation style popup so that if there was not enough space on the bottom or top of the annotation it would position itself on whichever side had more space
Added
instance.UI.disablePageDeletionConfirmationModalto disable the delete page modal that appears when deleting pages from the thumbnail panelWhen dragging more than one file into the thumbnail panel now all files will be merged
Added support for wildcard matching in configorigin.txt file. This means you can use the
*character as a wildcard for matching allowed origins.Added the
selectedThumbnailChangedeventAdded
instance.UI.enable/disableToolDefaultStyleUpdateFromAnnotationPopupwhich prevents the default tool styles from updating when annotation styles are changedUpdated the thumbnail panel slider styling to be consistent across browsers
Added support for disabling zooming with the mouse wheel through
instance.UI.disableFeatures([instance.UI.Feature.MouseWheelZoom])Added a cloudy rectangle area measurement tool to the default measurement toolbar
Removed the "Subject" label in the printed note summary if there was no subject defined on the annotation
Fixes
Fixed issue with styling header items when the header layout is reversed
Fixed issue where the rectangle used for cropping was visible in the notes panel
Fixed issue where enabling the MathSymbols feature didn't also enable the richtext popup
Fixed issue where the thumbnail panel shows the incorrect text value when only one thumbnail is selected
Fixed issue where text inside the header ribbon dropdown would overflow in some languages
Fixed issue where the ribbons wouldn't be centered when more buttons are added to the header
Fixed issue where in IE you were not able to scroll all the way over horizontally when zoomed in
Fixed issue where the opacity level of the annotation tools wasn't updated when the annotation was updated
Last updated
Was this helpful?