Skip to content

Bump react-pdf from 4.2.0 to 6.0.3 in /ui#659

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/ui/develop/react-pdf-6.0.3
Closed

Bump react-pdf from 4.2.0 to 6.0.3 in /ui#659
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/ui/develop/react-pdf-6.0.3

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 14, 2022

Bumps react-pdf from 4.2.0 to 6.0.3.

Release notes

Sourced from react-pdf's releases.

v6.0.3

Bug fixes

  • Fixed customTextRenderer called too often and potentially with undefined str (#1151).
  • Fixed text layer rendering twice when using React 18 w. StrictMode on.

v6.0.2

Bug fixes

  • Fixed Vite specific entry causing fake worker to be initialized (#1148).

v6.0.1

Bug fixes

  • Fixed Vite specific entry causing build to fail (#1148).

v6.0.0

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

Note: React <16.8 is not supported. If you're still using React older than 16.8, please use react-pdf@^5.0.0 instead.

❗️ = breaking change

What's new?

  • ❗️ Vastly improved performance and bundle size thanks to the modern version of PDF.js that is now used. This drops support for legacy browsers. See README for details.
  • Added official support for Vite.
  • Updated PDF.js to 2.16.105 (#1019).
    • Improvements for the text layer (space insertion)
    • Improvements for canvas rendering (thin line rendering)
    • Improvements for forms (printing/saving of choice lists)
    • Improvements for accessibility (sidebar and search results)
    • Bug fixes and optimizations, in particular for annotations, font/image conversion, SMask rendering, text layer rendering and TypeScript definitions
    • Performance improvements for rendering image masks, Type3 fonts and certain drawing instructions
    • Support for specifying custom background/foreground colors for rendering in the viewer (this will be soon be supported in React-PDF)
    • Bugfixes
    • Accessibility improvements
    • Rendering quality improvements.
  • Improved documentation.
    • Fixed instructions on PDF.js worker
    • Added missing documentation on onRenderTextLayerError and onRenderTextLayerSuccess
    • Added a note on SVG mode deprecation.
  • Refactored TextLayer to use pdfjs.renderTextLayer (#944).
    • Added support for onRenderTextLayerError prop
    • Added support for onRenderTextLayerSuccess prop.
  • React-PDF now warns if required CSS files are not imported.

What's changed?

  • ❗️ Minimum React version is now 16.8.
  • ❗️ onGetTextSuccess is now called with an object containing items and styles.
  • ❗️ TextLayer.css now must be imported manually for TextLayer to work properly.
  • ❗️ Dropped support for React content in customTextRenderer (#1124).
  • file-loader is now an optional peerDependency (#970). Thanks, @​rpaasche!
  • Improved documentation on Preact compatibility.

... (truncated)

Commits
  • b00440b v6.0.3
  • 416e96c Fix already cancellable tasks wrapped in makeCancellable
  • 4962d3b Fix customTextRenderer called more times than there are textContent items
  • 5cdd8a0 Replace customTextRenderer in test suite and documentation
  • 69d0c3e Add extension to URL() in Webpack 5 specific entry
  • c743cfe Update dependencies
  • dd74e14 v6.0.2
  • ced009a Fix Vite specific entry causing fake worker to be initialized
  • b063961 Sort bundlers alphabetically
  • 55501ce Update dependencies
  • Additional commits viewable in compare view

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 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) from 4.2.0 to 6.0.3.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](wojtekmaj/react-pdf@v4.2.0...v6.0.3)

---
updated-dependencies:
- dependency-name: react-pdf
  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 Nov 14, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 21, 2022

Superseded by #663.

@dependabot dependabot bot closed this Nov 21, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui/develop/react-pdf-6.0.3 branch November 21, 2022 01:53
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