Skip to content

Commit e734e9d

Browse files
committed
Version 1.2.0
1 parent 23928e1 commit e734e9d

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
1.2.0
2+
=====
3+
- Add `options.phantomArgs` option requested in [#22](https://github.com/marcbachmann/node-html-pdf/issues/22)
4+
- Also load CSS of html head in PDF header & footer [#31](https://github.com/marcbachmann/node-html-pdf/issues/31), [#27](https://github.com/marcbachmann/node-html-pdf/issues/27)
5+
- Support iojs by upgrading the phantomjs module to v1.9.16
6+
7+
18
1.1.0
29
=====
310
- From now on options.phantomPath allows you to overwrite the default PhantomJS binary path.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ config = {
8282

8383
// Script options
8484
"phantomPath": "./node_modules/phantomjs/bin/phantomjs", // PhantomJS binary which should get downloaded automatically
85+
"phantomArgs": [], // array of strings used as phantomjs args e.g. ["--ignore-ssl-errors=yes"]
8586
"script": '/url', // Absolute path to a custom phantomjs script, use the file in lib/scripts as example
8687
"timeout": 30000 // Timeout that will cancel phantomjs, in milliseconds
8788

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-pdf",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "HTML to PDF converter that uses phantomjs",
55
"main": "lib/index.js",
66
"directories": {
@@ -17,7 +17,7 @@
1717
"tap-spec": "^2.2.0"
1818
},
1919
"optionalDependencies": {
20-
"phantomjs": "^1.9.8"
20+
"phantomjs": "^1.9.16"
2121
},
2222
"repository": {
2323
"type": "git",

0 commit comments

Comments
 (0)