Skip to content

build(deps): bump react-pdf from 8.0.2 to 10.5.0 - #6592

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-pdf-10.5.0
Open

build(deps): bump react-pdf from 8.0.2 to 10.5.0#6592
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-pdf-10.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps react-pdf from 8.0.2 to 10.5.0.

Release notes

Sourced from react-pdf's releases.

v10.5.0

What's changed?

  • Text layer styles are now in sync with PDF.js 5.4.296 (#2077). If you were customizing text layer styles, note that --highlight-bg-color and --highlight-selected-bg-color moved from :root to .textLayer .highlight and are now semi-transparent, and that .textLayer z-index changed from 2 to 0.
  • Documented legacy PDF.js worker, reported to work on iOS 16.4 and newer.
  • Updated pnpm hoisting instructions for pnpm 11+ (#2114).
  • Clarified that filtering of HTML returned by customTextRenderer is best-effort, and sanitizing it is up to you.

Bug fixes

  • Fixed text layer being misaligned with page content (#2064).
  • Fixed crash when <Document /> was hidden and revealed by <Activity> (#2128).
  • Disallowed data: URLs in URL attributes returned by customTextRenderer.

v10.4.1

Bug fixes

  • Sanitize HTML returned by customTextRenderer (#2070).

v10.4.0

What's new?

  • Added support for pageColors prop in Page component (#2068). With this option, you can easily override colors used to render the PDF and implement accessibility enhancements. For example, this:
    <Page /* … */ pageColors={{ background: 'black', foreground: '#FF0000' }} />
    will result in the following:

v10.3.0

What's new?

  • Added support for filterAnnotations prop in Page component (#1991).
  • Made the code more resilient to promise cancellations (#974).

What's changed?

  • Tests are no longer shipped to npm. This helped reducing publish size from 416 kB to 303 kB.
  • Updated Next.js samples.

Bug fixes

  • Fixed incorrectly calculated dimensions of rotated pages in Page onLoadSuccess handler (#2027). Thanks, @​wkirby!

v10.2.0

This is our first release that uses OIDC trusted publishing and immutable releases! 🎉

What's new?

... (truncated)

Commits
  • 7d12fa2 v10.5.0
  • ad66e76 Fix crash when Document is hidden and revealed by <Activity> (#2129)
  • 1cfc8bb Bump @​biomejs/biome from 2.4.10 to 2.5.8
  • 2d713d4 Clarify security guidance for customTextRenderer
  • eb5c944 Bump vitest from 4.1.8 to 4.1.10
  • b00fb0b Bump typescript from 6.0.2 to 7.0.2
  • c2e0782 Update pnpm 11+ hoisting instructions (#2114)
  • 44faeb7 Bump vitest from 4.1.3 to 4.1.8
  • 879e044 Bump playwright from 1.56.1 to 1.60.0
  • af3e30c Minor formatting
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for react-pdf since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-pdf-10.5.0 branch from 9d756d3 to 0f5e8c8 Compare September 1, 2026 14:18
Bumps [react-pdf](https://github.com/wojtekmaj/react-pdf/tree/HEAD/packages/react-pdf) from 8.0.2 to 10.5.0.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](https://github.com/wojtekmaj/react-pdf/commits/v10.5.0/packages/react-pdf)

---
updated-dependencies:
- dependency-name: react-pdf
  dependency-version: 10.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-pdf-10.5.0 branch from 0f5e8c8 to 3e6909f Compare September 2, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant