@qrcommunication/gigapdf-lib 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,25 @@ All notable changes to `@qrcommunication/gigapdf-lib` are documented here.
4
4
  The format follows [Keep a Changelog](https://keepachangelog.com/) and the
5
5
  project adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.15.0] - 2026-06-16
8
+
9
+ ### Changed
10
+
11
+ - **`extractPages` now produces self-contained chunks.** Page extraction (used
12
+ by document *split*) prunes every reference that points at a page left behind,
13
+ then garbage-collects the orphans:
14
+ - cross-page GoTo **link** actions are neutralised — the annotation stays on
15
+ its page but its `/A`/`/Dest` are stripped (no dangling ref);
16
+ - **AcroForm fields** whose widgets all sit on dropped pages are removed, and
17
+ for multi-widget fields only the on-dropped-page widget kids are dropped;
18
+ - catalog named **`/Dests`** targeting dropped pages are omitted;
19
+ - **outline** (bookmark) dests to dropped pages are cleared.
20
+
21
+ A widget's page is located by `/Annots` membership (so widgets with no `/P`
22
+ are still handled), and `/AcroForm`/`/Dests` are pruned whether stored inline
23
+ in the catalog or as indirect references. Object ids are preserved, so
24
+ in-chunk links, fields and bookmarks keep resolving natively.
25
+
7
26
  ## [0.14.1] - 2026-06-16
8
27
 
9
28
  ### Changed
package/gigapdf.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrcommunication/gigapdf-lib",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "TypeScript SDK for gigapdf-lib — a zero-dependency Rust→WASM PDF engine: read/edit/render, OCR, full-text search, AcroForm fields (read · fill · create), annotations, signing, encryption, PDF↔Office/HTML/RTF conversions, and a native HTML+CSS+JavaScript→PDF renderer (no headless browser; a suspendable JS VM gives lazy generators and spec-ordered async). Self-contained .wasm, no third-party runtime deps.",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "author": "Rony Licha / QR Communication",