Skip to content

Releases: VadimDez/ng2-pdf-viewer

7.0.1

20 May 21:03
Compare
Choose a tag to compare

Improvements

  • [#779] - perf: do not run change detection on resize events
  • [#783] - fix: switch to es5 builds
  • [#780] - Version 7.0.0 is not working and build is failing: Module parse failed: Unexpected token

7.0.0

19 May 20:38
Compare
Choose a tag to compare

Improvements

  • [#721] - fix: release some memory leaks
  • [#723] - fix: remove event listeners from the event bus when the view is destroyed
  • [#719] - feat: upgrade to Angular 11
  • [#777] - Update pdfjs-dist to 2.7.570

Breaking change

Now you need to specify how much space pdf-viewer element should take by using CSS, so either set width and height, use flexbox or use something like positioning.

Example using height and width:

<pdf-viewer [src]="src" [original-size]="false" style="width: 400px; height: 500px"></pdf-viewer>

Example using absolute positioning to take entire page:

<pdf-viewer [src]="src" [original-size]="false" style="position: absolute; top: 0; right: 0; bottom: 0; left: 0"></pdf-viewer>

6.4.1

16 Mar 11:00
Compare
Choose a tag to compare

Improvements

  • [#739] - Module '"@types/pdfjs-dist"' has no exported member 'PDFPromise'
  • [#740] - Issue #739 fix: change @types/pdfjs-dist to update only patch versions

6.4.0

16 Feb 16:54
Compare
Choose a tag to compare

Improvements

  • [#701] - [external-link-target] seems to be broken
  • [#702] - Fix external-link-target bug
  • [#688] - Issue #478 IE
  • [#478] - Support on IE & Edge
  • [#724] - Doesn't compile with pdf.js 2.6 and pdf.js 2.7
  • [#717] - Module x has no exported member 'PDFDocumentProxy'
  • [#715] - Several errors while building app with --prod flag

6.3.2

02 Jul 08:29
Compare
Choose a tag to compare

Improvements

  • [#627] - Fixing memory issue

6.3.1

29 Jun 21:18
Compare
Choose a tag to compare

Improvements

  • [#505] - Selectable text does not fit the rendered textsplit
  • [#610] - Selection rule so that browser can handle it
  • [#621] - feat(zoom): configurability of scale (page-width/page-height/page-fit)
  • [#531] - Style fix for Issue #505
  • [#626] - fix: explicitly set box-sizing of a page to initial

6.3.0

01 May 11:49
c6a3bbc
Compare
Choose a tag to compare

Updates

  • [#601] - support for pdf.js v2.4.456

6.2.0

14 Apr 21:39
Compare
Choose a tag to compare

Improvements

  • [#461] - peer dependency for pdfjs-dist
  • [c391f99] - Removed peer dependencies

6.1.2

04 Mar 20:15
Compare
Choose a tag to compare

Improvements

  • [#582] - Fix rotated PDF files have a scale computation issue
  • [#554] - Rotated PDF files have a scale computation issue

6.1.1

04 Mar 20:05
Compare
Choose a tag to compare

Improvements

  • [a8ddd42] - Downgrade Typescript for compatibility