This release adds 5 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryAdded 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.minHeightandmaxHeightstack sizing.alignSelfacross flex items, including text, paragraphs, spacers, lines, images, links, and SVG paths.letterSpacingfor text and paragraph runs.opacityfor text and stack rendering.
Fixed
letterSpacingnow 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
hstackrows now justify against the full row width. maxHeightnow constrains vertical shrink layout instead of only clamping the final reported height.minHeight/maxHeightclamp order follows CSS: max first, then min wins if they conflict.
Validation
pnpm run typecheckpnpm testpnpm 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
About earonesty/boxpdf](https:
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]