Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
v7.0.0-beta.3
v7.0.0-beta.2
Bug fixes
- Fixed "The
--scale-factor
CSS-variable must be set" error.
v7.0.0-beta
This is one of the biggest update - for React-PDF and for me personally. React-PDF has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through 137 unit tests we have, please let me know. I hope you will like it.
❗️ = breaking change
What's new?
- Converted package to TypeScript (#1420).
- Rewritten package using React Hooks (#1370).
- Updated PDF.js to 3.6.172.
- Preparations for editor mode support
- Removed support for outdated browser versions
- Font conversion/text selection improvements
- Annotation improvements
- Image rendering improvements that allow rendering big images even if they are larger than the canvas limits
- Accessibility improvements
- Improved overall performance
- Reduced memory usage
- Other features/bugfixes
What's changed?
- React-PDF is now considerably smaller.
- ❗️ Bundler-specific entry points are no longer provided. Don't worry though, the setup should be straightforward.
- ❗️ Dropped support for older browsers.
- ❗️ Removed legacy
renderInteractiveForms
prop
v6.2.2
v6.2.1
What's changed?
- Brought back
pageIndex
andpageNumber
incustomTextRenderer
args that, despite undocumented, may have been used by some (#1190). - Replace
typeof window
checks withtypeof document
checks to avoid Deno environment being falsely recognized as browser environment.