# What changed in @react-pdf/renderer

> 9 changes in @react-pdf/renderer 4 from its official release notes, upgrade guides and advisories: 2 breaking, 4 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/@react-pdf/renderer/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @react-pdf/renderer 4

### Breaking changes

- The bundled PDFKit implementation switches from the @react-pdf/pdfkit fork to upstream pdfkit, which may affect PDF generation behavior. (4.8.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.8.0)
- Direct layout callers must provide instance arrays when render props return React elements; renderer users are unaffected. (4.7.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.7.0)

### New APIs and options

- Adds a conformance prop for PDF/A-1/2/3 output with XMP metadata and sRGB OutputIntent; pdfVersion defaults to the chosen level’s requirement, and registered fonts are needed for full validation. (4.9.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.9.0)
- Adds an opt-in pagination engine that measures content once and packs it into pages, making long documents much faster to paginate. (4.7.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.7.0)
- Adds per-page layout components for headers, footers, and sidebars; the component receives page metadata and content as children. (4.7.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.7.0)
- Exposes hyphenationPenalty on Text props, allowing developers to configure this text behavior. (4.6.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.6.0)

### Behavior and default changes

- Supports minPresenceAhead in the new engine, keeping a trailing element in place when nothing follows it. (4.7.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.7.0)

### Fixes and other changes

- Under experimental pagination, in-flow fixed elements repeat at the top of every page they span; footers must be implemented through layout. (4.7.0) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.7.0)
- Fixed border rendering behavior for generated documents. (4.4.1) — [release notes](https://github.com/diegomura/react-pdf/releases/tag/%40react-pdf/renderer%404.4.1)
