PSPDFKit Changelog

 

Follow us on Twitter for updates. Our blog highlights the best new features and changes.

Newest Release

2017.6 - 18 Sept 2017

  • API
    ViewState#pageSpacing is now used for the spacing between pages in LayoutMode.DOUBLE. For the previous behavior, please use ViewState#spreadSpacing instead.
  • API
    Deprecates ViewState#viewMode and adds ViewState#layoutMode and ViewState#scrollMode. (#1272)
  • API
    Renames ZoomMode.PAGE_FIT and ZoomMode.PAGE_WIDTH to ZoomMode.FIT_TO_VIEWPORT and ZoomMode.FIT_TO_WIDTH. (#1277)
  • API
    Adds ViewState#keepFirstSpreadAsSinglePage to start with a single page in LayoutMode.DOUBLE. (#737)
  • API
    Adds Instance#textLinesForPageIndex to extract text content of a page. (#1302)
  • Added
    Adds double page mode for both scroll modes. (#737)
  • Added
    Adds support for zooming and scrolling in PER_SPREAD scroll mode. (#1285)
  • Added
    Adds pagination by using the mouse scroll wheel in PER_SPREAD scroll mode. (#1285)
  • Added
    Adds support for Note annotations. (#1235)
  • Changed
    Improves error messages for some APIs. (#1304)
  • Changed
    Improves performance when opening a big PDF with many annotations. (#1304)
  • Changed
    Improves user experience while rendering pages. (#1301)
  • Fixed
    Fixes an issue where annotations imported via Instant JSON could no longer be updated or deleted. (#1312)
  • Fixed
    Fixes an issue where the zoom level was not properly recalculated, when the viewport dimensions changed. (#1310)
  • Fixed
    Fixes an issue with printing still working after being disabled via API. (#1324)
  • Fixed
    Fixes an issue where an error was logged when refreshing the browser. (#1329)
  • Fixed
    Fixes errors that ocurred when the root element was removed from the DOM, before the viewer finished loading. (#1328)
  • Fixed
    Fixes a race condition that could occur when syncing annotations. (#1343)

Previous Releases

2017.5.4 - 31 Aug 2017

No web-specific changes in this version.

2017.5.3 - 17 Aug 2017

  • Fixed
    Fixes an issue with Chrome that prevented the document from rendering in certain environments. (#1293)

2017.5.2 - 9 Aug 2017

  • Changed
    Improves backoff behavior of Instant endpoint when an error occurs. (#1249)
  • Fixed
    Fixes an issue where zooming in or out when text is selected caused a wrong popover position. (#1269)
  • Fixed
    Fixes Safari/IE11 not including request headers for tiles request. (#1283)
  • Fixed
    Fixes exportPDF flattens by default converting annotations to non-editable content. We made it configurable. (#1276)
  • Fixed
    Fixes 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

  • Changed
    Improves standalone rendering speed. (#1243)
  • Changed
    Improves error logging in some cases. (#1251)
  • Fixed
    Fixes the default save mode when using standalone deployments. (#1257)
  • Fixed
    Fixes an issue with Edge when using standalone deployments. (#1250)

2017.5 - 20 Jul 2017

  • API
    Adds Configuration#pdf to load a PDF for client side rendering via an URI or an ArrayBuffer. (#966)
  • API
    Adds ability to create, read, update, and delete annotations as well as an API to observe annotation changes. (#937)
  • API
    Adds event before and after the annotations are saved. (#1150)
  • API
    Expose annotation interfaces (Annotation, HighlightAnnotation, InkAnnotation, LinkAnnotation, SquiggleAnnotation, StrikeOutAnnotation, TextAnnotation, MarkupAnnotation UnderlineAnnotation, UnknownAnnotation). (#1049)
  • API
    Exposes new primitives types (Immutable.List, Geometry.Point, Geometry.DrawingPoint, Geometry.Rect, Geometry.Size and Color). (#1031)
  • API
    Exposes PDF action types (Actions.GoToAction, Actions.URIAction). (#1037)
  • API
    Supports different save modes and adds ability to save annotations manually. (#964)
  • API
    Renames viewstatechanged, currentpageindexchanged, zoomchanged and connectedclientschanged events. (#1151)
  • API
    Adds Instance#hasUnsavedAnnotations to find out if unsaved annotations are present. (#1152)
  • API
    Adds Instance#exportPDF to access the raw PDF binary data as ArrayBuffer. (#1163)
  • API
    Adds Instance#exportInstantJSON and Configuration#instantJSON to serialize and deserialize the document state including all annotations using Instant JSON when no server is present. (#1158)
  • API
    Adds Instance#renderCover to render the first page as a thumbnail for client side rendering. (#1178)
  • API
    Allow to override onPress handlers for annotations. (#1175)
  • API
    Allow to overwrite the inferred base url for the Server in case the JavaScript is loaded from a different host. (#1185)
  • Added
    Adds support for client side rendering using WebAssembly (wasm) or asm.js. Please visit our guides for more information. (#966)
  • Added
    Adds support for bundling PSPDFKit for Web using an npm package. (#1098)
  • Changed
    Improves pinching performance on mobile devices. (#1085)
  • Changed
    Improves performance of tile rendering. (#1125)
  • Fixed
    Fixes zoom buttons should only be hidden for touch devices. (#1077)
  • Fixed
    Fixes error in the Custom Toolbar when mediaQueries is set to undefined. (#1080)
  • Fixed
    Fixes cleanup of event listeners when drawing ink annotations. (#1061)
  • Fixed
    Fixes a bug that caused Safari on iOS to trigger the default zoom behavior on double tap. (#859)
  • Fixed
    Fixes an issue with babel-polyfill. (#1108)
  • Fixed
    Fixes issue when quickly jumping through search results. (#1078)
  • Fixed
    Fixes prevent text annotation to increase page size when created at the edge. (#1130)
  • Fixed
    Fixes sliders' thumb position for Edge. (#1136)
  • Fixed
    Fixes sliders' vertical alignment in IE11. (#1136)
  • Fixed
    Fixes an issue where the initial viewport size was wrong. (#1240)
  • Fixed
    Fixes link annotations not clickable when in read-only mode. (#1242)

2017.4 - 16 May 2017

  • API
    Adds ability to customize and add new items to the main toolbar. (#1048)
  • API
    Adds new option interactionMode to ViewState to enable ink, text, search and pan mode. (#1003)
  • API
    Adds version to PSPDFKit to get the current version of PSPDFKit for Web. (#1047)
  • Added
    Adds support for interacting with all annotation types (ink, text, highlight, squiggle, underline, strike-through, and link) on mobile devices. (#906)
  • Added
    Adds a special annotation toolbar that appears when text is selected to allow the creation of markup annotations on mobile devices. (#1060)
  • Added
    Adds pan tool to allow users to navigate on a desktop browser using mouse dragging. (#887)
  • Changed
    Improves the scrolling performance in Chrome browsers when an ink annotation is inside the viewport. (#616)
  • Changed
    Improves tiling by avoiding unnecessary calculations. (#1000)
  • Changed
    Improves ink annotation creation on different pages. (#985)
  • Changed
    Improves logging and descriptiveness of messages for errors in HTTP APIs. (#S1078, #S1110)
  • Fixed
    Fixes issues with empty text annotations. (#821)
  • Fixed
    Fixes an issue with text annotations that get dragged while they're changed. (#980)
  • Fixed
    Fixes a bug that prevented the focus of the text annotation after clicking on it. (#1013)
  • Fixed
    Fixes a bug that caused a wrong initial text selection within a text annotation. (#929)
  • Fixed
    Fixes a bug that caused an exception when destroying the PSPDFKit for Web instance on IE 11. (#1034)
  • Fixed
    Fixes the centering of the content inside the viewport. (#998)
  • Fixed
    Fixes a bug where delete annotation can delete pdf assets. (#S1117)

2017.3.2 - 19 Apr 2017

  • Added
    Adds CSS class for unsupported annotations and hides them by default. (#991)
  • Fixed
    Fixes a bug where the user_id of the user performing a change was not always persisted. (#S1083)

2017.3.1 - 12 Apr 2017

  • Added
    Adds a new license information page to the dashboard. (#S1074)
  • Added
    Adds cmd+g and cmd+shift+g keyboard shortcuts to jump to the next/previous search result (macOS only). (#961)
  • Changed
    load() will now throw if the container element has children. (#957)
  • Fixed
    Fixes buggy behavior in Firefox where the user needs to press backspace twice to start to delete from the end of a text annotation. (#974)
  • Fixed
    Fixes a bug in Firefox where a NO-BREAK SPACE was inserted after the first line break. (#976)
  • Fixed
    Fixes a bug when switching annotation modes. (#818)

2017.3 - 29 Mar 2017

  • API
    Adds option to enable read only mode. (#886)
  • API
    Adds option to hide annotations. (#886)
  • API
    Custom style sheets must now be set through the JavaScript API. (#630)
  • API
    Adds option to hide the print icon to ViewState. (#845)
  • API
    Adds many new public CSS classes. (#733)
  • API
    Adds documentation for load(). (#839)
  • Added
    Adds support for printing documents. (#845)
  • Added
    Adds new AUTO zoom mode for a better default experience. (#741)
  • Added
    Adds support for flattening annotations into the PDF before it is downloaded. (#S1026)
  • Added
    Adds support for permissions to selectively enable/disable viewing and editing features. These replace the old access control based on the access and user_id fields. (#S1031)
  • Changed
    Prevents CSS conflicts by encapsulating the viewer. (#630)
  • Changed
    Enforces document_id to be type of string in the JWT. (#824)
  • Changed
    Updates the format of the JWT used for authentication. (#S1031, #S1043)
  • Removed
    Removes border of link annotations. (#882)
  • Fixed
    Fixes an error for Chrome >= 56 that was caused by Chrome making event handlers passive per default. (#792)
  • Fixed
    Fixes z-index ordering for some annotations to prioritize newer ones. (#746)
  • Fixed
    Fixes an issue that prevented dragging annotations in IE 11. (#870)
  • Fixed
    Fixes an issue with editing a text annotation after reloading. (#852)

2017.2 - 17 Feb 2017

  • API
    The server will now always return and expect string document IDs. (#808)
  • Added
    Adds HTTP API for working with annotations.
  • Added
    Adds a debug mode to track down issues during development. (#760)
  • Added
    Adds shortcuts to zoom in, out and back to page-fit.
  • Changed
    Shows toolbar when starting to create an ink or text annotation. (#801)
  • Changed
    Improves read-only mode. (#761)
  • Changed
    Improves the contrast of resize anchors. (#751)
  • Changed
    Improves the Dashboard experience.
  • Changed
    Search now also appears via CMD-G on macOS. (#758)
  • Fixed
    Fixes an issue that sends an invalid search request. (#756)
  • Fixed
    Fixes an issue where parts of the annotation toolbar disappeared. (#647)
  • Fixed
    Fixes an issue with hidden toolbar buttons. (#794)

2017.1 - 25 Jan 2017

  • Added
    Adds search. (#722)
  • Added
    Adds custom dropdown to preview fonts. (#413)
  • Changed
    Optimizes ink annotations. (#590)

2016.3 - 21 Dec 2016

  • Added
    Adds a dashboard for easy control over the server.
  • Changed
    Shows a font's name in the dropdown even if the font is not available. (#665)

2016.2.1 - 12 Dec 2016

  • Fixed
    Fixes an issue with external events. (#699)

2016.2 - 8 Dec 2016

  • Added
    Adds support for Internet Explorer 11. (#676)
  • Removed
    Removes white space after the last page on Firefox for Android. (#651, #652)
  • Fixed
    Fixes an issue with text annotation clipping on Edge. (#644)
  • Fixed
    Fixes an issue with PDF documents that have fractional page dimensions. (#660)
  • Fixed
    Fixes an issue with the AnnotationToolbar position. (#661)

2016.1 - 1 Dec 2016

  • Changed
    First public release.