eunchurn / mullae-instant

#mullaeinstant project page.
https://mullaeinstant.com
6 stars 6 forks source link

fix(deps): update dependency react-pdf to v5 - autoclosed #40

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-pdf ^4.1.0 -> ^5.0.0 age adoption passing confidence

Release Notes

wojtekmaj/react-pdf ### [`v5.7.2`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.7.2) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.7.1...v5.7.2) #### What's new? - Added instructions on support for standard fonts. - Make findDocumentSource cancellable, cancel running tasks in loadDocument before finding source ([#​947](https://togithub.com/wojtekmaj/react-pdf/issues/947)). #### Bug fixes - Fixed Page not rendering in `canvas` rendering mode (default) when using React 18 w. StrictMode on ([#​972](https://togithub.com/wojtekmaj/react-pdf/issues/972)). ### [`v5.7.1`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.7.1) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.7.0...v5.7.1) #### What's changed? - Replaced deprecated `renderInteractiveForms` option with `annotationMode` in `page.render` call ([#​946](https://togithub.com/wojtekmaj/react-pdf/issues/946)). #### Bug fixes - Use `workerPort` instead of `workerSrc` in Parcel 2 specific entry ([#​941](https://togithub.com/wojtekmaj/react-pdf/issues/941)). Thanks, [@​jamesjessian](https://togithub.com/jamesjessian)! - Fixed regression that caused interactive forms to be always rendered. ### [`v5.7.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.7.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.6.0...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](https://webpack.js.org/guides/asset-modules/#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](https://togithub.com/wojtekmaj/react-pdf/issues/936)). - Improved XFA support - Improved pattern/tiling support - Rich text annotation support - Added support for `externalLinkRel` prop. - Added `dest` and `pageIndex` to `onItemClick` callbacks ([#​812](https://togithub.com/wojtekmaj/react-pdf/issues/812), [#​924](https://togithub.com/wojtekmaj/react-pdf/issues/924)). Thanks, [@​malwilley](https://togithub.com/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`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.6.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.5.0...v5.6.0) #### What's new? - Updated PDF.js to 2.10.377 ([#​900](https://togithub.com/wojtekmaj/react-pdf/issues/900)). - Improved XFA support ([#​856](https://togithub.com/wojtekmaj/react-pdf/issues/856)). ### [`v5.5.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.5.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.4.1...v5.5.0) #### What's new? - Added `canvasBackground` prop ([#​851](https://togithub.com/wojtekmaj/react-pdf/issues/851)). Thanks, [@​paescuj](https://togithub.com/paescuj)! ### [`v5.4.1`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.4.1) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.4.0...v5.4.1) #### Bug fixes - Fixed LinkService crashing given already-resolved dest ([#​869](https://togithub.com/wojtekmaj/react-pdf/issues/869)). ### [`v5.4.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.4.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.3.2...v5.4.0) #### What's new? - Updated PDF.js to 2.9.359 ([#​818](https://togithub.com/wojtekmaj/react-pdf/issues/818)). - Added support for Signatures ([#​559](https://togithub.com/wojtekmaj/react-pdf/issues/559), [#​691](https://togithub.com/wojtekmaj/react-pdf/issues/691), [#​772](https://togithub.com/wojtekmaj/react-pdf/issues/772), [#​817](https://togithub.com/wojtekmaj/react-pdf/issues/817)). - Fixed rendering on Chrome 92 and up ([#​819](https://togithub.com/wojtekmaj/react-pdf/issues/819)). - Replaced pdfjs-dist build with legacy ES5 version ([#​794](https://togithub.com/wojtekmaj/react-pdf/issues/794)). Thanks, [@​njleonzhang](https://togithub.com/njleonzhang)! - Changed async/await syntax to Promises, reducing build size significantly ([#​807](https://togithub.com/wojtekmaj/react-pdf/issues/807)). #### Bug fixes - Fixed annotation links no longer working in some cases ([#​816](https://togithub.com/wojtekmaj/react-pdf/issues/816)). ### [`v5.3.2`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.3.2) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.3.1...v5.3.2) #### Bug fixes - Fixed `file` prop type checker not accepting `data` as string ([#​800](https://togithub.com/wojtekmaj/react-pdf/issues/800)). ### [`v5.3.1`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.3.1) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.3.0...v5.3.1) #### What's changed? - Made documentation on bundler-specific entry files clearer. - Minor code optimizations for smaller bundle size. #### Bug fixes - Fixed `onLoadProgress` incorrectly listed as `Page` prop in README. - Fixed data URI not parsed properly when having multiple headers ([#​784](https://togithub.com/wojtekmaj/react-pdf/issues/784)). ### [`v5.3.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.3.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.2.0...v5.3.0) #### What's new? - Updated PDF.js from 2.5.207 to 2.6.347 ([#​746](https://togithub.com/wojtekmaj/react-pdf/issues/746)). Thanks, [@​andi-dev](https://togithub.com/andi-dev)! - Replaced worker-loader with file-loader in Webpack-specific entry file ([#​93](https://togithub.com/wojtekmaj/react-pdf/issues/93), [#​291](https://togithub.com/wojtekmaj/react-pdf/issues/291), [#​496](https://togithub.com/wojtekmaj/react-pdf/issues/496), [#​530](https://togithub.com/wojtekmaj/react-pdf/issues/530), [#​558](https://togithub.com/wojtekmaj/react-pdf/issues/558), [#​613](https://togithub.com/wojtekmaj/react-pdf/issues/613), [#​685](https://togithub.com/wojtekmaj/react-pdf/issues/685), [#​734](https://togithub.com/wojtekmaj/react-pdf/issues/734), [#​756](https://togithub.com/wojtekmaj/react-pdf/issues/756)). Webpack-specific entry file now works with Create React App. - Improved memory management by destroying previous worker when file changes ([#​288](https://togithub.com/wojtekmaj/react-pdf/issues/288), [#​305](https://togithub.com/wojtekmaj/react-pdf/issues/305), [#​755](https://togithub.com/wojtekmaj/react-pdf/issues/755)). Thanks, [@​jeetiss](https://togithub.com/jeetiss)! #### What's changed? - Replaced PDFLinkService with custom LinkService ([#​657](https://togithub.com/wojtekmaj/react-pdf/issues/657), [#​659](https://togithub.com/wojtekmaj/react-pdf/issues/659), [#​749](https://togithub.com/wojtekmaj/react-pdf/issues/749)). - Use public API for rendering cancellation ([#​757](https://togithub.com/wojtekmaj/react-pdf/issues/757)). Thanks, [@​jeetiss](https://togithub.com/jeetiss)! #### Bug fixes - Fixed file prop checked using function with the same name. ### [`v5.2.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.2.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.1.0...v5.2.0) ##### What's new? - Allow overriding of `imageResourcesPath` ([#​728](https://togithub.com/wojtekmaj/react-pdf/issues/728)). Thanks, [@​hchevalier](https://togithub.com/hchevalier)! ### [`v5.1.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.1.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v5.0.0...v5.1.0) #### What's new? - Added React 17 compatibility. - Updated PDF.js to 2.5.207 ([#​686](https://togithub.com/wojtekmaj/react-pdf/issues/686), [#​687](https://togithub.com/wojtekmaj/react-pdf/issues/687)). ### [`v5.0.0`](https://togithub.com/wojtekmaj/react-pdf/releases/tag/v5.0.0) [Compare Source](https://togithub.com/wojtekmaj/react-pdf/compare/v4.2.0...v5.0.0) ❗️ = breaking change #### What's new? - ❗️ React-PDF now ships with [ES6 Modules](https://togithub.com/rollup/rollup/wiki/pkg.module) along with CommonJS modules. This allows for Webpack and other bundlers to optimize your code better. - Updated PDF.js from 2.1.266 to 2.4.456. Thanks, [@​kylemellander](https://togithub.com/kylemellander)! #### What's changed? - ❗️ Internet Explorer 11 is no longer supported. - ❗️ Removed renderAnnotations backwards compatibility ([#​431](https://togithub.com/wojtekmaj/react-pdf/issues/431)). - ES6 builds of PDF.js are now used since Internet Explorer 11 support was dropped anyway. - Changed the way PDFDataRangeTransport is imported. - Explicitly initialize an EventBus instance ([#​593](https://togithub.com/wojtekmaj/react-pdf/issues/593)). Thanks, [@​danieltott](https://togithub.com/danieltott)! #### Bug fixes - Fixed memory leak after unmounting Document ([#​452](https://togithub.com/wojtekmaj/react-pdf/issues/452), [#​505](https://togithub.com/wojtekmaj/react-pdf/issues/505)). Thanks, [@​oze4](https://togithub.com/oze4)! - Fixed `error`, `loading`, `noData` propTypes not accepting functions ([#​579](https://togithub.com/wojtekmaj/react-pdf/issues/579)). - Fixed PDF rendering incorrectly if wrapped in an element with `dir="rtl"` ([#​588](https://togithub.com/wojtekmaj/react-pdf/issues/588)). - Added null check before calling destroy() method on loadingTask.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.