2021.5 Migration Guide
With PSPDFKit for Web 2021.5, AP stream rendering is now enabled by default for all annotations. The difference in the visual appearance of the annotations shouldn’t change noticeably, except for those cases where the AP stream actually differs significantly from what the annotation properties describe.
Performance of initial AP stream rendering in Server mode has been improved as well, except for in some older browsers — namely old Safari versions and IE11.
Internet Explorer 11 is no longer supported in our Web SDK as of version 2022.5. Edge 18 is no longer supported in our Web SDK as of version 2023.2.
In those cases, annotation rendering in Server mode may appear slower, especially if AP stream rendering wasn’t enabled before.
As a workaround, disabling AP stream rendering for those browsers in the configuration is the recommended approach:
// `isIE11` and `isOldSafari` are placeholders for browser detection flags.
PSPDFKit.load({
isAPStreamRendered: () => !isIE11 && !isOldSafari
});
For a full list of changes, check out the changelog.
Migrate PSPDFKit Server
If you use PSPDFKit Server, please make sure you read the 2021.5 Server Migration Guide.