Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 791 Bytes

CHANGELOG.md

File metadata and controls

32 lines (21 loc) · 791 Bytes

Changelog

API changes across versions

0.2.0 -> 1.0.0

  • .done callback is now: .then

    Promise library has been changed to bluebird.

  • .fail callback is now: .catch

  • options.ignoreSslErrors was removed. Use options.phantomArguments instead.

    Examples

    {
        // Note: this is the new default for phantom arguments
        phantomArguments: '--ignore-ssl-errors=true'
    }
    
    urltoimage --phantom-arguments="--ignore-ssl-errors=true" google.com google.png
    

    See also: http://phantomjs.org/api/command-line.html

  • options.sslProtocol was removed. Use options.phantomArguments instead.

    See above example. See also: http://phantomjs.org/api/command-line.html