Skip to content

Releases: wojtekmaj/react-pdf

v1.8.3

16 Jul 00:51
Compare
Choose a tag to compare

Bug fixes

  • Fix an issue with react-pdf test and sample pages using ../ as their React-PDF path, which caused Webpack to fail to build them unless you manually installed Webpack in root project's directory.

v1.8.2

14 Jul 17:43
Compare
Choose a tag to compare

Bug fixes

  • Fix an error that resulted in Module not found: 'worker-loader' error on non-Webpack environments.
  • Fix an error that may have occasionally cause React-PDF to fail to load the page.

v1.8.1

14 Jul 03:51
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue that could cause React-PDF to fail on non-ES6 environments.

v1.8.0

14 Jul 03:16
Compare
Choose a tag to compare

What's new?

  • You can now rotate the page using prop rotate. See README.md for more details.

v1.7.0

14 Jul 01:56
Compare
Choose a tag to compare

What's new?

  • React 15.5 is now minimum supported version (previously 15.0).
  • New project structure. Now /sample and /test directories are indpendent from root directory.
  • You can now use react-pdf without worker. See README.md for more details.

Bug fixes

  • A warning Accessing PropTypes via the main React package is deprecated will no longer appear (#29)
  • Fixed an error causing a faulty request to './[Object object]' when loading worker (#10).
  • pdf.worker.js is now working as designed, which means vastly improved performance.

v1.6.1

07 Mar 15:49
Compare
Choose a tag to compare

Bug fixes

  • Fix ES2015 imports not transpiled to commonJS in es5, that could cause disable some users not using Babel from using the module.

v1.6.0

03 Mar 21:26
Compare
Choose a tag to compare

What's new?

  • Added width, height, originalWidth, originalHeight and scale parameters to onPageLoad callback object (#22).

v.1.5.1

05 Feb 13:17
Compare
Choose a tag to compare

Bug fixes

  • Fixed changing pages while the rendering is in progress causing two pages being rendered at the same time resulting in a graphical glitch (#19).

v.1.5.0

04 Feb 18:59
Compare
Choose a tag to compare

What's new?

  • Hi-DPI screens are not properly detected and rendered PDFs should no longer be blurry. Hooray! (#18)
  • width parameter has been added. You can now specify desired width of the page, if you don't want the default (#18).

v1.4.0

04 Feb 12:19
Compare
Choose a tag to compare

What's new?

  • Dependencies have been updated, most notably we use Webpack version 2.x now (#11, #12).
  • onDocumentError and onPageError functions now pass error object as an argument, making it easier to debug (#14).

Bug fixes

  • Fixed loading PDFs via data URIs failing on Microsoft Edge (#15).