phantomas v1.0
After 20 months of development and 850+ commits phantomas has reached version 1.0.
Here's a short summary of what this release of phantomas brings:
- metrics can be stored in elasticsearch thanks to #256 by @iNem0o
- phantomas can generated HAR files thanks to #263 by @william-p
run-multiple
helper script was removed,phantomas
command now supports--runs
option (#172)- URL can be now provided without
--url
option: e.g.phantomas http://example.com
- CommonJS module now emits events when metrics are set and on certain page loading milestones
- metrics metadata is available via CommonJS module (#224)
Changelog
New metrics
- #232 - Report the use of Expires and Pragma caching headers
- #258 - Report global variables set to the value that casts to false
- #261 - Added the metric that shows how the main request progressed (e.g. followed redirects, etc) (by @vgangan)
Improvements
- #172 - Add --runs option to phantomas
- #204 - Implement progress event in phantomas module
- #224 - Provide metrics metadata in phantomas npm module
- #229 - Update dependency on analyze-css
- #237 - Color the output only when stdout.isTTY
- #240 - Emit events via npm module for certain page loading milestones
- #243 - Multi-Run: Please add std deviation and variance to metrics output
- #249 - Allow URL to passed as a "main" option
- #253 - Introduce --progress option
- #256 - Add support to ouput metrics in elasticsearch (by @iNem0o)
- #263 - HAR output (by @william-p)
- #267 - cacheHits: analyze Age header
Bug fixes
- #225 - Block domains, some work others don't (by @stefano-bortolotti)
- #227 - Confusing
metrics.globalVariables
vsoffenders.globalVariables
output (reported by @pdehaan) - #230 - Jserrors generate by injected Code ? (reported by @jedi4ever)
- #244 - Responses with MIME type "font/*" not detected as webfonts
- #247 - run-multiple.js cannot find phantomas.js (by @rupl)
- #248 - Pass envirnoment variables when running PhantomJS