Skip to content

Releases: VadimDez/ng2-pdf-viewer

9.0.0

31 Mar 22:31
Compare
Choose a tag to compare

Improvements

  • [#873] - feat: Updated pdfjs-dist version to 2.13.216 from 2.11.338
  • [#879] - Update css for the version 2.13.216
  • [#880] - Use minified worker
  • [#882] - Inline images
  • [#883] - Drop legacy support

Breaking changes

Support for older browsers (IE) is not completely dropped (#883)

8.0.1

20 Feb 19:34
Compare
Choose a tag to compare

Improvements

  • [#855] - Can't load document after error
  • [#856] - fix can't load document after error

8.0.0

17 Feb 21:56
Compare
Choose a tag to compare

Changes

  • [#838] - fix css selector for text selection in chrome
  • [#857] - Angular 13 Update | Enable Ivy
  • [#852] - Encourage the library authors to publish an Ivy distribution.
  • [#854] - TypeError: Cannot read properties of null (reading 'selectors')
  • [#863] - Loader is stuck when upgrade to newest version

7.0.2

15 Nov 20:12
Compare
Choose a tag to compare

Improvements

  • [#829] - feat: upgrade to pdfjs-dist 2.11.338
  • [#834] - Give sane default to host
  • [#805] - width of pdf page exceed the maximum width and got trimmed from the right side
  • [#811] - .ng2-pdf-viewer-container not in parent container
  • [#828] - can't now show digital signature PKCS#7

Breaking change (Since 7.0.0)

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>

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