Comments:"jQuery 1.10.0 and 2.0.1 Released | Official jQuery Blog"
URL:http://blog.jquery.com/2013/05/24/jquery-1-10-0-and-2-0-1-released/
It’s a wonderful day for a software release. Such a wonderful day, we’re doing two software releases! Today it’s jQuery 1.10.0 and jQuery 2.0.1 making their debut — five years to the day after jQuery 1.2.6 was released.
A simultaneous release isn’t always easy, but it can be very satisfying. The team is certainly satisfied with this duo of deliveries; those of you who have already upgraded to the 1.9/2.0 level should have an easy time with these versions. If you’re upgrading older code, the advice in the jQuery 1.9 upgrade guide still applies to these two releases as well. Also don’t forget that jQuery. 2.0 doesn’t support IE 6, 7, or 8 since we’re leaving that work to the 1.x branch. If you need some help updating or keeping older pre-1.9 jQuery code going, don’t forget about the jQuery Migrate plugin.
As always, the latest versions are all available on our download page.
What’s new? Our main goal with these two releases is to synchronize the features and behavior of the 1.x and 2.x lines, as we pledged a year ago when jQuery 2.0 was announced. Going forward, we’ll try to keep the two in sync so that 1.11 and 2.1 are feature-equivalent for example. We don’t anticipate you’ll find any of these to be disruptive changes. Here are a few highlights:
Relaxed HTML parsing: You can once again have leading spaces or newlines before tags in $(htmlString)
. We still strongly advise that you use $.parseHTML()
when parsing HTML obtained from external sources, and may be making further changes to HTML parsing in the future.
Increased modularity: In either version, you now can do a custom build that excludes the .wrap()
, .wrapAll()
, .wrapInner()
and .unwrap()
methods. If all your code is using the newer .on()
event methods introduced in jQuery 1.7, you can also exclude .bind()
and .delegate()
as well. The builds available on the jQuery, Google, and Microsoft CDNs continue to include all methods to provide maximum compatibility.
No more IE9 focus of death: If a page inside an iframe attempts to focus an element or even tries to read document.activeElement
before the page is ready, it causes an error. We now work around this issue.
Cordova bug fix in 2.0.1: The Cordova deviceready
event doesn’t properly set an event target, so we work around the problem by setting the target to document
.
Many thanks to the people who contributed work to jQuery 1.10.0 or jQuery 2.0.1: Brandon Johnson, Chris Talkington, Dmitry Gusev, James Burke, Jason Bedard, Julian Aubourg, Kyle Robinson Young, Mark Raddatz, Michał Gołębiowski, Nguyen Phuc Lam, Oleg Gaidarenko, Renato Oliveira dos Santos, Richard Gibson, Rick Waldron, Scott González, Timmy Willison, Timo Tijhof, and Tom H Fuertes.