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