Skip to content

Releases

RentnerPDF 1.0.2

Choose a tag to compare

@RentnerKev RentnerKev released this 03 Dec 14:41
f6ee60d

RentnerPDF release banner

v1.0.1...v1.0.2

Security

  • Bound resource use when parsing SVG, resolving theme and inline styles, caching assets, and laying out markers, text fields, and number formats.
  • Check render and font sizes before copying data across the native and WebAssembly boundaries. Handle errors consistently in native markup diagnostics.

Fixes

  • Honor the table header repeat style and keep shaping cache entries distinct when their context boundaries differ.
  • Reject invalid limits in both engine bindings and catch native engine initialization panics.
  • Keep the previous PDF visible until a replacement is ready, reuse completed renders when React Activity reveals a preview, and clear the React and playground previews when their document is removed. Avoid re-rendering equivalent dates.
  • Show the idle state for an empty playground editor and enforce local access and request limits on its development server.
  • Make the bundled declarations resolve under TypeScript 5.7 and later with NodeNext and bundler module resolution.
  • Fix worker initialization cleanup, the ir declaration lookup in /ai, and the Vite client guard for /ai.
  • Recognize the same 148 standard CSS named colors in document styles and SVG.

Performance

  • Load engine bindings and default fonts in parallel, transfer encoder-owned buffers to the worker, and keep Node.js URL and file modules out of browser worker bundles.
  • Speed up columnar table encoding on Node.js and Bun while preserving exact buffer lengths and the existing wire format.
  • Speed up font startup and straightforward left-to-right text, reuse styles across table cells, and reduce allocation in layout, SVG, and glyph output.

Build and verification

  • Consolidate the TypeScript distribution build, package WebAssembly in clean verification builds, and validate the package inventory. The package ships all engine variants in one @rentnerkev/pdf tarball. The benchmark measures each local engine footprint separately.
  • Pin CI build tools, validate workflow configuration against the trusted base, reject artifact digest mismatches, and check lockfile drift when crate manifests change.
  • Refresh the hosted benchmark report and its README summary from the December 3, 2026 run.

RentnerPDF 1.0.1

Choose a tag to compare

@RentnerKev RentnerKev released this 02 Dec 21:59
20aa210

RentnerPDF release banner

@rentnerkev/pdf/ai gives local Node.js and Bun tools and AI agents read-only access to the installed package: its README, the usage guide, selected manifest fields and the public TypeScript declarations, as in the other Rentner packages. The npm package now ships docs/usage.md for this entry. The README links the read-only MCP server of the RentnerPackages website.

v1.0.0...v1.0.1

🌟 Features

  • add the read-only /ai documentation entry (c3154ce)

RentnerPDF 1.0.0

Choose a tag to compare

@RentnerKev RentnerKev released this 02 Dec 21:12
49a1758

RentnerPDF release banner

This release stabilizes the documented TypeScript API and IR v1 under SemVer. The npm package bundles all six native engines and WebAssembly. The worker engine, React preview, Vite plugin, and renderToStream() are experimental. The npm release uses Trusted Publishing with provenance.

v0.1.1...v1.0.0

RentnerPDF 0.1.1

Choose a tag to compare

@RentnerKev RentnerKev released this 02 Dec 19:50
5433520

RentnerPDF release banner

The npm package ships the TypeScript API, all six native engines and WebAssembly in one tarball. The runtime selects the engine for the current host.

v0.1.0...v0.1.1

🌟 Features

  • release: bundle all engines in @rentnerkev/pdf (528654b)

🐛 Fixes

  • release: wait for staged npm tarballs (1b12fd4)
  • release: read scoped npm channels from package metadata (88e9853)
  • release: start the pinned npm CLI (e237eda)

RentnerPDF 0.1.0

Choose a tag to compare

@RentnerKev RentnerKev released this 02 Dec 15:26
5e1f303

RentnerPDF release banner

The first npm release includes the TypeScript API, six Windows and Linux platform packages, and the WebAssembly package. Raw IR documents use schema version 1, which accepts explicit null only for page variant overrides.

💥 Breaking Changes

  • apply the Phase 7 API decisions (37a8e2f)

