Releases: VadimDez/ng2-pdf-viewer
Releases Β· VadimDez/ng2-pdf-viewer
10.3.1
Improvements
- [#999] - Rotation default value not working
- [#1126] - Fix #999: Ensure that the rotation in the viewer is not set too early
10.3.0
Improvements
- [#1128] - feat(pdfjs): upgrade to v4 - without breaking backwards compatibility
- [#1093] - Update pdfjs-dist to 4.2.67 or later
10.2.2
Improvements
- [#1098] - Fix #1097: delay scale and scroll ops until the viewer has the pages initialized
- [#1097] - scrollPageIntoView: "1" is not a valid pageNumber parameter
10.2.1
Improvements
- [#1096] - Explicitely switch AnnotationEditor off
10.2.0
Improvements
- [#1092] - Chore: update pdfjs to 3.11.174, resolve CVE
- [#1088] - PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF
10.1.0
Improvements
- [#1027] - Chore: Update pdfjs-dist to 3.10.111
10.0.0
Improvements
- [#915] - Update to Angular 16
- in [#915] also updated pdfjs-dist version to 2.16.105
9.1.5
Improvements
- [#992] - scale not correctly updated on pdf-viewer rotation for pdf page with 90Β° rotation
- [#993] - fix #992 : fix rotation on pdf with included rotation
9.1.4
improvements
- [#943] - chore(deps): bump ejs and webpack-bundle-analyzer
- [#971] - feat: Support version specific pdf.worker.js url
9.1.2
improvements
- [#925] - 9.1.1 version lacks pdfFindController.executeCommand
- [#927] - Fix search
- [#926] - Improve arrangement of annotations
Breaking Change
Since FindController.executeCommand
is deprecated, you should now use eventBus
to do search. Example:
@ViewChild(PdfViewerComponent) private pdfComponent: PdfViewerComponent;
search(stringToSearch: string) {
this.pdfComponent.eventBus.dispatch('find', {
query: stringToSearch, type: 'again', caseSensitive: false, findPrevious: undefined, highlightAll: true, phraseSearch: true
});
}