Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
v5.7.0
Biggest one in months!
What's new?
- Added support for React 18.
- Added official support for Parcel 2.
- Added new Webpack 5-specific entry file. It uses Webpack's new URL assets instead of
worker-loader
, which turned out to be quite problematic in the past. Don't worry, if you want to stick to the old Webpack-specific one, it should still work just fine! - Updated PDF.js to 2.12.313 (#936).
- Improved XFA support
- Improved pattern/tiling support
- Rich text annotation support
- Added support for
externalLinkRel
prop. - Added
dest
andpageIndex
toonItemClick
callbacks (#812, #924). Thanks, @malwilley!
What's changed?
- Updated cMaps instructions to work with Yarn PnP.
- Updated PDF.js worker instructions for clarity.
- Specify how to make it work with Create React App 5.
- Added instructions on how to manually copy cMaps directory.
- Added instructions on how to manually copy
pdf.worker.js
. - Added Create React App 5 sample suite.
- Added Parcel 2 sample suite.
v5.6.0
v5.5.0
v5.4.1
v5.4.0
What's new?
- Updated PDF.js to 2.9.359 (#818).
- Replaced pdfjs-dist build with legacy ES5 version (#794). Thanks, @njleonzhang!
- Changed async/await syntax to Promises, reducing build size significantly (#807).
Bug fixes
- Fixed annotation links no longer working in some cases (#816).
v5.4.0-beta.3
What's changed?
- Replaced pdfjs-dist build with legacy ES5 version (#794). Thanks, @njleonzhang!
v5.4.0-beta.2
v5.4.0-beta
What's new?
- Changed async/await syntax to Promises, reducing build size significantly (#807).