Skip to content
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

Bump react-pdf from 5.7.2 to 7.1.2 in /ui #3150

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 16, 2023

Bumps react-pdf from 5.7.2 to 7.1.2.

Release notes

Sourced from react-pdf's releases.

v7.1.2

Bug fixes

  • Fixed customTextRenderer not working on documents without marked content (#1530, #1531). Thanks, @​MattL75!

v7.1.1

Bug fixes

  • Improved performance by avoiding unnecessary re-renders (#1526).

v7.1.0

Large and exciting release, full of improvements and new features, mainly thanks to our contributors, @​kostassite, @​iamandrewluca and @​MattL75, and sponsors. Become a sponsor and help making React-PDF even better!

What's new?

  • Added Thumbnail component which lets you render thumbnails (#898, #1519).
  • Forms rendered by annotation layer are now using AnnotationStorage. This allows you to hook into pdf.annotationStorage in pdf provided in onDocumentLoadSuccess callback and listen for form data changes (#1518). Thanks, @​kostassite!
  • New hooks: useDocumentContext, useOutlineContext and usePageContext. These hooks allow you to build custom components that hook (pun not intended) into React-PDF API (#1505). Thanks, @​iamandrewluca!
  • If onItemClick was not provided neither to Document nor Outline components, React-PDF will now attempt to navigate to the page of the clicked outline item on its own, just like it does for internal links.

What's changed?

  • Improved accessibility by introducing structure tree. This also introduces new props in Page: onGetStructTreeSuccess and onGetStructTreeError (#1494, #1498). Thanks, @​MattL75!

Bug fixes

  • Fixed onItemClick types incorrectly marking dest as required.
  • Fixed onItemClick not passed from Document to Outline. Previously, you had to manually pass onItemClick to Outline component. Now, you only need to pass it to Document.

v7.0.3

Bug fixes

  • Allowed all DocumentInitParameters to be passed to options prop.

v7.0.2

Bug fixes

  • Fixed "Worker was destroyed" error when Document was unmounted or updated before the worker finished loading the PDF file.
  • Fixed annotations not displaying properly when global CSS had section selector styled.

v7.0.1

Bug fixes

  • Fixed annotation layer rendered under text layer, resulting in some annotations not clickable (#1503). Thanks, @​iamandrewluca!

v7.0.0

See Upgrade guide from version 6.x to 7.x.

This is one of the biggest update - for React-PDF and for me personally. React-PDF has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through 137 unit tests we have, please let me know. I hope you will like it.

... (truncated)

Commits
  • 7740ef6 v7.1.2
  • 11027c1 Fix customTextRenderer not working on documents without marked content (#1531)
  • b370645 Add copy-cmaps and copy-standard-fonts scripts to test suite
  • 9cb0a18 Sort scripts alphabetically
  • 5cc57e4 v7.1.1
  • d4174b6 Remove getPageProps, memoize customTextRenderer and onPageClick
  • e7f5b4a Memoize DocumentContext, OutlineContext and PageContext
  • 80a9e3a Fix source field, add types field in package.json
  • c85eb1c Remove module
  • 0de76f7 Convert README code examples to TypeScript
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 16, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/develop/react-pdf-7.1.2 branch from d04d9ee to 162411f Compare July 4, 2023 13:37
Bumps [react-pdf](https://github.com/wojtekmaj/react-pdf) from 5.7.2 to 7.1.2.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](wojtekmaj/react-pdf@v5.7.2...v7.1.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/develop/react-pdf-7.1.2 branch from 162411f to c24f018 Compare July 4, 2023 13:38
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2023

Superseded by #3256.

@dependabot dependabot bot closed this Aug 1, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui/develop/react-pdf-7.1.2 branch August 1, 2023 11:27
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