Ghost Town 3 is a major release with breaking changes in every dependency. Please carefully review each before upgrading! For the phantom
migration guide, see: https://github.com/amir20/phantomjs-node#migrating-from-10x
- Support Node 4+.
- Support PhantomJS 2.1+.
- Update
phantom
to~2.1.12
. - Remove the
phantomPort
option.phantom
now uses pipes.
- Add the
workerShift
option. Use it if PhantomJS is occasionally never returning.
Ghost Town 2 is a major refactor release made up of several small but breaking changes. Please carefully review each before upgrading!
- Add tests!
- Add an optional
asap
argument toMaster#queue()
. - Update
phantom
to~0.7.2
. Now works with PhantomJS 2! - Remove
phantom
's default PhantomJS stdout and stderr logging. Listen to the.stdout
and.stderr
streams on theWorker#phantom
object instead. - Change the Ghost Town worker management algorithm so that it trusts workers less. May fix race conditions.
- Change the
phantomFlags
option to accept an object instead of an array. Separate the key and value so that"--disk-cache=true"
becomes"disk-cache": "true"
. - Change some option defaults.
workerCount
:os.cpus().length
to4
.pageDeath
:120000
to30000
.workerDeath
:20
to25
. - Rename
Master#running
toMaster#isRunning
. - Rename all private properties to be private.