Meta

Migration and Compatibility

Guidance for teams migrating from older integration styles.

  1. Move to load/unload lifecycle control.
  2. Replace ad-hoc state updates with setViewState and setSearchState.
  3. Normalize annotation flows around create, update, delete, and selection helpers.
  4. Consolidate event handling via typed addEventListener and compatibility on/off only where needed.

Compatibility mode

Use compatibility methods when preserving existing integration contracts, but prefer typed viewer APIs for new work.

Newly strengthened APIs in this branch

  • signDocument, getSignaturesInfo, setSignaturesLTV
  • beginContentEditingSession, setEditingAnnotation
  • hasUnsavedChanges, ensureChangesSaved
  • exportInstantJSON/importInstantJSON round-trips for outline/signatures metadata