From b395a7c4f96dabff7ae4ba93bdcf22b56fcf3489 Mon Sep 17 00:00:00 2001 From: Vadym Yatsyuk Date: Fri, 29 Dec 2017 19:41:40 +0100 Subject: [PATCH] prepared Changelog --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86d3a2838..d9c213149 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.0.4 +* [[#162](https://github.com/VadimDez/ng2-pdf-viewer/issues/162)] - Worker Source +* [[#232](https://github.com/VadimDez/ng2-pdf-viewer/pull/232)] - Don't overwrite PDFJS.workerSrc if already set +* [[#226](https://github.com/VadimDez/ng2-pdf-viewer/issues/226)] - Update Size scale Error +* [[#237](https://github.com/VadimDez/ng2-pdf-viewer/pull/237)] - Prevent throwing error: "PDFViewer._setScale: '0' is an unknown zoom value" +* [[#182](https://github.com/VadimDez/ng2-pdf-viewer/issues/182)] - Documentation: Load preview for local files + +#### Set custom path for worker: +In your code update `path` to the worker to be `/pdf.worker.js` +```js +PDFJS.workerSrc = '/pdf.worker.js'; +``` +*This should be set before `pdf-viewer` component is rendered.* + ## 3.0.3 * [[#168](https://github.com/VadimDez/ng2-pdf-viewer/issues/168)] - Dependency to a prebuilt-version of pdf.js (pdfjs-dist) * [[#195](https://github.com/VadimDez/ng2-pdf-viewer/issues/195)] - progressData.total is undefined