ngx-extended-pdf-viewer
Advanced tools
Comparing version 22.0.0-alpha.11 to 22.0.0
import { AnnotationMode } from './editor-annotations'; | ||
export declare const pdfjsVersion = "4.7.698"; | ||
export declare const pdfjsBleedingEdgeVersion = "4.7.697"; | ||
export declare const pdfjsVersion = "4.7.700"; | ||
export declare const pdfjsBleedingEdgeVersion = "4.7.699"; | ||
export declare function getVersionSuffix(folder: string): string; | ||
@@ -5,0 +5,0 @@ export declare function assetsUrl(url: string, postfixIfPathIsRelativ?: string): string; |
{ | ||
"name": "ngx-extended-pdf-viewer", | ||
"description": "Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.", | ||
"version": "22.0.0-alpha.11", | ||
"version": "22.0.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -42,8 +42,16 @@ # ngx-extended-pdf-viewer | ||
## Version 22 and 21.4: improved search UI and update to pdf.js 4.6 / 4.7 | ||
## Version 22: improved search UI and update to pdf.js 4.7 | ||
Version 21.4.5 updates to pdf.js 4.7. It offers the same functionality as version 21.4, but it's a breaking change because `NgxExtendedPdfViewerService.addEditorAnnotation` is now asynchronous and because several buttons have new ids. Unfortunately, I forgot to update the version number in version 21.4.5, so this version breaks semantic versioning. Addig insult to injury, npm does not allow me to revert publishing, so there's no way to fix this. The good news is that your application probably will still work, even if it uses the modified method. | ||
Version 22 updates to pdf.js 4.7. | ||
Version 21.4 updates to pdf.js 4.6. It also improved the search functionality: the find button is hidden if there's no text layer in the PDF document (or at least in the first 20 pages of the PDF document - this seems to be a decent compromise between accuracy and performance). If there's no find button or no text layer, CTRL+F doesn't open the find bar. | ||
_Breaking changes_: | ||
- `NgxExtendedPdfViewerService.addEditorAnnotation` is now asynchronous | ||
- several buttons have new ids | ||
## Please avoid version 21.4.5 and 21.4.6 | ||
These versions were meant to be alpha versions, but I forgot to update the version number, and now I can't delete the offending version from npm. The update to pdf.js 4.7 didn't go as smoothless as I hoped, so these versions suffer from a few bugs. The good news is that most users probably won't notice. However, several buttons have | ||
new ids, so their functionality is lost in these two version. Better stick to version 21.4.4. | ||
## Version 21: an optimized viewer | ||
@@ -50,0 +58,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
194
43145811
11