Day Twelve
Monday, January 25, 2010
jQuery 1.4.1 Released
jQuery 1.4.1 is now out! This is the first bug fix release on top of jQuery 1.4, fixing some outstanding bugs from the 1.4 release and touching up some gaps in the API.
I would like to thank the following people that provided patches for this release: Ben Alman, Mike Alsup, Irae Brasil, Matt Curry, Robert Katić, Michael Monteleone, and Karl Swedberg.
Downloading
As usual, we provide two copies of jQuery, one minified (we now use the Google Closure Compiler as the default minifier) and one uncompressed (for debugging or reading).
- jQuery Minified (23kb Gzipped)
- jQuery Regular (157kb)
You can feel free to include the above URLs directly into your site and you will get the full performance benefits of a quickly-loading jQuery.
New Features
A full list of the API changes can be found in the 1.4.1 category on the jQuery API site.
- .live(“focus”) and .live(“blur”) now work – mapping to .live(“focusin”) and .live(“focusout”). (Documentation, Ticket)
- .live(“hover”) now exists, mapping to .live(“mouseenter mouseleave”). (Documentation, Ticket)
- It’s now possible to bind multiple event types with live. (Documentation, Ticket)
- Calling .die() (with no arguments) removes all bound live event handlers. (Documentation, Ticket)
- .height( function ) and .width( function ) now exist. (Height Documentation, Width Documentation, Ticket)
- jQuery.parseJSON has been exposed, allowing you to parse JSON strings into JavaScript objects. (Documentation, Ticket)
- jQuery.error has been exposed, to be used by plugin developers to provide informative user feedback. (Documentation, Ticket)