# unpdf changelog > PDF text and image extraction for any JavaScript runtime. - Vendor: UnJS - Category: Frameworks & Libraries - Official site: https://github.com/unjs/unpdf - Tracked by: What's New (https://whatsnew.fyi/product/unpdf) - Harvested from: GitHub (unjs/unpdf) - Entries below: 10 (newest first) What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## Releases ### v1.8.1 - Date: 2026-08-13 - Version: v1.8.1 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.8.1 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.8.1 - **fixed** — Polyfill Math.sumPrecise for PDF.js ######    🐞 Bug Fixes - Polyfill `Math.sumPrecise` for PDF.js  -  by @tra0x in https://github.com/unjs/unpdf/issues/64 [(a6ae8)](https://github.com/unjs/unpdf/commit/a6ae87f) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.8.0...v1.8.1) ### v1.8.0 - Date: 2026-07-24 - Version: v1.8.0 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.8.0 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.8.0 - **changed** — Upgrade to PDF.js v6.1 - **added** — Support @napi-rs/canvas v1 - **changed** — Migrate build tooling to tsdown and rolldown ######    🚀 Features - Upgrade to PDF.js v6.1  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/62 [(bbe69)](https://github.com/unjs/unpdf/commit/bbe698d) - Support `@napi-rs/canvas` v1  -  by @johannschopplich [(933ec)](https://github.com/unjs/unpdf/commit/933ec46) ######    🏎 Performance - Migrate build tooling to tsdown and rolldown  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/63 [(3f591)](https://github.com/unjs/unpdf/commit/3f59194) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.7.0...v1.8.0) ### v1.7.0 - Date: 2026-07-24 - Version: v1.7.0 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.7.0 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.7.0 - **fixed** — Add cMapUrl for CJK font support in Node.js - **fixed** — Add .js extension to relative imports in .d.mts & .d.cts files - **fixed** — Resolve @napi-rs/canvas in the bundled PDF.js canvas factory - **fixed** — Preserve line breaks in extractText with mergePages - **fixed** — Destroy internally created document proxies and canvas resources - **changed** — Encode PNG bytes directly in renderPageAsImage ######    🐞 Bug Fixes - Add cMapUrl for CJK font support in Node.js  -  by @xieguaiwu in https://github.com/unjs/unpdf/issues/52 [(3789c)](https://github.com/unjs/unpdf/commit/3789c3e) - Add .js extension to relative imports in .d.mts & .d.cts files  -  by @kumarchandresh in https://github.com/unjs/unpdf/issues/56 [(10e6d)](https://github.com/unjs/unpdf/commit/10e6d78) - Resolve `@napi-rs/canvas` in the bundled PDF.js canvas factory  -  by @drakosha in https://github.com/unjs/unpdf/issues/54 [(f5406)](https://github.com/unjs/unpdf/commit/f5406c2) - Preserve line breaks in `extractText` with `mergePages`  -  by @dsfaccini in https://github.com/unjs/unpdf/issues/58 [(a49be)](https://github.com/unjs/unpdf/commit/a49be35) - Destroy internally created document proxies and canvas resources  -  by @dsfaccini in https://github.com/unjs/unpdf/issues/57 [(ed9ac)](https://github.com/unjs/unpdf/commit/ed9ac1d) ######    🏎 Performance - Encode PNG bytes directly in `renderPageAsImage`  -  by @johannschopplich and @dsfaccini in https://github.com/unjs/unpdf/issues/60 [(95ebf)](https://github.com/unjs/unpdf/commit/95ebf64) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.6.2...v1.7.0) ### v1.6.2 - Date: 2026-04-29 - Version: v1.6.2 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.6.2 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.6.2 - **fixed** — Add ReadableStream async iterator polyfill ######    🐞 Bug Fixes - Add `ReadableStream` async iterator polyfill  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/51 [(03066)](https://github.com/unjs/unpdf/commit/0306603) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.6.1...v1.6.2) ### v1.6.1 - Date: 2026-04-28 - Version: v1.6.1 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.6.1 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.6.1 - **fixed** — Add Promise.try polyfill ######    🐞 Bug Fixes - Add `Promise.try` polyfill  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/51 [(47776)](https://github.com/unjs/unpdf/commit/47776f6) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.6.0...v1.6.1) ### v1.6.0 - Date: 2026-04-13 - Version: v1.6.0 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.6.0 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.6.0 - **added** — Add extractTextItems for structured text extraction with positional data ######    🚀 Features - Add `extractTextItems` for structured text extraction with positional data  -  by @johannschopplich [(b2237)](https://github.com/unjs/unpdf/commit/b2237d1) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.5.1...v1.6.0) ### v1.5.1 - Date: 2026-04-13 - Version: v1.5.1 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.5.1 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.5.1 - **added** — Auto-apply standard font defaults in Node.js - **fixed** — Stub DOMMatrix before custom PDF.js resolver import - **fixed** — Use functional DOMMatrix polyfill with identity-matrix values ######    🚀 Features - Auto-apply standard font defaults in Node.js  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/15 [(79d68)](https://github.com/unjs/unpdf/commit/79d6885) ######    🐞 Bug Fixes - Stub `DOMMatrix` before custom PDF.js resolver import  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/48 [(573ae)](https://github.com/unjs/unpdf/commit/573aedc) - Use functional `DOMMatrix` polyfill with identity-matrix values /fixes #33)  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/33 [(3f9a0)](https://github.com/unjs/unpdf/commit/3f9a0c0) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.5.0...v1.5.1) ### v1.5.0 - Date: 2026-04-13 - Version: v1.5.0 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.5.0 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.5.0 - **changed** — Upgrade to PDF.js v5.6.205 ######    🚀 Features - Upgrade to PDF.js v5.4.394  -  by @johannschopplich [(77c87)](https://github.com/unjs/unpdf/commit/77c8794) - Upgrade PDF.js to v5.6.205  -  by @johannschopplich [(4f0d6)](https://github.com/unjs/unpdf/commit/4f0d60f) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.4.0...v1.5.0) ### v1.4.0 - Date: 2025-10-31 - Version: v1.4.0 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.4.0 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.4.0 - **changed** — Upgrade to PDF.js v5.4.296 ######    🚀 Features - Upgrade to PDF.js v5.4.296  -  by @johannschopplich [(913a9)](https://github.com/unjs/unpdf/commit/913a9ef) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.3.2...v1.4.0) ### v1.3.2 - Date: 2025-10-01 - Version: v1.3.2 - Original notes: https://github.com/unjs/unpdf/releases/tag/v1.3.2 - Permalink: https://whatsnew.fyi/product/unpdf/releases/v1.3.2 - **added** — Export createIsomorphicCanvasFactory ######    🚀 Features - Export `createIsomorphicCanvasFactory`  -  by @johannschopplich in https://github.com/unjs/unpdf/issues/46 [(0a560)](https://github.com/unjs/unpdf/commit/0a5608f) ######     [View changes on GitHub](https://github.com/unjs/unpdf/compare/v1.3.1...v1.3.2)