DEVELOPMENT

Devs welcome jQuery 2.0 release

10:09 Tuesday Apr 23, 2013

jQuery 2.0 ditches support for
old versions of IE and becomes
12 per cent smaller in the process

Positive response to future-looking jQuery that ditches support for old browsers

As announced on the Official jQuery Blog, JavaScript library jQuery 2.0 has arrived. The main change appeared to be ditching support for older versions of Internet Explorer: jQuery 2 runs only on IE9 and newer, leaving legacy support in the hands of the (still maintained) 1.x branch.

The upshot of this change has been a reduction in file size. The jQuery team stated the final 2.0.0 file is 12 per cent smaller than the 1.9.1 file, mostly due to the “elimination of patches that were only needed for IE 6, 7 and 8”. Android 2.x support is reportedly now also in the firing line, with market-share being closely monitored, until Android 2.x can be crossed off the support list. “We don’t expect it to take very long,” remarked the blog post.

Developers .net spoke to seemed positive about the new release. “I was very pleased to see that jQuery 2.0 has made such significant improvements to the overall build size,” thought Addy Osmani, Developer Programs Engineer at Google. “A 12 per cent decrease is no small feat, and with so many developers focusing on shaving off bytes on network requests for mobile, the availability of a minimalist 10 KB (gzipped) build is fantastic.”

Osmani added that “dropping ‘oldIE’ support was also welcome,” and inline with the web community’s “march towards optimising for modern web browsers”. Developer and writer Jack Franklin agreed that the latest release was “great news for those developers lucky enough to not have to support older browsers,” but he wanted to emphasise jQuery’s consideration for those who aren’t so fortunate: “For those of us—like me—who still have to support those browsers, we won't notice the difference, because the jQuery team will continue to support, maintain and develop 1.x in tandem with 2.x, with 1.x including the legacy browser support.”

On that basis, Franklin noted that developers should carefully examine their needs rather than immediately move to the new: “If you still need legacy IE support, stick to 1.x. If you don't, move to 2.x. There are plenty of bug fixes and improvements along with the file-size saving, and the API will be identical across the two versions.” He added that the jQuery team also deserved credit from those making the leap: “Migrating is also really straightforward, with the migrate plug-in that will point out places in your code where you're using deprecated methods.”

By Craig Grannell on April 19, 2013
www.netmagazine.com

 

< Back

    Add your comment

    We aim to have healthy debate. But we won't publish comments that abuse others

    1200 characters left

     

     

    LATEST NEWS

     
      

    © copyright 2013 Website News. All rights reserved.

     

    SECTIONS

    ABOUT

    SUBSCRIBE

     

    Website News is for and about the website design, development, marketing industry. We will endeavor to bring you up-to-date news and information to help you in your work as well as give you useful information and tips for your clients and their businesses.

    We are always keen for you to submit any information you find from elsewhere, or about your business, that you feel will be relevant.

     

     

     

     

    Contact Us:

    For advertising enquiries or to submit a story, please email us at: editor@websitenews.co

     

    Login

    Website News

    Sign-up to Website News and create your universal Woogloo ID

    Your details

    Your login details

    Your address


    Is your address not being found?

    Company

    Company address

    Yes No


    To register on the Website News website you either need to use your
    exisitng Woogloo ID or create a new one (see below).

    Sign Up

    Why sign up?

    • Get access to Registered User's priviledges, which may include hidden pages, special features and special pricing, if they exist, on this website.
    • Get access to all sites powered by Woogloo V3 without having to enter your details everytime.

    Login Error

    Forgot your password?

    Enter your email address below and click 'Reset Password' Button




    What is a Woogloo ID

    Logging in...