Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
v1.8.3
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
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
Bug fixes
- Fixed an issue that could cause React-PDF to fail on non-ES6 environments.
v1.8.0
What's new?
- You can now rotate the page using prop
rotate
. See README.md for more details.
v1.7.0
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
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
What's new?
- Added
width
, height
, originalWidth
, originalHeight
and scale
parameters to onPageLoad callback object (#22).
v.1.5.1
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
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
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).