Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
v2.0.0-beta.4
What's new?
- npm package is now lighter as it does not contain unnecessary files.
Bug fixes
- Fixed an edge case where React-PDF was not properly handling a situation when it was immediately unmounted after mounting, which caused React to throw warnings.
v2.0.0-beta.3
What's new?
- babel-polyfill is no longer required to use react-pdf. Thanks, @Kerumen!
- You can now disable rendering text layers by passing
renderTextLayer={false}
toPage
component.
Bug fixes
v2.0.0-beta.2
What's new?
- Optimized NPM package. It no longer includes files not necessary for end user.
Bug fixes
- React-PDF will no longer warn
Warning: setState(...): Can only update a mounted or mounting component.
if you unmount it while loading a file or rendering a page (#43).
v2.0.0-beta
What's new?
- Updated README file.
- Added instructions for non-Webpack projects.
- Added instructions for babel-polyfill.
- Default entry will now display a warning if you're developing on a local file system.
- React-PDF will now display a warning if you're developing on a local file system and you're attempting to load a local PDF file.
- New entry - entry.noloader - which gives you an ability not to create a separate thread for rendering PDFs. See README for more information.
- All React-PDF methods (
loadDocument
,loadPage
etc.) now return a promise for your convenience.
Bug fixes
- Fixed React-PDF failing to load if no babel-polyfill was included.
- Fixed PDF.js attempting to load worker from a random location (depending on the name of the last script included in head at the moment of loading PDF.js). It is now set to
pdf.worker.js
(nnarhinen/react-pdf#39).
v2.0.0-alpha.7
What's new
- Enhanced text layers alignment.
- New sample PDFs were added.
Bug fixes
- Fix
Outline
component not properly getting item destination from PDF documents created in Microsoft Word.
v2.0.0-alpha.6
Bug fixes
- Fix horizontal alignment of text layers when the layer started/ended with whitespace characters.
- Fix horizontal alignment of text layers when the font embedded in PDF failed to render correctly.
- Fix Sample and Test pages not resetting pageNumber on file change.
v2.0.0-alpha.5
Bug fixes
- Fix page rendered too small on HiDPI devices.
v2.0.0-alpha.4
Bug fixes
- Fixed vertical alignment of text layers.
v2.0.0-alpha.3
Bug fixes
- Fix text layers not rotating with the page rotation.
PageCanvas
component no longer need external CSS to render canvas properly.
v2.0.0-alpha.2
What's new?
Page
component now renders text layers! This means the text can be selected or read by a screen reader (nnarhinen/react-pdf#52).