yarn react-pdf 4.0.0-beta.3

latest releases: 7.7.1, 7.7.0, 7.6.0...
5 years ago

What's new?

  • Added support for password encrypted PDFs. You can use onPassword prop to overwrite default password prompt (#241).
  • Added documentation for renderMode.
  • You can now pass onLoadProgress callback to Document component to be updated on document loading progress. This may come in handy if you load PDF to be displayed from a web server (#238)
  • You can now pass renderMode prop to all Page components by adding it to wrapping Document component instead.

What's changed?

  • Removed max-width from rendered SVG to match Canvas rendering mode behavior (#251).
  • Clarified documentation for onItemClick.

Bug fixes

  • Fixed page not displaying when passed null to scale prop.

Don't miss a new react-pdf release

NewReleases is sending notifications on new releases.