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