BREAKING CHANGE
- preview_changes requires
etag, and its data_b64 holds only
the changed pages (mapped by the newpagesfield), not the whole PDF.
Feat
- viewer: preview_changes returns only the changed pages (ADR-043 §5)
Fix
- viewer: drop a preview that returns after another file was opened (round-3 review)
- viewer: destroy a PDF loaded for a version replaced mid-load (round-2 review)
- viewer: free the previous pdf.js document; tolerate draws on a destroyed one (round-1 review)