Releases: TaTo30/vue-pdf
Releases · TaTo30/vue-pdf
v1.11.1
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
pdfjs-dist
updated to v4.5.136
- Support Adobe generated links [#126, #133]
- Highlight words that are hyphenated [#125]
v1.10.0
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
- 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
- Exports
style.css
explicitly in package.json
[#101]
- Removed
overflow: hidden
from container's styles [#99]
v1.9.5
'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
- Add types and support for null and undefined values when reactivity is used with
usePDF
(#83)
v1.9.3
- Highlight all matches found in the same HTML element
v1.9.1
- Added
intent
prop [#71]
- AnnotationsLayer's
imageResourcesPath
bind prop fixed [#76] by @dlnsk
v1.9.0
- 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)