Day Twelve
Today's News
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)
Bug Fixes
jQuery 1.4 Hawtness #5, with Paul Irish
The fifth of six installments, Paul walks you through the improvements and additions to the API in jQuery 1.4. He demonstrates with real-world examples how you’ll put these new features to use, along with recommendations on performance and useful hints on the internals.
In Hawtness #5, Paul covers the new hawt element creation syntax, and detach(), data(), toggleClass(), contains(), the Zen-ness of jQuery.noop, and why index() has so much more awesome now. The code discussed in ep #5 is viewable and forkable on github





