2017.9 Migration Guide
PSPDFKit for Web 2017.9 adds support for forms, a responsive toolbar, and a headless mode.
If you’re maintaining a Server installation, make sure to check out the server migration guides.
Notable Changes
-
All annotation APIs will now also return
WidgetAnnotation
s. This special type of annotation is required to render form widgets in a PDF and cannot be modified. Calling any of the modifying APIs (create, update, or delete) will cause an error when aWidgetAnnotation
is used. -
A comprehensive guide for forms in PDFs can be found in our form guides.
-
A new default toolbar item was added:
annotate
. This item will show the annotation button on small screens. To remove one specific annotation tool, it’s still sufficient to remove the individual type from the toolbar items list. An example can be found in our toolbar customization guide. -
Since migrating
Instance#destroy()
in 2017.7, the method is now no longer available. Please refer to the 2017.7 Migration Guide for information on how to upgrade.
For a full list of changes, check out the changelog.