Skip to content

phantomas v1.2

Compare
Choose a tag to compare
@macbre macbre released this 16 May 22:00
· 2146 commits to devel since this release

This release of phantomas brings:

  • reporter options (#264) like -R json:pretty or -R csv:no-header:timestamp
  • ability to load external modules (#292)
  • ability to store HTML of the fully loaded page (#291)

In multiple runs mode JSON reporter now emits metrics statistics (#285).

phantomas now uses the latest version of debug npm module - messages emitted when DEBUG=phantomas* env variable is set are now sent to stdout (instead of stderr).

You can find more details below.

Changelog

Improvements

  • #264 - Options for --reporter (suggested by @AcousticRand)
  • #285 - Provide metric statistics in JSON reporter like in Plain reporter
  • #291 - Added pageSource module to save page source to file. (by @gomezd)
  • #292 - Added --include-dirs=dir[,dirs] option to load external modules from dirs (by @gomezd)

Bug fixes

  • #290 - fix: add timeToLastByte to onLoad and onContentLoad metrics (by @william-p)
  • #297 - globalVariables: remove the iframe when the list of variables is generated
  • #298 - timeToFirstByte: fix race condition
  • #303 - IPC: wrap JSON parsing inside try / catch block
  • #304 - Detect PhantomJS crash message and report it

Internals

  • #286 - Implement missing metrics meta data
  • #293 - Move cookies handling to a core module
  • #306 - Use 'send' and 'recv' events instead 'onResource*' (by @william-p)
  • #309 - requestMonitor: improvements
  • #311 - Use 'entry.contentType' provided by #309 (by @william-p)