Skip to content

Releases: TaTo30/vue-pdf

v1.11.2

21 Oct 16:46
Compare
Choose a tag to compare

This version is a rollback of the previous one with few new changes and options after some concerns about the worker being destroying when the component is hidden with v-if (see #156 and #151)

  • Destroying the component's worker will be optional
    • auto-destroy prop was added to allow keeping the previous behaviour.
    • By default the worker will keep active even if the component is not used anymore.
    • destroy() method was added to destroy the worker manually.

v1.11.1

08 Sep 18:18
Compare
Choose a tag to compare

Breaking changes

  • Destroy the worker when component has been unmounted [#130]
    • If VuePDF component is conditionated to render under v-if directive the worker will be terminated when the condition sets false and the pages rendered won't be rendered again when the condition returns to true. To avoid this behavior replace v-if directive by v-show or ensure to change the src parameter on usePDF to reload the worker.

Fixes

  • Fix mismatch between pdfjs version [#142]
  • Escape regex special characters in highlight process [#140]

v1.11.0

17 Aug 22:25
Compare
Choose a tag to compare
  • pdfjs-dist updated to v4.5.136
  • Support Adobe generated links [#126, #133]
  • Highlight words that are hyphenated [#125]

v1.10.0

26 May 21:26
Compare
Choose a tag to compare
  • pdfjs-dist updated to v4.2.67 [#88, #107]
  • Added function to print the PDF document
  • Added function to download the PDF document [#110]

v1.9.7

13 May 03:13
Compare
Choose a tag to compare
  • Added multi-string highlighting [#98]
  • Fixed a bug about piece of text with decorations were not highlighted [#98]
  • Fixed the crashing when multiple PDFs had been loaded [#103] by @GuoyiCoding

v1.9.6

27 Mar 05:05
408018e
Compare
Choose a tag to compare
  • Exports style.css explicitly in package.json [#101]
  • Removed overflow: hidden from container's styles [#99]

v1.9.5

26 Feb 01:20
Compare
Choose a tag to compare

'Loaded' events has been added in order to have more control about rendering process of page's layers:

  • @text-loaded event when text-layer has loaded with the textDivs and textContent as a payload
  • @annotation-loaded event when annotation-layer has loaded with annotations list as a payload
  • @xfa-loaded event when xfa-layer has loaded
  • pdfjs-dist updated to 3.11.174

v1.9.4

12 Jan 21:31
Compare
Choose a tag to compare
  • Add types and support for null and undefined values when reactivity is used with usePDF (#83)

v1.9.3

03 Jan 18:58
Compare
Choose a tag to compare
  • Highlight all matches found in the same HTML element

v1.9.1

03 Jan 02:39
b41f82b
Compare
Choose a tag to compare
  • Added intent prop [#71]
  • AnnotationsLayer's imageResourcesPath bind prop fixed [#76] by @dlnsk