- Breaking: Update
phantomjs-prebuilt@^2.1.3
- Breaking: Replace when.js promises with native
Promise
- Fix cannot read property 'stdin' of null in some cases #41
- Fix compatibility issue with node 0.10 #40
Phantom
now inherits fromEventEmitter
- A
phantom
instance now emits anunexpectedExit
-event when PhantomJS exited without a call tophantom.dispose()
or one of its std streams emitted anerror
event. See #35 for discussion. - Refactored mechanisms to prevent orphaned PhantomJS child processes
- Handle disposed
phantom
instances more gracefully
- Support CLI-style options #31
- Fix an error where the destination streams were ended prematurely #27
- Fix memory leak when disposing pages #21
- Fix confusing security warning when PhantomJS exits
- Fix potential performance issues when PhantomJS' stdin was cluttered with messages
phantom.childProcess.cleanStdout
now implements the regular Readable interface
- Improve performance when running synchronous functions
- Fix an error where new line characters where removed from
console.log()
-messages inside PhantomJS
- Fix an error where a promise could have been rejected after it has already been resolved
- Improved stack traces from PhantomJS
- Replaced inter-process communication from HTTP to regular stdin/stdout
Phantom.prototype.port
has been removedPhantom.prototype.secret
has been removedconfig.minPort
has been removedconfig.maxPort
has been removed- Improved performance
- Reached stable state :)