Added a number of additional speed gains (we now hold our own against Dojo and DOMQue...
[jquery.git] / ChangeLog.txt
1 == New and Noteworthy ==
2
3 == 1.2 ==
4
5 === 1.1.2 ===
6
7 * Event handlers (like element.onclick) are now removed when no more functions are bound to the event.
8 * Fixed DOM Manipulations for form elements.
9 * Fixed jQuery.isFunction to return false on nodes.
10 * Fixed jQuery.className.has, escaping regex characters in className (for metadata)
11 * Fixed an issue in IE where an event on a cloned element is fired during a .clone() inside of an event handler.
12 * Fixed IE ID selectors selecting by the name attribute.
13 * Change: Events are now internally stored in elem.$events rather than elem.events (due to a nasty bug relating to DOM 0 expandos).
14 * .attr('href') is now consistent in all browsers.
15 * @href is now consistent in all browsers.
16 * Fixed the slideDown flickering bug.
17 * Having a \r endline in $("...") caused a never-ending loop.
18 * Fixed IE6 AJAX memory leak
19 * Fixed bug in pushStack, reporting an element at [0] in a jQuery object with length 0
20
21 === 1.1.1 ===
22
23 * Setting the numerical value of a css property failed, for example: .css("opacity",0.5) (also occurred with zIndex, fontWeight)
24 * Calling $(..., jqobj) with a context of a jQuery object failed.
25 * Accessing a property on an element that doesn't exist caused an error, for example: $("#foobar").attr("id")
26 * Calling .load() without a callback caused an error.
27 * You couldn't cancel an event that was triggered using .trigger() or .click() (for example).
28 * .add()ing a single DOM element to a jQuery object was broken.
29 * Passing in undefined values to a $.post() caused weird errors to occur.
30 * Accessing child nodes within an xml document didn't work properly.
31 * jQuery.isFunction() was unable to reliably determine a function, in a cross-browser way.
32 * Triggering a .click() failed in IE.
33 * Triggered click handlers were executed twice in most browsers.
34 * A newline passed into $(...) caused Firefox to go into a never-ending loop.
35 * Calling $.post() without any data caused an error.
36 * Calling a descendant selector after a child selector caused strange results, for example: $("ul > li ul")
37 * Triggered events did not occur if an event handler was not bound for that event.
38
39 == 1.1 ==
40
41 * Massive speed-ups (4x-10x) in the selector engine.
42 * You can now unbind event handlers from within themselves
43 * Added new .one( "type", fn ) method
44 * text(String) now escapes HTML
45 * Added attr(String,Function) to calculate the value
46 * Performming .click(), .blur(), .focus(), .submit() will actually trigger the browsers default action for those events.
47 * Added global settings for AJAX (in addition to timeout), use $.ajaxSetup() to modify them
48 * Implemented a better error handling for ajax requests. Exceptions caused by dropping connections are now handled, too.
49 * Improved event fixing (Opera provides event.srcElement, must ignore it if target is available; only create pageX if clientX is available)
50 * Fixed nth-child selectors to start on the right number
51 * jQuery is no longer destructive. Doing var a = $("a"); a.find("span"); does not change the original "a" variable.
52 * Fixed synchronous requests
53 * Fixed ID with context selectors (eg. div #id doesn't ignore "div" anymore)
54 * Fixed docs for html(): Now mentions that is not available for XML documents
55 * Improved AJAX docs (eg. more examples for $.ajax)
56 * Documented filter(Function), a very powerful approach for custom filtering
57 * Improved docs for FX module, merging method descriptions and marking optional arguments
58 * Improved docs for append, prepend, before and after, merging the three pairs into one
59 * Improved show/hide animations to show only hidden and hide only visible elements
60 * Removed .oneEvent() and .unEvent() helper methods.
61 * Removed all CSS helper methods.
62 * Removed most attribute helper methods.
63 * Removed the (undocumented) .find( "selector", fn ) for all destructive methods.
64 * $.get, $.getIfModified, $.post, $.getScript and $.getJSON now all pass through the XMLHttpRequest as returned by $.ajax
65
66 == 1.0.4 ==
67
68 * Tons of bug fixes
69 * Extensions to $.ajax: $.ajax accepts additonal options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details
70 * AJAX module: the public $.ajax API is now used internally (for $.get/$.post etc.); loading scripts works now much more reliable on all browers except Safari
71 * New global ajax handler: ajaxSend - called before an ajax request is sent
72 * Extensions to global ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments
73 * Extensions to event handling: pageX and pageY are available x-browser (IE does not provide native pageX/Y)
74 * Improved docs: $(String) method has now two seperate descriptions, one for selecting elements, one for creating (html on-the-fly)
75 * FX module: Most inline stlyes added by animations are now removed when the animation is complete, eg. height style when animating height (exception: display styles)
76 * Added note to attr(String, Object) about issues with setting the name property on input elements
77 * Seperated internal stuff from get() into set()
78 * Merged the two API examples for each() into one more precise example
79 * Improved docs for $.browser and added docs for $.boxModel
80 * Docs for the jQuery constructor $() were improved: There is now $(String expression[, Object context]) and $(String html)