Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 1187 lines (676 sloc) 29.077 kb
d08ff54 @assaf Added new page covering the browser API.
assaf authored
1 zombie.js-changelog(7) -- Changelog
8f851ca @assaf Added troublehsooting guide.
assaf authored
2 ===================================
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
3
b1a78e1 @assaf Now requires Node 0.6.x.
assaf authored
4
67b004e @assaf [Fixes #332] Upgraded to HTML5 0.3.8
assaf authored
5 ## Version 1.0.1 2012-05-13
6
6c1ce1b @assaf [Closes #218] Added navigator.cookieEnabled and navigator.vendor.
assaf authored
7 Fixed `onload` event not firing on window.
8
9 Added `navigator.cookieEnabled` and `navigator.vendor`.
30dadf4 @assaf [Fixes #131] Fixed onload event not firing on window.
assaf authored
10
3e17549 @assaf [Fixes #259] Added empty `Accept-Encoding` header since there's no gzip/...
assaf authored
11 Added empty `Accept-Encoding` header since there's no gzip/compress support at
12 the moment.
13
67b004e @assaf [Fixes #332] Upgraded to HTML5 0.3.8
assaf authored
14 Upgraded to HTML5 0.3.8.
15
16 487 tests
17 11.8 sec to complete
18
19
0ad21bf @assaf Version 1.0.0
assaf authored
20 ## Version 1.0.0 2012-05-10
dadf663 @assaf [Closes #309] Added promises.
assaf authored
21
22000c6 @assaf New API for setting authentication credentials.
assaf authored
22 Yes, that is right, Zombie now supports promises. Like this:
23
bf6332b @assaf Fixed CHANGELOG
assaf authored
24 browser.visit("http://localhost:3000/").
25 then(function() {
26 assert.equal(browser.text("H1"), "Deferred zombies");
27 // Chaining works by returning a promise here
28 return browser.clickLink("Hit me");
29 }).
30 then(function() {
31 assert.equal(browser.text("H1"), "Ouch");
32 });
22000c6 @assaf New API for setting authentication credentials.
assaf authored
33
34 A new way to set authentication credentials so they can be applied to specific
35 host (e.g. HTTP Basic one host, OAuth Bearer another). Like this:
36
bf6332b @assaf Fixed CHANGELOG
assaf authored
37 // HTTP Basic takes user and password
38 browser.authenticate().basic("me", "secret")
39 // OAuth 2.0 Bearer takes an access token
40 browser.authenticate("example.com:443").bearer("12345")
41 // Show the authentication credentials in use
42 console.log(browser.authenticate().token)
22000c6 @assaf New API for setting authentication credentials.
assaf authored
43
44 Successfully testing Facebook Connect using Zombie (see
45 `test/facebook_connect_test.coffee`).
46
47 487 tests
48 12.1 sec to complete
dadf663 @assaf [Closes #309] Added promises.
assaf authored
49
50
943787f @assaf Changed browser option `windowName` to just `name.`
assaf authored
51 ## Version 0.13.14 2012-05-09
52
53 Changed browser option `windowName` to just `name.`
54
55 Setting browser option to `undefined` no longer resets it to default (that was a
56 stupid idea).
57
d86d7ce @assaf Support for opening link in specified target (named window, _self, _pare...
assaf authored
58 Support for opening link in specified target (named window, `_self`, `_parent`, `_top` or
59 `_blank`).
60
ffe8b35 @assaf Fixed Zombie retaining multiple values for the same cookie (domain/path/...
assaf authored
61 Fixed Zombie retaining multiple values for the same cookie (domain/path/key).
62
63 485 tests
64 11.9 sec to complete
943787f @assaf Changed browser option `windowName` to just `name.`
assaf authored
65
66
5494c66 @assaf Should be window.select not window.switch.
assaf authored
67 ## Version 0.13.13 2012-05-09
68
69 Should be `windows.select` not `windows.switch`.
70
71 462 tests
72 11.4 sec to complete
73
74
7626f2b @assaf Cleaned up and documented `browser.windows`.
assaf authored
75 ## Version 0.13.12 2012-05-09
76
77 Cleaned up and documented `browser.windows`.
78
a70457f @assaf Brought back JSDOM offset patches, Google Maps fails without these.
assaf authored
79 Brought back JSDOM offset patches, Google Maps fails badly without these.
80
7626f2b @assaf Cleaned up and documented `browser.windows`.
assaf authored
81 462 tests
82 11.4 sec to complete
83
84
208524a @assaf Fix loading URL with document fragment remove document fragment from pag...
assaf authored
85 ## Version 0.13.11 2012-05-08
86
87 Fix loading URL with document fragment remove document fragment from page
88 location.
89
90 459 tests
91 9.9 sec to complete
92
93
d66042b @assaf Fixes to old-style event handlers.
assaf authored
94 ## Version 0.13.10 2012-05-07
95
96 Fixed basic/token authentication working for pages but not resources like JS,
97 CSS (David Newell).
98
99 Old-style event handlers (onclick, onsubmit, etc) now have access to event
100 through `window.event`.
101
102 Old-style event handlers can return false to prevent default behavior.
103
104 Added `window.Event` and its siblings `UIEvent`, `MouseEvent`, `MutationEvent`
105 and `StorageEvent`.
106
107 457 tests
108 10.2 sec to complete
109
110
651d00a @assaf Make sure you can `window.frames[name].postMessage`.
assaf authored
111 ## Version 0.13.9 2012-05-07
112
113 Make sure you can `window.frames[name].postMessage`.
114
115 453 tests
116 9.9 sec to complete
117
118
cd0510d @assaf Run without Coffee-Script.
assaf authored
119 ## Version 0.13.8 2012-05-04
120
53302cc @assaf Redirection is now handled by Zombie instead of Request, set cookies to ...
assaf authored
121 Redirection is now handled by Zombie instead of Request, set cookies to the
122 right domain.
123
cd0510d @assaf Run without Coffee-Script.
assaf authored
124 Run without Coffee-Script.
125
53302cc @assaf Redirection is now handled by Zombie instead of Request, set cookies to ...
assaf authored
126 453 tests
127 9.7 sec to complete
128
cd0510d @assaf Run without Coffee-Script.
assaf authored
129
06a7fd6 @assaf Got FB Connect to show login form ... almost, bug in Request/Replay.
assaf authored
130 ## Version 0.13.7 2012-05-03
711fe02 @assaf Added support for window.open and working with more than one window at a...
assaf authored
131
a340f98 @assaf Added postMessage.
assaf authored
132 Added support for `postMessage`.
133
711fe02 @assaf Added support for window.open and working with more than one window at a...
assaf authored
134 Added support for `window.open()` and working with more than one window at a
02d42ac @assaf Version 0.13.7
assaf authored
135 time (`browser.windows`).
711fe02 @assaf Added support for window.open and working with more than one window at a...
assaf authored
136
a340f98 @assaf Added postMessage.
assaf authored
137 When following redirect with `#` in it, fire the `hashchange` event.
138
139 IFrame window name based on element's `name` attribute.
140
141 Fixed IFrame document and window to include Zombie enhancements.
142
06a7fd6 @assaf Got FB Connect to show login form ... almost, bug in Request/Replay.
assaf authored
143 Zombie can now show FB Connect form.
144
9023ba7 @assaf Fix some things that broke accidentally
assaf authored
145 453 tests
02d42ac @assaf Version 0.13.7
assaf authored
146 9.8 sec to complete
9023ba7 @assaf Fix some things that broke accidentally
assaf authored
147
a340f98 @assaf Added postMessage.
assaf authored
148
8866087 @assaf You can now set document location to `javascript:expression` and it will
assaf authored
149 ## Version 0.13.6 2012-05-02
150
151 You can now set document location to `javascript:expression` and it will
152 evaluate that expression.
153
154 440 tests
155 9.6 sec to complete
156
157
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
assaf authored
158 ## Version 0.13.5 2012-05-02
27e64d0 @assaf These fixes allow document.write and appendChild to work.
assaf authored
159
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
assaf authored
160 Switched default HTML parser back to the more forgiving
27e64d0 @assaf These fixes allow document.write and appendChild to work.
assaf authored
161 [HTML5](https://github.com/aredridel/html5):
162
163 - Supports scripts with CDATA
164 - Supports tag soups
165 - Preserve order of execution between in-line and loaded JS code
166 - Support `document.write`
167
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
assaf authored
168 Fix `textContent` of elements that have comments in them to not exclude the
169 comment text .
27e64d0 @assaf These fixes allow document.write and appendChild to work.
assaf authored
170
171 438 tests
0a4f8f1 @assaf Switched back to processing DOMNodeInserted on script tags.
assaf authored
172 9.7 sec to complete
27e64d0 @assaf These fixes allow document.write and appendChild to work.
assaf authored
173
174
d257187 @assaf Version 0.13.4
assaf authored
175 ## Version 0.13.4 2012-05-01
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
assaf authored
176
d257187 @assaf Version 0.13.4
assaf authored
177 Upgraded to JSDOM 0.2.14. This includes an upgrade to Contextify which fixes an
178 edge case with JS scoping. It also translates to 10% faster tests (On My
179 Machine).
180
181 But HTML processing is a bit more picky right now.
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
assaf authored
182
68e746b @assaf Methods like `visit` now pass error to the callback if they fail to load...
assaf authored
183 Methods like `visit` now pass error to the callback if they fail to load or
184 parse the page. JavaScript execution errors are handled separately.
185
d257187 @assaf Version 0.13.4
assaf authored
186 436 tests
187 8.0 sec to complete
3cd0b63 @assaf Upgraded to JSDOM 0.2.14.
assaf authored
188
189
8dbf2d0 @assaf Version 0.13.3
assaf authored
190 ## Version 0.13.3 2012-04-30
191
192 Fixed failing to redirect after POST request (Vincent P).
193
194 426 tests
195 8.8 sec to complete
196
197
278e961 @assaf Fixed iframe not loading properly or firing onload event when setting sr...
assaf authored
198 ## Version 0.13.2 2012-04-26
199
200 Fixed iframes not loading properly of firing `onload` event when setting `src`
201 attribute.
202
203 426 tests
204 9.6 sec to complete
205
206
ba3104e @assaf Only testing for Node 0.6
assaf authored
207 ## Version 0.13.1 2012-04-26
f6c04bb @assaf Switching from Vows to Mocha.
assaf authored
208
209 Switched from testing with Vows to testing with Mocha. Tests now running
210 sequentially.
211
acaccf4 @assaf Only testing for Node 0.6
assaf authored
212 Fixed a couple of issues with cookies, also switched to a better implementation,
213 see [Tough Cookie](https://github.com/goinstant/node-cookie)
214
1b0ee6b @assaf [Closes #283] Zombie now submits empty text fields and checked checkboxe...
assaf authored
215 Zombie now submits empty text fields and checked checkboxes with no value.
216
51e9cca @assaf Updated changelog
assaf authored
217 Support for script type="text/coffeescript" (audreyt).
218
219 425 tests
220 10.0 sec to complete
f6c04bb @assaf Switching from Vows to Mocha.
assaf authored
221
222
471f976 @assaf Version 0.13.0
assaf authored
223 ## Version 0.13.0 2012-04-25
b1a78e1 @assaf Now requires Node 0.6.x.
assaf authored
224
225 Now requires Node 0.6.x or later. Also upgraded to CoffeeScript 1.3.1, which
226 helped find a couple of skipped tests.
227
fdbfde8 @assaf By popular demand: proxy!
assaf authored
228 Added support for proxies by using the excellent [Request
229 module](https://github.com/mikeal/request)
230
f58f4f7 @assaf Fix tests for file upload, brought implementation up to coding standard.
assaf authored
231 Added File object in browser (Ian Young)
232
46c7c00 @assaf Added support for EventSource (SSE)
assaf authored
233 Added support for EventSource (see [Server-Sent Events](http://dev.w3.org/html5/eventsource/))
234
b1a78e1 @assaf Now requires Node 0.6.x.
assaf authored
235
9f84f3f @assaf Version 0.2.15
assaf authored
236 ## Version 0.12.15 2012-02-23
237
238 Maintenance release: JSDOM 0.2.11/12 is broken, fixing to 0.2.10 (Mike Swift)
239
240
1510da4 @assaf Testing cancellation of submit event
assaf authored
241 ## Version 0.12.14 2012-02-07
ea15b26 @assaf Methods like visit and fire no longer call wait if there's no callback.
assaf authored
242
15676f1 @assaf Fix redirect not passing the same headers again.
assaf authored
243 Fix redirect not passing the same headers again.
244
158e99b @assaf Version 0.12.14
assaf authored
245 412 tests
246 6.4 sec to complete
247
15676f1 @assaf Fix redirect not passing the same headers again.
assaf authored
248
f43c28c @assaf Version 0.12.13
assaf authored
249 ## Version 0.12.13 2012-01-18
250
3eec41f @assaf Browser.fire takes no options (that was an undocumented argument), and a...
assaf authored
251 `Browser.fire` takes no options (that was an undocumented argument), and always fires events that bubble and can be
252 cancelled.
253
446d57e @assaf Clicking on checkbox or radio button now changes the value and
assaf authored
254 Clicking on checkbox or radio button now changes the value and propagated the click event. If `preventDefault`, the
255 value is changed back.
256
f43c28c @assaf Version 0.12.13
assaf authored
257 411 tests
258 6.0 sec to complete
259
3eec41f @assaf Browser.fire takes no options (that was an undocumented argument), and a...
assaf authored
260
7f0fb17 @assaf Version 0.12.12
assaf authored
261 ## Version 0.12.12 2012-01-16
262
9aeca62 @assaf Added element offset properties. Google Maps demand these.
assaf authored
263 Added element offset properties. Google Maps demand these.
264
7f0fb17 @assaf Version 0.12.12
assaf authored
265 406 tests
266 5.9 sec to complete
267
9aeca62 @assaf Added element offset properties. Google Maps demand these.
assaf authored
268
4b6c494 @assaf Version 0.12.11
assaf authored
269 ## Version 0.12.11 2012-01-06
270
271 Maintenance update, mostly more test coverage, and updates to dependencies.
272
273 403 tests
274 4.4 sec to complete
275
276
2a719ae @assaf Version 0.12.10
assaf authored
277 ## Version 0.12.10 2012-01-01
278
bbd8016 @assaf Updated CHANGELOG
assaf authored
279 Brought back Web Sockets support (Justin Latimer)
280
281 Using JSDOM offsets (Justin Tulloss)
282
2a719ae @assaf Version 0.12.10
assaf authored
283 388 tests
284 3.8 sec to complete
bbd8016 @assaf Updated CHANGELOG
assaf authored
285
286
bee8909 @assaf Version 0.12.9
assaf authored
287 ## Version 0.12.9 2011-12-23
288
2b9c2f7 @assaf Added support for httpOnly cookies.
assaf authored
289 Added support for `httpOnly` cookies.
290
291 You can now call `browser.cookies` with no arguments to return cookies for the current domain (based on the hostname of
292 the currently loaded page).
293
ee1bf5c @assaf You can now pass referer header
assaf authored
294 You can now pass `referer` header:
295
296 browser.visit("/page", referer: "http://google.com", function() {
bee8909 @assaf Version 0.12.9
assaf authored
297 . . .
ee1bf5c @assaf You can now pass referer header
assaf authored
298 })
299
bee8909 @assaf Version 0.12.9
assaf authored
300 Apply 5 second time limit on `browser.wait`, even if there's something going on (e.g. pull requests).
301
302 387 tests
303 3.9 sec to complete
304
2b9c2f7 @assaf Added support for httpOnly cookies.
assaf authored
305
77fe83e @assaf Version 0.12.8
assaf authored
306 ## Version 0.12.8 2011-12-20
307
a5cf9e0 @assaf #236 without swallowing exceptions
assaf authored
308 Browser implementations of clearInterval/clearTimeout do not throw exceptions (Justin Tulloss)
309
da2dff3 @assaf [Closes #228] This patch fixes the fact that Resources toString throws e...
assaf authored
310 Fix resources.toString throwing an error (Mr Rogers)
311
77fe83e @assaf Version 0.12.8
assaf authored
312 374 tests
313 3.9 sec to complete
314
a5cf9e0 @assaf #236 without swallowing exceptions
assaf authored
315
ea15b26 @assaf Methods like visit and fire no longer call wait if there's no callback.
assaf authored
316 ## Version 0.12.7 2011-12-19
317
318 Methods like `visit` and `fire` no longer call `wait` if there's no callback.
319
320 The wait callback is called from `nextTick`. Fixes a possible race condition.
321
322 366 Tests
323 3.7 sec to complete
324
325
746db25 @assaf Version 0.12.6
assaf authored
326 ## Version 0.12.6 2011-12-18
327
8eef695 @assaf You can now tell `browser.wait` when to complete processing events
assaf authored
328 You can now tell `browser.wait` when to complete processing events by passing either duration (in milliseconds) or a
329 function that returns true when done. For example:
330
331 browser.wait(500, function() {
332 // Waits no longer than 0.5 second
333 })
334
335 function mapIsVisible(window) {
336 return window.querySelector("#map");
337 }
338 browser.wait(mapIsVisible, function() {
339 // Waits until the map element is visible on the page
340 })
341
adf4d46 @assaf Default waitFor is now 0.5 seconds. Also updated documentation.
assaf authored
342 Reduced default `waitFor` from 5 seconds to 0.5 seconds. That seems good enough default for most pages.
343
344 366 Tests
746db25 @assaf Version 0.12.6
assaf authored
345 3.7 sec to complete
cec0f07 @assaf Reduced default `waitFor` from 5 seconds to one. Can easily be
assaf authored
346
347
e7d2026 @assaf Added `browser.history` for accessing history for the current
assaf authored
348 ## Version 0.12.5 2011-12-16
349
39f70ed @assaf `Zombie` and `Browser` are no longer distinct namespaces. What you
assaf authored
350 `Zombie` and `Browser` are no longer distinct namespaces. What you require is the `Browser` class that also includes
351 all the methods previously defined for `Zombie`. For example:
352
353 var Browser = require("zombie")
354
355 // This setting applies to all browsers
356 Browser.debug = true
357 // Create and use a new browser instance
358 var browser = new Browser()
359 browser.visit("http://localhost:3001", function() {
360 ...
361 })
362
e7d2026 @assaf Added `browser.history` for accessing history for the current
assaf authored
363 Added `browser.history` for accessing history for the current window, `browser.back` for navigating to the previous page
364 and `browser.reload` for reloading the current page.
365
3f933b3 @assaf Fixed a bug whereby navigating back in push-state history would reload d...
assaf authored
366 Fixed a bug whereby navigating back in push-state history would reload document.
367
39f70ed @assaf `Zombie` and `Browser` are no longer distinct namespaces. What you
assaf authored
368 363 Tests
369 2.4 sec to complete
370
e7d2026 @assaf Added `browser.history` for accessing history for the current
assaf authored
371
2a62adc @assaf Version 0.12.4
assaf authored
372 ## Version 0.12.4 2011-12-16
373
374 Return undefined for response status when there is no response.
375
376 362 Tests
377 2.4 sec to complete
378
379
ece53c7 @assaf Version 0.12.3
assaf authored
380 ## Version 0.12.3 2011-12-13
381
382 Fixed issue when globally declared variables with no values are not accessible (Brian McDaniel)
383
384 362 Tests
385 2.6 sec to complete
386
387
b5fff4f @assaf Version 0.12.2
assaf authored
388 ## Version 0.12.2 2011-12-12
ab32231 @assaf Added changelog entry and cleaned source code
assaf authored
389
ea4db91 @assaf [Closes #224] Added global options, e.g.
assaf authored
390 Added global options, for example:
391
392 Zombie.site = "http://localhost:3003"
393 Zombie.visit("/browser/test", function() {
394 ...
395 })
396
7079f78 @assaf You can put Zombie in debug mode by setting environment variable `DEBUG`...
assaf authored
397 You can put Zombie in debug mode by setting environment variable `DEBUG`, for example:
398
399 $ DEBUG=true vows
400
802e899 @assaf [Closes #220] Added `silent` option to suppress all `console.log`
assaf authored
401 Also added `silent` option to suppress all `console.log` output from scripts.
402
ab32231 @assaf Added changelog entry and cleaned source code
assaf authored
403 Support origin in websockets (Glen Mailer)
404
d9e7dd2 @assaf Proper support for CSS style property.
assaf authored
405 Proper support for CSS style `opacity` property.
406
b5fff4f @assaf Version 0.12.2
assaf authored
407 360 Tests
408 2.5 sec to complete
409
ab32231 @assaf Added changelog entry and cleaned source code
assaf authored
410
0b93aa9 @assaf Updated changelog
assaf authored
411 ## Version 0.12.1 2011-12-06
412
413 Added `browser.success`, returns true if status code is 2xx.
414
415 Updated documentation to better reflect new API features and behaviors. Catching up on the many changes since 0.11.
416
6511b49 @assaf The real 0.12.1
assaf authored
417 DOM events now dispatched asynchronously as part of event loop.
418
419 Allow `//<hostname>` URLs to be used in more places
420
0b93aa9 @assaf Updated changelog
assaf authored
421 359 Tests
422 2.4 sec to complete
423
424
8628b9e @assaf Trying with TMP env var
assaf authored
425 ## Version 0.12.0 2011-12-06
c429367 @assaf Updated documentation
assaf authored
426
427 Zombie is now using real timers instead of the fake clock. That means that a `setTimeout(fn, 5000)` will actually take
428 5 seconds to complete.
429
e7459ce @assaf Introduced waitFor
assaf authored
430 The `wait` method will wait for short timers (up to 5 seconds), which are quite common for some UI effects, setting up
431 the page, etc. The maximum wait time is specified by the browser option `waitFor`.
432
433 If you need to wait longer, you can call `wait` with a time duration as the first argument.
f90c2af @assaf Log redirect and error responses in debug mode
assaf authored
434
435 Log redirect and error responses in debug mode.
436
e7459ce @assaf Introduced waitFor
assaf authored
437 353 Tests
438 2.4 sec to complete
439
5802c25 @assaf Updated changelog
assaf authored
440
d6e3541 @assaf Version 0.11.4
assaf authored
441 ## Version 0.11.8 2011-12-04
5802c25 @assaf Updated changelog
assaf authored
442
443 Added `browser.query` and `browser.queryAll`. Deprecated `browser.css`;
444 planning to use it for something else post 1.0.
445
446 Calling `html` or `text` when the document is not an HTML page returns
447 the text contents. Particularly useful if you're looking at the
448 contents of what should be an HTML page, but got 404 or 500 insteas.
449
450 357 Tests
d6e3541 @assaf Version 0.11.4
assaf authored
451 2.0 sec to complete
452
5802c25 @assaf Updated changelog
assaf authored
453
321f5ab @assaf Updated changelog
assaf authored
454 ## Version 0.11.7 2011-11-30
455
456 Fixed `console.log` formatting `%s`, `%d` (Quang Van).
457
458 Fixed `viewInBrowser`.
459
460 Updated documentation to mention `browser.errors and
461 `browser.resources`, and that `cake watch` and `cake build` are no
462 longer necessary.
463
464 Fix to load cookies that contain equal signs and quotes in the value.
465
466 347 Tests
467 2.0 sec to complete
468
469
b9518cc @assaf Version 0.11.6
assaf authored
470 ## Version 0.11.6 2011-11-27
471
472 Fixed loading of cookies/history from file, so empty lines are ignored.
473
474 Show JavaScript source location when failing to execute in script element.
475
476 Don't execute timer/interval that has been removed.
477
478 347 Tests
479 2.0 sec to complete
480
481
919b28f @assaf Fixes `Browser is not defined` error.
assaf authored
482 ## Version 0.11.5 2011-11-27
483
484 Fixes `Browser is not defined` error.
485
486 347 Tests
487 2.0 sec to complete
488
489
c4274fe @assaf Added zombie.js to load without coffee-script
assaf authored
490 ## Version 0.11.4 2011-11-27
491
492 Added missing zombie.js.
493
494 347 Tests
495 2.0 sec to complete
496
497
cb218ae @assaf Updated changelog
assaf authored
498 ## Version 0.11.3 2011-11-26
499
500 Iframes will now load their content when setting src attribute.
501
502 Internal changes: resources, event loop associated with browser, history
503 associated with window.
504
505 Updated installation instructions for Ubuntu.
506
9072538 @assaf Fixed cake test
assaf authored
507 347 Tests
508 2.2 sec to complete
509
cb218ae @assaf Updated changelog
assaf authored
510
6b13b29 @assaf Clean up whitespace, added changelog for #205
assaf authored
511 ## Version 0.11.2 2011-11-22
512
513 Send Content-Length in URL-encoded form requests (Sven Bange).
514
ee58c31 @assaf [#202] Authorization method changed to scheme (see RFC2617)
assaf authored
515 Added support for HTTP Basic and OAuth 2.0 authorization (Paul Dixon).
516
b81d753 @assaf Version 0.11.2
assaf authored
517 344 Tests
518 1.9 sec to complete
519
6b13b29 @assaf Clean up whitespace, added changelog for #205
assaf authored
520
24b410f @assaf Version 0.11.1
assaf authored
521 ## Version 0.11.1 2011-11-21
522
523 Better error reporting when executing JS asynchronoulsy (timers, XHR).
524
525 Event loop keeps processing past errors.
526
527 333 Tests
528 1.8 sec to complete
529
530
2757a57 @assaf Version 0.11.0
assaf authored
531 ## Version 0.11.0 2011-11-20
e7d1a78 @assaf Changed error handling for the better.
assaf authored
532
533 Changed error handling for the better.
534
535 Calling browser.wait or browser.visit no longer passed the
536 resource/JavaScript error as the first argument, and will continue
537 processing if there are multiple errors.
538
539 Instead, an array of errors is passed as the fourth argument. You can
540 also access `browser.errors` and to get just the last one, e.g. to
541 check if any errors were reported, use `browser.error`.
542
b1bfc13 @assaf Less verbose console.log.
assaf authored
543
544 Using `console.log(browser)` will puke over your terminal, so we add
545 global defaults for sanity.
546
547 Set `console.depth` to specify how many times to recurse while
548 formatting the object (default is zero).
549
550 Set `console.showHidden` to show non-enumerable properties (defaults to
551 false).
552
553
e7d1a78 @assaf Changed error handling for the better.
assaf authored
554 333 Tests
555 1.7 sec to complete
556
557
fa1d12c @assaf Version 0.10.3
assaf authored
558 ## Version 0.10.3 2011-11-18
f4fb2ce @assaf Added site option allowing you to use visit with a relative path.
assaf authored
559
560 Added site option allowing you to call `visit` with a relative path.
561 Example:
562
563 browser = new Browser(site: "localhost:3000")
564 browser.visit("/testing", function(error, browser) {
565 })
566
567 Fixed uploading of attachments to work with Connect/Express (and
568 possibly other servers). Formidable (used by Connect) does not support
569 Base64 encoding. Sending binary instead.
570
571 Tested on Node 0.6.1.
572
573 330 Tests
574 2.1 sec to complete
575
576
15b4efa @assaf Version 0.10.2
assaf authored
577 ### Version 0.10.2 2011-10-13
57bba4e @assaf Updated changelog
assaf authored
578
579 Fixed #173 browser.open() causes Segmentation fault (Brian McDaniel)
580
15b4efa @assaf Version 0.10.2
assaf authored
581 Upgraded to JSDOM 0.2.7.
582
57bba4e @assaf Updated changelog
assaf authored
583
9d9be8e @assaf Version 0.10.1
assaf authored
584 ### Version 0.10.1 2011-09-08
a1186c4 @assaf Updated changelog
assaf authored
585
586 Tests that this == window == top == parent. True when evaluated within
587 the context of the browser, not necessarily when using browser.window.
588
b0cd009 @assaf Updated changelog
assaf authored
589 Removed JSDOM patch for iframes, no tests failing, let's see what
590 happens ...
591
592 Fixes #164 jQuery selectors with explicit context fail.
593
594 Better stack traces for client-side JS. This will help in debugging and
595 filing issues.
596
597 Updated installation instructions for OS X/Windows.
598
599 Upgraded to JSDOM 0.2.4 and testing with jQuery 1.6.3.
600
601 329 Tests
602 2.9 sec to complete
603
a1186c4 @assaf Updated changelog
assaf authored
604
e0eea9f @assaf Upgrade changelog
assaf authored
605 ### Version 0.10.0 2011-08-27
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
assaf authored
606
e0eea9f @assaf Upgrade changelog
assaf authored
607 Upgraded to [JSDOM](https://github.com/tmpvar/jsdom) 0.2.3 which brings
608 us a Window context that works for asynchronous invocations (that would
609 be timers, XHR and browser.evaluate), and many many other improvements.
610
611 Tested for compatibility with jQuery 1.6.2. Yes. It works.
612
613
614 *NOTE*: This release uses
615 [htmlparser](https://github.com/gmosx/htmlparser) as the default parser,
616 while waiting for some bug fixes on
617 [HTML5](https://github.com/aredridel/html5). Unfortunately, htmlparser
618 is limited in what it can accept and properly parse. Be aware of the
619 following issues:
620
621 - Your document *must* have `html`, `head` and `body` elements.
622 - No CDATAs. But then again, CDATA is so 1999.
623 - Tag soups break the parser.
624 - Scripts can't use `document.write`. Again, it's not 1999.
b71c825 @assaf Browser specs now passing
assaf authored
625
626
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
assaf authored
627 Added `browser.loadCSS` option. Set this to load external stylesheets.
628 Defaults to `true`.
629
630 Added `browser.htmlParser` option. Tells JSDOM which HTML5 parser to
631 use. Use `null` for the default parser.
632
e0eea9f @assaf Upgrade changelog
assaf authored
633 Fixed handling of `file` protocol.
40e02da @assaf DRYed jquery-compat
assaf authored
634
2022e1b @assaf Added browser.loadCSS and browser.htmlParser options.
assaf authored
635
f78fcab @assaf [Closed #158] require.paths is deprecated
assaf authored
636 ### Version 0.9.7 2011-07-28
637
638 Fixed: require.paths is deprecated [#158]
639
ca6efe3 @assaf [Closed #151] Fixed not running script specs due to bug in
assaf authored
640 Fixed: missing pathname support for window.location.href [#156]
641
229a42b @assaf Version 0.9.7
assaf authored
642 Fixed: not running script specs due to bug in CoffeeScript (iPaul
643 Covell) [#151]
644
645 Updated documentation to clarify installation instructions for OS X and
646 Ubuntu.
ca6efe3 @assaf [Closed #151] Fixed not running script specs due to bug in
assaf authored
647
648 311 Tests
649 4.5 sec to complete
4172c64 @assaf [Closes #156] missing pathname support for window.location.href
assaf authored
650
f78fcab @assaf [Closed #158] require.paths is deprecated
assaf authored
651
8d14285 @assaf Updated CHANGELOG
assaf authored
652 ### Version 0.9.6 2011-07-28
653
654 Implements file:// requests using node.js' native fs module rather than
655 leaning on its http module (Ryan Petrello)
656
06d7a09 @assaf Updated CHANGELOG
assaf authored
657 Added a basic infection/installation section to documentation (terryp)
658
0ff156d @assaf Modified resources and xhr to better work with SSL (Ken Sternberg)
assaf authored
659 Modified resources and xhr to better work with SSL (Ken Sternberg)
660
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
assaf authored
661
9292879 @assaf Version 0.9.5
assaf authored
662 ### Version 0.9.5 2011-04-11
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
assaf authored
663
cffaabb @assaf Updated changlog.
assaf authored
664 Callbacks on input/select changes (Julien Guimont)
665
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
assaf authored
666 Fix type that broke compatibility with jQuery 1.5.1 (Chad Humphries)
667
fb16ce4 @assaf Updated changelog.
assaf authored
668 Enabled window.Image to accept height and width attributes [#35]
669
670 Implemented window.navigator.javaEnabled() [#35]
671
672 Added setter for document.location [#90]
673
9292879 @assaf Version 0.9.5
assaf authored
674 Fixed XPath Sorting / Specs (Blake Imsland)
675
676 311 Tests
677 4.5 sec to complete
d72cad0 @assaf Fixed tests to work properly with Express 2.0.
assaf authored
678
679
1fa333f @assaf Version 0.9.4
assaf authored
680 ### Version 0.9.4 2011-02-22
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
assaf authored
681
ba43510 @assaf Updated changelog.
assaf authored
682 Added preliminary support for Web sockets (Ben Ford).
683
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
assaf authored
684 Fixes `eval` to execute in the global scope.
685
ffdd189 @assaf Updated changelog.
assaf authored
686 Fixes error when dumping cookies (Christian Joudrey).
687
688 Fixed some typos in the README (Jeff Hanke).
68aab2f @assaf Updated changelog.
assaf authored
689
1fa333f @assaf Version 0.9.4
assaf authored
690 Speed bump from running on Node 0.4.1.
691
ba43510 @assaf Updated changelog.
assaf authored
692 295 Tests
1fa333f @assaf Version 0.9.4
assaf authored
693 2.9 sec to complete
6852507 @assaf [Fixes #51] Fixes `eval` to execute in the global scope.
assaf authored
694
695
a29425f @assaf Fixes seg fault when Zombie fails to compile a script.
assaf authored
696 ### Version 0.9.3 2011-02-22
697
698 Fixes seg fault when Zombie fails to compile a script.
699
700 293 Tests
701 3.3 sec to complete
702
703
391d3ce @assaf Version 0.9.2
assaf authored
704 ### Version 0.9.2 2011-02-21
705
706 Fixes a couple of specs, plugs hole in array to prevent segfaults, and
707 adds try/catch to leave context after executing script.
708
709 292 Tests
710 3.3 sec to complete
b56b9db @assaf Separated two tests with the same name.
assaf authored
711
712
0cd166b @assaf Feeble attempt to fix window == this issue, and breaking iframes.
assaf authored
713 ### Version 0.9.1 2011-02-17
714
715 Some internal changes to history. Breaks iframe.
716
717 289 Tests
718 3.3 sec to complete
719
720
ab6f5ff @assaf Getting ready for next release.
assaf authored
721 ### Version 0.9.0 2011-02-17
b57cc1e @assaf [#37] Changelog entry for 0.8.14
assaf authored
722
ab6f5ff @assaf Getting ready for next release.
assaf authored
723 New isolated contexts for executing JavaScript. This solves a long
724 standing problems with pages that have more than one script. Briefly
725 speaking, each window gets it's own context/global scope that is shared
726 by all scripts loaded for that page, but isolated from all other
727 windows.
ef05ce0 @assaf [#37] Cleanup.
assaf authored
728
2c5ef67 @assaf [Fixes #87] Fixes URL resolution in XHR requests with no port.
assaf authored
729 Fixes error handling on timeout/XHR scripts, these now generate an
2a8aed2 @assaf [#37] Compile scripts once, speed up test suite.
assaf authored
730 `onerror` event.
731
9c61377 @assaf Eventloop is now property of window, not browser.
assaf authored
732 Eventloop is now associated with window instead of browser.
733
c245ca6 @assaf Version 0.9.0
assaf authored
734 Fixes URL resolution in XHR requests with no port.
2c5ef67 @assaf [Fixes #87] Fixes URL resolution in XHR requests with no port.
assaf authored
735
ef05ce0 @assaf [#37] Cleanup.
assaf authored
736 293 Tests
c245ca6 @assaf Version 0.9.0
assaf authored
737 3.3 sec to complete
ef05ce0 @assaf [#37] Cleanup.
assaf authored
738
b57cc1e @assaf [#37] Changelog entry for 0.8.14
assaf authored
739
8223670 @assaf Correct date in changelog.
assaf authored
740 ### Version 0.8.13 2011-02-11
551f179 @assaf Upgraded to HTML5 0.2.13.
assaf authored
741
fd82106 @assaf Version bump.
assaf authored
742 Tested with Node 0.4.0.
743
a74419f @assaf Fixes #71 cookie names now preserve case.
assaf authored
744 Add support for IFRAMEs (Damian Janowski).
745
551f179 @assaf Upgraded to HTML5 0.2.13.
assaf authored
746 Upgraded to HTML5 0.2.13.
747
a74419f @assaf Fixes #71 cookie names now preserve case.
assaf authored
748 Fixes #71 cookie names now preserve case.
749
c637066 @assaf Fixes #69 incorrectly resolving partial URLs in XHR requests.
assaf authored
750 Fixes #69 incorrectly resolving partial URLs in XHR requests.
751
fd82106 @assaf Version bump.
assaf authored
752 Fixes `browser.clock` to use `Date.now` instead of `new Date` (faster).
65c84cc @assaf Fix browser.clock to user Date.now instead of new Date (faster!)
assaf authored
753
fd82106 @assaf Version bump.
assaf authored
754 Fixes `browser.dump`.
65c84cc @assaf Fix browser.clock to user Date.now instead of new Date (faster!)
assaf authored
755
756 In debug mode, show when firing timeout/interval.
757
fd82106 @assaf Version bump.
assaf authored
758 Added `cake install`.
759
4582104 @assaf Express 1.0.7 request parsing under Node 0.3.7 still broken,
assaf authored
760 293 Tests
fd82106 @assaf Version bump.
assaf authored
761 3.7 sec to complete
551f179 @assaf Upgraded to HTML5 0.2.13.
assaf authored
762
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
assaf authored
763
1945012 @assaf Version bump to 0.8.12.
assaf authored
764 ### Version 0.8.12 2011-02-01
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
765
217f4a4 @assaf Added browser.fork to documentation.
assaf authored
766 Tested with Node 0.3.7 in preparation for Node 0.4.0.
767
768 Added `browser.fork` (Josh Adell):
769
770 > Return a new browser using a snapshot of this browser's state. This
771 method clones the forked browser's cookies, history and storage. The
772 two browsers are independent, actions you perform in one browser do not
773 affect the other.
774
775 > Particularly useful for constructing a state (e.g. sign in, add items
776 to a shopping cart) and using that as the base for multiple tests, and
777 for running parallel tests in Vows.
778
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
779 Fix firing the `change` event on `SELECT` elements when using jQuery
780 (Damian Janowski).
781
681b353 @djanowski Fix for `jQuery.ajax` receiving a non-string `data` option.
djanowski authored
782 Fix for `jQuery.ajax` receiving a non-string `data` option (Damian
783 Janowski).
784
031ad81 @assaf Added changelog entry.
assaf authored
785 Fix to allow `script` elements that are not JavaScript (Sean Coates).
786
787 NOTE: In this release I started running the test suite using `cake test`
788 and recording the time reported by Vows. This doesn't count the
789 time it takes to fire up Node, Cake, etc, so the reported time is
790 approximately a second smaller than the previously reported time for
791 0.8.11. All other things being equal.
792
a2b92c9 @assaf Copy browser history when forking.
assaf authored
793 292 Tests
794 3.7 sec to complete
5eb661f @assaf You can now run Zombie without base64 module, if you're not planning
assaf authored
795
aad1d7a @djanowski Add missing entry in changelog.
djanowski authored
796
719fd7d @assaf Version bump.
assaf authored
797 ### Version 0.8.11 2011-01-25
ffc09ac @assaf We still need a document element when response body is empty.
assaf authored
798
4eb2bf3 @boblail updated changelog
boblail authored
799 Added `browser.source` which returns the unmodified source of
800 the current page (Bob Lail).
801
802 Added support for the Referer header (Vinicius Baggio).
803
ddf2851 @boblail updated changelog
boblail authored
804 If cookies do not specify a path, they are set to the root path
805 rather than to the request path (Bob Lail).
806
807 Cookies are allowed to specify paths other than the request path
808 (Bob Lail).
809
ffc09ac @assaf We still need a document element when response body is empty.
assaf authored
810 Ensure fields are sent in the order they are described (José Valim).
811
812 Fix parsing of empty body (Vinicius Baggio).
813
ac8f5cc @assaf Zombie now sends V0 cookies (Assaf Arkin).
assaf authored
814 Add support for window.screen (Damian Janowski).
815
816 Zombie now sends V0 cookies (Assaf Arkin).
817
a34ff6e @assaf Don't run SSL test for now, since it depends on remote service.
assaf authored
818 Fix for loading scripts over SSL (Damian Janowski).
819
25ec4e2 @assaf Added window.resources to return all resources loaded by the page
assaf authored
820 Added `window.resources` to return all resources loaded by the page
821 (including the page itself). You can see what the page is up with:
822
823 browser.window.resources.dump()
824
825 Modified `lastRequest`/`lastResponse` to use the window resources, fixed
826 `browser.status` and `browser.redirected` to only look at the page
827 resource itself.
828
45aba85 @assaf Added specs or Zombie protocol.
assaf authored
829 282 Tests
830 4.3 sec to complete
ffc09ac @assaf We still need a document element when response body is empty.
assaf authored
831
832
f3c6a87 @assaf Today is the 13th.
assaf authored
833 ### Version 0.8.10 2011-01-13
8c590b1 @assaf Updated changelog.
assaf authored
834
835 Allow setting cookies from subdomains (Damian Janowski & Michel Martens).
836
837 Modified `browser.fire` to fire MouseEvents as well (Bob Lail).
838
839 Added `window.title` accessor (Bob Lail).
840
bba4278 @assaf Fixed `window.navigator.userAgent` to return `userAgent` property
assaf authored
841 Fixed `window.navigator.userAgent` to return `userAgent` property (same
842 as sent to server) (Assaf Arkin).
843
17842a8 @assaf Added support for `alert`, `confirm` and `prompt`.
assaf authored
844 Added support for `alert`, `confirm` and `prompt` (Assaf Arkin).
845
9bbd3a0 @assaf Added accessors for status code from last respone
assaf authored
846 Added accessors for status code from last respone (`browser.statusCode`)
9778d9e @assaf The `visit`, `clickLink` and `pressButton` methods now pass three
assaf authored
847 and whether last response followed a redirect (`browser.redirected`)
848 (Assaf Arkin).
9bbd3a0 @assaf Added accessors for status code from last respone
assaf authored
849
9778d9e @assaf The `visit`, `clickLink` and `pressButton` methods now pass three
assaf authored
850 The `visit`, `clickLink` and `pressButton` methods now pass three
851 arguments to the callback: error, browser and status code (Assaf Arkin).
852
853 265 Tests
854 3.7 sec to complete
8c590b1 @assaf Updated changelog.
assaf authored
855
856
857
43b4c33 @assaf Fixed Web site links to not require .html.
assaf authored
858 ### Version 0.8.9 2011-01-10
0ddf4ab @assaf Updated changelog.
assaf authored
859
860 Properly use the existance operator so empty strings are sent (José Valim).
861
9700c7c @assaf Upgraded to HTLM5 0.2.9.
assaf authored
862 Fix to XPath evaluation and sorting by document order (José Valim).
863
b3f816a @assaf Added documentation for new API methods unselect, selectOption and
assaf authored
864 Added `unselect`, `selectOption` and `unselectOption` to browser (Bob
865 Lail).
866
867 Added `cookies.clear` (Bob Lail).
868
869 You can now call browser methods that accept a selector (e.g. `fill`,
870 `select`) with the element itself.
871
872 Fix to populate fields even if field type is invalid (Bob Lail).
873
43b4c33 @assaf Fixed Web site links to not require .html.
assaf authored
874 Update to HTML5 0.2.12.
0ddf4ab @assaf Updated changelog.
assaf authored
875
b3f816a @assaf Added documentation for new API methods unselect, selectOption and
assaf authored
876 238 Tests
43b4c33 @assaf Fixed Web site links to not require .html.
assaf authored
877 3.2 sec to complete
0ddf4ab @assaf Updated changelog.
assaf authored
878
879
342aad8 @assaf Upgraded to JSDOM 0.1.23.
assaf authored
880 ### Version 0.8.8 2011-01-04
881
849d955 @assaf Fixes to eventloop and using resource queue for evaluating internal
assaf authored
882 Fixed script execution order: now in document order even when mixing
883 internal and external scripts.
884
342aad8 @assaf Upgraded to JSDOM 0.1.23.
assaf authored
885 Fixed image submit (José Valim).
886
f6f7b2b @assaf Updated changelog.
assaf authored
887 Ensure checkboxes are properly serialized (José Valim).
888
889 It should send first select option if none was chosen (José Valim).
890
849d955 @assaf Fixes to eventloop and using resource queue for evaluating internal
assaf authored
891 231 Tests
892 3.3 sec to complete
342aad8 @assaf Upgraded to JSDOM 0.1.23.
assaf authored
893
894
ac2607a @assaf Version bump.
assaf authored
895 ### Version 0.8.7 2011-01-04
587e537 @assaf Now supports HTTPS.
assaf authored
896
d6a9b3c @assaf Working on DOM Level 3 XPath support.
assaf authored
897 Adds DOM Level 3 XPath support.
898
e22f275 @assaf Added file upload: use browser.attach(selector, filename).
assaf authored
899 Added support for file upload: `browser.attach(selector, filename)`.
900
780e72b @assaf Send script errors to window.onerror and report them back to visit
assaf authored
901 Send script errors to `window.onerror` and report them back to `visit`
902 callback.
903
2e7a1a6 @assaf Added changelog entries.
assaf authored
904 Support `select` with multiple options (José Valim).
905
906 Fix handling of unknown input fields and select fields (José Valim).
907
4d1aa6e @assaf Fix issue 24, search and hash must be empty string not null.
assaf authored
908 Fix issue 24, search and hash must be empty string not null.
909
3514641 @assaf Added changlog entry.
assaf authored
910 Support Node 0.3.3 (thanks [Pete Bevin](http://www.petebevin.com/))
911
20f5cc9 @assaf Now using npm bundle to manage runtime/dev dependencies when working fro...
assaf authored
912 For the brave enough to hack a Zombie, we now support (and `cake setup`
913 assumes) `npm bundle`.
914
1cc9904 @assaf Added missing mime dependency.
assaf authored
915 224 Tests
916 3.1 sec to complete
d6a9b3c @assaf Working on DOM Level 3 XPath support.
assaf authored
917
587e537 @assaf Now supports HTTPS.
assaf authored
918
1fa8eae @assaf Handle server returning multiple Set-Cookie headers.
assaf authored
919 ### Version 0.8.6 2010-12-31
920
921 Now supports cookies on redirect (thanks [Łukasz
922 Piestrzeniewicz](https://github.com/bragi)).
923
924 Handle server returning multiple `Set-Cookie` headers.
925
7270e49 @assaf The clickLink and pressButton methods should always pass to callback
assaf authored
926 The `clickLink` and `pressButton` methods should always pass to callback
927 and not throw error directly.
928
587e537 @assaf Now supports HTTPS.
assaf authored
929 Now supports HTTPS.
930
1fa8eae @assaf Handle server returning multiple Set-Cookie headers.
assaf authored
931 198 Tests
932 2.6 sec to complete
933
934
483bdb1 @assaf Now using a concise implementation of Ryan Tomayko's most excellent
assaf authored
935 ### Version 0.8.5 2010-12-31
936
937 Re-implemented bcat in JavaScript, so no need to install bcat to use
938 Zombie.
939
940 197 Tests
941 2.6 sec to complete
942
943
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
assaf authored
944 ### Version 0.8.4 2010-12-30
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
assaf authored
945
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
assaf authored
946 Added `browser.field` (find an input field, textarea, etc),
947 `browser.link` (find a link) and `browser.button` (find a button)
948 methods.
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
assaf authored
949
0dc2552 @assaf Added viewInBrowser which uses bcat to view page in your browser of
assaf authored
950 Added `browser.evaluate` to evaluate any arbitrary JavaScript in the
951 window context and return the result.
952
953 Added `browser.viewInBrowser` which uses `bcat` to view page in your
954 browser of choice.
955
956 197 Tests
957 2.6 sec to complete
b80c3e8 @assaf Added the `field` (find an input field, textarea, etc), `link` (find
assaf authored
958
959
3916a43 @assaf Fixed issue 13: Zombie now shares global variables between scripts.
assaf authored
960 ### Version 0.8.3 2010-12-30
961
962 Zombie now shares global variables between scripts.
963
964 199 Tests
965 2.4 sec to complete
966
d47f086 @assaf Fix JSDOM queue and with it issue #6.
assaf authored
967
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
968 ### Version 0.8.2 2010-12-30
7a0bfdd @assaf Fixed bug where Zombie hangs when making requests to URL that have
assaf authored
969
648e3ea @assaf Version bump.
assaf authored
970 Fixed bug whereby Zombie hangs when making requests to a URL that has no
7a0bfdd @assaf Fixed bug where Zombie hangs when making requests to URL that have
assaf authored
971 path (e.g. `http://localhost`).
972
973 198 Tests
974 2.5 sec to complete
975
976
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
977 ### Version 0.8.1 2010-12-29
981d8aa @assaf Added User-Agent string. You can change it by setting the browser
assaf authored
978
979 Added User-Agent string. You can change it by setting the browser
980 option `userAgent`.
981
982 There was an error with `browser.location`: documentation said it
983 returns a `Location` object but also just a URL. Since `Location`
984 object is more consistent with `window.location`, accepted that
985 interpretation.
986
987 `Location.assign` did not load a page if the page was already loaded
2d291fe @djanowski Whitespace.
djanowski authored
988 in the browser. Changed it to load the page (add caching later on).
981d8aa @assaf Added User-Agent string. You can change it by setting the browser
assaf authored
989
990 196 Tests
991 2.6 sec to complete
992
993
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
994 ### Version 0.8.0 2010-12-29
b6c883a @assaf Fixed wrong location of package.json.
assaf authored
995
46dd292 @assaf Added exact version dependencies in package.json and Cakefile.
assaf authored
996 Fixed issue 8, wrong location of package.json.
b6c883a @assaf Fixed wrong location of package.json.
assaf authored
997
18f82b3 @assaf Version bump.
assaf authored
998 Upgraded to JSDOM 0.1.22 and using HTML5 parser throughout.
999
f01e132 @assaf Added browser.runScript option. Set to false if you don't want the
assaf authored
1000 Added browser.runScript option. Set to false if you don't want the
1001 browser to execute scripts.
1002
be9554b @assaf You can now set browser options when initializing a new browser, on
assaf authored
1003 You can now set browser options when initializing a new browser, on
1004 existing `Browser` object or for the duration of a request by passing
1005 them as second argument to `visit`.
1006
88d2364 @assaf Browser now has a property called `debug` that you can set to
assaf authored
1007 Browser now has a property called `debug` that you can set to true/false
1008 (was a function), and separately a method called `log` that logs
1009 messages when debugging is enabled.
1010
d08ff54 @assaf Added new page covering the browser API.
assaf authored
1011 Added new page covering the browser API.
1012
be9554b @assaf You can now set browser options when initializing a new browser, on
assaf authored
1013 194 Tests
1014 2.5 sec to complete
18f82b3 @assaf Version bump.
assaf authored
1015
b6c883a @assaf Fixed wrong location of package.json.
assaf authored
1016
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1017 ### Version 0.7.7 2010-12-28
d47f086 @assaf Fix JSDOM queue and with it issue #6.
assaf authored
1018
2d291fe @djanowski Whitespace.
djanowski authored
1019 Fix JSDOM queue and with it issue #6.
d47f086 @assaf Fix JSDOM queue and with it issue #6.
assaf authored
1020
1021 189 Tests
1022 2.3 sec to complete
1023
1024
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1025 ### Version 0.7.6 2010-12-28
2edf72d @assaf HTML5 doesn't play nice with JSDOM, bringing back html-parser to
assaf authored
1026
1027 HTML5 doesn't play nice with JSDOM, bringing back html-parser to handle
1028 innerHTML (full document parsing still handled by HTML5).
f4800b4 @assaf Previous fix for document.write was incomplete, this one works
assaf authored
1029
92ab434 @assaf Added documentation page for CSS selectors.
assaf authored
1030 Added documentation page for CSS selectors.
2d291fe @djanowski Whitespace.
djanowski authored
1031
92ab434 @assaf Added documentation page for CSS selectors.
assaf authored
1032 Man pages now moved to section 7.
2d291fe @djanowski Whitespace.
djanowski authored
1033
92ab434 @assaf Added documentation page for CSS selectors.
assaf authored
1034 Added zombie.version.
1035
2edf72d @assaf HTML5 doesn't play nice with JSDOM, bringing back html-parser to
assaf authored
1036 189 Tests
1037 2.3 sec to complete
92ab434 @assaf Added documentation page for CSS selectors.
assaf authored
1038
1039
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1040 ### Version 0.7.5 2010-12-28
92ab434 @assaf Added documentation page for CSS selectors.
assaf authored
1041
f4800b4 @assaf Previous fix for document.write was incomplete, this one works
assaf authored
1042 Previous fix for document.write was incomplete, this one works better.
1043
1044 189 Tests
1045 2.5 sec to complete
1046
1047
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1048 ### Version 0.7.4 2010-12-28
778e0d8 @assaf Now parsing documents using HTML5, which can deal better with tag soup
assaf authored
1049
1050 Now parsing documents using HTML5, which can deal better with tag soup.
e3f5743 @assaf Fixed naming issue: browser.last_request is now lastRequest, same for la...
assaf authored
1051
901d806 @assaf Added support for scripts that use document.write.
assaf authored
1052 Added support for scripts that use document.write.
1053
8f851ca @assaf Added troublehsooting guide.
assaf authored
1054 Added troublehsooting guide.
1055
e3f5743 @assaf Fixed naming issue: browser.last_request is now lastRequest, same for la...
assaf authored
1056 Fixed naming issue: browser.last_request is now lastRequest, same for
1057 lastResponse and lastError.
1058
778e0d8 @assaf Now parsing documents using HTML5, which can deal better with tag soup
assaf authored
1059 189 Tests
901d806 @assaf Added support for scripts that use document.write.
assaf authored
1060 2.5 sec to complete
778e0d8 @assaf Now parsing documents using HTML5, which can deal better with tag soup
assaf authored
1061
e3f5743 @assaf Fixed naming issue: browser.last_request is now lastRequest, same for la...
assaf authored
1062
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1063 ### Version 0.7.3 2010-12-27
26c7106 @assaf Fixed non-sensical error message when selector fails matching a node (`f...
assaf authored
1064
1065 Fixed non-sensical error message when selector fails matching a node
1066 (`fill`, `check`, `select`, etc).
1067
3101e7d @assaf Added debugging to help you figure out what's happening when tests run:
assaf authored
1068 Added debugging to help you figure out what's happening when tests run:
1069 - Call `browser.debug` with a boolean to turn debugging on/off.
1070 - Call `browser.debug` with a boolean and function to turn debugging
1071 on/off only while calling that function.
1072 - Call `browser.debug` with multiple arguments to print them (same as
1073 `console.log`).
1074 - Call `browser.debug` with a function to print the result of that
1075 function call.
1076
2d15917 @assaf Added an all revealing browser.dump: history, cookies, storage, document...
assaf authored
1077 Added an all revealing browser.dump: history, cookies, storage,
1078 document, etc. Simply call:
1079 browser.dump
1080
b91e7a8 @assaf Testing that Zombie.js can handle jQuery live form submit event. Yes it...
assaf authored
1081 Testing that Zombie.js can handle jQuery live form submit event. Yes it
1082 can!
1083
1084 185 Tests
1085 1.8 sec to complete
1086
26c7106 @assaf Fixed non-sensical error message when selector fails matching a node (`f...
assaf authored
1087
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1088 ### Version 0.7.2 2010-12-27
b3c536d @assaf Fixed an issue with history/location; window.location now returns
assaf authored
1089
1090 In CoffeeScript 1.0 loops no longer try preserve block scope when
1091 functions are being generated within the loop body. Unfortunately, this
1092 broke a bunch of stuff when running Zombie from CoffeeScript source. It
1093 had effect when running the compiled JavaScript.
1094
1095 Changed: window.location now returns the same Location object until you
1096 navigate to a different page.
1097
1098 183 Tests
1099 1.8 sec to complete
1100
1101
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1102 ### Version 0.7.1 2010-12-22
39a12a8 @assaf Removed CoffeeScript from runtime dependencies.
assaf authored
1103
1104 Removed CoffeeScript from runtime dependency list.
1105
1106
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1107 ### Version 0.7.0 2010-12-22
2e14582 @assaf Added `querySelector` and `querySelectorAll` based on the [DOM
assaf authored
1108
1109 Added `querySelector` and `querySelectorAll` based on the [DOM Selector
1110 API](http://www.w3.org/TR/selectors-api/). Use this instead of `find`
1111 method.
1112
8473a74 @assaf Browser is now an EventEmitter, you can listen to drain (event queue
assaf authored
1113 Browser is now an EventEmitter, you can listen to drain (event queue
1114 empty), error (loading page) and loaded (what is says).
1115
2d55b46 @assaf You can now use `pressButton` with inputs of type button and reset
assaf authored
1116 You can now use `pressButton` with inputs of type button and reset
1117 (previously just submit).
1118
5234ecf @assaf Added documentation for using CSS selectors.
assaf authored
1119 More, better, documentation.
1120
2d55b46 @assaf You can now use `pressButton` with inputs of type button and reset
assaf authored
1121 187 tests
2e14582 @assaf Added `querySelector` and `querySelectorAll` based on the [DOM
assaf authored
1122 2.0 sec to complete
1123
1124
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1125 ### Version 0.6.5 2010-12-21
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1126
1127 Fixed lack of JavaScript source code: CoffeeScript moved to src,
1128 JavaScript compiled into lib, life is grand again.
1129
1130 Changelog is now Markdown file and part of the documentation.
1131
1132
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1133 ### Version 0.6.4 2010-12-21
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1134
1135 First documentation you can actually use.
1136
1137
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1138 ### Version 0.6.3 2010-12-21
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1139
1140 Fixed documentation link.
1141
1142 `man zombie`
1143
1144
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1145 ### Version 0.6.2 2010-12-21
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1146
1147 First NPM release.
1148
1149 Started working on documentation site.
1150
1151 Added cake setup to get you up and running with development dependencies.
1152
1153 Remove Vows as runtime dependency. Use whichever framework you like. Moved
1154 sizzle.js from dep to vendor. Moved scripts used during tests to
1155 spec/.scripts.
1156
1157 178 tests
1158 1.8 sec to complete
1159
1160
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1161 ### Version 0.6.1 2010-12-20
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1162
1163 Changed browser.cookies from getter to function that accepts cookie domain
1164 (host and port) and path, and returns wrapper to access specific cookie
1165 context.
1166
1167 Fixed: browser now creates new window for each new document.
1168
1169 Added window.JSON.
1170
2e14582 @assaf Added `querySelector` and `querySelectorAll` based on the [DOM
assaf authored
1171 178 tests
1172 1.8 sec to complete
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1173
1174
71ad9f8 @assaf Added magical zombie girl and PDF.
assaf authored
1175 ### Version 0.6.0 2010-12-20
e05c3f6 @assaf Fixed lack of JavaScript source code: CoffeeScript moved to src,
assaf authored
1176
1177 First release that I could use to test an existing project.
1178
1179 Supports for navigation, filling and submitting forms, and selecting document
1180 content using Sizzle. Browser features include evaluating JavaScript (jQuery,
1181 Sammy.js), timers, XHR, cookies, local and session storage.
1182
1183 Still very rough around the edges.
1184
2e14582 @assaf Added `querySelector` and `querySelectorAll` based on the [DOM
assaf authored
1185 175 tests
1186 1.8 sec to complete
Something went wrong with that request. Please try again.