Skip to content

earonesty/boxpdf](https:

v1.8.0 Feature

This release adds 5 notable features for engineering teams evaluating rollout.

Published 16d Build & Package
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

cloudflare-workers flexbox layout pdf pdf-lib typescript

Summary

AI summary

Added hstack({ wrap: true }), minHeight/maxHeight, alignSelf, letterSpacing, and opacity support; fixed measurement, wrapping, justification, and opacity propagation issues.

Full changelog

CSS-standard layout and rendering

This release makes core layout and rendering behavior more predictable for CSS-like document generation.

Added

  • hstack({ wrap: true }) with greedy row wrapping and per-row justification.
  • minHeight and maxHeight stack sizing.
  • alignSelf across flex items, including text, paragraphs, spacers, lines, images, links, and SVG paths.
  • letterSpacing for text and paragraph runs.
  • opacity for text and stack rendering.

Fixed

  • letterSpacing now participates in measurement, wrapping, hard-breaking, ellipsizing, alignment, and decoration widths instead of only affecting drawn glyphs.
  • Stack opacity now propagates to backgrounds, borders, background images, images, SVG paths, text, and text decorations.
  • Text opacity now applies consistently to underline and strikethrough decorations.
  • Wrapped hstack rows now justify against the full row width.
  • maxHeight now constrains vertical shrink layout instead of only clamping the final reported height.
  • minHeight/maxHeight clamp order follows CSS: max first, then min wins if they conflict.

Validation

  • pnpm run typecheck
  • pnpm test
  • pnpm run build

Merged via PR #2.

What's Changed

  • Align layout rendering with CSS standards by @earonesty in https://github.com/earonesty/boxpdf/pull/2

New Contributors

  • @earonesty made their first contribution in https://github.com/earonesty/boxpdf/pull/2

Full Changelog: https://github.com/earonesty/boxpdf/compare/v1.7.0...v1.8.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track earonesty/boxpdf](https:

Get notified when new releases ship.

Sign up free

About earonesty/boxpdf](https:

All releases →

Related context

Beta — feedback welcome: [email protected]