chore: update dependency react-pdf to v10 #5761
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.2.1->^10.1.0Release Notes
wojtekmaj/react-pdf (react-pdf)
v10.1.0Compare Source
What's new?
onLoadSuccess, 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:LinkServicetype for convenience.What's changed?
usePageContextwill now provide non-null value sooner than before, before the page is actually loaded. This is uniform with howuseDocumentContextbehaves and with how types were designed from the start, so you should not be affected by this change.v10.0.1Compare Source
Bug fixes
v10.0.0Compare Source
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?
scaleprop inDocumentcomponent, allowing you to set the scale for the entire document.pdfjs-dist, such asStructTreeNode,TextContent,TextItem, andTextMarkedContent, making it easier to work with PDF.js-provided types in your application.What's changed?
Configuration
📅 Schedule: Branch creation - "after 8am and before 5pm every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.