@qrcommunication/gigapdf-lib 0.52.0 → 0.52.1

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,18 @@ 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.52.1] - 2026-06-18
8
+
9
+ ### Fixed
10
+
11
+ - **JPEG encoder — final-byte padding no longer corrupts the last code.** The
12
+ entropy writer's `flush` padded the trailing partial byte with a fixed 7-bit
13
+ `0x7F`; for any partial byte holding more than one written bit, the extra
14
+ 1-bits bled into the already-written Huffman code (ITU-T T.81 §F.1.2.3
15
+ requires padding *only* the free low bits with 1s). The lib's own decoder
16
+ tolerated it, but strict third-party decoders could misread the last code or
17
+ reject the non-conformant padding. `flush` now pads exactly the free bits.
18
+
7
19
  ## [0.52.0] - 2026-06-18
8
20
 
9
21
  ### 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.52.0",
3
+ "version": "0.52.1",
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",