Skip to content

Releases: TaTo30/vue-pdf

v2.1.0

Choose a tag to compare

@TaTo30 TaTo30 released this 21 May 20:17

What's Changed

  • New prop externalLinkEnabled to cancel/allow external links' click event (default: true) by @cedric-oss in #227 (related to #226)
  • New prop externalLinkTarget to specify external links' target (default: _blank) in #228
  • Add support to inferred links in #228
  • Add support to parse different types of internal references in #228 (related to #211)

Full Changelog: v2.0.2...v2.1.0

v2.0.2

Choose a tag to compare

@TaTo30 TaTo30 released this 16 Mar 15:44

What's Changed

  • Add missing global and scoped styles by @TaTo30 in #225

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@TaTo30 TaTo30 released this 06 Mar 23:54

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@TaTo30 TaTo30 released this 09 Feb 00:34
b920e4b

Major Release

Hello everyone 👋, this is the first (and maybe the last haha) major release for this library, the new feature is basically exposing pdf.js editor layer api through vue components allowing to create new annotations on PDFs.

  • This new feature allow to add and operate annotations like stamps, highligths, freetexts, inks and comments. Check docs for details.
    • Other type of annotation won't be supported as long as pdf.js does not do it.
  • The implementation for this version is still in a beta-like stage but the set of features are pretty usable for most cases, please submit any issue, error, feature-request or improvement you encounter during its usage.
  • Although firefox editor allows a broad set of interactions through all document pages in its viewer, for this library the interactions were limited to single pages.

Other changes

  • Minimal build is now available, this discard worker bundling and allow devs deliver more lightweight apps. Check this PR #207.

Full Changelog: v1.11.5...v2.0.0

v1.11.5

Choose a tag to compare

@TaTo30 TaTo30 released this 09 Oct 21:13
  • 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

Choose a tag to compare

@TaTo30 TaTo30 released this 13 Jul 05:00
  • 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

Choose a tag to compare

@TaTo30 TaTo30 released this 03 Dec 17:55
  • 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

Choose a tag to compare

@TaTo30 TaTo30 released this 21 Oct 16:46

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

Choose a tag to compare

@TaTo30 TaTo30 released this 08 Sep 18:18

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

Choose a tag to compare

@TaTo30 TaTo30 released this 17 Aug 22:25
  • pdfjs-dist updated to v4.5.136
  • Support Adobe generated links [#126, #133]
  • Highlight words that are hyphenated [#125]