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