Skip to content

Bump react-pdf from 7.7.3 to 10.0.1 in /ui #4242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2025

Bumps react-pdf from 7.7.3 to 10.0.1.

Release notes

Sourced from react-pdf's releases.

v10.0.1

Bug fixes

  • Fixed commonly used types not reexported.

v10.0.0

See Upgrade guide from version 9.x to 10.x.

After more than a year since our last major release, we're thrilled to bring you React-PDF 10.

This update includes a major PDF.js upgrade, new features to make your life easier, improved stability, and some important breaking changes.

👀 Want to see exciting features more often? Consider sponsoring React-PDF.

❗️ = breaking change

What's new?

  • ❗️ Dropped CommonJS build, making the package ESM-only. Chances are you're not going to be affected by this change at all, as all common bundlers support ESM out of the box.
    • However, you may encounter issues running unit tests using Jest. Consider migrating to Vitest.
  • Updated PDF.js to 5.3.31.
    • Performance boosts: Key rendering routines refactored to cut memory usage and speed up page loading.
    • JPEG2000 downscaling: Automatic downscale of large JPEG2000 images during decoding to improve render times.
    • CMYK JPEG fix: Correct handling of the alpha channel when WebAssembly is disabled.
    • Viewer stability: Better handling of missing/invalid Content-Range headers.
    • API cleanup: Removed deprecated options, adopted parameter objects for core methods, and introduced private class fields for cleaner code.
  • Added support for scale prop in Document component, allowing you to set the scale for the entire document.
  • Reexported some commonly used types from pdfjs-dist, such as StructTreeNode, TextContent, TextItem, and TextMarkedContent, making it easier to work with PDF.js-provided types in your application.

What's changed?

  • ❗️ Dropped support for older browsers and Node.js versions. Please note that following PDF.js's lead, React-PDF will now guarantee to support only the latest versions of all major modern browsers.
  • Improved, cleaned up documentation.
  • We're now testing React-PDF with Vitest Browser Mode, ensuring better compatibility with modern browsers.

v9.2.1

Bug fixes

  • Fixed gray background appearing on selection (#1925).

v9.2.0

This version updates PDF.js to 4.8.69, significantly simplifying setup in Next.js. You no longer need to do any changes to Next.js config!

What's new?

  • Updated PDF.js to 4.8.69 (#1921). Thanks, @​MGPOCKY!
  • Improved compatibility with Node.js 22.

v9.1.1

Bug fixes

... (truncated)

Commits
  • 2243425 v10.0.1
  • 76ff98a Fix commonly used types not reexported
  • 07c19cf v10.0.0
  • a50ee94 Update docs on previous versions
  • bee9fb5 Update docs on browser support
  • d8f048e Remove docs on older versions of React
  • 09ee35e Remove docs on legacy PDF.js worker
  • e1f2790 Add support for scale prop in Document component
  • 0dbbde6 Migrate to ESM-only
  • 44abc4e Bump merge-refs from 1.3.0 to 2.0.0
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
react-pdf [>= 6.2.a, < 6.3]

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 7.7.3 to 10.0.1.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](https://github.com/wojtekmaj/react-pdf/commits/v10.0.1/packages/react-pdf)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code Major issue that requires attention labels Jul 1, 2025
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 Major issue that requires attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants