zombie v3.1.0 Release Notes

Release Date: 2015-03-15 // about 9 years ago
  • ๐Ÿš€ 3.1 is the first official release of Zombie 3.x. It is a major upgrade from 2.5, and as such has several breaking changes. Please check the list of changes below to learn what has changed.

    โž• ADDED DOM URL class

    โž• ADDED XHR events emitted to browser

    โž• ADDED wait() ends with error if Browser cannot load all resources on the page (e.g. doesn't get to load scripts)

    โž• ADDED submitting form using an image input will include coordinates #865 (Werner Beroux)

    โœ‚ REMOVED browser.fork no longer supported

    โœ‚ REMOVED browser.htmlParser option no longer supported, always using default ๐Ÿ“œ browser (parser5)

    โœ‚ REMOVED Browser.visit(url, options) no longer changes instance options

    โœ‚ REMOVED resources.mock/fail/delay, use Nock instead

    โœ‚ REMOVED protocol and bcat, no tests

    โœ‚ REMOVED Browser.create

    โœ‚ REMOVED Browser.dns and Browser.ports, switching to different implementation

    ๐Ÿ”„ CHANGED Browser.debug -> browser.debug (per instance)

    ๐Ÿ”„ CHANGED browser.referer -> browser.referrer

    ๐Ÿ”„ CHANGED Browser.default. = deprecated, use Browser. = instead

    ๐Ÿ”„ CHANGED timeout event -> setTimeout, interval -> setInterval

    ๐Ÿ”„ CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc

    ๐Ÿ”„ CHANGED credentials replaced with browser.on('authenticate', fn)

    ๐Ÿ”„ CHANGED browser.wait() runs event loop so you can catch done/error events

    ๐Ÿ”„ CHANGED event loop done event renamed to idle

    โฌ†๏ธ CHANGED upgraded to JSDOM 3.1, added io.js and Node 0.12 support

    ๐Ÿ”„ CHANGED all dump() methods now accept output stream or output to stdout

    ๐Ÿ”„ CHANGED XHR errors no longer stop the event loop

    โœ… If you are wondering what happened to 3.0, there were 16 test relases of 3.0 ๐Ÿš€ leading up to 3.1. Test releases are tagged as next instead of latest. NPM โœ… defaults to showing and installing latest versions, you have to explicitly instruct it toinstall` next versions.

    688 passing (22s) 12 pending