ngx-extended-pdf-viewer 14.0.2 → 14.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,6 +21,10 @@ This library provides an embeddable PDF viewer component. It's different from ot
21
21
 
22
22
  <img src="https://github.com/stephanrauh/ngx-extended-pdf-viewer/blob/main/projects/ngx-extended-pdf-viewer/example.png?raw=true">
23
23
 
24
+ ## What's new in version 14?
25
+
26
+ Well... nothing. Version 14 was meant to be build with Angular 14, so increasing the version number seemed like a good idea. Unfortunately, building with Angular 14 also means you can't use the library with Angular 12 or 13. So I went back to Angular 13. You can't delete published versions from npm for a good reason, so we end up with a major version without any new features.
27
+
24
28
  ## What's new in version 12 and 13?
25
29
 
26
30
  Due to an internal change of pdf.js, I had to modify both the HTML templates and the CSS rules of the dialogs. This may be a breaking change, especially if you've customized the appearance of the viewer, so it's time to increment the major version number. That's why I'm releasing version 13 shortly after publishing version 12.
@@ -36,7 +40,7 @@ intended by the author of the PDF file.
36
40
 
37
41
  Version 12 also updates to pdf.js 2.13, with one exception: it doesn't include the latest improvements of the find bar yet. The "bleeding edge" version has been updated to pdf.js 2.14, which is the developer version (something like a nightly build).
38
42
 
39
- As of version 12.0.0, I recommend using the stable branch of pdf.js instead of using the bleeding edge branch. The bleeding edge branch is the developer version of pdf.js, so it's not recommended to use it in production, anyways. However, the last few commits caused merge conflicts that may or may not have side effects. Handle with caution. That said, I encourage you to use the bleeding edge version every once in a while in development, because that way you can help me find bugs early. Just keep in mind I've called that branch "bleeding edge" for a reason.
43
+ As of version 14.0.0, I recommend using the stable branch of pdf.js instead of using the bleeding edge branch. The bleeding edge branch is the developer version of pdf.js, so it's not recommended to use it in production, anyways. However, the last few commits caused merge conflicts that may or may not have side effects. Handle with caution. That said, I encourage you to use the bleeding edge version every once in a while in development, because that way you can help me find bugs early. Just keep in mind I've called that branch "bleeding edge" for a reason.
40
44
 
41
45
  ## Showcase and manual
42
46
 
@@ -91,7 +95,7 @@ You might also try to use the native PDF viewer of your browser. That's a valid
91
95
 
92
96
  As a rule of thumb, I recommend cloning the [showcase project from GitHub](https://github.com/stephanrauh/extended-pdf-viewer-showcase) before doing anything else. It's a standard Angular CLI application, so you'll get it up and running in less than ten minutes. It's a good starting point to do your own experiments. Maybe even more important: you'll learn if the library works on your machine. (Of course, it does, but it's always good to double-check!)
93
97
 
94
- Currently, the minimum required version is Angular 9. The idea is to support the four most current versions of Angular, which gives you roughly two years to update.
98
+ Currently, the minimum required version is Angular 12. The idea is to support the four most current versions of Angular, which gives you roughly two years to update. However, supporting so many version isn't always possible.
95
99
 
96
100
  1. run `npm add ngx-extended-pdf-viewer` and accept all the defaults
97
101
  2. Now there's an example component, but it isn't part of your application yet. You can either add the example component to your application or copy the relevant line to you HTML template:
package/changelog.md CHANGED
@@ -374,3 +374,4 @@
374
374
  - 14.0.0 update to Angular 14; raised the minimum required Angular version to 11.1.0
375
375
  - 14.0.1 going back to Angular 13 after detecting that ng-packr 14 break compatibility to Angular 12 + 13
376
376
  - 14.0.2 raised the minimum required version of Angular to 12 (Note that Angular 11.1.0 is reported to be compatible, but my compatibility tests failed)
377
+ - 14.0.3 updated the README.md
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ngx-extended-pdf-viewer",
3
3
  "description": "Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.",
4
- "version": "14.0.2",
4
+ "version": "14.0.3",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "url": "https://github.com/stephanrauh/ngx-extended-pdf-viewer"