Releases: TaTo30/vue-pdf
Releases · TaTo30/vue-pdf
Release list
v2.1.0
What's Changed
- New prop
externalLinkEnabledto cancel/allow external links' click event (default:true) by @cedric-oss in #227 (related to #226) - New prop
externalLinkTargetto 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
v2.0.1
What's Changed
- Fix external link handling in SimpleLinkService by @carret1268 in #221
- Scope pdf.js styles by @TaTo30 in #220
New Contributors
- @carret1268 made their first contribution in #221
Full Changelog: v2.0.0...v2.0.1
v2.0.0
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
- 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
v1.11.3
v1.11.2
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-destroyprop 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
Breaking changes
- Destroy the worker when component has been unmounted [#130]
- If
VuePDFcomponent is conditionated to render underv-ifdirective the worker will be terminated when the condition setsfalseand the pages rendered won't be rendered again when the condition returns totrue. To avoid this behavior replacev-ifdirective byv-showor ensure to change thesrcparameter onusePDFto reload the worker.
- If