jQuery 1.4 Released! (Let's have an end-to-end testing party)

Query 1.4 was released as final on January 14, 2010, at 1pm (or so) EST.  The day it came out, I went to my boss and said "let's update! Woohoo! I'll order some cake" and he (yeah, yeah, rightfully) said "we need to discuss implications." Which was a good thing, because- well, why should we even bother with the days of testing that it'll require to switch out our framework?

I did some research, and there are some very, very compelling reasons. Here's what I wrote to our team:

We may want to look at updating, or at least putting it in and testing, soon.

Benefits of upgrading: * Performance updates * IE fixes, including some fixes to IE event bubbling * Includes extra API calls and additions to existing functions * Maintaining possibility to use new plugins as they are created for the latest version of jQuery * Better handling for events (outside of just IE)- we can (should) refactor and reduce a lot of our jQuery code using events * Better support for multiple simultaneous animations * More granular "does my browser support X" checks

The downside is that we're going to have to do pretty thorough testing in all browsers to make sure that the update hasn't broken anything. The main areas to hit will be places that plugins are used:

  • Autocomplete for country/state
  • Loading screen in DE / Admin
  • Media plugin that sets up flash for Audio Guest Book in display
  • Simple Uploader
  • Help boxes in DE

We'll need to spot-check around other areas of the site for javascript errors as well. jQuery still supports the same browsers- FF 2+, IE 6+, Safari 3+, Opera 9+, Chrome 1+ ( so we shouldn't expect any new weirdness in archaic browsers like IE6.

More information about the update can be found at:

Also: "15 new features you must know":

(Lower is better): Performance of .html()Performance of .remove() and .empty()

Performance of .css()

Performance of DOM Insertion

# of
Function Calls for Popular jQuery Methods

Posted .