Skip to content

clawpdf 0.2.0

Choose a tag to compare

@steipete steipete released this 28 May 15:06
· 14 commits to main since this release
v0.2.0
a824169

clawpdf 0.2.0

Changes

  • Redesigned the public API around createEngine, openPdf, extractPdf, one-based pages, typed errors, raw PNG bytes, and opt-in adapters.
  • Added Node path, URL, and Blob input normalization.
  • Added browser and adapter package exports.
  • Refactored PDFium lifetime handling so engine disposal closes open documents and top-level extraction can release its shared engine.
  • Added validation for render and extraction limits before PDFium allocation.
  • Fixed explicit pages extraction so the default page cap no longer truncates the list.
  • Increased the PDFium form-fill info buffer used for form rendering.
  • Added password support to the top-level extraction helper.
  • Added a maximum rendered image dimension cap for extraction fallback.
  • Added broader PDF extraction, rendering, password, error, PNG, and CI coverage.
  • Added a GitHub Pages documentation site with one docs/*.md page per feature.
  • Removed external comparison references from the public README and docs.

npm

Verification

  • pnpm test
  • pnpm docs:site
  • pnpm pack --dry-run
  • npm view clawpdf@0.2.0 version dist-tags.latest dist.tarball dist.integrity