Changelog
Follow us on Twitter for updates. Our blog highlights the best new features and changes.
Newest Release
2020.6.4 - 12 Jan 2021
UI
- AddedAdds drag and drop support in the document editor for mobile devices. (#26804)
- ChangedImproves ink drawing performance. (#27035)
- FixedFixes an issue where document editor move dialog did not handle focus correctly. (#27282)
- FixedFixes an issue where thumbnails were not displayed initially after opening the document editor in Chrome. (#26952)
- FixedFixes an issue with the caret position and autoselection of the content of text annotations in Safari. (#4224)
- FixedFixes an issue with the initial selection when using
PSPDFKit.instance#setEditingAnnotation
. (#4224) - FixedFixes an issue where it was possible to erase read-only ink annotations. (#27067)
Model
- ChangedDecreases ammount of signature refreshes to improve performance and network usage. Signatures are now refreshed only when the document is signed and not modified. (#27128)
- FixedFixes an issue where annotations not marked for printing were visible when using
PrintMode.EXPORT_PDF
. (#25926)
Previous Releases
2020.6.3 - 27 Nov 2020
No web-specific changes in this version.
2020.6.2 - 19 Nov 2020
UI
- ChangedStarts fetching Wasm artifacts earlier. (#26580)
- FixedFixes an issue that was causing note icons buttons to not have hover or active styles. (#26768)
- FixedFixes an issue when scrolling through a large document using the arrow keys. (#26271)
- FixedFixes an issue where
isEditableAnnotation
callback was not used to decide whether the annotation should be editable when the document was read-only. (#25899) - FixedFixes an issue where
isEditableComment
callback was not used to decide whether comment should be editable when the document was read-only. (#26555) - FixedFixes an issue where annotation hit testing would fail after signing or applying document editor operations when first page was not the current page. (#26490)
- FixedFixes an issue where highlight annotations would be rendered opaque when AP stream rendering was enabled on Legacy Edge and IE11. (#26611)
- FixedFixes an issue where markup annotations in rotated pages would be rendered with a wrong, non rotated orientation. (#26281)
- FixedFixes an issue where previewed redactions overlay text wasn’t visible on small heights. (#25304)
- FixedFixes an issue where the add bookmark button was hidden when annotation toolbar was open. (#26226)
- FixedFixes an issue where the ink signature dialog would restore focus to the wrong DOM element when closed. (#26579)
- FixedFixes conditions where opening a dropdown menu would cause the page to scroll down unexpectedly. (#26102)
- FixedFixes an issue where free-form highlights lost opacity after activating eraser when image annotation existed on the page. (#25308)
- FixedFixes an issue where invalid comment counts were displayed after changing selection between comment thread roots via
setSelectedAnnotation
. (#26856) - FixedFixes an issue where leaving combobox dropdown via Escape key could lead to a crash. (#26875)
Model
- ChangedImproves performance with path drawing by removing unnecessary path operations. (#25922)
- ChangedImproves text search performance for large documents on Server deployments. (#25318)
- FixedFixes a crash when a link annotation with an unsupported action was rendered. (#25730)
- FixedFixes an issue where border color wasn’t properly read for widget annotations. (#25317)
- FixedFixes an issue where ellipse, rectangle and polygon annotations without
cloudyBorderIntensity
set would lose their original AP stream. (#26568) - FixedFixes an issue where signature AP streams were not correctly rendered when instant was set to
false
. (#26634) - FixedFixes an issue where text annotations with a callout property would throw an error instead of rendering a fallback appearance. (#26553)
- FixedFixes conditions where the
ViewState.change
wouldn’t always fire. (#25881)
Core
- AddedAdds support for finding the correct form field type in non-conforming PDF files. (#26459)
- FixedFixes an issue where forms were not repaired before trying to set form values. (#26004)
- ChangedImproves rendering performance of documents with lots of image patterns. (#26186)
- FixedFixes an issue where partially redacted curved path objects may be misdrawn. (#26698)
2020.6.1 - 27 Oct 2020
Core
- FixedFixes CVE-2020-15999 in upstream dependency Freetype. (#26610)
2020.6.0 - 20 Oct 2020
See the announcement post.
UI
- AddedAdds per annotation AP stream rendering support through
PSPDFKit.Configuration#isAPStreamRendered()
. (#25297) - AddedAdds support for annotation notes. (#25626)
- AddedAdds support for using custom fonts on Standalone deployments. (#25356)
- AddedAdds a new configuration option
restrictAnnotationToPageBounds
that restricts the movement of annotations to the page boundary. (#25240) - AddedAdds missing attachments error reporting when using custom stamp annotation templates. (#25285)
- AddedAdds title to container iframe to improve accessibility. (#26034)
- ChangedImproves how comment threads are creating when using the keyboard. (#25751)
- ChangedImproves how currently selected page is announced to screen readers on thumbnails sidebar. (#26035)
- ChangedImproves how focus is moved from open dropdown to next item. (#25788)
- ChangedImproves how slider dropdowns are accessed using the keyboard. (#25781)
- ChangedImproves how text and note annotations are created using the keyboard. (#25751)
- ChangedImproves how toolbar dropdowns are used with the keyboard and announced by assistive technology. (#4752)
- ChangedImproves selection of dropdown options using the keyboard while an annotation is selected. (#4793)
- ChangedImprove keyboard navigation and screen readers support on annotation toolbar responsive groups. (#26029)
- ChangedImprove navigation with left and right keys for multi-column dropdowns. (#25791)
- ChangedPrevent an invisible image picker from being announced by assistive technology. (#26227)
- ChangedUpdated toolbar icons to increase their contrast and fix the fill of some icons. (#25167)
- FixedFixes a crash when pressing Escape with focus on the layout config button. (#25789)
- FixedFixes an issue that prevented the user from copying text from an input field with the UI in Firefox. (#25790)
- FixedFixes an issue where AP streams of button widget would disappear when focused. (#25145)
- FixedFixes an issue where deleting an annotation with the key shortcut would end up scrolling the view up. (#25286)
- FixedFixes an issue where dropdown of currently selected item class wasn’t properly set when opened. (#26211)
- FixedFixes an issue where initially selected toolbar buttons would not appear highlighted. (#26163)
- FixedFixes an issue where text annotation’s AP streams would be invalidated without prior modification of any visual property. (#25543)
- FixedFixes an issue where text selection on rotated pages would have the wrong direction. (#25345)
- FixedFixes an issue where the inline markup toolbar would appear in a wrong position on rotated pages. (#25345)
- FixedFixes flash when opening dropdowns on IE11 and legacy versions of Edge. (#26151)
- FixedFixes toolbar item activation while an annotation is selected. (#4793)
- FixedFixes an issue on macOS Safari that prevented use of left and right keys to move annotations. (#26422)
- FixedFixes an issue where it was possible to delete a comment thread by pressing Backspace. (#25831)
- FixedFixes an issue where pressing Backspace in Firefox and IE11 caused the browser to navigate back in the history. (#26461)
Model
- AddedAdds
Configuration#customFonts
to allow loading an array of custom fonts to use on Standalone deployments. (#25356) - AddedAdds the rotation property to
PSPDFKit.PageInfo
. (#26152) - AddedAdds
flattenAnnotation
document editing operation. (#25287) - ChangedImproves the error message shown when requiring the Form Designer component. (#25815)
- FixedFixes an issue where the typings for the
instance.search
API was wrong. (#26038) - FixedFixes an issue where widgets AP streams were not rendered if the form field value was initially set in Standalone mode. (#26295)
- FixedFixes an issue where some annotations did not have correct TypeScript declarations. (#25910)
Core
- ChangedImproves WebAssembly download and initialization performance by reducing the binary size. (#25893)
- ChangedImproves loading performance for documents that have broken internal links (named destinations). (#24398, #26099)
- ChangedEnhances the flattening of note annotations by rendering the root comment rather than the note icon. (#22673)
- FixedFixes OOM errors when loading large documents. (#25654)
- FixedFixes a crash that could happen when creating form fields. (#25806)
- FixedFixes an issue where OCR could not be performed on a certain image due to an incorrect render scale. (#26118)
- FixedFixes an issue where appearance streams weren’t re-generated when using the processor even though “NeedAppearances” was set in the PDF. (#26123)
- FixedFixes an issue where documents with high object numbers were identified as corrupt. (#26062)
- FixedFixes an issue where form elements were included in the page rendering which shouldn’t have been. (#25799)
- FixedFixes an issue where warning messages were displayed in other readers when flattening a signature form field. (#25923)
- FixedFixes duplication of newly created pages in the Document Editor. (#26074)
- FixedFixes form field JavaScript actions in the generated documents when merging two or more documents together. (#25603)
- FixedFixes the PDF JavaScript function
getNthFieldName
to return the FQN of the form field. (#26144) - FixedFixes text clipping for form fields exceeding their maxLen due to programmatic changes. (#26340)
- FixedFixes an issue in the Document Editor when adding an item to an imported page. (#25837)
Examples
- FixedFixes a runtime JavaScript error in the “Customize annotations” example. (#25855)
- FixedFixes an issue where the Form Designer example would fail when AP stream rendering was enabled. (#25546)
- FixedFixes the “What’s new” top link in the public Catalog by pointing it to the changelog. (#25655)
2020.5.1 - 10 Sep 2020
No web-specific changes in this version.
2020.5.0 - 10 Sep 2020
See the announcement post.
UI
- AddedAdds support for moving pages by dragging them or via a dialog in the Document Editor. (#25178)
- ChangedImproves interaction with toolbar responsive groups using the keyboard. (#2513)
- ChangedImproves keyboard navigation and screen reader support for annotation toolbars on desktop. (#4775)
- ChangedImproves styling of notes popovers to ease opting out from gradient rendering. (#25316)
- ChangedImproves how toolbar dropdowns are used with the keyboard and announced by assistive technology. (#4752)
- ChangedUpdates image request handling on Server deployments to use XHR requests also in Firefox. (#25263)
- FixedFixes a race condition where network requests made by an unloaded instance weren’t cancelled. (#25292)
- FixedFixes an issue where
annotations.create
andannotations.update
event were not getting called at the right time for ink, shape and note annotations. (#4655) - FixedFixes an issue where clients presence wasn’t updated after unloading an instance. (#25141)
- FixedFixes an issue where the font was not correctly auto-resized in multiline widgets in absence of newline character. (#25098)
- FixedFixes an issue where the preset wasn’t selected when the Signature Modal was opened by clicking on the Signature Widget Annotation. (#25599)
- FixedFixes an issue with the TypeScript declaration for
Configuration#toolbarItems
. (#25164)
Model
- APIAdds extended API for comments. (#25470)
- APIAdds
Instance#getComments()
to retrieve all comments in the document. - APIComments can now be created/updated/deleted/saved via the new unified API.
- APIAdds events related to comments saving and changes.
- APIAdds unified API for creating, updating, deleting and saving objects. (#4837)
- APIAdds new methods to
Instance
to allow performing operations on a batch of changes:create
,update
,delete
,hasUnsavedChanges
andensureChangesSaved
. Supports annotations, bookmarks, form fields, form field values and comments. - APIAdds
PSPDFKit.generateInstantId
for generating unique ID for changes. - APIDeprecates
Instance
methods for performing modifications and saving changes:create*
,update*
,delete*
,save*
,ensure*Saved
,hasUnsaved*
. Use the new unified API instead.
- API
Instance#save
andInstance#ensureChangesSaved
now report errors when save fails. (#25505) - AddedAdds support to add line cap and line width presets. (#25118)
- AddedAdds support to set default color presets for highlights, note and text markup. (#25118)
- ChangedImproves error message when document permissions don’t allow form editing. (#25525)
- FixedFixes an issue that prevented setting interaction mode as part of initialViewState. (#25506)
- FixedFixes an issue where instant comments weren’t being auto-saved in intelligent mode. (#25331)
- FixedFixes an issue where the printed PDF didn’t include annotations if it was done just after loading a PDF. (#25579)
- FixedFixes error when opening documents with forms more than once in Edge Legacy. (#25135, #25371)
- FixedFixes an issue where Bézier paths were drawn incorrectly when a miter limit was set. (#25758)
Core
- AddedAdds support for PEM format PKCS#1 private keys for use with digital signatures. (#24919)
- ChangedImproves Processor behavior when license doesn’t include the forms component. (#24604)
- ChangedImproves font rendering in forms with Chinese, Japanese, Korean and Thai characters. (#24337)
- ChangedImproves the log messages when a license bundle ID check fails. (#25572)
- ChangedOCR now uses NEON and AVX intrinsics for better performance. (#24870)
- FixedFixes a crash that could happen as a result of a race condition when form fields were repaired and the page was rendered at the same time. (#24885)
- FixedFixes a problem where signing a document with existing digital signatures may invalidate them. (#24780)
- FixedFixes an issue where appearance streams of form field widgets weren’t preserved correctly. (#25550)
- FixedFixes an issue where text form fields weren’t displayed correctly after flattening due to their appearance stream being wrong in the original document. (#24918)
- FixedFixes duplicate string occurrences when copy and pasting from documents with duplicate content. (#25108)
- FixedFixes issues where pages were not moved correctly when using the document editor API. (#24939)
- FixedFixes the saving of small shapes with large line widths. Shapes with these characteristics in documents saved by PSPDFKit will now be visible on any reader. (#25531)
- FixedFixes an issue where the digital signature advanced properties contained the signature creator twice. (#25611)
Examples
- FixedFixes the ‘What’s new’ top link in the public Catalog by pointing it to the changelog. (#25655)
2020.4.2 - 04 Aug 2020
Model
- FixedFixes an issue where JWT with a payload containing unicode characters got rejected. (#4810)
- FixedFixes an issue where documents would not open in Standalone mode in Edge unless
disableWebassemblyStreaming
was set totrue
. (#4834)
Core
- FixedFixes an issue where text with word or character spacing was shifted after redaction has been applied. (#C24476)
- FixedFixes an issue where objects rendered with the Overlay blend mode didn’t always render correctly. (#C24298)
2020.4.1 - 22 Jul 2020
Model
- APIAdds support for regex and pattern search in the
Instance#search
API. (#4729) - APIAdds support to search in annotations in the
Instance#search
API. (#4729) - APIAdds
isAnnotation
andannotationRect
inPSPDFKit#SearchResult
. (#4729) - APIAdds optional
baseUrl
parameter toPSPDFKit.I18n.preloadLocalizationData
andPSPDFKit.preloadWorker
. (#4751) - AddedAdds public CSS classes for ink signature dialog. (#4770)
- FixedFixes an issue where values of form fields returned via
Instance#getFormFields()
was not set. (#3909) - FixedFixes an issue where updating a form field erased its current value. (#4707)
- FixedFixes an issue where
placeholderSize
parameter used when signing the document was ignored in standalone. (#4780) - FixedFixes an issue where some parts of the API had missing or incorrect type definitions. (#4708, #4689)
UI
- ChangedImproves semantic description of the markup annotation toolbar. (#4714)
- ChangedImproves support of screen readers on browse mode. (#4717)
- ChangedImproves how toolbar responsive groups are announced to screen readers. (#4715)
- ChangedImproves interaction with comment threads through assistive technology. (#4716)
- ChangedImproves accessibility of color pickers. (#4779)
- FixedFixes an issue where an annotation would get stuck to the cursor and get dragged after a right click on it. (#4773)
- FixedFixes an issue where the Markup Highlighter shifted when the selected text had leading or trailing space. (#4656)
- FixedFixes an issue where clicking a comment thread could trigger navigating to the next page. (#4719)
- FixedFixes an issue where new image annotations would not update their opacity when modified with the UI. (#4814)
Examples
- FixedFixes an issue where an error would be thrown when loading a custom document. (#4748)
- FixedFixes an issue where downloading a PDF from the Catalog would crash on mobile Safari. (#3810)
Core
- FixedFixes an issue where umlauts were displayed wrong in certain documents because the wrong encoding was used when shaping the text. (#C24465)
- FixedFixes a very rare crash on certain documents when multiple pages were rendered at the same time. (#C24598, #C24626)
- FixedFixes a problem where some certificates with CRL distribution point extensions may not be validated correctly. (#C24660)
- FixedFixes an issue where our text parser returned descending characters from the line above the intended search area. (#C24709)
2020.4.0 - 14 Jul 2020
No web-specific changes in this version.
2020.3 - 30 Jun 2020
See the announcement post.
UI
- AddedAdds the ability to redact documents by drawing redaction annotations over text or an arbitrary area. (#4536)
- AddedAdds new toolbar item types
redact-text-highlighter
andredact-rectangle
to create redaction annotations. These toolbar buttons are disabled by default. (#4585) - AddedAdds detailed error messages in UI when PSPDFKit fails loading. (#4310)
- AddedAdds missing accessibility descriptions for certain modals. (#4475)
- AddedAdds support for rendering AP stream in signed signature widgets. (#4503)
- AddedAdds missing translation for Document Editor toolbar button. (#4577)
- RemovedRemoves transparent color from foreground color pickers because it resulted in a wrong annotation rendering. (#3785)
- FixedFixes an issue where dropdowns won’t close when clicked somewhere else in certain browsers. (#4424)
- FixedFixes an issue where modifications performed after a failed digitally signing attempt weren’t persisted. (#4433)
- FixedFixes an issue where screen readers would read each page entirely when they were focused. (#4267)
- FixedFixes an issue where text could not be entered into form fields under certain conditions. (#4232)
- FixedFixes an issue where dropdown items would still be highlighted even when the mouse was not hovering over them. (#4497)
- FixedFixes an issue where annotations sidebar count included comments. (#4528)
- FixedFixes an issue where the same
annotations.press
event was emitted twice. (#4512) - FixedFixes an issue where annotations would change their rendering order when the view is rotated on macOS Safari in Standalone mode. (#4158)
- FixedFixes an issue where annotations would lose their blend when the view is rotated on some browsers in Standalone mode. (#4298)
- FixedFixes an issue where note annotation’s text would be hidden in rotated view on Windows Chrome in Standalone mode. (#4329)
- FixedFixes an issue where text annotation’s edited text would be hidden in rotated view on Windows Chrome in Standalone mode. (#4330)
- FixedFixes an issue where highlight annotations would lose their opacity in rotated view on some browsers in Standalone mode. (#4496)
- FixedFixes an issue where it wasn’t possible to click on the links when other annotations were in the foreground. (#3437)
- FixedFixes an issue where the toolbar icons overlapped in certain screen sizes. (#4663)
- FixedFixes an issue where dropdowns won’t close when clicked somewhere else in certain browsers. (#4234)
- FixedFixes an issue where the submit button of first comment of the thread had the ‘Reply’ label. It has been changed to ‘Comment’. (#4710)
Model
- APIAdds
Instance#applyRedactions
to irreversibly redact the current document. (#4614) - APIAdds
Instance#createRedactionsBySearch
to allow specifying a search criteria and create redaction annotations by the results. (#4627) - APIAdds
PSPDFKit.ViewState#previewRedactionMode
to toggle between the marked and redacted appearances of redaction annotations. (#4609) - APIAdds
PSPDFKit.SearchType
andPSPDFKit.SearchPattern
data types. (#4627) - APIAdds
PSPDFKit.Annotations.RedactionAnnotation
data type. (#4539) - APIAdds
REDACT_TEXT_HIGHLIGHTER
andREDACT_SHAPE_RECTANGLE
interaction modes. (#4540) - APIAdds support for flattening a document before adding a digital signature. (#4194)
- APIFixes an issue where certain events would not be fired after applying document operations. (#4519)
- APIAdds
Instance#hasUnsavedChanges()
to check if there were changes to any of the supported model types - annotations, comments, bookmarks, form fields and form values. (#4534) - APIAdds event
document.saveStateChange
that is emitted when save state of the document changes, i.e. when result ofInstance#hasUnsavedChanges()
changes. (#4562) - AddedAdds public CSS classes for stamp dialog buttons. (#4223)
- AddedAdds support for setting and rendering widget annotation’s
font
property. (#4288) - FixedFixes an issue where
Instance#hasUnsaved*()
returnedfalse
when there were changes not yet saved in Server mode. (#4557) - FixedFixes an issue where
ensureAnnotationSaved()
,ensureBookmarkSaved()
andensureFormFieldSaved()
fromInstance
never resolved under certain conditions. (#4561) - FixedFixes an issue where deleting a form field or a widget annotation would lead to an inconsistent state and subsequent errors. (#4572)
- FixedFixes an issue with the TypeScript declaration on strict mode. (#4671)
Core
- ChangedImproves style sheet parsing to recognize font names better. (#C23968)
- FixedFixes an issue where text search may not work correctly for certain Asian languages. (#C23125)
- FixedFixes an issue where non-latin text wouldn’t render correctly. (#C23287)
- FixedFixes an issue where wrong characters were displayed in multi-line form fields. (#C23317)
- FixedFixes a problem where searching some documents may not return every text match. (#C23638)
- FixedFixes potential document corruption when incremental saving encrypted documents. (#C23689)
- FixedFixes an issue where Arabic text was not displayed correctly in exported PDFs. (#C23790)
- FixedFixes an endless loop while trying to repair form field. (#C23901, #C24597)
- FixedFixes an issue where the read_form_json_objects command may not return all form fields in the document. (#C24014)
- FixedFixes a problem where the asset name of a screen annotation may not be decoded correctly in some cases. (#C24269)
- FixedFixes a problem where the font name of a free text annotation may not be decoded correctly in some cases. (#C24269)
- FixedFixes a dangling pointer upon destruction of PSPDFKit. (#C24387)
- FixedFixes a rare case where the framework may exit unexpectedly when working with a PDF document. (#C24599)
Examples
- AddedAdds an example showing how to integrate PSPDFKit for Web with an Angular project. (#4608)
- ChangedUpdates the Vue example with required API changes, and extends it with an Annotation API example. (#4513)
- ChangedUpdates the Typescript example with required API changes, and extends it with an Annotation API example. (#4515)
- FixedFixes an issue in the Webpack example where loading a document would fail. (#4590)
Documentation
- AddedAdds documentation for
Instance#getTextSelection()
. (#4701)
2020.2.6 - 9 Jun 2020
Model
- ChangedImproves quality of fallback font rendering. (#C24136)
- FixedFixes an issue where text was rendered incorrectly when the ‘comb’ option was used. (#C24395)
2020.2.5 - 28 May 2020
UI
- FixedFixes an issue where manually drawing ink annotations would fail in IE11. (#4622)
- FixedFixes an issue where selecting text on Chrome 83 would include a dark text overlap. (#4631)
Examples
- FixedFixes issues when using Form Designer catalog example on IE11 (#4419)
- ChangedRenames the Obscure Annotations catalog example to Hide/Reveal Area. (#4605)
- FixedFixes an issue in the catalog where clicking on the active example would remove the document ID from the collaborate dialog. (#4629)
2020.2.4 - 20 May 2020
UI
- FixedFixes an issue where adding an image annotation from a PDF document with the UI would fail in IE11 and Edge. (#4564)
Model
- FixedFixes an issue with the TypeScript declarations. (#4570)
2020.2.3 - 12 May 2020
UI
- AddedAdds a
data-annotation-id
attribute to the annotations sidebar individual items. (#4499) - ChangedImproves accessibility and UX by removing hard line breaks in rendered text. (#4160)
- FixedFixes an issue where the cursor and drawing were not properly aligned if the sidebar was open on load. (#4410)
- FixedFixes an issue where toolbar buttons with dropdown arrows would overlap other buttons in certain viewport widths and toolbar configurations. (#4406)
- FixedFixes an issue for Server-backed deployments where printing a document would not respect relevant annotation flags. (#4443)
- FixedFixes an issue where the height of the collapsed comment threads were wrong. (#4432)
- FixedFixes an issue where stamp annotations with opacity smaller than
1
would lose their original AP stream. (#4493) - FixedFixes an issue where line breaks in text annotations created in other viewers would not be rendered. (#4470)
- FixedFixes an issue where
annotations.press
was called twice when the user clicked on the Signature widget. (#4509) - FixedFixes an issue where the “annotate” icon was not visible on old versions of Edge. (#4315)
- FixedFixes an issue where note annotations wouldn’t appear if the icon was not found. (#4492)
Model
- APIAdds
"applyInstantJson"
and"applyXfdf"
document operations. (#4426)
Developer Experience (DX)
- AddedAdded TypeScript declarations for the public API (#4257)
2020.2.2 - 28 Apr 2020
UI
- FixedFixes an issue where the comment threads won’t expand in
readOnly
mode. (#4422)
Model
- FixedFixes an issue where changes made during offline state were lost after coming back online. (#4383)
- FixedFixes an issue with an internal API using the unsupported
Promise.prototype.finally
which caused legacy browsers to crash. (#4520)
2020.2.1 - 21 Apr 2020
UI
- FixedFixes an issue where form field values added after deleting an annotation were not exported. (#4466)
- FixedFixes an issue in IE11 where selecting an annotation tool while a comment was focused would crash the app. (#4420)
- FixedFixes an issue where some translated strings looked wrong in Korean. (#4476)
- FixedFixes an issue in Standalone where documents were rendered at low resolution and blurry when opened in a mobile device. (#4184)
2020.2.0 - 07 Apr 2020
UI
- AddedAdds confirmation dialog when deleting comments. (#4269)
- FixedFixes an issue where root markup annotations were visible when
instant
was set tofalse
in configuration. (#4238) - FixedFixes an issue where multiline text widgets with auto-size font would have its font size too decreased. (#4271)
- FixedFixes an issue where confirmation dialogs were sometimes ignoring the “Enter” and “Space” keys. (#4332)
- FixedFixes an issue where spreads would render at incorrect widths when pages are inconsistently sized. (#4279)
- FixedFixes an issue where the event
viewState.change
was being emitted even when there was no change in viewState. (#4311) - FixedFixes an issue that would prevent Link annotations with URIs without protocol to open as expected. (#4363)
- FixedFixes an issue where the opacity of widget annotations was not being respected. (#4261)
- FixedFixes an issue where
renderPageAsArrayBuffer
andrenderPageAsImageURL
didn’t include annotations. (#4377) - FixedFixes
PrintMode.DOM
out of memory issue in Standalone by capping the max document size when printing. (#4192) - FixedFixes some rare stability issues when filling a form document with JavaScript scripts. (#C23443)
Model
- APIAdds
Configuration#document
and deprecatesConfiguration#pdf
in Standalone. (#4192) - APIAdds
"applyInstantJson"
and"applyXfdf"
document operations. (#4426) - APIRemoves deprecated
PSPDFKit.I18n#localeData
,PSPDFKit.RectangleAnnotation#cloudyBorderInsetRect
, andPSPDFKit.EllipseAnnotation#cloudyBorderInsetRect
properties. (#4395) - AddedAdds support for loading Image Documents. (#4192)
- AddedAdds support for loading Word Documents (Server Only). (#4192)
- ChangedImproves performance of documents with PDF JavaScript formatting scripts. (#4294)
- ChangedImproves memory usage when digitally signing documents. (#C23299)
- FixedFixes an issue where exporting instantJSON from a document with forms would fail after updating a form field. (#4339)
- FixedFixes an issue that caused a crash when rendering certain pages from multiple threads. (#C23209, #C23339)
- FixedFixes an issue where the mailDoc and similar JavaScript functions may not parse its arguments correctly. (#C23257)
- FixedFixes an issue flattening form fields correctly when the artbox of the page contains an offset. (#C23385)
- FixedFixes an issue where options for a combobox weren’t serialized correctly. (#C23412)
- FixedFixes an issue where spacing between extracted words was far too large. (#C23439)
- FixedFixes a potential data loss issues upon saving. (#C23485, #C23474)
- FixedFixes an issue where, after exporting a document, values of text form fields are only visible when selected (#C23652).
Examples
- AddedAdds a link to Codesandbox to all the examples to facilitate playing with the example code. (#4243)
- AddedAdds example for Image Documents. (#4192)
2020.1.3 - 10 Mar 2020
UI
- ChangedImproves performance when drawing ink annotations. (#3943)
- FixedFixes an issue where the network requests for tiles were not cancelled even when that tile was out of viewport. (#4235)
- FixedFixes missing
PSPDFKit-Comment-Marker-Annotation-Selected
class was missing when creating a new comment thread. (#4264)
Model
- APIAdds new
annotations.willChange
event to track when a user starts and ends interacting with an annotation tool or existing annotation. (#3751) - FixedFixes an issue flattening form fields correctly when the artbox of the page contains an offset. (#C23385)
- FixedFixes an issue where spacing between words was far too large. (#C23439)
2020.1.2 – 21 Feb 2020
No web-specific changes in this version.
2020.1.1 – 13 Feb 2020
UI
- ChangedImproves performance when drawing ink annotations. (#3943)
- FixedFixes an issue where the viewport didn’t center horizontally if the user deleted all the comments/root annotations. (#4181)
- FixedFixes an issue where the click on markup comment icon didn’t work if a thread was already selected. (#4190)
- FixedFixes an issue with note annotations creation where the annotation marker would appear on every page upon dropping. (#4189)
Model
- APIAdds new
PSPDFKit.ScrollMode.DISABLED
option to disable changing pages via the UI. (#4172) - FixedFixes an issue with ahead of time compilation tools breaking when accessing the deprecated
PSPDFKit.I18n.localeData
API. (#4201) - FixedFixes an issue where text on form fields is occasionally rendered with incorrect rotation on rotated pages. (#C22854)
- FixedFixes an issue where some PDF JavaScript calculations may not work correctly. (#C23043)
2020.1 – 31 Jan 2020
See the announcement post.
UI
- AddedAdds the ability to add comments to a PDF document through a text highlight or the newly introduced comment marker annotation. (#3615)
- AddedAdds support for digitally sign documents and obtain the validation status of digital signatures present on it. (#3614)
- AddedAdds support for fitting text annotations to the text by double clicking the right, bottom right, or bottom resize anchors. (#3781)
- AddedAdds a small delay before showing a loading indicator. (#3574)
- AddedAdds translations for “Marquee Zoom”. (#3669)
- AddedAdds support for
en-GB
locale. (#4080) - ChangedChanges the annotation toolbar icon to better separate it from the document editor icon. (#3804)
- ChangedChanges the location of a new note annotation to be at the center of the click. (#3776)
- ChangedChanges the note annotation icon in the main toolbar. (#4163)
- ChangedImproves UI consistency and readability by increasing the
font-size
throughout the entire app. (#3438) - FixedFixes an issue where CSS fallbacks for browsers not supporting CSS variables would fail to be applied. (#3734)
- FixedFixes an issue where rectangle and ellipse annotations’ cloudy border would be cropped when its
strokeWidth
was increased using the UI. (#3906, #C22349) - FixedFixes an issue where the sidebar was not closing clicking on an element in fullscreen mode in big screens. (#3861)
- FixedFixes an issue where forms were being rendered even when
disableForms
was set totrue
. (#3987) - FixedFixes an issue where the
subtitle
property would be ignored in “Custom” stamp annotation templates. (#3983) - FixedFixes an edge case where a memory leak was produced when a new instance is immediately loaded after unloading a previously one that just started loading. (#4047)
- FixedFixes an issue where resizing a text widget annotation with the UI would result in poor UI responsiveness. (#4090)
- FixedFixes an issue in IE11 where nodes appended using annotation’s
PSPDFKit.Configuration#customRenderers
disappeared. (#3916) - FixedFixes an issue where the UI could initialize when the stylesheets were not yet loaded. (#4009)
- FixedFixes an issue where small free text annotations would not be visible. (#3925, #C22514)
- FixedFixes an issue where text annotations with callout with a
null
cap property would not be recognized. (#4156) - FixedFixes annotation render order. (#3039, #3678)
Model
- APIAdds
Configuration#minDefaultZoomLevel
andConfiguration#maxDefaultZoomLevel
to allow changing the default limits on minimum and maximum zoom levels. (#3696) - APIAdds new
PSPDFKit.Geometry.Inset
data type. (#3668) - APIAdds
Configuration#trustedCAsCallback
to specify which certificates to validate digital signatures against. (#3614) - APIAdds
Instance#signDocument
to digitally sign a document. (#3614) - APIAdds
Instance#getSignaturesInfo
to retrieve the information of the digital signatures present on the document. (#3614) - APIAdds
PSPDFKit.ViewState#showSignatureValidationStatus
to determine if and when the digital signatures validation status bar should be displayed. (#3614) - APIAdds
PSPDFKit.SignaturesInfo
andPSPDFKit.SignatureInfo
data types. (#3614) - APIAdds
PSPDFKit.ShowSignatureValidationStatusMode
,PSPDFKit.DocumentValidationStatus
and related digital signatures enums. (#3614) - APIAdds public CSS classes for the digital signatures validation status bar. (#3614)
- APIAdds
CommentAvatar
support toConfiguration#customRenderers
(#3615) - APIAdds
Configuration#isEditableComment
andInstance#setIsEditableComment
to selectively allow/disable editing certain comments. (#3615) - APIAdds
PSPDFKit.ViewState#showComments
to toggle rendering comments in the UI. (#3615) - APIAdds
PSPDFKit.Comment
andPSPDFKit.Annotations.CommentMarkerAnnotation
data types. (#3615) - APIAdds
Instance#hasUnsavedComments
to determine if there are unsaved comments. (#4162) - APIAdds
Instance#saveComments
to manually save comments in case you have manually setautoSaveMode
to something other thanPSPDFKit.AutoSaveMode.IMMEDIATE
. (#4162) - APIAdds public CSS classes for comments-related UI. (#3615)
- APIReplaces rectangle and ellipse annotation’s
cloudyBorderInsetRect
property withcloudyBorderInset
, which uses the newPSPDFKit.Geometry.Inset
type. (#3668) - APIFixes an issue in Standalone mode where
PSPDFKit.Instance#getAnnotations()
would resolve before widget annotations were available. (#3718) - APIFixes an issue in Standalone mode where form fields included in
PSPDFKit.Configuration#instantJSON
were not being created. (#3713) - APIFixes an issue where calling
preloadWorker()
on Electron would not match the Electron app ID to the license. (#4019) - AddedAdds
Bookmark.toSerializableObject
andBookmark.fromSerializableObject
to serialize/deserialize bookmark objects. (#3655) - AddedAdds support for the JavaScript function
doc.gotoNamedDest
. (#C18957) - AddedAdds support for saving encrypted documents incrementally. (#C22722)
- ChangedImproves handling of enqueued modifications to annotations, bookmarks and form fields. (#3626)
- ChangedImproves license check error message to provide more information. (#C12904)
- ChangedImproves automatic font detection - prefer fonts already in the document when possible. (#C22530)
- ChangedImproves complex script text rendering. (#C22573)
- ChangedImproves annotation notes exporting for better compatibility with macOS 10.15 Preview’s sidebar. (#C22791)
- ChangedImproves logging to the console when opening a document with form fields without a forms license. (#C23119)
- ChangedUpdates
react-intl
version, which improves locale data handling by making use of the standardIntl
API. (#3671) - FixedFixes an issue where global touch event listeners would not be removed when the instance was unloaded. (#3963)
- FixedFixes an issue in Standalone mode where modifications to widget annotations would not be rendered, printed or exported if its form field had not been modified. (#4077)
- FixedFixes an issue where the value returned by
viewState.viewportPadding
had the horizontal and vertical values switched. (#3934) - FixedFixes an issue in Standalone mode where sometimes exporting the PDF would error if annotations had been deleted, but not updated nor created. (#4109)
- FixedFixes an issue in Server mode where image and stamp annotations would be removed after applying document operations. (#4098)
- FixedFixes an issue where a form field element appearance stream was regenerated accidentally when not needed. (#C21618)
- FixedFixes an issue that caused a blank page after flattening annotations on certain documents. (#C22279)
- FixedFixes an issue with form calculations when one of the form fields contains multiple form elements. (#C22675)
- FixedFixes an issue with encrypted documents not being digitally signed correctly. (#C22722)
- FixedFixes an issue where creating a submit form action from JSON without action flags would not work. (#C22784)
- FixedFixes an issue with the file size optimization algorithm not running on save. (#C22809)
- FixedFixes characters escaping when exporting to XFDF. (#C22844)
- FixedFixes PDF Javascript when scripts are encoded in UTF16. (#C23044)
Examples
- AddedAdds a new catalog example to showcase adding comments via the PSPDFKit UI. (#3615)
- AddedAdds a new catalog example for the new Digital Signatures feature. (#3343)
- AddedAdds an example to show PSPDFKit for Web’s integration with Svelte. (#3732)
- AddedAdds an example to show PSPDFKit for Web’s integration with Next.js. (#3727)
- AddedAdds new catalog example that demonstrates how to build an annotations inspector. (#3607)
- AddedAdds an example to show PSPDFKit for Web’s integration with GatsbyJS. (#3803)
- ChangedUpdates Form Designer catalog example to demonstrate a potential UI that allows two signers to fill in a contract.
- ChangedUpdates electron dependency to v7.x in Electron example. (#3992)
- FixedFixes an issue in the catalog app that prevented switching between Server and Standalone modes in IE11. (#3758)
Documentation
- ChangedAPI docs now have a “See also” section with related properties and methods from other namespaces. (#4062)
- RemovedRemoved wrongly documented
event.formField
fromPSPDFKit.AnnotationsFocusEvent
andPSPDFKit.AnnotationsBlurEvent
. (#3793)
2019.5.4 – 5 Dec 2019
UI
- FixedFixes an issue where unloading an instance while it hadn’t finished loading lead to a memory leak. (#3866)
- FixedFixes an issue where the text of the right page on double page layout got blurry under certain conditions. (#3706)
- FixedFixes an issue where clicking on an annotation or the edges of a document in
PER_SPREAD
scroll mode went to the next or previous page. (#3907) - FixedFixes an issue where typed letters on text form fields would appear very slowly on some browsers. (#3665)
- FixedFixes an issue where the UI would initialize if the stylesheets are not loaded yet. (#3739)
- FixedFixes an issue on Firefox and Safari where the pan mode tool would be stuck after clicking on an internal document link. (#3814)
- FixedFixes an issue where the Document Outline sidebar would not load when enabled in the initial view state. (#3470)
Model
- FixedFixes an issue where
annotations.focus
andannotations.blur
events would not be dispatched at the intended times. (#3513, #3579) - FixedFixes an issue where
annotations.focus
andannotations.blur
event handler callbacks would receive the annotation object asnativeEvent
event property instead of the original event object, only for note annotations. (#3653) - FixedFixes an issue where the interface would break when deleting multiple annotations programmatically. (#3869)
Core
- ChangedImproves memory usage while searching document with a lot of annotations. (#C22367)
- ChangedUpdates Duktape to version 2.5.0. (#C22476)
- FixedFixes ISO8601 timezone support in instant json. (#C21148)
- FixedFixes an issue where certain high resolution images weren’t rendered. (#C22322)
- FixedFixes a crash related to multi-threading and font loading. (#C22387)
2019.5.3 – 5 Nov 2019
UI
- FixedFixes drawing with pen devices. (#3629)
- FixedFixes an issue where
additionalActions
onWidgetAnnotations
were not working. (#3761)
Model
- APIFixes an issue in Standalone mode where
PSPDFKit.Instance#exportXFDF()
would throw an error. (#3788) - ChangedImproves the rendering of annotations with dashed borders. (#C10216)
- ChangedIncreases image size limits. (#C22029)
- FixedFixes an issue where text entered in certain form fields was rendered garbled. (#C21700)
- FixedFixes an issue where some filled form fields may not show their content correctly. (#C22100)
- FixedFixes an issue where form repairs were done too eagerly. (#C20786)
- FixedFixes an issue where some properties of a widget annotation were not persisted when the document was saved. (#C21546)
- FixedFixes an issue where deleting or moving pages from a PDF did not update the outline. (#C21620, #C22048)
- FixedFixes an issue where annotation additional actions may not be deserialized correctly. (#C21983)
Core
- ChangedUpdates Duktape to version 2.4.0. (#C20954)
- FixedFixes an issue if a TrueType font collection has more than 32 fonts. (#C22148)
2019.5.2 – 16 Oct 2019
UI
- AddedAdds pinch to zoom support on Edge, Chrome, and Firefox when using touch screens. (#759)
- AddedAdds double tap to zoom support on Edge, Chrome, and Firefox when using touch screens. (#1384)
- AddedAdds support for navigating pages by tapping the left and right parts of the background in PER_SPREAD scroll mode. (#3658)
- AddedAdds support for rotation to widget annotations. (#3114)
- ChangedImproves tiling experience by avoiding temporary blurriness when zooming in and out. (#3654)
- ChangedImproves pinch zooming behavior by capping the maximum and minimum zoom levels for pinching. (#3656)
- AddedAdds the ability to move annotations by using the arrow keys. (#3611)
- FixedFixes an issue where a custom DOM node used as annotation tooltip wouldn’t be positioned correctly under certain cases. (#3657)
- FixedFixes an issue in Safari where the text annotation content would appear cropped once editing was done. (#3637)
- FixedFixes an issue in Chrome where a text annotation could be stuck in dragging mode under certain edge cases. (#3495)
- FixedFixes issues that broke dragging annotations or drawing lines when a second finger was used on touch devices. (#3664)
- FixedFixes crashes under certain cases when deleting pages from a document. (#3666)
- FixedFixes an issue where updating an annotation, form field or bookmark that was being updated would fail and hide the annotation, form field or bookmark in the UI until reload. (#3675)
- FixedFixes an issue in Standalone mode where the bookmarks sidebar would keep showing a spinner instead of loading the bookmarks. (#3710)
- FixedFixes an issue where hovering over a note annotation would render the tooltip of a different, currently selected annotation. (#3697)
- FixedFixes an issue where selecting text would not emit
textSelection.change
events when markup annotations were not editable. (#3729)
Model
- AddedAdds page filtering to the
importDocument
operation usingimportedPageIndexes
in the DocumentEditor API. (#C21231, #C21387) - AddedAdds support for printing array structures from JavaScript code inside a PDF. (#C19063)
- FixedFixes an issue where widget annotations would not be created and exported correctly. (#3672)
- FixedFixes a rendering error where the font
ArialMT
wasn’t selected correctly. (#C21744) - FixedFixes a rare deadlock when rendering certain documents. (#C21856)
- FixedFixes a performance regression when rendering with an ICC based color space. (#C21776)
- FixedFixes a regression that caused certain link annotations to not work. (#C21709)
- FixedFixes a possible crash when loading annotations failed in certain Instant documents. (#C21617, #Z15606)
- FixedFixes a crash when using the processor on certain documents with very deep object hierarchies. (#C21674)
- FixedFixes widget annotation rotation property persistence when coming from instant JSON. (#C21552, #C21621)
- FixedFixes an issue where documents using certain kind of fonts may cause the app to be terminated unexpectedly. (#C21626)
- FixedFixes a rare situation where setting form field flags may cause a deadlock. (#C19942)
- FixedFixes some stability issues related to color space management. (#C21529)
- FixedFixes a problem where some PDF images may be missing in some documents. (#C21353)
- FixedFixes an issue with transparent
strokeColor
in Instant JSON. (#C21391) - FixedFixes an issue when importing XFDF files in specific documents. (#C21271)
- FixedFixes an issue where loading a document would fail if it contained JPEG2000 images not specifying a color space. (#C21311)
- FixedFixes an issue where images with the lighten blend mode didn’t get rendered correctly. (#C20642)
Core
- ChangedUpdates HarfBuzz to version 2.6.2. (#C21686)
2019.5.1 – 19 Sep 2019
UI
- AddedAdds new toolbar item type
marquee-zoom
to enable Marquee Zoom mode. This toolbar button is disabled by default. (#3608) - ChangedImproves text field rendering and auto font size calculations. (#3581)
- FixedFixes an issue where typing was prevented in very small text widgets. (#3572)
- AddedAdds the ability to move annotations by using the arrow keys. (#3611)
- ChangedImprove text field rendering and auto font size calculations. (#3581)
- FixedFixes an issue where moving rectangle and ellipse annotations was causing annotations in the generated PDF to be rendered incorrectly. (#3593)
- FixedFixes an issue where text widgets with the doNotScroll property and a right text align would not accept input on Chrome. (#3601)
- FixedFixes an issue where small stamp annotation templates would appear blurry in the stamp template picker dialog. (#3550)
- FixedFixes an issue where the Document Editor button would appear in read only mode. (#3604)
- FixedFixes an issue where drawing ink signatures on touch devices would be momentarily blocked when starting to draw. (#3618)
Model
- APIAdds
Instance#jumpAndZoomToRect()
to bring a specific rectangle into the viewport and adjust the zoom level so it’s always visible to the best way possible. (#1750) - AddedAdds
Configuration#toolbarPlacement
to make the toolbar position configurable. (#3609) - ChangedImproves CRUD operations with annotations, form fields, form field values and bookmarks by ensuring changes are persisted when the corresponding API methods resolve. (#3577)
- FixedFixes an issue where the deletion callback for annotations, bookmarks, and form fields was fired before the change was internally processed so that the save methods had no effect. (#3582)
2019.5 – 9 Sep 2019
See the announcement post.
UI
- AddedAdds support for rendering form field’s
required
flag as newPSPDFKit-Annotation-Widget-Required
public CSS class and HTMLrequired
attribute forTextFormField
,ComboBoxFormField
andListBoxFormField
. (#3477) - AddedAdds support for rendering widget annotations’
borderWidth
andborderStyle
properties. (#3496) - AddedAdds document editor translations for “Move before”, “Move after” and “Document will be merged here”. (#3489)
- AddedAdds support for iOS 13. (#3510)
- ChangedImproves annotation insertion on rotated pages. (#2853)
- ChangedImproves support for iPadOS. (#3436)
- ChangedImproves performance on pages with many annotations. (#3465)
- FixedFixes an issue where selected annotations would not emit the
annotations.press
event. (#3431) - FixedFixes an issue with dropdown menus being cut-off when there is not enough vertical space available. (#3442)
- FixedFixes an issue that prevented creating image annotations with the UI in REST mode. (#3499)
- FixedFixes an issue where some keyboard shortcuts would be triggered when used in an external scope. (#3508)
- FixedFixes an issue where thumbnail images would not update after applying operations with the thumbnails sidebar open. (#3488)
- FixedFixes an issue where an horizontal scrollbar would appear in the ink signature picker dialog. (#3551)
- FixedFixes an issue where the password prompt dialog text would use a low contrast color in dark mode. (#3471)
Model
- APIAdds methods to add, update and remove form fields and widget annotations in the current document. Requires form designer license feature and Instant or standalone mode. (#3452)
- APIAdds
PSPDFKit.Instance#setCustomRenderers
to change the current custom renderer callbacks and update custom rendered content. (#3491) - AddedAdds support for JavaScript in PDF documents to Standalone and the
PSPDFKit.Options.PDF_JAVASCRIPT
configuration option to enable the feature (disabled by default). (#3084) - ChangedStrengthens the validation of InstantJSON format in some corner cases. (#C20748)
- ChangedImproves transparency support for images and stamps. (#2612, #C20483)
- ChangedImproves performance when parsing many links. (#C20786)
- ChangedImproves memory usage on complex documents. (#C20970)
- ChangedImproves the stability of some PDF form operations. (#C21032)
- ChangedImproves font rendering and fixes several edge cases. (#C20930)
- ChangedImproves the validation of Instant JSON payloads so that case differences in properties are tolerated. (#C21145)
- ChangedUpdates Botan to version 2.11.0. (#C20549)
- FixedFixes an issue that caused freeform rotated images and stamps to not display correctly. (#3445)
- FixedFixes an issue where transparent images in annotations had a white background. (#C20841)
- FixedFixes some stability issues when fonts are loaded from a document. (#C21042)
- FixedFixes a possible crash in certain documents due to a null dereference in
PDFC::Forms::FormCorePDFBackend::isLinkedInAcroForms
. (#C21121) - FixedFixes an issue where standalone Web caused license pings when it shouldn’t have. (#Z15302)
Example
- ChangedImproves PWA example with drag and drop, more consistent UI, and a more obvious update flow. (#3430)
2019.4.1 – 2 Aug 2019
Model
- FixedFixes an issue where the absence of the forms feature in the license would not be properly detected on load. (#3433)
2019.4 – 31 Jul 2019
See the announcement post.
UI
- AddedAdds the new Document Editor view to allow adding/removing pages, merging documents, and more. (#3062)
- AddedAdds support for the
cy
locale. (#20471) - AddedAdds support for inline SVGs as text for ToolbarItem#icon and ToolItem#icon. (#3299)
- AddedAdds
PSPDFKit.Configuration#theme
andPSPDFKit.Theme
enums to configure the theme. (#3300) - ChangedChanges icon theme. (#3123)
- ChangedChanges toolbar height from 48px to 44px. (#3123)
- ChangedChanges the thumbnail layout and styles. (#3286)
- ChangedImproves render quality when using Standalone. (#2951)
- FixedFixes an issue where the bookmarks and annotations sidebars wouldn’t show page labels. (#3137)
- FixedFixes an issue that sometimes prevented text selection after a document is loaded, unloaded, and loaded again. (#3269)
- FixedFixes an issue where multiple highlight annotations would be created for a single selection. (#3182)
- FixedFixes an issue where scrolling prevented text form field changes from being propagated. (#3210)
- FixedFixes an issue where scrolling inside note annotations would cause the page to jump in PER_SPREAD scroll mode. (#3312)
- FixedFixes an issue where EXIF orientation of JPEG image annotations were not properly applied. (#3318)
- FixedFixes an issue where the text selection cursor was visible when the pan mode was enabled. (#3325)
- FixedFixes an issue where the viewport would scroll while moving an annotation in
PSPDFKit.InteractionMode.PAN
mode. (#3215) - FixedFixes an issue where the text of note annotations would be cleared after zooming. (#3183)
- FixedFixes an issue where the text of note annotations would sometimes be cleared if the note icon was hovered. (#3365)
- FixedFixes an issue with the password prompt that caused the success animation to not be displayed. (#3355)
- FixedFixes an issue where hovering annotations would move the viewport if zoomed out and not scrollable anymore (#3368).
- FixedFixes an issue where a hovered note annotation would keep showing after navigating to a different page with the keyboard. (#3359)
- FixedFixes an issue where text annotations without
fontSize
set would not be rendered. (#3386) - FixedFixes an issue where pressing a non-selectable toolbar item would clear the selected state of an annotation tool. (#3191)
- FixedFixes an issue where creating a new note annotation could cause it to be placed at an unexpected point. (#3059)
- FixedFixes an issue where extra new lines would be added to a text annotation in Firefox. (#3323)
Model
- APIAdds
PSPDFKit.Instance#applyOperations()
andPSPDFKit.Instance#exportPDFWithOperations()
methods to modify the current document or export it with modifications. Requires document editing license feature. (#3062) - AddedAdds a content hash to the WebAssembly and asm.js artifacts so that they can use a long-term caching strategy. (#3255)
- AddedAdds support for
isBold
andisItalic
properties in widget annotations. These properties are currently not supported for printing or exporting. (#2940) - AddedAdds support for
verticalAlign
property in text and button form fields. When printing and exporting, the property is only supported for multiline text widgets. (#2895) - AddedAdds support for setting the default eraser cursor width before load using
PSPDFKit.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH
. (#3334) - AddedAdds support for vertical alignment in single-line form fields when exporting or printing PDF files. (#C19882)
- AddedAdds support for serializing and deserializing border properties of link annotations. (#C20359)
- AddedAdds support for preserving the InstantJSON id in the PDF. (#C20572)
- ChangedChanges naming scheme of chunked data. This allows for smarter preloading and caching in service worker. (#3071)
- ChangedImproves automatic repair of AcroForms on loading documents with a large number of annotations. (#C19947)
- ChangedImproves rendering of non ASCII text. (#C20189)
- ChangedImproves loading performance for documents with complex outlines. (#C20279)
- ChangedUpdates libpng to version 1.6.37. (#C19851)
- ChangedUpdates Expat to version 2.2.6. (#C19868)
- ChangedUpdates libWebP to 1.0.2. (#C20040)
- ChangedUpdates Expat to version 2.2.7. (#C20545)
- ChangedUpdates openjpeg to version 2.3.1. (#C20647)
- FixedFixes asynchronous APIs to always reject instead of throwing synchronously. (#2306)
- FixedFixes an issue reading media boxes. (#C20592)
- FixedFixes an issue where some documents with dropdown fields may show an arrow when the document is flattened. (#C9539)
- FixedFixes very occasional text rendering problems. (#C20155)
- FixedFixes an assertion when importing annotations outside the page range using XFDF. (#C20424)
- FixedFixes an issue where form fields with calculation order may not be flattened correctly. (#C20434)
Example
- AddedAdds new catalog example for the Document Editor. (#3343)
- AddedAdds new catalog example that demonstrates the new dark mode. (#3330)
- FixedFixes an issue where custom documents did not have the same toolbar items as example documents in the examples catalog. (#3347)
Instant
- AddedAdds support for notifying connected clients when the document changed. (#3062)
2019.3.1 – 19 Jun 2019
UI
- APIAdds support for receiving
annotations.press
events from widget annotations. (#2845) - APIFixes an issue where
PSPDFKit.ViewState#readOnly
could not be set tofalse
in read-only documents even whenPSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS
wastrue
. (#3245) - FixedFixes an issue where multiline text widget annotations would not be editable because of excessive padding. (#3161)
- FixedFixes an issue where the tools for note annotations were rendered in an additional tooltip instead of inside the existing note tooltip. (#3214)
- FixedFixes an issue where clicking in an annotation tooltip would deselect the annotation. (#3236)
Model
- AddedAdds support for making individual widget annotations read only with
PSPDFKit.Configuration.isEditableAnnotation
. (#2845) - FixedFixes a merging issue in Instant that caused enqueued changes to resolve incorrectly and generate a server error. (#3225)
2019.3 – 29 May 2019
See the announcement post.
UI
- AddedAdds support for streaming search results, resulting in faster initial results. (#3058)
- AddedAdds a toolbar for modifying the
text-highlighter
preset properties while onTEXT_HIGHLIGHTER
interaction mode. (#3041) - AddedAdds an eraser tool to remove ink annotations points with the pointer. (#3057)
- AddedAdds support for the
fr-CA
locale. (#3176) - APIAdds
PSPDFKit.AnnotationPresets.toSerializableObject
andPSPDFKit.AnnotationPresets.fromSerializableObject
to convert annotation presets to and from serializable objects. (#3155) - APIAdds
PSPDFKit.SearchState#minSearchQueryLength
to retrieve the minimum search query length. (#3197) - APIAdds a minimum search query length check to
PSPDFKit.Instance#search
andPSPDFKit.Instance#startUISearch
. (#3197) - ChangedImproves ink annotation creation by splitting new, distant lines into new annotations. (#1462)
- ChangedChanges the minimum annotation size for ink and shape annotations from
128
to16
. (#3070) - FixedFixes an issue where new lines would be duplicated in Chrome when editing a text annotation. (#3101)
- FixedFixes an issue where the default viewer styles would override the widget annotation styles on focus. (#3151)
- FixedFixes an issue where the ink annotation toolbar would not use user-provided line width presets. (#3150)
- FixedFixes an issue with read only note annotations being deletable via keyboard. (#3149)
- FixedFixes an issue with note annotations not being selectable via keyboard when read only. (#3149)
- FixedFixes an issue where the pointer cursor would change when hovering some non-editable annotations. (#3157)
- FixedFixes an issue with popover being positioned in the middle of the page even when they fit in around their reference element. (#3160)
- FixedFixes an issue with annotations being immediately deselected after selection. (#3189)
Model
- AddedAdds support for passing page start and end indexes to
Instance#search()
. (#3058) - AddedAdds support for the
hidden
flag to all the supported annotation types. (#3172) - ChangedImproved automatic repair of AcroForms to support more document errors. (#C19834)
- FixedFixes a potential crash when processing large documents under low-memory conditions. (#C19768)
- FixedFixes an issue where broken link annotations where sent to the backend. (#C19090)
Example
- FixedFixes an issue where duplicated line annotations were clipped in the tooltips catalog example. (#3140)
2019.2.4 – 13 May 2019
UI
- FixedFixes an issue where image and stamp annotations where rendered behind widget annotations. (#3124)
Model
- ChangedImproves error handling when creating, updating, and deleting form fields. (#3111)
- ChangedAllow creating annotation with a user-defined
createdAt
orupdatedAt
field. (#3110) - ChangedUpdates the Botan library version to 2.10.0. (#C19767)
- FixedFixes printing and exporting PDF files containing form field values with CJK glyphs and missing font information when using PSPDFKit Server. (#3097, #2974)
- FixedFixes an issue where Standalone on IE11 was causing some tiles to not render correctly. (#3117, #3092)
- FixedFixes a potential crash when processing large documents under low-memory conditions. (#C19768)
- FixedFixes an issue where broken link annotations where sent to the backend. (#C19090)
2019.2.3 – 29 Apr 2019
UI
- AddedAdds support for custom page labels in the page indicator. (#3022)
Model
- AddedAdds support for creating annotations and form fields with a user-defined ID. (#3087)
- ChangedImproves error handling when creating, updating, and deleting annotations and bookmarks. (#3090)
Example
- AddedAdds a new Catalog example that adds two special annotations that can be used to obscure the document. (#3023, #3024)
- AddedAdds a new Catalog example about keeping ink signatures across page refreshes. (#2834)
2019.2.2 – 25 Apr 2019
UI
- FixedFixes an issue where changing the locale did not update the
<body lang>
property. (#3069) - FixedFixes an issue where text annotations
fontColor
could be set to transparent (null
). (#2865) - FixedFixes an issue where the
strokeDashArray
property of an annotation preset would be incorrectly updated. (#3080) - FixedFixes an issue where the thumbnails sidebar didn’t have top and bottom spacing. (#1708)
Model
- ChangedImproves server error handling. (#2807)
- FixedFixes an issue where XFDF was not being validated correctly. (#3074)
2019.2.1 – 19 Apr 2019
No web-specific changes in this version.
2019.2 – 18 Apr 2019
See the announcement post.
UI
- APIAdds
Instance#currentAnnotationPreset
andInstance#setCurrentAnnotationPreset()
to get and set the current active annotation preset. (#2919) - APIAdds
Instance#setEditingAnnotation()
to select an annotation and enter edit mode. (#2902) - APIAllow to disable the Ink Signature modal dialog by preventing the
annotations.onPress
event forWidgetAnnotation
. (#2930) - APIRenames
*.onPress
events to*.press
. (#2984):- APIRenames
annotations.onPress
toannotations.press
. - APIRenames
textLine.onPress
totextLine.press
. - APIRenames
page.onPress
topage.press
.
- AddedAdds
PSPDFKit.Options.DISABLE_KEYBOARD_SHORTCUTS
to disable the viewer keyboard shortcuts. (#2909) - AddedAdds
PSPDFKit.Configuration#customRenderers
to allow adding rendering custom content along with annotations. (#2896) - AddedAdds keyboard navigation for annotations for better a11y. (#2963)
- AddedAdds
figcaption
to images and stamp annotations that define adescription
property (screen readers only). (#2963) - AddedAdds
annotations.focus
andannotations.blur
instance events. (#2982) - AddedAdds an optimization that reduces the number of points an ink annotation creates while drawing. (#2849)
- ChangedImproves performance of large documents when using the continuous page view. (#1542)
- ChangedImproves shape annotations scaling behavior by keeping its stroke width when resizing. (#3002)
- FixedFixes an issue where annotations would move when resized to very small sizes. (#2910)
- FixedFixes an issue when
PSPDFKit.load()
was interrupted byPSPDFKit.unload()
before the promise has resolved. (#2334) - FixedFixes an issue where text widget annotations
isFitting
property would not be correctly calculated. (#2939) - FixedFixes a race condition when
PSPDFKit.load()
,PSPDFKit.unload()
, andPSPDFKit.load()
was called synchronously. (#2947) - FixedFixes an issue when the same search term was searched twice consecutively. (#2994)
- FixedFixes an issue where an error message was logged when placing a new text annotation while having the thumbnail toolbar open on Standalone. (#2952)
- FixedFixes an issue where the default minimum stamp annotation size,
PSPDFKit.Options.MIN_STAMP_ANNOTATION_SIZE
, was so small the stamp text wouldn’t fit. (#2977) - FixedFixes an issue that caused previously reported
minimumZoomLevel
andmaximumZoomLevel
to no longer be valid if the viewport was resized. (#2907) - FixedFixes an issue that prevented certain annotation tools for a document that does not allow changing but enables commenting. (#2663)
- FixedFixes an issue where multi line text widgets did no longer accept text when do not scroll was enabled. (#3036)
- FixedFixes an issue where annotations and form fields were not visible in Standalone mode when rotating the document on Chrome Windows. (#3037)
- FixedFixes an issue where ink annotations with a blend mode value different than
normal
would lose the blend mode when selected in a rotated page. (#3053) - FixedFixes an issue where
viewState
events would be emitted again if an API function in the event listener caused the view state to change. (#3064)
Model
- APIAdds
Instance#getTextFromRects
to extract the text intersecting a list of rects. (#3040) - AddedAdds support for storing custom data on annotations. (#2862)
- AddedAdds support for optionally preloading the WASM worker. (#2886)
- AddedAdds
PSPDFKit.Options.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT
to control whether PSPDFKit should adjust the text annotations’ bounding box to fit the text in the annotation when editing it. (#2894) - AddedAdds
FontStyle
to Instant JSON widget annotations. (#C18083) - ChangedImproves error handling when additional artifacts cannot be accessed. (#2811)
- ChangedChanges accessing
instance.connectedClients
to log a warning instead of throwing an error if PSPDFKit Instant is not enabled. (#2886) - ChangedLoading PDF actions is now more reliable. (#C18843)
- ChangedUpdate libpng to 1.6.36. (#C18972)
- ChangedUpdate libjpeg-turbo to 2.0.2. (#C18973)
- ChangedUpdate ICU to version 63.1. (#C18974)
- ChangedUpdate zlib to 1.2.11. (#C18975)
- FixedFixes an issue where an annotation would be created even if it was invalid. (#2862)
- FixedFixes an issue where ink and shape annotations with transparent
strokeColor
were not being saved nor updated. (#2806) - FixedFixes an issue where
strokeDashArray
was being serialized and deserialized even when its value wasnull
. (#2924) - FixedFixes an issue where form field values could not be saved when using
PSPDFKit.AutoSaveMode.DISABLED
. (#2934) - FixedFixes an issue where
annotationSelection.change
would be emitted again if an API function was called from theannotationSelection.change
event listener. (#2904) - FixedFixes an issue where PSPDFKit Server may not identify form fields correctly. (#C18464)
- FixedFixes an issue where form field values may not be rendered correctly. (#C18465)
- FixedFixes an issue where some JPX images may not render correctly. (#C18648)
- FixedFixes issue with printing transparent ink strokes. (#C19102)
- FixedFixes an issue exporting instant shape annotations with transparent stroke colors. (#C19120)
- FixedFixes an issue when setting transparent colors in annotations. (#C19120)
- FixedFixes rendering of free text annotations with vertical alignment. (#C19145)
- FixedFixes an issue where edited text wasn’t visible after saving the PDF. (#C19146)
- FixedFixes an issue when drawing a path using a pattern with alpha transparency. (#C19148)
- FixedFixes an issue when rendering text with an overlay blend mode. (#C19151)
- FixedFixes an issue where link annotations may not work correctly after a document is exported. (#C19222)
- FixedFixes an issue where text edited in form fields was incorrectly set in other form fields as well. (#C19236)
- FixedFixes an issue where QuadPoints of link annotations were saved to the PDF incorrectly. (#C19427)
- FixedFixes an issue where the
fillColor
property was ignored in Instant JSON for polyline annotations. (#C19443) - FixedFixes a rare issue when parsing outlines. (#C19469)
- FixedFixes an issue where malformed widget annotations weren’t correctly attached to the form. (#C19581)
Example
- AddedAdds a new Catalog Example that sets up a flipbook (page curl) effect. (#2867)
- AddedAdds a new Catalog Example about using different print modes. (#2870)
- AddedAdds a new Catalog Example about customizing the PDF search feature. (#2859)
- AddedAdds a new Catalog Example showcasing customization of annotation’s rendered content. (#2720)
Instant
- FixedFixes an issue where updates and deletions shortly after creations were not properly propagated. (#2890)
2019.1.4 – 4 Apr 2019
UI
- FixedFixes an issue where text widget annotations height would not be editable when height was too small. (#2903)
Model
- AddedAdds support for the cloudy border inset property (
RD
), transformed to acloudyBorderInsetRect
property in ellipse and rectangle annotations. (#2820) - FixedFixes an issue where
instance.createAnnotation
would override the provided annotation properties with the current annotation preset properties. (#2931) - FixedFixes an issue where annotations with a cloudy border may not be exported correctly. (#2831)
Instant
- AddedAdds support for
cloudyBorderInset
property (RD
) in ellipse and rectangle annotations. (#2820)
2019.1.3 – 27 Mar 2019
UI
- APIAdds public CSS classes for annotation resize anchor handlers and outline rect:
PSPDFKit-Resize-Anchor
,PSPDFKit-Resize-Anchor-{position}
andPSPDFKit-Selection-Outline-Rect
. (#2888) - APIAdds public CSS classes for customizing tooltips. (#2917)
- APIAdds
Instance#setEditingAnnotation()
to select an annotation and enter edit mode. (#2893) - AddedAdds
PSPDFKit.Options.TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT
to control whether PSPDFKit should adjust the font size to fit the text in the annotation bounding box when exporting the annotation. (#2881) - ChangedImproves annotation tooltips position adjustment relative to selected annotations padding. (#2885)
- FixedFixes an issue where the instance could not be unloaded after the container node was detached from the DOM. (#2906)
- FixedFixes an issue where selected text markup annotations could not be deleted using the
Backspace
orDelete
keys. (#2861) - FixedFixes an issue with the latest versions of Chrome where wheel events are now passive by default and cause the host web page to be zoomed when pinching. (#2942)
Model
- AddedAdds
horizontalAlign
property toWidgetAnnotation
for aligning text horizontally. (#2935) - FixedFixes an issue where form field values could not be saved when using
PSPDFKit.AutoSaveMode.DISABLED
. (#2934) - FixedFixes an issue where some layers were hidden incorrectly. (#C14439)
Example
- AddedAdds download buttons to the PWA and Catalog examples. (#2863)
- FixedFixes an issue with the iOS iPad full screen demo in the magazine catalog example. (#2750)
- ChangedUpgrade React example to latest versions. (#2926)
2019.1.2 – 28 Feb 2019
UI
- AddedAdds
SELECTION_OUTLINE_PADDING
andRESIZE_ANCHOR_RADIUS
callbacks andSELECTION_STROKE_WIDTH
to the configurablePSPDFKit.Options
object. (#2793) - FixedFixes an issue where
ToolItem
in annotation tooltip would break the viewer due to a runtime error. (#2833) - FixedFixes
PrintMode.EXPORT_PDF
in Safari by not opening the PDF to print in a new window. (#2835)
Model
- ChangedDo not check for installed Acrobat when trying to print in
EXPORT_PDF
print mode on IE11. (#2826) - FixedFixes an issue where
PSPDFKit.FormFields#SignatureFormField
was not exposed despite being in the public documentation. (#2823) - FixedFixes an issue with the random number generator for Standalone on IE11 and Edge. (#2802)
2019.1.1 – 14 Feb 2019
UI
- FixedFixes an issue where image and stamp annotations were rendered in front of widget annotations. (#2776)
- FixedFixes an issue where the sidebar was having the incorrect height. (#2775)
- FixedFixes an issue that prevent bookmarks from properly being saved when using
AutoSaveMode.INTELLIGENT
. (#2778)
Model
- ChangedImproves support for large documents when using PSPDFKit for Web Standalone. (#2792)
2019.1 – 7 Feb 2019
See the announcement post.
UI
- APIAdds
ViewState#sidebarPlacement
to control the direction of the sidebar. (#2691) - APIAdds transformation APIs to transform between PDF page space and the client space. (#2546)
- APIAdds an API to calculate a fitting bounding box for text annotations. (#2679)
- APIAdds
setEditableAnnotationTypes
andisEditableAnnotation
to granularly define permissions for annotations. (#1756) - AddedAdds a cloudy border tool to polygon, rectangle and ellipse annotation toolbars. (#2528)
- AddedAdds pinch zoom support on desktop devices with trackpad, or mouse on Chrome, Firefox and Safari. (#1263)
- AddedAdds swipe support for per spread view on desktop devices with touch on Chrome, Firefox and Safari. (#2765)
- ChangedImproves ink annotation creation on the UI by splitting the annotation if its properties change. (#2683)
- ChangedChanges the default font families of the viewer to include more system fonts. (#2710)
- FixedFixes an issue where
PSPDFKit.defaultStampAnnotationTemplates
would need to be copied in order to modify it. (#2725) - FixedFixes an issue where text form fields font auto sizing feature was not accounting for field padding. (#2685)
- FixedFixes an issue where checkbox fields checkmarks would overflow the field’s bounds. (#2689)
- FixedFixes an issue by changing the default text highlighter and highlighter tool to match text selection highlight creation. (#2694)
- FixedFixes a bug when initializing a sidebar with the
initialViewState
API. (#2216) - FixedFixes an issue where the dragging of the sidebar was delayed and could cause the dragging to continue although the pointer was released. (#2686)
- FixedFixes the default padding of annotation tooltip items. (#2709)
- FixedFixes an issue with note annotations permissions when annotationAndForms is set as document permission. (#2663)
- FixedFixes layout config drop down menu would not close when click outside. (#2708)
Model
- AddedAdds a cloudy border intensity field to polygon, rectangle and ellipse annotation models. (#2528)
- AddedAdds annotations models default values to
PSPDFKit.defaultAnnotationPresets
. (#2718) - AddedAdds
PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS
to ignore the document permissions and enable all the features. (#2470) - AddedAdds support for cloudy borders in shape annotations and free text annotations via Instant JSON. (#C18547)
- ChangedImproves initial text parsing performance. (#C18534)
- FixedFixes an issue where creating an ink signature in combination with an event handler could trigger an error. (#2695)
- FixedFixes an issue where form field’s
doNotSpellCheck
was mistyped asdoNotSpellcheck
. (#2729) - FixedFixes an issue where instances of the core PDF engine deamon failed to close. (#C18551)
- FixedFixes an issue with importing/exporting color values which could lead to unnecessary appearance stream regeneration in the core engine. (#C18428)
- FixedFixes an issue where some image annotations may be rendered incorrectly. (#C18731)
Example
- AddedAdds a new Catalog Example showcasing drag and drop and other advanced customization options. (#2679)
2018.7.1 – 15 Jan 2019
UI
- APIAdds public CSS classes for annotation toolbars toolboxes. (#2392)
- AddedAdds persistence of properties to ink signatures. (#2479)
- AddedAdds locked aspect ratio resize by keeping
Shift
pressed while resizing an annotation with the UI. (#2531) - AddedAdds automatic font size calculation for combo box widgets. (#2644)
- AddedAdds configurable ink signatures save mode. (#2593)
- AddedAdds
PSPDFKit-Icon-<IconType>
public CSS classes to style individual icons. (#2664) - AddedAdds 4pt, 6pt, 8pt, and 200pt to the list of possible font sizes for text annotations. (#C18485)
- FixedFixes an issue in Edge where the annotation toolbar layout would break when changing the font size. (#2225)
- FixedFixes an issue where rotating the page could eventually trigger a JavaScript TypeError. (#2622)
- FixedFixes an issue where markup annotations changes were not being persisted in the annotation preset. (#2621)
- FixedFixes an issue where the blend modes toolbox button would show the wrong title and aria-label, or no title nor aria-label. (#2614)
- FixedFixes an issue where ink signatures were created at the current page index instead of the related signature form field. (#2642)
- FixedFixes wrong computed document height when opening a sidebar. (#2652)
- FixedFixes an issue where the
minimumZoomLevel
andmaximumZoomLevel
where wrong on landscape documents. (#2661) - FixedFixes an issue with custom
ToolbarItem
where theselected
property was ignored. (#2662) - FixedFixes an issue where the selected item was not shown in the list of font sizes for text annotations. (#2672)
- FixedFixes an issue when inferring the
baseUrl
threw errors when importing PSPDFKit. (#2666) - FixedFixes an issue where some overflown text fields would not adjust the font size. (#2677)
- FixedFixes an issue while highlighting where the current highlight annotation would disappear if clicked. (#2675)
Model
- APIExpose
WidgetAnnotation
interface. (#2640) - AddedAdds automatic fallback to non-streaming WASM compilation when the wasm file mime-type is not set to
application/wasm
. (#2624) - FixedFixes an issue with license code verification on Electron. (#2668)
- FixedFixes a problem importing/exporting color values. This could lead to unnecessary appearance stream regeneration. (#C18428)
Example
- ChangedUpgrades the Electron example app to use Electron 4.0. (#2668)
2018.7 – 18 Dec 2018
See the announcement post.
UI
- APIAdds public CSS class for active Dropdown Buttons. (#2466)
- APIAdds missing public CSS classes for shape Toolbar Buttons. (#2532)
- APIAdds public CSS class for Text Highlighter Buttons. (#2532)
- APIAdds
ToolbarItem#node
to render custom DOM nodes in the main toolbar. (#2520) - APIAdds
Configuration#annotationTooltipCallback
to configure a tooltip with tools for each annotation type. (#2540) - APIAdds
ViewState#enableAnnotationToolbar
to enable or disable the annotation toolbar on select. (#2540) - AddedAdds optional smooth line rendering for ink annotations and ink signatures. (#1588)
- AddedAdds new stroke color icon to avoid confusion for non closed shapes (ink, lines, polylines). (#2508)
- AddedAdds a text highlighter tool. (#2468)
- AddedAdds support for deleting selected annotations with Backspace and Delete keys. (#1405)
- ChangedImproves contrast of annotation toolbar icons. (#2508)
- FixedFixes the mixup between the border color and the fill color icons. (#2508)
- FixedFixes an issue where the last point of an ink annotation line being created was lost when releasing the pointer. (#2518)
- FixedFixes an issue where stamps UI would break when editing text. (#2445)
- FixedFixes an issue where some standard stamp annotations were being rendered as
Custom
. (#2467) - FixedFixes an issue where stamp annotations were rendered rotated when viewing rotated documents. (#2486)
- FixedFixes bookmarks sidebar translations to be more accessible and self explanatory. (#2478)
- FixedFixes an issue in Firefox 60+ where the first text line of newly created note annotations would be deleted when pressing space. (#2482)
- FixedFixes an issue with
SidebarMode.BOOKMARKS
not being activatable via public API. (#2500) - FixedFixes an issue where note annotations content new lines were not being rendered. (#2487)
- FixedFixes an issue where annotations could be deleted even though read only mode is enabled. (#2505)
- FixedFixes an issue where certain annotation toolbar items did not share the same height. (#2508)
- FixedFixes an issue where annotations hit test area was too wide. (#2127)
- FixedFixes an issue where setting className and icon for the layout-config got ignored. (#2536)
- FixedFixes an issue where the annotation toolbar for note annotations was shown when in read only mode. (#2461)
- FixedFixes an issue where text selection using the touch mode in Edge was not properly working. (#2407)
- FixedFixes an issue where annotations with the
noView
flag set were selectable, and were being rendered if selected. (#2476) - FixedFixes an issue where stamp annotations added to rotated PDF pages were not rendered correctly. (#2521)
- FixedFixes an issue in IE11 where rendered squiggle annotations would spill out of its bounding box when zoomed. (#2553)
- FixedFixes an issue where the
styleSheets
array passed toPSPDFKit.load()
was cleared after the first use. (#2561) - FixedFixes an issue where the wrong
onPress
handler for multiple items in a dropdown group was triggered. (#2565) - FixedFixes an issue where rendered squiggle annotations would shrink when the viewport was zoomed out. (#2555)
- FixedFixes an issue where
startUISearch()
did not emit the same events as a user-driven UI search. (#2573) - FixedFixes an issue where the loading indicator for stamp and image annotations would be incorrectly positioned in IE11. (#2594)
- FixedFixes an issue where the stamp picker would have an excessive height in iOS devices. (#2597)
Model
- APIAdds
PSPDFKit.Options
to modify default configurations. (#2171) - AddedAdds a new
rotation
property toTextAnnotation
,ImageAnnotation
, andStampAnnotation
. (#2521) - AddedAdds
ToolItem
interface whichToolbarItem
now extends. (#2540) - ChangedImproves automatic font size calculation for text widgets. (#C18095)
- ChangedImproves handling of malformed documents when parsing the extended graphics state. (#C18057)
- FixedFixes an issue where custom stamps were not being correctly validated. (#2477)
- FixedFixes an issue where our previous change to force asm.js on Safari 11 was not working on some versions of Safari. (#2498)
- FixedFixes an issue where the
Parent
object was not checked when putting widgets into form fields. (#C17796) - FixedFixes an issue where attachments provided via InstantJSON were not created upon initialization. (#2530)
- FixedFixes an issue when importing an annotation from XFDF when the bounding box is too large. (#C17901)
- FixedFixes issues when importing annotations on rotated pages using InstantJSON. (#C17814)
- FixedFixes some visualization issues with markup annotations, specially on rotated pages. (#C17889, #C18002, #C18024)
- FixedFixes an issue where squiggly annotations may not be created correctly on rotated pages. (#C17950)
- FixedFixes text parsing issue noticed on a very limited number of documents. (#C18032)
2018.6.1 – 16 Nov 2018
UI
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.6 – 13 Nov 2018
See the announcement post.
UI
- APIAdds
viewStateFromOpenParameters()
to apply open parameters to aViewState
. (#1161) - APIAdds
Configuration#disableOpenParameters
to disable PDF Open Parameters support. (#1161) - APIAdds
Configuration#renderPageCallback
to draw arbitrary objects onto the page layer. (#1281) - APIAdds
Instance#getSelectedRectsPerPage()
to get a list of all selected text rects in PDF page coordinates. (#2252) - APIAdds a new toolbar item
sidebar-bookmarks
. (#2388) - APIAdds public CSS class
PSPDFKit-Stamp-Annotation
for stamp annotations. (#2332) - APIAdds public CSS class
PSPDFKit-Toolbar-Button-Stamp-Annotation
to the new stamp toolbar button. (#2432) - APIAdds public CSS class
PSPDFKit-Toolbar-Button-Icon
for toolbar button icons. (#2435) - APIAdds a new update events for ink signatures:
inkSignatures.update
. It will fire whenever a signature is either created, updated, or deleted. (#2363) - AddedAdds support for stamp annotations. (#2332)
- AddedAdds support for viewing and creating bookmarks. (#2278)
- AddedAdds support for comb of characters text input fields. (#2111)
- AddedAdds translations for colors, highlighter and pen. (#2311)
- AddedAdds support for preventing text from being copied. (#2274)
- AddedAdds support for some PDF Open Parameters. (#1161)
- ChangedImproves accessibility of modal dialogs. (#2291)
- ChangedImproves the word breaking behavior for text annotations. (#2261)
- ChangedIncreases the maximum resolution of render page APIs. (#2419)
- RemovedRemoves smooth scrolling in toolbar due to a known iOS Safari issue. (#2427)
- FixedFixes a bug where an initial page index was not properly applied. (#2317)
- FixedFixes an issue with
PSPDFKit.I18n.messages
exposing messages as ES6 modules. (#2295) - FixedFixes an issue where keyboard page navigation would not work in IE 11. (#2299)
- FixedFixes an issue where a dropdown group with a single item would still show as a dropdown group. (#2284)
- FixedFixes an issue where it was not possible to opt-out an item from a dropdown group. (#2283)
- FixedFixes an issue where the pager toolbar item would disappear on MSEdge. (#2320)
- FixedFixes an issue when creating text markup annotations spanning across multiple pages. (#2337)
- FixedFixes an issue where some entries of a combo box input where not properly rendered. (#2322)
- FixedFixes crashes when using the DOM print mode on mobile devices and IE 11 by disabling high resolution printing. (#1882, #2089)
- FixedFixes a double update issue when changing attributes of text annotations. (#2261)
- FixedFixes an issue where a not supported font would not be shown as selected. (#2261)
- FixedFixes an issue where empty pages where appended on some browsers when using DOM printing. (#1521)
- FixedFixes an issue where image annotation rendering was sometimes failing when using a standalone deployment. (#2390)
- FixedFixes an issue where annotations with a
NoView
flag set were not printed. (#2350) - FixedFixes an issue where text selection was not properly cleared when the pan tool was enabled. (#2391)
- FixedFixes an issue where toolbar items with data URL icons appear shifted to the left. (#2273)
- FixedFixes an issue where image annotations had the opacity applied twice. (#2436)
- FixedFixes an issue where annotations with
strokeWidth
equal to0
and no fill color would be rendered. (#2454) - FixedFixes an issue in IE11 and Edge where opacity settings would not be applied to image annotations. (#2409)
Model
- APIChanged annotation APIs to not throw synchronously but reject with an Error instead. (#2305)
- APIAdds
Configuration#overrideMemoryLimit
to allow overriding the default memory limit for PSPDFKit for Web Standalone. (#1743) - APIAdds
Bookmark
and instance methods for managing bookmarks. (#2388) - FixedFixes an issue where the background of ink annotations was not printed. (#2041)
- FixedFixes an issue where annotations with
strokeWidth
equal to0
would have it set to5
(#2454)
Core
- APIAdds
Annotations.StampAnnotation
for stamp annotations. (#2332) - ChangedForces asm.js on Safari 11. (#2361)
- FixedFixes form flattening with no fonts available leads to exported PDFs with empty fields. (#C17538)
Example
- AddedAdds Typescript example. (#2394)
- ChangedUpdates PSPDFKit for Electron example to Electron 3. (#2098)
- FixedFixes a layout issue in the PWA example. (#2351)
Instant
- AddedAdds support for stamp annotations Instant. (#2332)
- AddedAdds support for stamp annotations to Instant JSON. (#2332)
- AddedAdds support for bookmarks Instant. (#2278)
- AddedAdds support for bookmarks to Instant JSON. (#2278)
Documentation
- AddedAdds search to our API documentation. (#2294)
- RemovedRemoves
new
to constructImmutable.List
types. (#2300)
2018.5.2 – 16 Nov 2018
UI
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.5.1 – 10 Sep 2018
UI
- AddedAdds public CSS class
PSPDFKit-Image-Annotation
for image annotations. (#2264) - ChangedImproves usability for invalid image annotations. (#2266)
- FixedFixes a bug that allowed the use of PDFs for image annotations via the toolbar button. (#2262)
- FixedFixes an issue where the loading indicator for image annotations was shown in a wrong position. (#2260)
- FixedFixes an issue in Safari where blend modes were not applied to ink annotations while drawing them or changing their blend mode. (#2251)
Model
- ChangedImproves error messages for invalid image attachments. (#2259)
- FixedFixes an issue where some PDF pages could not be inserted as attachments for images. (#C16729)
2018.5 – 5 Sep 2018
See the announcement post.
UI
- APIAdds new methods to control annotation presets:
Instance#annotationPresets
,Instance#setAnnotationPresets
, andPSPDFKit#defaultAnnotationPresets
. (#2077) - APIAdds
Configuration#annotationPresets
and theannotationPresets.update
event to make it possible to persist annotation presets. (#2077) - APIAdds
ToolbarItem#preset
to create annotations with different presets. (#2077) - APIAdds
Configuration#enableServiceWorkerSupport
to not bypass service workers when loading stylesheets. (#1963) - APIRemoves
InteractionMode.LAYOUT_CONFIGURATION
. (#1653) - AddedAdds support for image annotations. (#1202)
- AddedAdds the document outline sidebar. (#2137)
- AddedAdds the document annotations sidebar. (#2145)
- AddedAdds new highlighter and arrow tool. (#2129)
- AddedAdds support for vertical alignment of text annotations. (#1608)
- AddedAdds persistence to user changes in the annotation toolbars by modifying its associated preset. (#2077)
- AddedAdds public CSS classes for each button in the layout configuration option. (#2146)
- AddedAdds
.PSPDFKit-Text-Markup-Annotation-selected
to match selected text markup annotations. (#2109) - ChangedImproves performance of zooming and scrolling. (#2083)
- FixedFixes an issue where all squiggle annotations would inherit the same color of the last one created. (#2077)
- FixedFixes an issue where styles were not applied to widgets. (#1831)
- FixedFixes an issue where line caps were not being hidden in short lines. (#2147)
- FixedFixes an issue where some shape annotations were printed cropped. (#2149)
- FixedFixes an issue where relative URLs in CSS did not resolve correctly. (#1963)
- FixedFixes an issue where grouped toolbar buttons could not be disabled. (#2123)
- FixedFixes overflowing toolbar items are not visible. Now the toolbar can scroll horizontally. (#2189)
Model
- APIAdds
Annotations.ImageAnnotation
for image annotations. (#1202) - APIAdds
OutlineElement
andInstance#getDocumentOutline
to expose the document outline. (#2137) - APIAdds
Instance#createAttachment
andInstance#getAttachment
to create attachments that can be used for image annotations. (#2152) - APIAdds
Annotations.InkAnnotation#isSignature
to indicate when an ink annotation was created as signature. (#2112) - FixedFixes an issue where form fields imported via XFDF where not showing up Instant JSON. (#C16463)
Example
- AddedAdds PWA (progressive web app) example. (#1996)
- AddedAdds Vue.js example. (#2072)
- ChangedUpdates dependencies of Webpack example. (#2099)
Instant
- AddedAdds support for image annotations and attachments to Instant. (#1202)
- AddedAdds support for image annotations and attachments to Instant JSON. (#1202)
2018.4.3 – 16 Nov 2018
UI
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.4.2 – 24 Aug 2018
Model
- FixedFixes an issue with XFDF on rotated pages. (#2158)
2018.4.1 – 31 Jul 2018
UI
- AddedAdds option to specify the number of password retries. (#2067)
- AddedAdds
PSPDFKit-Annotation-Widget-read-only
as public CSS class. (#1646) - ChangedImproves text selection behavior when there is padding between the individual text lines. (#2090)
- ChangedChanges
PSPDFKit.unload()
to be idempotent if a DOM element is passed without PSPDFKit for Web being mounted. (#2076) - FixedFixes an issue where pinching zoomed the whole viewport. (#2070)
- FixedFixes an issue where locale does not attempt to fallback. (#2078)
- FixedFixes an issue with clipping annotations to the page. (#2075)
- FixedFixes an issue where the viewport was too large when zoomed in. (#2086)
- FixedFixes an issue where the text was not updated when changing the locale. (#2031)
- FixedFixes an issue with custom CSS on Firefox. (#2104)
- FixedFixes an issue with a missing translation. (#2092)
- FixedFixes an issue with unnecessary custom overlay items re-rendering. (#2107)
Core
- ChangedImproves setup experience by adding better error messages. (#2085)
2018.4 – 12 Jul 2018
See the announcement post.
UI
- AddedAdds support for blend modes on Ink and Markup Annotations. (#1878)
- AddedAdds support for shape annotations: line, rectangle, ellipse, polyline and polygon. (#1203)
- AddedAdds public CSS classes for the Layout Config toolbar item and dropdown for easy styling. (#2064)
- ChangedImproves style of disabled buttons. (#1920)
- ChangedChanges the order of
PSPDFKit.defaultToolbarItems
. (#2039) - FixedFixes a rendering issue that resulted into blurry pages at certain zoom levels. (#1824)
- FixedFixes an issue with IE 11 when editing text annotations. (#1958)
- FixedFixes an issue with IE 11 where pasted text got duplicated. (#1850)
- FixedFixes a bug where annotations where immediately draggable when using the
setSelectedAnnotation
API method. (#1969) - FixedFixes a regression where form fields were read-only when the document permissions didn’t permit modification. (#1976)
- FixedFixes an issue where setting the ViewState threw an Error when in read-only mode. (#1952)
- FixedFixes an issue where forms were not enabled when document permissions didn’t permit modifying annotations and forms. (#1999)
- FixedFixes an issue when changing the properties of an ink annotation before drawing the first line when Instant is disabled. (#2004)
- FixedFixes an issue where annotation toolbars and some toolbar buttons included
undefined
as class name. (#2013) - FixedFixes an issue with long text overflowing in the layout configuration dropdown. (#2023)
- FixedFixes an issue where the delete icon in the annotation toolbar was visible although the annotation was not created yet. (#2043)
- FixedFixes an issue where the text-align icon was not correct. (#2042)
- FixedFixes an issue with forms not rendering in standalone when rotating pages. (#2057)
- FixedFixes an issue which prevented scrolling modals on mobile. (#2046)
Model
- APIRemoves deprecated
Instance#renderCover
. (#1431) - FixedFixes an issue where the default
Annotation#name
was sometimes out of sync withAnnotation#id
. (#1980) - FixedFixes an issue where annotation changes made via the API where not automatically saved to the server when Instant is disabled. (#2005)
- FixedFixes an issue where invalid annotations crash the application. (#2004)
- FixedFixes an issue where the Instant Document JSON returned a permanent but no changing PDF ID. (#1847)
Example
- FixedFixes a bug in the Rails example, where restarting the example container did not work. (#1971)
Instant
- FixedFixes an issue where the annotation payload for Instant was including unnecessary information. (#1980)
2018.3.3 – 16 Nov 2018
UI
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.3.2 – 20 Jun 2018
UI
- FixedFixes a regression where readOnly form fields where not properly disabled. (#1921)
- FixedFixes an issue with selection grippers not working on Windows touch devices. (#1925)
- FixedFixes an issue with contextual menus overlap the text markup annotation popover on some touch devices. (#1925)
- FixedFixes an issue where creating an ink annotation with a background color caused the page content to disappear. (#1916)
- FixedFixes an issue with stylesheets not being cached by a user defined service worker. (#1928)
Model
- FixedFixes an issue with the newly introduced
isFitting
property for text annotations. (#C15597) - FixedFixes an issue where search did not work in IE 11 when using standalone. (#1883)
- FixedFixes an issue with all the custom overlay items for a page being removed in bulk. (#1942)
2018.3.1 – 4 Jun 2018
UI
- APIAdds
Configuration#disableIndexedDBCaching
to force disable caching of the WASM module when IndexedDB is supported. (#1905) - APIAdds
Configuration#disableWebAssemblyStreaming
to force disable WebAssembly streaming instantiation. (#1907) - APIAdds
Configuration#standaloneInstancesPoolSize
to configure the number of disposed instances to keep in memory for fast reuse. (#1908) - FixedFixes an issue where forms were not rendered as read only when the server’s
write
permission was not set. (#1870)
Model
- FixedFixes a crash when setting the
interactionMode
and enablingreadOnly
mode at the same time. (#1901)
Instant
- AddedAdds annotation
note
to Instant JSON. (#C15404)
2018.3 – 31 May 2018
See the announcement post.
UI
- APIAdds
PSPDFKit.Annotations.toSerializableObject
andPSPDFKit.Annotations.fromSerializableObject
to convert annotations to and from serializable objects which adhere to the InstantJSON format. (#1704) - AddedAdds support for touch events on desktop browsers. (#1459)
- AddedAdds support for ink signatures. (#1704)
- APIAdds
Instance#getInkSignatures
to retrieve the list of ink signatures. - APIAdds
Instance#setInkSignatures
to set or update the list of ink signatures. - APIAdds
Configuration#populateInkSignatures
to load the initial list of ink signatures.
- AddedAdds public CSS classes to Link Annotations for easy styling. (#1860)
- ChangedImproves the file size of the required style sheet. (#1795)
- ChangedImproves rendering performance when resizing the sidebar and when switching between page modes. (#1859)
- FixedFixes an with responsive toolbar groups including items from other groups. (#1784)
- FixedFixes responsive behavior of the text annotation toolbar. (#1800)
- FixedFixes a regression when copying text on IE 11. (#1454)
- FixedFixes an issue where multi line text widgets that have an automatic text size had a font size that was too big. (#1844)
- FixedFixes opacity of Text Annotations in editable mode. (#1799)
- FixedFixes an issue where opacity was being doubled on editing mode text annotations. (#1799)
Model
- AddedAdds a new annotation event:
annotations.load
that is triggered whenever annotations are loaded from the underlying data source. This was previously firingannotations.create
. (#1690) - AddedAdds support for
fontSize
property on widget annotations. (#1747) - AddedAdds
Annotation#name
to all annotation records. This will default to the annotation identifier to mimic the behavior of our other platforms. (#C14856) - AddedAdds support for dynamic code loading to reduce bundle size. (#1755)
- AddedAdds new instance events for ink signatures:
inkSignatures.create
,inkSignatures.update
,inkSignatures.delete
. (#1704) - AddedAdds support for password protected PDFs. (#1632)
- FixedFixes an issue where the loading of the initial annotations would not cause an event to be triggered when using Instant. (#1690)
- FixedFixes an issue with the
ViewState
API which allowed to changeInteractionMode
when the document was in read only mode. (#1838) - FixedFixes an issue where the text of a TextAnnotation in the generated PDF was cut off. (#1275)
- FixedFixes a race condition when trying to use
Instange#getAnnotations
for a page that is loading its annotations. (#1871)
Instant
- AddedAdds annotation
name
to Instant JSON. Also renamedpspdfkit/file
name
tofilename
to prevent collisions. (#C14856) - AddedAdds
isFitting
to text annotations in Instant JSON. This property is used to correctly display the annotation in environments where the annotation’s font is not available. (#977)
Example
- AddedAdds support for simple layer authentication to the Node.js example app. (#1817)
- ChangedImproves experience for Windows users for all example applications. (#1857)
- ChangedUpdate React and Webpack example apps to work with the new
pspdfkit-lib
asset directory. (#1826) - FixedFixes an issue with the wrong mime types in the React example app. (#1825)
2018.2.2 – 16 Nov 2018
UI
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.2.1 – 2 May 2018
UI
- FixedFixes an issue with responsive toolbar groups including items from other groups. (#1784)
- FixedFixes missing translation in search UI. (#1791)
Model
- FixedFixes an issue where forms where not properly loaded when starting in read only mode. (#1794)
2018.2 – 28 Mar 2018
See the announcement post.
UI
- APIAdds
Configuration#disableTextSelection
to disable text selection andConfiguration#disableHighQualityPrinting
to disable high quality printing. (#1424) - APIAdds
Instance#getTextSelection()
and a new eventtextSelection.change
to access the text selection state. (#1724) - APIAdds
page.onPress
andtextLine.onPress
events to control clicks in the document. (#1724) - APIAdds
Instance#jumpToRect()
to make sure a specific rect (in PDF page coordinates) is brought into the viewport. (#1750) - APIAdds ability to create and add custom overlay items to the document. (#1709)
- APIAdds
Instance#setCustomOverlayItem()
to create and update a custom overlay item. - APIAdds
Instance#removeCustomOverlayItem()
to remove a custom overlay item. - APIAdds
PSPDFKit.CustomOverlayItem
- a record to create custom overlay items.
- APIAdds I18n (internationalization) support. (#1732)
- APIAdds
PSPDFKit.I18n
to access and modify internationalization data. (#1732) - APIAdds
Instance#locale
andInstance#setLocale
to manage the application locale. (#1732)
- APIAdds support for customizing the search behavior. (#1739)
- APIAdds
Instance#searchState
,Instance#setSearchState()
, andPSPDFKit.SearchState
to control the state of the search UI. - APIAdds
Instance#startUISearch()
as a shortcut to show the search box, type in a search term, and start the default search behavior. - APIAdds new search events:
search.stateChange
will be fired wheneverPSPDFKit.SearchState
updates,search.termChange
will be fired whenever the user changes the search term.
- APIAdds
Instance#getSelectedAnnotation()
,Instance#setSelectedAnnotation()
, and the eventannotationSelection.change
to interact with the currently selected annotation. (#1562) - AddedAdds PSPDFKit for Electron. (#1758)
- AddedAdds I18n (internationalization) support. (#1732)
- AddedAdds a customizable confirm dialog instead of using
confirm()
. (#1670) - AddedAdds support for iOS 11.3. (#1746)
- ChangedImproves rendering performance on low resolution and mobile devices. (#1727)
- ChangedChanges the breakpoint for showing note annotation contents in full screen. (#1783)
- FixedFixes ToolbarItems with not unique IDs render multiple times on resize. (#1728)
- FixedFixes an issue with an invalid cursor for the pan tool on Internet Explorer 11. (#1777)
- FixedFixes an issue where the wrong toolbar items where shown quickly after closing the native print dialog. (#1734)
- FixedFixes an issue with the layout of slider inputs on Microsoft Edge and Internet Explorer 11. (#1775)
- FixedFixes a rendering issue when using standalone deployments and rotated pages on WebKit. (#1778)
Model
- AddedAdds support for parsing
GoToEmbeddedAction
,GoToRemoteAction
,HideAction
,JavaScriptAction
,LaunchAction
, andNamedAction
. (#1736) - AddedAdds
Instance#setAnnotationCreatorName()
to set the annotation creator name andAnnotation#creatorName
,Annotation#createdAt
, andAnnotation#updatedAt
to an annotation. (#1714) - AddedAdds
Instance#search()
to find occurrences of a text string in the raw PDF. (#1739) - AddedAdds
PSPDFKit.SearchResult
to describe a search result. (#1739) - AddedAdds
Instance#renderPageAsArrayBuffer
to render a page as anArrayBuffer
. (#1431) - AddedAdds
Instance#renderPageAsImageURL
to render a page and get a URL to it. (#1431) - AddedAdds
Instance#getMarkupAnnotationText
to extract the text from markup annotations. (#1705) - AddedAdds validation for annotations created and/or updated via public API. (#1731)
- ChangedImproves
Instance#getAnnotations
to throw an error, when called with invalid arguments. (#1781) - FixedFixes an issue in our WASM regression detection for iOS 11.2.6. (#1745)
- FixedFixes an issue with
exportXFDF
not preserving the document state. (#1768) - RemovedDeprecates
Instance#renderCover
. (#1431)
Example
- AddedAdds the new PSPDFKit for Electron example. (#1758)
Instant
- AddedAdds createdAt, updatedAt and creatorName to Instant JSON. (#C14443)
2018.1.5 – 16 Nov 2018
- FixedFixes broken PDF text parsing in Firefox, Edge, and IE 11. (#2473)
2018.1.4 – 15 Mar 2018
No web-specific changes in this version.
2018.1.3 – 8 Mar 2018
- FixedFixes an issue where the wrong toolbar items where shown quickly after closing the native print dialog. (#1734)
- FixedFixes an issue in our WASM regression detection for iOS 11.2.6. (#1745)
2018.1.2 – 28 Feb 2018
- AddedAdds support for automatically extracting links from text. (#C13944)
- ChangedSignificantly reduces the memory usage for Standalone deployments. (#1453)
- FixedFixes clients presence connections failures that were not handled. (#1723)
2018.1.1 – 14 Feb 2018
- FixedFixes sidebar button not selected when the sidebar is open. (#1712)
2018.1 – 8 Feb 2018
See the announcement post.
- APIAdds support for rotating pages in the current view. (#1621)
- APIAdds
ViewState#pagesRotation
to set the currently applied rotation. - APIAdds
ViewState#rotateLeft()
andViewState#rotateRight()
to rotate the current view by 90° clockwise or counterclockwise.
- APIAdds a new toolbar item
sidebar-thumbnails
. (#1614) - APIAdds
ViewState#sidebarMode
to control the sidebar. (#1614) - AddedAdds support for rotating pages. (#1621)
- AddedAdds support for importing and exporting XFDF. (#1651)
- AddedAdds support for exporting Instant JSON on server setups. (#1662)
- AddedAdds support for grouped checkbox form fields. (#1689)
- AddedAdds WASM streaming initialization and caching for supported browsers. (#1644)
- AddedAdds more runtime type checks to the
ViewState
API. (#1655) - AddedAdds sidebar for page thumbnails previews. (#1614)
- AddedAdds keyboard shortcuts to change page using the left and right arrow keys. (#1666)
- AddedAdds support for the
NoView
flag for all supported annotations. (#1683) - FixedFixes a WASM regression on iOS 11.2.2 and 11.2.5 by disabling WASM support on these particular versions. (#1650)
- FixedFixes a bug where opening the
layout-config
menu will hide new ink drawings. (#1652) - FixedFixes an issue where unchecked checkboxes were not properly exported. (#1673)
- FixedFixes a bug where pages were briefly rendered in the browser while printing. (#1678)
- FixedFixes keyboard shortcuts work in combination with
shift
key. (#1696)
2017.9.4 – 24 Jan 2018
No web-specific changes in this version.
2017.9.3 – 17 Jan 2018
- FixedFixes an issue when opening a PDF using the RESTProvider and a license without forms. (#1612)
- FixedFixes an issue when deleting an annotation using the RESTProvider. (#1635)
- FixedFixes a bug preventing client presences to be updated. (#1618)
- FixedFixes full screen keyboard shortcut instead open search. (#1609)
- FixedFixes incorrect text lines in some documents. (#C13148)
- FixedFixes an assertion when a non-specified named action was deserialized via Instant JSON. (#C13804)
- FixedFixes
PrintMode.EXPORT_PDF
not working in Edge and IE 11 for Standalone deployments. (#1640)
2017.9.2 – 20 Dec 2017
- FixedFixes permission compatibility with server. (#1601)
- FixedFixes
setFormFieldValue
sending malformed payload to the server. (#1599)
2017.9.1 – 15 Dec 2017
- FixedFixes an issue where trial licenses did not have the form license flag set. (#C13553)
2017.9 – 14 Dec 2017
See the announcement post.
- APIAdds support for programmatic form filling. (#936)
- APIAdds
Instance#getFormFields()
to access form fields. - APIAdds
Instance#getFormFieldsValues()
andInstance#setFormFieldsValues()
to easily access the current form field values. - APIAdds
WidgetAnnotation
to the annotation API. This annotation can never be modified and is used to render form fields. - APIAdds
SubmitFormAction
andResetFormAction
. The submit action will also fireforms.willSubmit
andforms.didSubmit
, respectively.
- APIAdds a new toolbar item type,
responsive-group
. This can be used to create groups of toolbar items for smaller screens. (#1412) - AddedAdds support for interactive forms. (#936)
- AddedAdds support for filling forms via Instant. (#936)
- AddedAdds a responsive mode to the toolbar. Annotation tools are now by default grouped under an “Annotate” option on small screens. (#1412)
- AddedAdds headless mode to run PSPDFKit for Web without a user interface. (#1534)
- FixedFixes an error in Instant when two clients edit text annotations simultaneously. (#1522)
- FixedFixes flickering of the note annotation popover when a note annotation is selected. (#1363)
- FixedFixes an issue where default colors for highlight annotations were not rendered properly. (#C12938)
2017.8.1 – 6 Dec 2017
No web-specific changes in this version.
2017.8 – 22 Nov 2017
- ChangedChanges annotation IDs from numerical to client-side generated string IDs. (#1303)
- FixedFixes a bug that prevented text selection starting from non-text nodes. (#1492)
- FixedFixes impossible to deselect text. (#1492)
- FixedFixes canceled text lines requests in standalone resolve anyway. (#1506)
- FixedFixes an issue with Instant on documents without the
edit-annotations
permission. (#1451)
2017.7.1 – 15 Nov 2017
- ChangedImproved memory management for standalone deployments. (#1453)
- FixedFixes
getBaseUrl
removes part of the url in IE. (#1456) - FixedFixes copied text includes new lines in Firefox and IE. (#1463)
2017.7 – 25 Oct 2017
See the announcement post.
- APIAdds
PSPDFKit.unload
to terminate running and loading instances in favor of the now deprecatedInstance#destroy
. (#1389) - APIAdds new CSS classes to select annotations. (#1414)
- APIAdds new CSS class to select text. (#1406)
- APIAdds option to specify a
pageIndex
to theInstance#renderCover
standalone API. (#1404) - APIAdds option to disable WebAssembly when using standalone deployments. (#1416)
- APIAdds new
contentWindow
andcontentDocument
getters to theInstance
to quickly access the content of the PSPDFKit viewer. (#1439) - APIAdds API for printing and introduces printing modes. (#1319)
- APIFixes the casing in CSS class names of specific note annotation icons to be more consistent. (#1414)
- AddedAdds new printing mode
DOM
. This method will render all pages of the PDF document in advance before it sends the results to the printer. (#1319) - AddedAdds a new icon set for all toolbar items. (#1413)
- AddedAdds pinching for touch devices in
PER_SPREAD
scroll mode. (#1315) - ChangedImproved support for Apple Pencil. (#1415)
- ChangedImproved WebAssembly/asm.js loading time of subsequent initializations. (#1390)
- FixedFixes an issue where an Instant sync conflict was causing an invalid state. (#1347)
- FixedFixes an issue with the transition of note annotation popovers. (#1388)
- FixedFixes an issue that sometimes prevented the text caret to be drawn in IE 11 and Edge. (#1395)
- FixedFixes the position of the initial text caret on Safari. (#1396)
- FixedFixes a rendering issue that resulted into a blurry pages when using standalone deployments. (#1261)
- FixedFixes the spacing of color picker items in responsive mode. (#1414)
- FixedFixes an issue that emitted the wrong payload with the
annotations.delete
event. (#1423) - FixedFixes an issue that caused a crash when the page index of an annotation was out of bounds. (#1397)
- FixedFixes an issue that prevent toolbar items from being disabled via the API. (#1432)
2017.6.1 – 2 Oct 2017
- AddedAdds support for Internet Explorer 11 when using standalone deployments. (#C11782)
- ChangedImproves read-only mode for note annotations. (#1360)
- ChangedImproves error messages when invalid JWT token is supplied. (#1379)
- ChangedChanges the default breakpoint for the
layout-config
toolbar item. (#1364)
2017.6 – 18 Sept 2017
See the announcement post.
- API
ViewState#pageSpacing
is now used for the spacing between pages inLayoutMode.DOUBLE
. For the previous behavior, please useViewState#spreadSpacing
instead. - APIDeprecates
ViewState#viewMode
and addsViewState#layoutMode
andViewState#scrollMode
. (#1272) - APIRenames
ZoomMode.PAGE_FIT
andZoomMode.PAGE_WIDTH
toZoomMode.FIT_TO_VIEWPORT
andZoomMode.FIT_TO_WIDTH
. (#1277) - APIAdds
ViewState#keepFirstSpreadAsSinglePage
to start with a single page inLayoutMode.DOUBLE
. (#737) - APIAdds
Instance#textLinesForPageIndex
to extract text content of a page. (#1302) - AddedAdds double page mode for both scroll modes. (#737)
- AddedAdds support for zooming and scrolling in
PER_SPREAD
scroll mode. (#1285) - AddedAdds pagination by using the mouse scroll wheel in
PER_SPREAD
scroll mode. (#1285) - AddedAdds support for Note annotations. (#1235)
- ChangedImproves error messages for some APIs. (#1304)
- ChangedImproves performance when opening a big PDF with many annotations. (#1304)
- ChangedImproves user experience while rendering pages. (#1301)
- FixedFixes an issue where annotations imported via Instant JSON could no longer be updated or deleted. (#1312)
- FixedFixes an issue where the zoom level was not properly recalculated, when the viewport dimensions changed. (#1310)
- FixedFixes an issue with printing still working after being disabled via API. (#1324)
- FixedFixes an issue where an error was logged when refreshing the browser. (#1329)
- FixedFixes errors that ocurred when the root element was removed from the DOM, before the viewer finished loading. (#1328)
- FixedFixes a race condition that could occur when syncing annotations. (#1343)
2017.5.4 – 31 Aug 2017
No web-specific changes in this version.
2017.5.3 – 17 Aug 2017
- FixedFixes an issue with Chrome that prevented the document from rendering in certain environments. (#1293)
2017.5.2 – 9 Aug 2017
- ChangedImproves backoff behavior of Instant endpoint when an error occurs. (#1249)
- FixedFixes an issue where zooming in or out when text is selected caused a wrong popover position. (#1269)
- FixedFixes Safari/IE 11 not including request headers for tiles request. (#1283)
- FixedFixes
exportPDF
flattens by default converting annotations to non-editable content. We made it configurable. (#1276) - FixedFixes an issue where a floating point font size for a text annotation causes two options with the same value in the dropdown list. (#1284)
2017.5.1 – 24 Jul 2017
- ChangedImproves standalone rendering speed. (#1243)
- ChangedImproves error logging in some cases. (#1251)
- FixedFixes the default save mode when using standalone deployments. (#1257)
- FixedFixes an issue with Edge when using standalone deployments. (#1250)
2017.5 – 20 Jul 2017
See the announcement post.
- APIAdds
Configuration#pdf
to load a PDF for client side rendering via anURI
or anArrayBuffer
. (#966) - APIAdds ability to create, read, update, and delete annotations as well as an API to observe annotation changes. (#937)
- APIAdds event before and after the annotations are saved. (#1150)
- APIExpose annotation interfaces (
Annotation
,HighlightAnnotation
,InkAnnotation
,LinkAnnotation
,SquiggleAnnotation
,StrikeOutAnnotation
,TextAnnotation
,MarkupAnnotation
UnderlineAnnotation
,UnknownAnnotation
). (#1049) - APIExposes new primitives types (
Immutable.List
,Geometry.Point
,Geometry.DrawingPoint
,Geometry.Rect
,Geometry.Size
andColor
). (#1031) - APIExposes PDF action types (
Actions.GoToAction
,Actions.URIAction
). (#1037) - APISupports different save modes and adds ability to save annotations manually. (#964)
- APIRenames
viewstatechanged
,currentpageindexchanged
,zoomchanged
andconnectedclientschanged
events. (#1151) - APIAdds
Instance#hasUnsavedAnnotations
to find out if unsaved annotations are present. (#1152) - APIAdds
Instance#exportPDF
to access the raw PDF binary data asArrayBuffer
. (#1163) - APIAdds
Instance#exportInstantJSON
andConfiguration#instantJSON
to serialize and deserialize the document state including all annotations using Instant JSON when no server is present. (#1158) - APIAdds
Instance#renderCover
to render the first page as a thumbnail for client side rendering. (#1178) - APIAllow to override onPress handlers for annotations. (#1175)
- APIAllow to overwrite the inferred base url for the Server in case the JavaScript is loaded from a different host. (#1185)
- AddedAdds support for client side rendering using WebAssembly (wasm) or asm.js. Please visit our guides for more information. (#966)
- AddedAdds support for bundling PSPDFKit for Web using an npm package. (#1098)
- ChangedImproves pinching performance on mobile devices. (#1085)
- ChangedImproves performance of tile rendering. (#1125)
- FixedFixes zoom buttons should only be hidden for touch devices. (#1077)
- FixedFixes error in the Custom Toolbar when
mediaQueries
is set toundefined
. (#1080) - FixedFixes cleanup of event listeners when drawing ink annotations. (#1061)
- FixedFixes a bug that caused Safari on iOS to trigger the default zoom behavior on double tap. (#859)
- FixedFixes an issue with
babel-polyfill
. (#1108) - FixedFixes issue when quickly jumping through search results. (#1078)
- FixedFixes prevent text annotation to increase page size when created at the edge. (#1130)
- FixedFixes sliders’ thumb position for Edge. (#1136)
- FixedFixes sliders’ vertical alignment in IE 11. (#1136)
- FixedFixes an issue where the initial viewport size was wrong. (#1240)
- FixedFixes link annotations not clickable when in read-only mode. (#1242)
2017.4 – 16 May 2017
See the announcement post.
- APIAdds ability to customize and add new items to the main toolbar. (#1048)
- APIAdds new option
interactionMode
toViewState
to enable ink, text, search and pan mode. (#1003) - APIAdds
version
toPSPDFKit
to get the current version of PSPDFKit for Web. (#1047) - AddedAdds support for interacting with all annotation types (ink, text, highlight, squiggle, underline, strike-through, and link) on mobile devices. (#906)
- AddedAdds a special annotation toolbar that appears when text is selected to allow the creation of markup annotations on mobile devices. (#1060)
- AddedAdds pan tool to allow users to navigate on a desktop browser using mouse dragging. (#887)
- ChangedImproves the scrolling performance in Chrome browsers when an ink annotation is inside the viewport. (#616)
- ChangedImproves tiling by avoiding unnecessary calculations. (#1000)
- ChangedImproves ink annotation creation on different pages. (#985)
- ChangedImproves logging and descriptiveness of messages for errors in HTTP APIs. (#S1078, #S1110)
- FixedFixes issues with empty text annotations. (#821)
- FixedFixes an issue with text annotations that get dragged while they’re changed. (#980)
- FixedFixes a bug that prevented the focus of the text annotation after clicking on it. (#1013)
- FixedFixes a bug that caused a wrong initial text selection within a text annotation. (#929)
- FixedFixes a bug that caused an exception when destroying the PSPDFKit for Web instance on IE 11. (#1034)
- FixedFixes the centering of the content inside the viewport. (#998)
- FixedFixes a bug where delete annotation can delete pdf assets. (#S1117)
2017.3.2 – 19 Apr 2017
- AddedAdds CSS class for unsupported annotations and hides them by default. (#991)
- FixedFixes a bug where the
user_id
of the user performing a change was not always persisted. (#S1083)
2017.3.1 – 12 Apr 2017
- AddedAdds a new license information page to the dashboard. (#S1074)
- AddedAdds
cmd+g
andcmd+shift+g
keyboard shortcuts to jump to the next/previous search result (macOS only). (#961) - Changed
load()
will now throw if thecontainer
element has children. (#957) - FixedFixes buggy behavior in Firefox where the user needs to press backspace twice to start to delete from the end of a text annotation. (#974)
- FixedFixes a bug in Firefox where a NO-BREAK SPACE was inserted after the first line break. (#976)
- FixedFixes a bug when switching annotation modes. (#818)
2017.3 – 29 Mar 2017
See the announcement post.
- APIAdds option to enable read only mode. (#886)
- APIAdds option to hide annotations. (#886)
- APICustom style sheets must now be set through the JavaScript API. (#630)
- APIAdds option to hide the print icon to
ViewState
. (#845) - APIAdds many new public CSS classes. (#733)
- APIAdds documentation for
load()
. (#839) - AddedAdds support for printing documents. (#845)
- AddedAdds new AUTO zoom mode for a better default experience. (#741)
- AddedAdds support for flattening annotations into the PDF before it is downloaded. (#S1026)
- AddedAdds support for permissions to selectively enable/disable viewing and editing features. These replace the old access control based on the
access
anduser_id
fields. (#S1031) - ChangedPrevents CSS conflicts by encapsulating the viewer. (#630)
- ChangedEnforces
document_id
to be type ofstring
in the JWT. (#824) - ChangedUpdates the format of the JWT used for authentication. (#S1031, #S1043)
- RemovedRemoves border of link annotations. (#882)
- FixedFixes an error for Chrome >= 56 that was caused by Chrome making event handlers passive per default. (#792)
- FixedFixes z-index ordering for some annotations to prioritize newer ones. (#746)
- FixedFixes an issue that prevented dragging annotations in IE 11. (#870)
- FixedFixes an issue with editing a text annotation after reloading. (#852)
2017.2 – 17 Feb 2017
See the announcement post.
- APIThe server will now always return and expect string document IDs. (#808)
- AddedAdds HTTP API for working with annotations.
- AddedAdds a debug mode to track down issues during development. (#760)
- AddedAdds shortcuts to zoom in, out and back to page-fit.
- ChangedShows toolbar when starting to create an ink or text annotation. (#801)
- ChangedImproves read-only mode. (#761)
- ChangedImproves the contrast of resize anchors. (#751)
- ChangedImproves the Dashboard experience.
- ChangedSearch now also appears via CMD-G on macOS. (#758)
- FixedFixes an issue that sends an invalid search request. (#756)
- FixedFixes an issue where parts of the annotation toolbar disappeared. (#647)
- FixedFixes an issue with hidden toolbar buttons. (#794)
2017.1 – 25 Jan 2017
See the announcement post.
- AddedAdds search. (#722)
- AddedAdds custom dropdown to preview fonts. (#413)
- ChangedOptimizes ink annotations. (#590)
2016.3 – 21 Dec 2016
See the announcement post.
- AddedAdds a dashboard for easy control over the server.
- ChangedShows a font’s name in the dropdown even if the font is not available. (#665)
2016.2.1 – 12 Dec 2016
- FixedFixes an issue with external events. (#699)
2016.2 – 8 Dec 2016
- AddedAdds support for Internet Explorer 11. (#676)
- RemovedRemoves white space after the last page on Firefox for Android. (#651, #652)
- FixedFixes an issue with text annotation clipping on Edge. (#644)
- FixedFixes an issue with PDF documents that have fractional page dimensions. (#660)
- FixedFixes an issue with the AnnotationToolbar position. (#661)
2016.1 – 1 Dec 2016
See the announcement post.
- ChangedFirst public release.