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