2020.3 Migration Guide

PSPDFKit for Web 2020.3 comes with a few improvements that might require an ad hoc migration.

Notable Changes

  • If you have a Digital Signatures license, signature widgets for digitally signed form fields will now be rendered using the appearance streams of their associated widgets, and they will not be interactive. This means you won’t be able to open the ink signature dialog by clicking on a widget. If you want to restore the old behavior and bring up the ink signature dialog when a widget is pressed, even if the form field is digitally signed, you will have to implement it manually by handling the annotations.press event and setting the interactionMode to PSPDFKit.InteractionMode.INK_SIGNATURE:

    Copy
    1
    2
    3
    4
    5
    
    instance.addEventListener("annotations.press", () => {
      instance.setViewState(s =>
        s.set("interactionMode", PSPDFKit.InteractionMode.INK_SIGNATURE)
      );
    });
    

If you use PSPDFKit Server, please make sure you read the 2020.3 Migration Guide.

For a full list of changes, check out the changelog.