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.