jquery/ChangeLog.txt

48 lines
3.4 KiB
Plaintext
Raw Normal View History

2006-12-11 15:32:53 +01:00
New and Noteworthy
-----------------
1.1
-----
2006-12-23 18:43:30 +01:00
- Massive speed-ups (4x-10x) in the selector engine
2007-01-03 16:16:14 +01:00
- jQuery is no longer destructive. Doing var a = $("a"); a.find("span"); does not change the original "a" variable.
- Removed .oneEvent() and .unEvent() helper methods.
- Added new .one( "type", fn ) method
- Performming .click(), .blur(), .focus(), .submit() will actually trigger the browsers default action for those events.
- Fixed synchronous requests
- $.get, $.getIfModified, $.post, $.getScript and $.getJSON now all pass through the XMLHttpRequest as returned by $.ajax
- Improved AJAX docs (eg. more examples for $.ajax)
- Improved event fixing (Opera provides event.srcElement, must ignore it if target is available; only create pageX if clientX is available)
2006-12-23 18:43:30 +01:00
- Fixed ID with context selectors (eg. div #id doesn't ignore "div" anymore)
- Fixed nth-child selectors to start on the right number
- Improved jQuery.merge to avoid unnecessary loops
2007-01-03 16:16:14 +01:00
- Removed the (undocumented) .find( "selector", fn ) for all destructive methods.
2006-12-20 14:10:29 +01:00
- Fixed docs for html(): Now mentions that is not available for XML documents
- Improved docs for blur() and focus(), mentioning the difference between calling the jQuery method and the DOM method
- Implemented a better error handling for ajax requests. Exceptions caused by dropping connections are now handled, too.
2006-12-22 15:40:46 +01:00
- Added global settings for AJAX (in addition to timeout), use $.ajaxSetup() to modify them
2006-12-23 18:43:30 +01:00
- You can now unbind event handlers from within themselves
- Documented filter(Function), a very powerful approach for custom filtering
- Improved docs for FX module, merging method descriptions and marking optional arguments
- Improved docs for append, prepend, before and after, merging the three pairs into one
2007-01-08 00:42:15 +01:00
- Improved show/hide animations to show only hidden and hide only visible elements
- Added attr(String,Function) to calculate the value and support for attr("key", "${formula}") syntax, a shortcut for the former
- text(String) now escapes HTML per default and optionally stris tags completely
1.0.4
-----
- Tons of bug fixes
- Extensions to $.ajax: $.ajax accepts additonal options: beforeSend, async and processData; returns XMLHttpRequest to allow manual aborting of requests, see docs for details
- 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
- New global ajax handler: ajaxSend - called before an ajax request is sent
- Extensions to global ajax handlers: ajaxSend, ajaxSuccess, ajaxError and ajaxComplete get XMLHttpRequest and settings passed as arguments
- Extensions to event handling: pageX and pageY are available x-browser (IE does not provide native pageX/Y)
- Improved docs: $(String) method has now two seperate descriptions, one for selecting elements, one for creating (html on-the-fly)
- 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)
- Added note to attr(String, Object) about issues with setting the name property on input elements
- Seperated internal stuff from get() into set()
- Merged the two API examples for each() into one more precise example
- Improved docs for $.browser and added docs for $.boxModel
2006-12-23 18:43:30 +01:00
- Docs for the jQuery constructor $() were improved: There is now $(String expression[, Object context]) and $(String html)