React Pdf Js Versions Save

A React component to wrap PDF.js

v7.0.2

4 months ago

Big update:

  • Updated everything to latest
  • Fixed the package types so it should work better in CommonJS or ESM builds: https://publint.dev/@mikecousins/react-pdf
  • Should work fine in all the various package managers now as well.
  • Merged #419 and #380, thanks for the contributions!!

v6.1.1

1 year ago

Lots of changes here, fully modernized.

  • pdfjs-dist is now a peer dependency so you can install whatever version you want
  • Removed the component in favour of just the hook to simplify/modernize the codebase
  • This library is now absolutely tiny, under 1kB when gzip/minified

v5.5.0

4 years ago

Lots of work from @ksocha, thank you very much! Updated everything to the latest packages, added some new features, improved our docs, added some tests, etc.

v5.1.0

4 years ago

Moving to the es6 bundled version of pdfjs-dist (@bundled-es-modules/pdfjs-dist) to get rid of the warnings when using Create React App.

v5.0.6

4 years ago
  • Updating TSDX
  • Fixing Netlify demo (still needs styling)

v5.0.3

5 years ago

Adding a withCredentials prop. Thanks @ekeuus!

v5.0.2

5 years ago

We're a hook now. Just usePdf and you're done! Big thanks to @ericchernuka for the assistance.

v4.2.2

5 years ago

Hooks! The v4.2.0 release and forward will all be requiring React 16.8.0+ due to us using hooks now.

  • Updated to latest pdf-js
  • Rewrote everything in hooks

v4.1.0

5 years ago

Moved to nwb and merged a few pulls:

  • #102 from @him0
  • #91 from @Johnogram
  • #90 from @shinriyo

Thank you to all the contributors!

v4.0.2

5 years ago

Includes:

  • Merged pull request #89
  • Closed #16 and #72