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