Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
v2.0.0-alpha.1
What's new?
- You can now render table of contents using new
Outline
component. - It's now easier to style No data, Error and Loading messages as they now have their own CSS classes.
- Sample and Test pages have been updated.
- Both pages are now mobile friendly.
- Sample page now renders an entire PDF at once.
- Test page now has an Outline section with sample navigation.
Bug fixes
- Fixed pages rendered sometimes being blurry due to the lack of rounding width/height down.
- Fixed
Page
component not showing loader when switching pages.
v2.0.0-alpha
What's new?
- Now there's more React in React. React-PDF's structure has been completely rewritten (#27).
- Documents are now loaded using
Document
component. - Pages are now rendered in
Page
components. They are meant to be rendered insideDocument
component. And yes, this means you can now render many pages at once!
- Documents are now loaded using
onLoadSuccess
ofDocument
andPage
components now returnpdf
andpage
respectively, giving you access to full PDF.js API.- React-PDF now respects page's default rotation. In v1.x, rotation was always set to 0 unless
rotate
prop was passed. Now React-PDF renders pages in their default rotation as defined in PDF file.
v1.8.3
v1.8.2
v1.8.1
v1.8.0
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.