Skip to content

Releases: missing-elements/pdfjs-viewer-element

v3.2.2

21 Mar 14:23

Choose a tag to compare

This release contains hotfix for broken viewer styles
For some reason vite v8 does not build a correct styles in production
Downgraded to vite v7

v3.2.1

19 Mar 02:24

Choose a tag to compare

  • Fixed default theme to support PDF.js viewer toolbar modes
  • Added setViewerOptions method to configure PDFViewerApplicationOptions
  • Added demo pages for enableComment and enableSignatureEditor options.

Full Changelog: v3.2.0...v3.2.1

v3.2.0

11 Mar 23:35

Choose a tag to compare

  • Added built-in Paper & Ink default theme #47
  • Added resource attributes #46

Full Changelog: v3.1.2...v3.2.0

v3.1.2

06 Mar 14:53
09ca1d1

Choose a tag to compare

Added new features:

  • Add locale-src-template attribute to load custom locales #43
  • Include PDF.js worker to build #44

Full Changelog: v3.1.1...v3.1.2

v3.1.1

06 Mar 09:19

Choose a tag to compare

  • Moved to PDF.js v5.5.207 legacy prebuilt (modern prebuilt lacks of browser support)
  • Remove initialized event, add initPromise public property instead

Full Changelog: v3.1.0...v3.1.1

v3.1.0

02 Mar 23:44
47fde67

Choose a tag to compare

What's Changed

Full Changelog: v3.0.2...v3.1.0

v3.0.2

23 Feb 02:26

Choose a tag to compare

🚀 The component now is standalone and does not need any prebuilt of PDF.js.
pdfjs-viewer-element@3.0.2
All needed source files are already included in package from PDF.js v5.4.624 release
Works with cross-origin documents

#39, #34

Thank you guys for your valuable comments ❤️

This release contains breaking changes:

  • Removed viewer-path attribute, the component does not need external PDF.js prebuild anymore
  • Removed nameddest, disable-worker, text-layer, disable-font-face, disable-range, disable-stream, disable-auto-fetch, verbosity - not necessary for the production build
  • CDN URL changed to https://cdn.jsdelivr.net/npm/pdfjs-viewer-element/dist/pdfjs-viewer-element.js

If you still need some removed/changed features you can use v2 release and v2 package

v2.7.4

09 Oct 09:15

Choose a tag to compare

#38 Add title attribute to the iframe for better accessibility

v2.7.3

04 Oct 21:22

Choose a tag to compare

  • Fix theme changing #37
  • Add PDF.js v5 support

v2.7.2

22 Jul 09:25

Choose a tag to compare

  • Fixed style injection #37

✅ All v4 and v3 releases are fully supported.

🚧 For v5 releases - there are some breaking changes that affects styles injecting, and theme changing not work anymore.