proposed upgrades to jQuery, jQueryUI, and QUnit

Justin Obara obara.justin at gmail.com
Fri Sep 13 08:34:16 EDT 2013


We are in the midst of planning an upcoming Infusion 1.5 release. One of the major tasks will be to upgrade our versions of jQuery, jQueryUI and QUnit.

For jQueryUI and QUnit, we should just take the latest available at the time we do the upgrade. Currently that is jQueryUI 1.10.3 and QUnit 1.12.0. jQuery, however, is now supporting two versions. A 1.x line and a 2.x line. While both have the same API and general feature set, the 2.x line removes IE support below IE9. This blog post has more information about the different versions of jQuery, http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/ . For the time being we'll probably still want to support IE8 in Infusion. This means we should pick up the latest 1.x release, currently 1.10.2. 

The major benefit to taking the 2.x line from jQuery will be that it is smaller and faster. For our users who do not need to support older versions of IE this could be a real benefit. Fortunately our build system already supports us excluding dependencies, meaning that an integrator could create a package of infusion without jQuery and slot in their own copy from the 2.x line. Since the API's are supposed to be the same, this should work. Another alternative would be to allow integrators to build an Infusion package with either version of jQuery. Although this would require changes to our current build system and possibly carrying around two copies of jQuery in our repo.

Please let us know your thoughts on all of these options.

Thanks
Justin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idrc.ocad.ca/pipermail/fluid-work/attachments/20130913/31f48ade/attachment.html>


More information about the fluid-work mailing list