Changelog β
Roadmap β
In Progress π β
- Add common Instance APIs such as page navigation, zoom in/out, print and download
- Add common annotation layers such as Text, Highlight, Polygon, StrikeOut and Underline
- Improve on toolbar customization capability
Pipeline βοΈ β
- Add support for XFA layer
- Add support for right-to-left (RTL) layout
- Add Bookmark of pages or sections in a page for easy navigation
Under Consideration π‘ β
- Comment annotation tool
- Search "whole word(s)" option in the PDF document
- Display custom watermark in downloaded PDF document
Update β
v1.6.0 (15 November 2024) β
- β¨ What's New
- Optimize license validation using tokens for a smoother and faster validation process
- Added whole word and match case search options, to provide greater flexibility when searching in the PDF document
v1.5.2 (5 November 2024) β
- π Bug Fixes:
- Fixed a memory leak occurring when files are changed dynamically with dev tools open
- Resolved issue where the toolbar still occupied margin space when set to invisible
v1.5.1 (31 October 2024) β
- π Bug Fixes:
- Fixed invisible icons on the toolbar
v1.5.0 (29 October 2024) β
- β¨ What's New:
- Added Instance APIs for the following functions:
- Page navigation
- Document rotation
- Added Interfaces to access
- Canvas object
- Viewer viewport
- Added Instance APIs for the following functions:
- β‘ Enhancements:
- Improve on the display of PDF documents with annotation layers
- Caret and Ink
- Circle and Square
- Free text
- Highlight
- Line
- Link
- Polygon and Polyline
- Popup
- Squiggly
- StrikeOut
- Underline
- File attachment
- Improve on the display of PDF documents with annotation layers
- π Bug Fixes:
- Fixed invisible tooltips when rendering multiple PDF viewer components
- Fixed current document display when uploading certain types of PDF documents
v1.4.4 (25 October 2024) β
- π Bug Fixes:
- When changing PDF file, last file will be displayed briefly before showing the new file
v1.4.3 (10 October 2024) β
- π Bug Fixes:
- No content is displayed in print preview when using
createObjectURL()
and passing in pdf via api - Print preview does not print the actual prepared PDF pages because they are removed before
window.print()
completes successfully
- No content is displayed in print preview when using
v1.4.2 (7 October 2024) β
- π Bug Fixes:
- When opening a local file and selecting βPrint,β the default document would still be displayed instead of the selected file
v1.4.1 (4 October 2024) β
- π Bug Fixes:
- Printed file is based on the zoom level of Vue PDF Viewer component
- Hyperlink on the PDF document is not clickable
- The
TextLayer
class does not exist inpdfjs-dist
versions below 4.x.x. - Non-existent hyperlinks causing in PDF document
TypeError - Cannot read properties of undefined (reading 'dest')
v1.4.0 (27 September 2024) β
- β¨ What's New:
- Added Instance APIs for the search control function
- β‘ Enhancements:
- Improve on the zooming in/out experience
- Improve on the scrolling experience with trackpad or mouse
v1.3.0 (19 September 2024) β
- β¨ What's New:
- Added different methods of PDF document scrolling such as page scrolling, vertical scrolling and horizontal scrolling
- Added page view modes of single to dual pages
- β‘ Enhancements:
- Improve search experience with respect to highlight and scrolling
v1.2.0 (5 September 2024) β
- β¨ What's New:
- Added built-in translations to Vue PDF Viewer's functions, including a function to add a custom language
v1.1.2 (22 August 2024) β
- π Bug Fixes:
- Focus outline in thumbnail view is being overlapped by thumbnails
- β‘ Enhancements:
- Added a focus state variable for focus outline that can be changed by overriding
--vpv-outline-color
- Added a focus state variable for focus outline that can be changed by overriding
v1.1.1 (16 August 2024) β
- π Bug Fixes:
- Responsive view triggering incorrect at 818px instead of 768px
- β‘ Enhancements:
- Allow more flexibility in changing icons in the toolbar
- Added
container-width-sm
to allow for overriding responsive view trigger point at a different component width
v1.1.0 (12 August 2024) β
- β¨ What's New:
- Added keyboard navigation for major operations such as open file, page navigation, zoom level and print
- Allow password-protected PDF file to be opened on the Vue PDF Viewer component
- β‘ Enhancements:
- Updated the default version of
pdfjs-dist
(peer dependency) from3.11.174
to4.4.168
- Added
VPVBaseProps
constant which provides default values of the Vue PDF Viewer component
- Updated the default version of
v1.0.4 (2 August 2024) β
- π Bug Fixes:
- Text selection not working when page is rotated
- Thumbnail not displaying the correct page when rotate or zoom buttons are clicked
- β‘ Enhancements:
- Improve page scroll when page up or down button is clicked consecutively
v1.0.3 (26 July 2024) β
- π Bug Fixes:
- Highlighted text from the search function displays in the incorrect position when the document is rotated
- Thumbnails do not follow the scroll when clicking "go to the first page" or "go to the last page"
- Thumbnail scroll does not follow page scroll if thumbnail is not yet loaded
- No horizontal scrollbar appears when zooming in
- Unable to click links in the PDF after rotation
v1.0.2 (23 July 2024) β
- π Bug Fixes:
- Thumbnail does not change to landscape mode when file is rotated
v1.0.1 (23 July 2024) β
- π Bug Fixes:
- Fixed a dead link in the README
v1.0.0 β
- π Launched first stable release
v0.9.2 β
- β‘ Enhancements:
- Increased scroll speed when changing page via thumbnails
- π Bug Fixes:
- Vue pdf viewer style should not override project style
v0.9.1 β
- π Bug Fixes:
- Scrolling not working correctly
- Rotate thumbnails when page is rotate
- Added caching to prevent thumbnails from reloading when scrolled
v0.9.0 β
- β¨ What's New:
- Added progress bar to display status when print function is triggered
- Added search function to search by keywords in page
- Added theme function to switch between light and dark themes
- Added different predefined zoom modes
- Added ability to open a file from local device directly in PDF viewer
- Allow developers to use different version of PDF.js
- π Bug Fixes:
- Increased spacing between icons for correct display
v0.8.8 β
- π Bug Fixes:
- Prevent page from returning to first when zooming
v0.8.7 β
- β¨ What's New:
- Added page rotation to rotate page clockwise/anti-clockwise
- Added page navigation to move back and forth across pages
- Added download function to download the PDF file
- Added page zoom function to zoom in/out
- Added print function to print the PDF document
- Added support for displaying of PDF in different languages
- Added page loader when a page in the PDF document is still loading
- Allow setting of initial PDF page displayed when the viewer is first loaded
- Allow setting of initial rotation and zoom of the PDF document when the viewer is first loaded