Skip to content

Latest commit

 

History

History
211 lines (145 loc) · 8.15 KB

CHANGELOG.md

File metadata and controls

211 lines (145 loc) · 8.15 KB

Changelog

3.0.2

  • [#173] - SSR support

3.0.1

  • [#194] - Fit original document into the viewport.
  • [#206] - Updated Readme for new [fit-to-page] option.

3.0.0

  • [#196] - ng2-pdf-viewer breaks the AOT build with Angular CLI 1.5.0
  • [#187] - ng build fails when AOT is enabled

BREAKING CHANGES

Now ng2-pdf-viewer exports Module instead of Component. That means you have to import PdfViewerModule instead of PdfViewerComponent.

import { PdfViewerModule } from 'ng2-pdf-viewer';

@NgModule({
  imports: [PdfViewerModule]
})
export class YourModule() {}

2.0.3

  • [#190] - Fixed original size for showAll=false
  • [#57] - Disable autoresize

2.0.2

  • [#174] - 2.0.1 no more scrollbar while zooming

2.0.1

  • [#171] - AOT compile issue
  • [#172] - error

2.0.0

  • [#36] - Render text layer, hyperlinks, progressive loading, etc.
  • [#18] - Is it possible to enable hyperlinks in the rendered PDF?
  • [#165] - pdf.js and pdf.worker.js using different versions
  • [#50] - Default Rotation
  • [#164] - Doesn't load blob url with 1.2.7
  • [#160] - some pdf showing in invert color
  • [#156] - Chrome error: Invalid SVG dimensions when 'original-size' = false
  • [#154] - Multiple display issues on Safari (iOS+Desktop)
  • [#147] - GET http://localhost:4200/nullUniGB-UCS2-H 404 (Not Found)
  • [#145] - Issue since update from 1.1.1 to 1.2.1 and not fixed in 1.2.2
  • [#144] - pdf annotation not shown in svg format
  • [#142] - Error: svg:path attribute d: Expected moveto path command ('M' or 'm'), "L 2318.47 6033.1…".
  • [#141] - Mirror/Upside Down document display
  • [#139] - PDF from pdfmake not loading
  • [#134] - PDF not loading. Shows black color
  • [#108] - PDF is loading as plain text as well as PDF, overlapping
  • [#92] - Performance error
  • [#80] - One by one page

1.2.7

Updated dependencies

1.2.6

  • [#140] - Incorrect Font and Font Size Rendering
  • [#151] - force inline style to prevent css override font-family and font-size

1.2.5

  • Update dist

1.2.4

  • [#150] - Used not minified version of pdfjs

1.2.3

  • [#146] - Load web worker separately, use minified version of pdfjs

1.2.2

  • [#94] - Add load progress callback

1.2.1

  • [#130] - ng build --prod fails for AOT

1.2.0

  • [#98] - PDF Auto Resize

1.1.5

  • [#124] - PDF background disappeared after update to 1.1.4

1.1.4

  • Switched canvas to SVG rendering.
  • Changed text layer rendering.
  • [#89] - Added data-page-number attribute

1.1.3

  • [#46] - Retina display support

1.1.2

  • [#112] - Error handling
  • Updated documentation

1.1.1

  • [#111] - out of order

1.1.0

  • [#72] - Updated for Angular 4

1.0.2

  • [#54] - [show-all] is showing first two page only.

1.0.1

  • [#48] - Use ngOnchanges() instead of update() inside setters

1.0.0

Breaking changes

  • [#47] - Use @Output for after load events

Use (after-load-complete)="afterLoadComplete($event) instead of [after-load-complete]="afterLoadComplete($event) on <pdf-viewer>.

You do not need to bind your callback anymore.

Example of afterLoadComplete callback:

afterLoadComplete(pdf: PDFDocumentProxy) {
  this.pdf = pdf;
}

0.1.6

  • [#39] - background-color css causes PDF text to become invisible.
  • [#43] - PDF is drawn behind the container

0.1.5

  • [#37] - Fix the case where src is still not having a value

0.1.4

  • [#35] - New release causing blank pdf

0.1.3

  • [#29] - Make text selectable

0.1.2

  • [#28] - Fixed set initial page
  • [#30] - Do not reload PDF several times

0.1.1

  • [#27] - Added support for rotating

0.1.0

Breaking changes

  • [#25] - Renamed "on-load-complete" to "after-load-complete"

0.0.15

  • [#26] - Re-added pdfjs as dependency

0.0.14

Re-installing of package may be required.

  • [#20] - Unable to declare in App Module
  • Systemjs integration was changed, now you need to link dist/index.js file. See [SYSTEMJS.md]
  • Support for AoT

0.0.13

  • [#22] - Support zoom
  • other minor changes

0.0.12

  • [#7] - Return pdf info

0.0.11

  • [#10] - Need to Pass cookies with request for document src

0.0.10

  • [#11] - Update to Angular RC6
  • [#12] - Update how-to documentation to RC6
  • Removed version lock from peer dependency

0.0.9

  • [#6] - Limit [page]
  • Updated dependencies
  • Minor changes

0.0.8

  • [#5] - Fixed web worker issue
  • [#4] - Updated angular dependencies to RC.5

0.0.7

  • #2 - Added webpack compatibility
  • Changed default value for original size flag

0.0.6

  • Added option to show one or all pdf pages altogether

0.0.5

  • Updated dependency pdfjs-dist

0.0.4

  • Updated peer dependency

0.0.3

  • Added simple typings file