Skip to content

Bump react-pdf from 6.2.2 to 10.4.0#6126

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

Bump react-pdf from 6.2.2 to 10.4.0#6126
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-pdf-10.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 23, 2026

Copy link
Copy Markdown
Contributor

Bumps react-pdf from 6.2.2 to 10.4.0.

Release notes

Sourced from react-pdf's releases.

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?

  • Updated PDF.js to 5.4.296 (#2022).
  • Updated documentation to include warning about workerSrc module execution order (#2024).

Bug fixes

v10.1.0

What's new?

  • Added support for functions as children. React-PDF has never been simpler to work with! Say goodbye toonLoadSuccess, say goodbye to setting number of pages in your own state, say goodbye to extra renders! Now, rendering a simple document is as trivial as:
    <Document file="sample.pdf">
      {({ pdf }) => Array(pdf.numPages)
        .fill(null)
        .map((_, index) => <Page key={index} pageIndex={index} />
      ))}
    </Document>

... (truncated)

Commits
  • 2ad8088 v10.4.0
  • 1f4f044 Add support for pageColors prop in Page component
  • 88585fc Update React to 19.2.0
  • 0301052 Use better assertions in unit tests
  • dcc9091 v10.3.0
  • 486cc2e Remove unnecessary null check
  • 1402f43 Make the code more resilient to promise cancellations
  • b55b5e6 Update version in README (#2046)
  • e225811 Use full glob patterns in files, exclude unit tests from published tarball
  • 2ff0c3f Migrate from RTL to vitest-browser-react
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for react-pdf since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-pdf](https://github.com/wojtekmaj/react-pdf/tree/HEAD/packages/react-pdf) from 6.2.2 to 10.4.0.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](https://github.com/wojtekmaj/react-pdf/commits/v10.4.0/packages/react-pdf)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 23, 2026
@dependabot @github

dependabot Bot commented on behalf of github Feb 26, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #6136.

@dependabot dependabot Bot closed this Feb 26, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/react-pdf-10.4.0 branch February 26, 2026 10:04
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.

0 participants