New jQuery 1.5 Released
New jQuery 1.5 Released, awesome! We love jQuery anf get real excited about new versions being released and can’t wait to tell you whats new with jQuery!
This release saw 83 fixed bugs and a total of 460 closed tickets!!!
New jQuery Download Links
Additionally you can also load the URLs directly from Microsoft and Google’s CDNs:
Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.min.js
Google CDN: https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js (Note: This URL is not live at the time of this blog post, but should be up soon.)
Info about the new jQuery Release
The test suite (which now has 4437 tests) passes in all the browsers that jQuery supports – and more. We verified the suite passing all of the following browsers:
* Safari 5.0.3 / 4.0.5 / 3.2.3 / 3.1.2
* Opera 11.01 / 11 / 10.63 / 10.54 / 10.10 / 9.64
* IE 6 / 7 / 8
* Firefox 4.0b9 / 3.6.13 / 3.5.11 / 3.0.19 / 18.104.22.168
* Chrome 8.0.552.215 / 8.0.552.237 / 9.0.597.67 Beta / 10.0.642.2 Dev
Easily the largest change in this release is the complete rewrite of the Ajax module in jQuery. This rewrite helps to fix a lot of gaps that existed in the old Ajax system along with providing a higher level of consistency across the API.
Along with the rewrite of the Ajax module a new feature was introduced which was also made publicly available: Deferred Objects. This API allows you to work with return values that may not be immediately present (such as the return result from an asynchronous Ajax request). Additionally it gives you the ability to attach multiple event handlers (something that wasn’t previously possible in the Ajax API).
jQuery now exposes a new way in which you can create and modify a clone of jQuery – all while still taking advantage of the full jQuery API. For example, you could use it to override native jQuery methods without actually affecting the methods that other users would interact with – or even create encapsulated APIs for your plugins that avoid namespace collision.
Adjacent Traversal Performance
In this release we’ve also been able to improve the performance of some commonly-used traversal methods: .children(), .prev(), and .next(). The speed-ups that we’re seeing are quite substantial (potentially many many times faster, depending upon the browser).