NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4586 most downloaded on npm
React-pdf helper functions
Latest stable
3.1.3
Last release 7 months ago
04 Apr 2026
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
11 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
### Patch Changes - #3323 `c40bfdec` Thanks @diegomura! - fix(fns): prototype pollution issues - #3269 `5b6a6a4a` Thanks @diegomura! - feat(fns): vari
#3323 c40bfdec Thanks @diegomura! - fix(fns): prototype pollution issues
#3269 5b6a6a4a Thanks @diegomura! - feat(fns): various improvements
0590324 Thanks @diegomura! - fix: replace jpeg-exif with jay-pegYour coding agent can read these notes before it upgrades. Set up the MCP server →
### Patch Changes - #3092 `481b536f` Thanks @diegomura! - refactor: convert layout package to TS
481b536f Thanks @diegomura! - refactor: convert layout package to TS44bd45b Thanks @carlobeltrame! - Fix named destinations (id attribute with string value)### Patch Changes - #3429 `6d7c2b79` Thanks @elitan! - Replace deprecated url.parse usage in local image path resolution. - #3443 `86c9fd88` Thanks @C
#3082 24fe4bf8 Thanks @diegomura! - feat: rework and type stylesheet package
#3077 442ce355 Thanks @diegomura! - refactor: convert textkit package to TS
#3070 3007d34a Thanks @diegomura! - refactor: convert fns package to TS
#2532 36c6ba3 Thanks @diegomura! - refactor: converge pdfkit
#2529 a35b1ba Thanks @diegomura! - fix: jpeg exif orientation rendering
42bbbda Thanks @wojtekmaj! - Fix require @react-pdf/primitives from CJSUpdated dependencies \[`96c2464d`, `24fe4bf8`, `700535c5`]:
d36ace66 Thanks @diegomura! - feat: add without fnb6a14fd Thanks @wojtekmaj! - Add support for native ESMb6a14fd Thanks @wojtekmaj! - Add support for native ESMb6a14fd]:
Updated dependencies [`627acbe0`]:
#3464 8c723cca Thanks @diegomura! - Declare @react-pdf/primitives dependency.
Updated dependencies [627acbe0]:
70f29a04 Thanks @diegomura! - feat!: drop cjs support70f29a04 Thanks @diegomura! - feat!: drop cjs support#2877 fdcef566 Thanks @Friendseeker! - chore: bump jay-peg
Updated dependencies [70f29a04]:
### Patch Changes - #2605 `f7505ed` Thanks @wojtekmaj! - fix: fix CJS compatibility
f7505ed Thanks @wojtekmaj! - fix: fix CJS compatibility### Minor Changes - #2600 `8350154` Thanks @diegomura! - feat: bidi support
8350154 Thanks @diegomura! - feat: bidi support### Minor Changes - #2409 `b6a14fd` Thanks @wojtekmaj! - Add support for native ESM
b6a14fd Thanks @wojtekmaj! - Add support for native ESM### Patch Changes - #2215 `eff1ff0` Thanks @jeetiss! - add @babel/runtime as dependency
### Major Changes - #3224 `fafbcb12` Thanks @ZandercraftGames! - feat: add React 19.2.X support ### Patch Changes - #3261 `2eba70bd` Thanks @Nukem154!
a5a933c Thanks @carlobeltrame! - feat: compatibility with modern web bundlers and browsersUpdated dependencies \[`a70013e7`, `342938a4`, `aa3ccf4c`, `6109b424`]:
77285e289dcaa588637d19b82461434763709728 Thanks @diegomura! - Add @react-pdf/ui, headless React primitives for building PDF preview and editor interfaces. Repl plus Files, Editor, Document, Pagination, Status, CopyButton and DownloadButton, each taking a Component prop so the library holds the behaviour and the consumer holds the markup. The render pipeline is injected, so the package depends on neither a compiler nor pdfjs-dist.#3541 47670de4dd12b688c7742160d1b5b77677bb7895 Thanks @diegomura! - Allow playground code to import @react-pdf/tailwind, loaded lazily like the other optional packages
Updated dependencies [049168536480c4216c0a8c4832cf9230feef12e9, 9c2e5119ee47e3e92beede0a12870f1ebe3ecc8e, 10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb]:
#3501 cf1348df7bfbc8091ff495320a3ae798569ccc4e Thanks @diegomura! - Box-model public API: FlowNode in, PlacedNode out
createPaginator(nodes: FlowNode[]) now takes a tree of boxes — tops,
heights, margins, edges — and derives gaps, edge spacers, and row offsets
internally. The item stream (leaf/spacer/column/row/penalty/lazy) becomes an
implementation detail; paginate and the Item types are no longer exported.
Output is PlacedNode[]: placed fragments in the caller's vocabulary, with
spacers and synthetic wrappers dissolved into positions.
Also: columns whose children overlap vertically (flex-wrap) are now demoted to unsplittable leaves by the engine itself.
482d7cd600ffa28c60b5db46e7eb1466398feb7b Thanks @diegomura! - Add repeat flag — items re-emit at the head of every continuation of their parent column (repeating table headers), composing with lazy items to re-materialize per page. Add createPaginator for stepwise pagination with a different height per page.9bdb5c9 Thanks @diegomura! - feat: create fns packageOne column per quarter.