🌟 Features

  • enforce raster and letterhead render budgets (b8ef1bd)
  • benchmarks: cap S11 at 30 minutes per library and add report notes (f15f38e)
  • benchmarks: warm medians in the local section of the report page (007c4ee)
  • benchmarks: name every commit of a local run on the report page (dfe9e27)
  • benchmarks: reproduction, caveats and local runs on the report page (1741bcd)
  • add the engine lifecycle with registerFont and close (a449936)
  • core: register fonts on a running engine and close native handles (abf89eb)
  • add hyphenation, justification and optimal line breaking to the text pipeline (74eb625)
  • commit the preliminary benchmark report and run measurements on demand only (b337331)
  • rebase the budgets on the engine thread pool from main (26ea877)
  • stop benchmark children at three quarters of the machine's memory (f7e8833)
  • set the budget baselines and tolerances from hosted-runner variance runs (e82c4d8)
  • keep partial benchmark results and document the budgets and the report (b73bad1)
  • add the S8, S9, S10, S11 and S13 benchmarks, CI budgets and the report workflow (059946f)
  • add tagged PDF and PDF/UA-1 output (079913b)
  • add PDF/A output, attachments and the Factur-X descriptor (18b1357)
  • text: add bidi helpers, emoji-aware fallback, variable fonts and dir (6c3e5b6)
  • render the playground in a Web Worker (9688bb6)
  • add usePdf and PdfPreview for live browser previews (5462e31)
  • add a Web Worker engine for the WebAssembly backend (c95c414)
  • add renderMany, renderToStream, signals and engine limits to the TS API (8eb80d6)
  • add engine threads, shaped-run cache, cancellation and limits (6dababe)
  • add usage guide, React-PDF migration notes and playground alpha (f3dd404)
  • add the Vite plugin and trace-friendly package loading (70c882e)
  • add the themed corpus document, IntelliSense check and docs (9d62680)
  • pass themes through the bindings and add themeFromCss (cfa6152)
  • read app themes and check className coverage against Tailwind (dcc53a7)
  • benchmarks: add S14 authoring paths (a357f75)
  • add @rentnerkev/pdf/react with renderToPdf (6ed110e)
  • core: parse the React path's markup into the IR (5a5103e)
  • add page templates, placeholders and wrap diagnostics (66d8bb6)
  • add data-driven tables with the columnar channel (3cbff69)
  • render the S2 invoice benchmark with RentnerPDF tables (78999c2)
  • add Table, Row and Cell components and factories (387a588)
  • add element-based tables to the core (c94689c)
  • bench: add S5, an image catalog with 50 JPEGs and 20 alpha PNGs (68e7c92)
  • add PDF letterheads drawn behind page content (de6a971)
  • add links, anchors, the document outline and more metadata (1ec2a84)
  • add the Svg component, drawn as vectors with krilla-svg (bf7bfa6)
  • core: cache decoded images per engine and check pixels first (78b0a47)
  • web: add the WebAssembly backend (3b2fb31)
  • web: add Image, PageBreak and Keep with an asset channel (ec2ecfd)
  • core: render images from asset buffers (3700caa)
  • benchmarks: add scenario S3, a 100-page text report (ba76583)
  • web: add the own JSX runtime and the authoring API (10d491c)
  • layout: add block, flex and grid layout with pagination (a292441)
  • text: add the text pipeline and bundle Noto Sans as default font (0bfa0e9)
  • style: add className with Tailwind semantics and the built-in theme (db9f51e)
  • engine: add IR v0 and the end-to-end engine skeleton (64f8b7e)
  • add pagination model spike (6caa583)
  • spike: add React integration paths and measurements for Spike E (504babf)
  • spike: add React markup parser prototype for Spike E (b9a8e39)
  • add table-driven className parser prototype (b839867)
  • add Tailwind tooling checks for the className spike (5463ea6)
  • add text stack spike (879c87d)
  • add krilla capability spike (11a9ab1)
  • spike: add boundary transfer benchmark harness (1d0373b)
  • spike: add boundary transfer IR and decoders (b53dd5f)
  • add distribution proof for native and WASM packages (919d043)

🐛 Fixes

  • text: finis...
Read more