Skip to content

Releases: TaTo30/vue-pdf

v1.11.5

09 Oct 21:13

Choose a tag to compare

  • Overlay slot by @adamgreenhall in #193
  • Fix memory leak when switching rapidly between pdf files by @Dummerle in #194
  • Fix a bug on link annotations when are grouped on the same container [#190, #195]
  • ignore text layer cancelled errors [#189, #196]

Full Changelog: v1.11.4...v1.11.5

v1.11.4

13 Jul 05:00

Choose a tag to compare

  • pdfjs-dist updated to v5.3.31 [#182]
  • Remove canvas' width property on print utility [#183, #179, #186]
  • Avoid reloading pdf for misc functions [#184, #172]
  • Support crossline highlights for CJK text [#185, #170 , #168]
  • Fix typo on highlight option [#180] (by @TobeTek)

v1.11.3

03 Dec 17:55

Choose a tag to compare

  • pdfjs-dist updated to v4.9.124 [#118]
  • Added highlight-pages to specify explicitly what pages are included in highlighting [#161, #162] by @file098

v1.11.2

21 Oct 16:46

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

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

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

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

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

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

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