NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4909 most downloaded on npm
React-pdf TypeScript definitions
Last release 1 months ago
27 Aug 2026
Release timing varies
gaps range from 1 weeks to 7 months
Most releases are documented
notes for 34 of 42 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
49 releases · first in 2020
One column per quarter.
Produces PDF/A-1/2/3 (b-level) output with XMP conformance metadata and an sRGB OutputIntent. pdfVersion defaults to what the chosen level requires. F
#3529 10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb Thanks @diegomura! - feat: add conformance Document prop for PDF/A output
Produces PDF/A-1/2/3 (b-level) output with XMP conformance metadata and an sRGB OutputIntent. pdfVersion defaults to what the chosen level requires. Fonts must be registered (not the built-in standard 14) to fully validate.
Updated dependencies [ 6dc0901c26354dc5a38ed302ef76d371d74d8d61 ]:
6dc0901c26354dc5a38ed302ef76d371d74d8d61]:
Updated dependencies [ 06dfada8630d00005752eec711219cf290ce76ea , ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09 , 37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd
06dfada8630d00005752eec711219cf290ce76ea Thanks @manuelmeister! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.06dfada8630d00005752eec711219cf290ce76ea, ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09, 37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd, a56871451b3161f96c53e5ced866ac1b0a288ff1]:
A new pagination engine ships alongside the current one: content is measured once and packed into pages instead of relayouting on every split, making
#3505 ae9a9983e8bd8b63c3873000531a8307e22c7bae Thanks @diegomura! - Experimental pagination engine, opt-in per page
A new pagination engine ships alongside the current one: content is measured once and packed into pages instead of relayouting on every split, making long documents paginate orders of magnitude faster (a 300-page document drops from ~40s to ~200ms).
Opt in with <Page experimentalPagination> — any page opting in switches
the whole document. The default behavior is unchanged.
Under the new engine:
<Page layout={Layout}> renders per-page chrome (headers, footers,
sidebars) around the content. The layout component receives
{ pageNumber, totalPages, subPageNumber, subPageTotalPages } and the
page content as children, and runs once per output page. Using layout
implies experimentalPagination.fixed semantic: in-flow fixed elements repeat at the top of every
page they span; footers are the layout's job.minPresenceAhead is supported, with one refinement: a trailing element
with nothing after it stays in place instead of moving to its own page.The current engine remains the default until the next major, when the new engine takes over.
d38d17759b3856ab64c69101bd359aace4b532fc, ae9a9983e8bd8b63c3873000531a8307e22c7bae]:
### Patch Changes - Updated dependencies []: - @react-pdf/font@4.0.10 - @react-pdf/stylesheet@6.2.3
Updated dependencies [`4c4e7a1a`]:
4c4e7a1a]:
### Patch Changes - Updated dependencies []: - @react-pdf/font@4.0.8 - @react-pdf/stylesheet@6.2.1
Updated dependencies [`b01f5b72`, `4444f355`]:
Updated dependencies [`2e91eb64`, `aa3ccf4c`]:
#3344 a70013e7 Thanks @diegomura! - feat: password protection support
#3336 342938a4 Thanks @diegomura! - feat: add link hitslop
#3339 6109b424 Thanks @diegomura! - feat: responsive images
Updated dependencies [`c4a9e4c0`, `01e1fbbe`, `e27cdb48`]:
### Patch Changes - Updated dependencies []: - @react-pdf/font@4.0.4 - @react-pdf/stylesheet@6.1.2
### Patch Changes - Updated dependencies []: - @react-pdf/font@4.0.3 - @react-pdf/stylesheet@6.1.1
Updated dependencies [`f89f75c1`]:
f89f75c1 Thanks @diegomura! - feat: add xLinkHref, gradientTransform and gradientUnits supportf89f75c1]:
Updated dependencies [`e257f7ee`]:
e257f7ee]:
Updated dependencies [`2a4f1bfc`, `7cd66e4f`, `bfb51ec0`, `a2de2685`, `24690f52`, `481b536f`]:
Updated dependencies [`96c2464d`, `24fe4bf8`, `700535c5`]:
#3082 24fe4bf8 Thanks @diegomura! - feat: rework and type stylesheet package
#3079 700535c5 Thanks @diegomura! - refactor: convert font package to TS
### Patch Changes - #3019 `01944231` Thanks @wojtekmaj! - Fixed HyphenationCallback type (confusing argument name, removed extra argument)
01944231 Thanks @wojtekmaj! - Fixed HyphenationCallback type (confusing argument name, removed extra argument)### Minor Changes - #2875 `46c3047d` Thanks @diegomura! - feat: add position: static support - #2874 `55973278` Thanks @diegomura! - feat: add align-c
#2875 46c3047d Thanks @diegomura! - feat: add position: static support
#2874 55973278 Thanks @diegomura! - feat: add align-content: space-evenly support
### Minor Changes - #2771 `8e6a832` Thanks @nikischin! - fix: fix dpi ### Patch Changes - #2727 `4bafab8` Thanks @hendrikmolder! - accept string array
8e6a832 Thanks @nikischin! - fix: fix dpi4bafab8 Thanks @hendrikmolder! - accept string array for fontFamily in stylesheets### Minor Changes - #2723 `22a34a9` Thanks @hendrikmolder! - Allow passing a string array to fontFamily
22a34a9 Thanks @hendrikmolder! - Allow passing a string array to fontFamily### Patch Changes - #2573 `9af07fe` Thanks @davbrito! - feat: add support for resolving blob images
### Minor Changes - #2539 `fb5273d` Thanks @diegomura! - feat: add creation and modification dates
fb5273d Thanks @diegomura! - feat: add creation and modification dates### Patch Changes - #2525 `9e5842b` Thanks @wojtekmaj! - Fix rowGap and columnGap style properties not accepting strings
9e5842b Thanks @wojtekmaj! - Fix rowGap and columnGap style properties not accepting strings### Patch Changes - #2453 `e5c8fde` Thanks @chuckspencer-aiq! - fix: add clipPath to typing for SVGPresentationAttributes * #2467 `1f987cc` Thanks @Ja
e5c8fde Thanks @chuckspencer-aiq! - fix: add clipPath to typing for SVGPresentationAttributes1f987cc Thanks @JaeSeoKim! - feat: add withVariationSelectors option to registerEmojiSource #24664c40b14 Thanks @TheMikeyRoss! - Updated svg.d.ts to include strokeLinejoin### Patch Changes - #2130 `4a55c1b` Thanks @PoornakumarRasiraju! - fix: allow credentials option in Image
4a55c1b Thanks @PoornakumarRasiraju! - fix: allow credentials option in Image### Patch Changes - #2276 `1e1fbdc` Thanks @renchap! - add aspectRatio style property * #2293 `8636812` Thanks @BryanAbate! - fix type for getRegister
### Patch Changes - #2310 `a25dbcb` Thanks @wojtekmaj! - Fixed all strings allowed in fontWeight in Font.register
a25dbcb Thanks @wojtekmaj! - Fixed all strings allowed in fontWeight in Font.register### Patch Changes - #2252 `47e91cb` Thanks @jeetiss! - implement function as emoji source to build more complex urls
### Minor Changes - #2214 `2db67a3` Thanks @KODIKAS-NL! - added base support for verticalAlign "super" and "sub"
2db67a3 Thanks @KODIKAS-NL! - added base support for verticalAlign "super" and "sub"### Minor Changes - #2160 `a743c90` Thanks @jeetiss! - implement flex gap
### Patch Changes - #2106 `24bb5de` Thanks @RDO34! - Add dpi and bookmark page prop types
### Minor Changes - #1862 `1411d16` Thanks @diegomura! - feat: bookmarks support * #1867 `4fadb48` Thanks @diegomura! - feat: add page layout support
1411d16 Thanks @diegomura! - feat: bookmarks support4fadb48 Thanks @diegomura! - feat: add page layout supportce8762f Thanks @diegomura! - feat: add page mode support5d2c308 Thanks @diegomura! - feat: variable dpi### Patch Changes - #1843 `fe0f214` Thanks @diegomura! - fix: add ID1 type
fe0f214 Thanks @diegomura! - fix: add ID1 type### Patch Changes - #1581 `04449ab` Thanks @jeetiss! - added changelog with changesets
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →