Blog » jQuery 1.2.1: Quick Fixes for 1.2
Posted September 16th, 2007 by John ResigjQuery 1.2.1 is a bug fix release for jQuery 1.2. You can view the full list of what was fixed on the bug tracker.
Downloading
- jQuery Minified (14kb with Gzipping)
- jQuery Packed (26kb)
- jQuery Regular (77kb)
If you wish to checkout the full release from the Subversion repository, you can do so by following the following instructions and checking out the source from the following location:
svn co http://jqueryjs.googlecode.com/svn/tags/1.2.1
Important Changes
Relative Animations
There was a serious error in the API for the new relative animations that caused a conflict with existing animation styles. To resolve this, in order to do a relative animation, you must now use the following syntax:
$(...).animate({ height: "+=50px", width: "-=20%", fontSize: "+=2em" });
With += meaning “Add to the current position” and -= meaning “Take away from the current position”.
.eq()
Due to some very-persuasive arguments, and a great deal of reconsideration, .eq() has been brought back. A great number of plugins rely on this single method - and the alternative provided by .slice() simply wasn’t as elegant a solution as what was originally provided.
September 17th, 2007 at 1:11 am
[…] 1.2.1. que corrige una serie de bugs detectados tras la salida de la reciente 1.2. Compártelo # « Demostración del poder de GoogleGWT […]
September 17th, 2007 at 2:18 am
[…] Ein Bug in den relative Animationen musste gefixt werden und .eq() ist wieder zurück (das durch .slice() ersetzt werden sollte). Schon sind wir bei jQuery 1.2.1. […]
September 17th, 2007 at 2:53 am
So is the Packer/ActiveX/Flash bug fixed? Or do we have to use the minified version with the patch?
http://dev.jquery.com/ticket/930
Also, are you planning on releasing alpha or beta versions in the future? It seems like the day after a major release there’s always an update. It would be nice to have a fully tested / stable version for production environments.
Great work on everything (including UI - looks very nice)!
September 17th, 2007 at 5:27 am
Thank you for the URI fix in $.ajax().
Pax.
September 17th, 2007 at 6:20 am
[…] jQuery 1.2.1: Quick Fixes for 1.2 (tags: uncategorized) […]
September 17th, 2007 at 6:59 am
[…] jQuery 1.2.1 釋出,修正了 這些 bug,官方 Blog 上的公告在這:jQuery 1.2.1: Quick Fixes for 1.2。 […]
September 17th, 2007 at 7:41 am
@Dave: You should use the minifed version, correct. As far as releases go: In the past we did alpha/beta releases but didn’t get nearly enough feedback. Users simply didn’t want to upgrade their applications to an alpha or beta library. So, instead, we’ve had much better luck drastically improving the quality of the test suite - which has been great in catching nearly all regressions. There were incredibly few regressions - only about 1-2, the rest being weird browser quirks. It was, actually, a rather solid release (IMO).
September 17th, 2007 at 10:05 am
@John: I’m using the minified version and it works great, thanks. Fair enough about the alphas/betas. The releases are generally very solid and the bugs don’t usually effect what I do, but I still like to wait a day or 2 after a big release just to check. Don’t get me wrong - I’m a huge fan of JQuery and it’s saved me hours of coding!
September 17th, 2007 at 2:53 pm
[…] John Resig, the creator of jQuery has been going non stop. jQuery 1.2 was released on 10 September to much fanfare by those who follow it, followed by an update to 1.2.1 for bugs and a missing feature. They didn’t stop there though. Immediately afterwards, jQuery UI was released. jQuery UI is a package of user interface widgets that can be combined to create a powerful user interface for the web. […]
September 17th, 2007 at 4:09 pm
[…] I will be taking a serious look at using the UI library in the next myDashboard release. Though this may depend on whether the next WordPress release incorporates the recently released jQuery 1.2.1 […]
September 18th, 2007 at 7:14 pm
[…] Based on feedback from Joel Birch and Oli in the comments below, I’ve changed the code below to take advantage of “relative animations,” using the syntax available in jQuery 1.2.1. My initial tests showed that it’s now working regardless of scroll-bar or font-size adjustments. Here is what it looks like now (not sure if storing the difference in a third variable was necessary, but it felt right to me): PLAIN TEXT JavaScript: […]
September 20th, 2007 at 2:21 pm
[…] jQuery 1.2.1: Quick Fixes for 1.2 […]
September 20th, 2007 at 4:29 pm
[…] In case you have not been monitoring the jQuery website, the team has released jQuery 1.2.1, a quick bug fix for jQuery 1.2, and the long-awaited jQuery User Interface. […]
September 23rd, 2007 at 8:07 am
Your jQuery “minified” is said to be 14KB here and on jQuery.com as well, but on the download site (and once downloaded) it is 44KB… Where the smallest is “packed”… was there a typo or was something wrong with the packing?
September 29th, 2007 at 4:16 am
[…] Peccato solo che il libro tratti la versione 1.1.x e che con l’1.2.x molte delle API siano cambiate (soprattutto quelle relative al DOM). […]
October 1st, 2007 at 2:22 pm
[…] jQuery: » jQuery 1.2.1: Quick Fixes for 1.2 […]
October 2nd, 2007 at 4:45 pm
“missing ; before statement”.
Which leads to:
“jQuery is not defined”.
Not even the starter kit works. I’m not impressed. When will this be fixed?
October 10th, 2007 at 12:58 pm
Bug using new jquery 1.2.1 and plugin interface/dragable in Internet explorer.
Second dragg dont function
October 14th, 2007 at 10:47 pm
Where I can download the docs?
November 8th, 2007 at 6:38 am
Link to article on Gzipping doesn’t work. Should be http://www.julienlecomte.net/blog/2007/08/13/
December 1st, 2007 at 4:37 pm
This release breaks the slideUp and slideDown effects in Firefox
February 3rd, 2008 at 1:45 am
[…] Visit Original: jQuery 1.2.1: Quick Fixes for 1.2 […]
April 27th, 2008 at 3:00 am
[…] September 17th, 2007 New user interface library for jQuery: jQuery UI: Interactions and Widgets September 16th, 2007 Bug fix for jQuery 1.2: jQuery 1.2.1: Quick Fixes for 1.2 September 10th, 2007 jQuery 1.2 released: jQuery 1.2: jQuery.extend(”Awesome”) [edit] August […]