@qrcommunication/gigapdf-lib 0.60.0 → 0.61.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,21 @@ 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.61.0] - 2026-06-22
8
+
9
+ ### Fixed
10
+
11
+ - **Form layouts no longer mis-detected as giant tables.** The layout
12
+ reconstruction (`recon/tables`, surfaced by `pageBlocks`/`toModel`) clustered
13
+ every ruling line into grid edges and claimed every text line inside the grid
14
+ bounding box, so a form's field-separator rules synthesised a giant table that
15
+ swallowed the title and intro prose into cells. A geometric sanity gate now
16
+ rejects a table candidate when `n_cols > 14`, `n_rows × n_cols > 160`, or the
17
+ cell fill ratio `< 0.28` — the text flows back to the heading/paragraph
18
+ pipeline. Real data tables (regular grid, well-filled) are preserved; dense
19
+ ruled forms (16–47 columns, 7–24% fill) become standalone headings/paragraphs
20
+ in reading order. No change to genuine `table` blocks.
21
+
7
22
  ## [0.60.0] - 2026-06-22
8
23
 
9
24
  ### Added
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.60.0",
3
+ "version": "0.61.0",
4
4
  "description": "TypeScript SDK for gigapdf-lib — a Rust→WASM document engine with no third-party PDF/Office/image library: 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→PDF renderer with inline JavaScript (no headless browser). Cryptography uses audited RustCrypto; JavaScript uses the Boa engine; everything else is pure Rust. Single wasm-bindgen-free .wasm with one host import (entropy).",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "author": "Rony Licha / QR Communication",