Skip to content

Releases: TaTo30/vue-pdf

v1.11.1

08 Sep 18:18
Compare
Choose a tag to compare

Breaking changes

  • Destroy de 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

v1.9.0

17 Dec 00:20
Compare
Choose a tag to compare
  • Added support for outlines by @dlnsk
  • Added highlight-text and hightlight-options props [#67]
  • Added width and height props [#59]
  • Added a check for undefinied value in usePDF's src by @Floppy012 (#73)