jQuery 2.0 Leaves Behind Older IE Browsers
Written by Alex Armstrong   
Friday, 19 April 2013

JQuery 2.0 has been released. It is smaller and faster due to not supporting Internet Explorer prior to IE9, a move that pleases most developers.

Having to supporting all the existing browsers is a headache for developers. Internet Explorer 6 is such a headache that Microsoft itself has been campaigning to eradicate it.

The jQuery team has taken the decision not to let old versions of IE interfere with the performance of  "the modern web" any longer and jQuery 2.0 drops compatibility with IE 6, 7, and 8. The next browsers to go will be Android/WebKit 2.x, but currently Android 2.x market share precludes this.

 

 

The benefit of reducing support for old browsers is that the final  2.0.0 file is 12% percent smaller than the 1.9.1 file and developers can exclude combinations of 12 different modules to create a custom version that is even smaller.

In terms of  functionality,  jQuery 2.0 is API-compatible with 1.9, which when it was released in January 2013 had already removed a lot of old code to produce a streamlined API. The jQuery team aims to minimize divergence between the 1.x and 2.x branches and the main changes in 1.9 are all included in 2.0 and a jQuery 1.10 is expected to be released within a couple of months to incorporate the bug fixes and differences reported from both the 1.9 and 2.0 beta cycles.

The plan going forward is that the jQuery 1.x.x branch will continue to accommodate older browsers and to maintain feature parity between 1.10 and 2.0, 1.11 and 2.1, etc.

Not only is jQuery 2.0 smaller and faster, it can be used in JavaScript environments where the code needed for old-IE compatibility often causes problems of its own. Developers who are upgrading from a version before 1.9 are advised to use the  jQuery Migrate plugin, that was released at the same time as jQuery 1.9 to cope with problems arising from the changes made.  It not only provides warning when deprecated functionality is in use, it can also restore APIs to allow production code to continue running.

 

More Information

jQuery 2.0 released

Related Articles

New jQuery Releases

Getting Started With jQuery - CSS Selectors

Vanilla JS Used On More Sites Than jQuery 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

blog comments powered by Disqus

Banner


Can You Do The Regular Expression Crossword?
26/12/2014

This article, first published in February 2013, proved to be our most popular ever. For those who missed or, or who want to be reminded of it, here it is again. Programmers often say that regular expr [ ... ]



Fear And Loathing In the App Store 9 - The EFF Refuses Apple's Conditions
21/01/2015

The EFF has recently made it clear that Android is OK but iOS is just a step too far. It really, really, really doesn't like the conditions and argues that neither should you.


More News

Last Updated ( Friday, 19 April 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2015 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.