Releases: wojtekmaj/react-pdf
Releases · wojtekmaj/react-pdf
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).
v5.3.2
v5.3.1
v5.3.0
What's new?
- Updated PDF.js from 2.5.207 to 2.6.347 (#746). Thanks, @andi-dev!
- Replaced worker-loader with file-loader in Webpack-specific entry file (#93, #291, #496, #530, #558, #613, #685, #734, #756). Webpack-specific entry file now works with Create React App.
- Improved memory management by destroying previous worker when file changes (#288, #305, #755). Thanks, @jeetiss!
What's changed?
- Replaced PDFLinkService with custom LinkService (#657, #659, #749).
- Use public API for rendering cancellation (#757). Thanks, @jeetiss!
Bug fixes
- Fixed file prop checked using function with the same name.