Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann committed Apr 27, 2015
1 parent 23928e1 commit e734e9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.2.0
=====
- Add `options.phantomArgs` option requested in [#22](https://github.com/marcbachmann/node-html-pdf/issues/22)
- 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)
- Support iojs by upgrading the phantomjs module to v1.9.16


1.1.0
=====
- From now on options.phantomPath allows you to overwrite the default PhantomJS binary path.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ config = {

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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-pdf",
"version": "1.1.0",
"version": "1.2.0",
"description": "HTML to PDF converter that uses phantomjs",
"main": "lib/index.js",
"directories": {
Expand All @@ -17,7 +17,7 @@
"tap-spec": "^2.2.0"
},
"optionalDependencies": {
"phantomjs": "^1.9.8"
"phantomjs": "^1.9.16"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e734e9d

Please sign in to comment.