
Happy 5th jQuery! jQuery first saw the light of January 14, 2006 and today reached the 5-year mark of its existence to the delight of web developers!
To celebrate this festive event, the development team decided to release a beta version of jQuery 1.5! And they
promise to release the pre-release and final release within 10 days and until the end of the month, respectively.
Also, taking this opportunity, they decided to announce the addition of 3 new developers to
the jQuery
core development team : Julian Oborg, Colin Snover and Anton Matsneler. All of them were the main participants in the development of jQuery before the release of 1.5, bringing a significant contribution to the code, fixing errors and setting priorities. So welcome!
The team is grateful to all members of the jQuery community who helped get this beta release, and especially to those
who helped correctly state the importance of every bug that was noticed.
')
In addition, the jQuery team encourages everyone from the community to further
assist in support in the jQuery kernel. A
separate information page has been created to encourage more employees. The team is here and ready to help you participate in the development of jQuery!
So without further ado - jQuery 1.5 Beta 1!
Source code can be obtained from the traditional jQuery CDN:
Everyone can help testing the new release presented in your development, and in case of errors,
let them know about it , just remember to mention that you are testing jQuery 1.5 Beta 1.
List of changes:- Rewrote Ajax module by Julian Oborg. This is the most significant change in the current release, aimed at significant speed, stability and empowerment to work with $ .ajax # 7195
- Added support for subclassing # 7901
- Neutralized the possibility of conflicts of additional (expando) lines when using noConflict (V8 is now even faster!). Additional lines are now built using a random number counter and a jQuery version in order to delimit copies of jQuery instead of the previously used timer # 6842
- Removed duplication code in $ .get and $ .post # 7847
- When a browser's native DOM event occurs, you need to make sure that this is reflected in the jQuery Event object # 7793 isDefaultPrevented
- Non-html lines in buildFragment are no longer cached. This is done to prevent object method names from conflicting, such as, for example, toString. Testing has shown that it also gives a modest performance gain. # 6779
- The cloneCopyEvent event has been updated, so now no extra objects will be created when cloning elements. This innovation provides us with a new method - $ .hasData - to determine if the object contains data or not. # 7165
- The for ... loop is used instead of for / in ... loop when copying events, and therefore the code will work with the advanced Array.prototype # 7809 , # 7817
- Fixed fadeIn method that did not work with inline elements # 7397
- The cloning function for IE was rewritten in order for it to work in all known cases # 4386 , # 5566 , # 6997
- Fixed IE crash when handling the submit event for simple javascript methods. # 6398
- Fixed a 1.4 regression related to incorrect caching controls for transport. # 7578
- Improved get () performance for negative indexes # 5475
- Fixed methods hasClass, removeClass - in IE they did not work when the attribute contained a carriage transfer character (\ r) # 7673
- Fixed regression in 1.4.4, when the $ .fn.data call with no arguments was interrupted for non-DOM elements # 7524
- Fixed memory leaks in IE associated with manual processing of the abort function in $ .ajax # 6242
- Live events for inactive (disabled) elements in IE # 6911 are prevented
- Fixed regression in 1.4.3, with which there were problems in sending the Location object to $ .ajax # 7531
- Fixed an issue where some workarounds performed unnecessary uniqueness checks. # 7964
- Support for specifying a callback function to handle specific HTTP status codes # 4964
- Fixed problem when ?? not supported as a context-independent pointer for the name of the callbcak function of a JSONP request # 4897
- The data returned from the dataFilter was not transferred to the call (callback) function of the Ajax request complete (). Now for the actual answer, the promised interface jXHR is used (see here - approx. Transl.)
- Now buildFragment clones elements in all browsers correctly # 6655 , # 3879
- Memory leak is prevented when assigning custom events in IE8 # 7054
- The lines in the form data are now separated by a CRLF line feed when the form is submitted (via submit). By the way, this is W3C recommendation # 6876
- Ajax requests are now interrupted during upload, because the event can only be locked when the xhr transport is used
- Fixed support =? even when the data was serialized. # 5812
- When a user uses jsonpCallback, the data type is automatically set to jsonp # 5803
- The crossDomain option is now the default in ajax requests, implying that this is a cross-domain request, even if it is not really so. This is useful in cases where servers redirect to cross-domain URLs # 5955
- $ .ajax (this) allows to repeat requests without recursion errors, which were in 1.4.3 # 7461
- Removed patch for very early versions of Opera 9, which made animation effects impossible when working with values ​​smaller than -10000 # 7193
- ResponseText now works correctly for errors in callback functions # 7868
- The onload handler passes the event as the first parameter, so statusText is now passed as in the second to handle execution interrupts # 7865
- In order to work properly with xhr, setting the contentType value to false now prevents sending a Content-Type header # 7465
- Text serialization now encodes all CRLF line breaks for each application / x-www-form-urlencoded specification #
- Fixed bug with IE6 when event handlers created a so-called interstitial memory leak. # 7762
- The test for detecting cross-domain requests now includes checking the protocol, host name and port # 7565
- Fixed an issue where identifiers (id attribute) containing a dot interrupted find () without returning results. # 7533
- Fixed inoperative regression from next / adjacent selectors in cases with no element prev # 7452
- Version 1.4.3 regression has been fixed, preventing the use of attr () with any non-DOM values ​​when nodeType = 1 # 7452 , # 7500
- Fixed bug when connecting jQuery 1.3.2 gave incorrect display of the right edge of the screen in IE8 # 5575
- Fixed a problem that occurred when adding additional methods to Array.prototype and using jQuery.clone (true) to clone an element, which affected the incorrect binding of events. # 6355
- Fixed problem when nth-child did not correctly perceive space characters in IE # 7558
- Fixed bug, mouseenter / leave code worked as mouseover / out when using live events. # 5821
- Fixed regression in 1.4.3 when the eq () selector did not work with previous (previous) and adjacent selectors # 7906
- Updated documentation for event.currentTarget to resolve confusion with jQuery.proxy # 7628
- Fixed a bug where xhr.setRequestHeader ("Accept", ...) added a value instead of replacing it. # 6230
- An error in IE is allowed when ajax methods cause an error for content types ending in xml (for example, rss + xml) # 4958
- Updates for ajax now allow you to interrupt any request. # 3442
- An error with .slideUp () in Firefox 3.6.11 is allowed, hiding the frame border earlier, but leaving any other content that is not blocked by other elements # 7308
- Added support for cross-browser parsing XML # 6693
- Fixed bug when using dataType: “json” in .ajax () methods when data was undeclared in IE6 / 7 # 6106
- Fixed bug when using JSONP calls when script tags were not removed after a call. # 7418
- Documentation has been updated to clarify the behavior when using delay () and show (), in cases where the delay is not specified # 7543
Additional information can be found
here .