Skip to content

Latest commit

 

History

History
296 lines (171 loc) · 6.99 KB

CHANGELOG.md

File metadata and controls

296 lines (171 loc) · 6.99 KB

zombie.js-changelog(7) -- Changelog

Version 0.8.7 2011-01-01

Adds DOM Level 3 XPath support.

Added support for file upload: browser.attach(selector, filename).

Send script errors to window.onerror and report them back to visit callback.

Support select with multiple options (José Valim).

Fix handling of unknown input fields and select fields (José Valim).

Fix issue 24, search and hash must be empty string not null.

Support Node 0.3.3 (thanks Pete Bevin)

For the brave enough to hack a Zombie, we now support (and cake setup assumes) npm bundle.

221 Tests
2.9 sec to complete

Version 0.8.6 2010-12-31

Now supports cookies on redirect (thanks Łukasz Piestrzeniewicz).

Handle server returning multiple Set-Cookie headers.

The clickLink and pressButton methods should always pass to callback and not throw error directly.

Now supports HTTPS.

198 Tests
2.6 sec to complete

Version 0.8.5 2010-12-31

Re-implemented bcat in JavaScript, so no need to install bcat to use Zombie.

197 Tests
2.6 sec to complete

Version 0.8.4 2010-12-30

Added browser.field (find an input field, textarea, etc), browser.link (find a link) and browser.button (find a button) methods.

Added browser.evaluate to evaluate any arbitrary JavaScript in the window context and return the result.

Added browser.viewInBrowser which uses bcat to view page in your browser of choice.

197 Tests
2.6 sec to complete

Version 0.8.3 2010-12-30

Zombie now shares global variables between scripts.

199 Tests
2.4 sec to complete

Version 0.8.2 2010-12-30

Fixed bug whereby Zombie hangs when making requests to a URL that has no path (e.g. http://localhost).

198 Tests
2.5 sec to complete

Version 0.8.1 2010-12-29

Added User-Agent string. You can change it by setting the browser option userAgent.

There was an error with browser.location: documentation said it returns a Location object but also just a URL. Since Location object is more consistent with window.location, accepted that interpretation.

Location.assign did not load a page if the page was already loaded in the browser. Changed it to load the page (add caching later on).

196 Tests
2.6 sec to complete

Version 0.8.0 2010-12-29

Fixed issue 8, wrong location of package.json.

Upgraded to JSDOM 0.1.22 and using HTML5 parser throughout.

Added browser.runScript option. Set to false if you don't want the browser to execute scripts.

You can now set browser options when initializing a new browser, on existing Browser object or for the duration of a request by passing them as second argument to visit.

Browser now has a property called debug that you can set to true/false (was a function), and separately a method called log that logs messages when debugging is enabled.

Added new page covering the browser API.

194 Tests
2.5 sec to complete

Version 0.7.7 2010-12-28

Fix JSDOM queue and with it issue #6.

189 Tests
2.3 sec to complete

Version 0.7.6 2010-12-28

HTML5 doesn't play nice with JSDOM, bringing back html-parser to handle innerHTML (full document parsing still handled by HTML5).

Added documentation page for CSS selectors.

Man pages now moved to section 7.

Added zombie.version.

189 Tests
2.3 sec to complete

Version 0.7.5 2010-12-28

Previous fix for document.write was incomplete, this one works better.

189 Tests
2.5 sec to complete

Version 0.7.4 2010-12-28

Now parsing documents using HTML5, which can deal better with tag soup.

Added support for scripts that use document.write.

Added troublehsooting guide.

Fixed naming issue: browser.last_request is now lastRequest, same for lastResponse and lastError.

189 Tests
2.5 sec to complete

Version 0.7.3 2010-12-27

Fixed non-sensical error message when selector fails matching a node (fill, check, select, etc).

Added debugging to help you figure out what's happening when tests run:

  • Call browser.debug with a boolean to turn debugging on/off.
  • Call browser.debug with a boolean and function to turn debugging on/off only while calling that function.
  • Call browser.debug with multiple arguments to print them (same as console.log).
  • Call browser.debug with a function to print the result of that function call.

Added an all revealing browser.dump: history, cookies, storage, document, etc. Simply call: browser.dump

Testing that Zombie.js can handle jQuery live form submit event. Yes it can!

185 Tests
1.8 sec to complete

Version 0.7.2 2010-12-27

In CoffeeScript 1.0 loops no longer try preserve block scope when functions are being generated within the loop body. Unfortunately, this broke a bunch of stuff when running Zombie from CoffeeScript source. It had effect when running the compiled JavaScript.

Changed: window.location now returns the same Location object until you navigate to a different page.

183 Tests
1.8 sec to complete

Version 0.7.1 2010-12-22

Removed CoffeeScript from runtime dependency list.

Version 0.7.0 2010-12-22

Added querySelector and querySelectorAll based on the DOM Selector API. Use this instead of find method.

Browser is now an EventEmitter, you can listen to drain (event queue empty), error (loading page) and loaded (what is says).

You can now use pressButton with inputs of type button and reset (previously just submit).

More, better, documentation.

187 tests
2.0 sec to complete

Version 0.6.5 2010-12-21

Fixed lack of JavaScript source code: CoffeeScript moved to src, JavaScript compiled into lib, life is grand again.

Changelog is now Markdown file and part of the documentation.

Version 0.6.4 2010-12-21

First documentation you can actually use.

Version 0.6.3 2010-12-21

Fixed documentation link.

man zombie

Version 0.6.2 2010-12-21

First NPM release.

Started working on documentation site.

Added cake setup to get you up and running with development dependencies.

Remove Vows as runtime dependency. Use whichever framework you like. Moved sizzle.js from dep to vendor. Moved scripts used during tests to spec/.scripts.

178 tests
1.8 sec to complete

Version 0.6.1 2010-12-20

Changed browser.cookies from getter to function that accepts cookie domain (host and port) and path, and returns wrapper to access specific cookie context.

Fixed: browser now creates new window for each new document.

Added window.JSON.

178 tests
1.8 sec to complete

Version 0.6.0 2010-12-20

First release that I could use to test an existing project.

Supports for navigation, filling and submitting forms, and selecting document content using Sizzle. Browser features include evaluating JavaScript (jQuery, Sammy.js), timers, XHR, cookies, local and session storage.

Still very rough around the edges.

175 tests
1.8 sec to complete