Blog » jQuery 1.1b
Posted January 11th, 2007 by John ResigWe’re nearly ready for the big 1.1 release, this Sunday - but to hold you over, here’s another set of bug fixes to test upon. The jQuery dev team has been working long-and-hard to fix all the support requests that’ve been coming in this week, and we’ve been pretty successful in fixing just about everything that’s come across our plate.
We’d really appreciate it if you’d take the time to test the new 1.1b with your code, and if you spot any bugs, to please submit them to the bug tracker.
It’s not all bug fixes, however; we do have something new for you to try: The jQuery 1.0 Compatibility Plugin. As promised, this plugin provides all of the methods and selectors that were present in the last 1.0.4 release. So, theoretically, you should be able to drop in jQuery 1.1, and the new compatibility plugin and everything should work seamlessly.
This is how you would use the compatibility plugin with jQuery 1.1:
<html> <head> <script src="jquery-1.1.js“></script> <script src=”jquery.compat-1.0.js“></script> <script> $(document).ready(function(){ // Your old 1.0-centric code }); </script> </head> <body></body> </html>
So, while its fully possible to continue using the compatibility plugin into the foreseeable future, it is highly recommended that you follow the upgrade plans mentioned before.
So, again; please help us test this beta release! The more you help test, the better the final 1.1 release is going to be. Thanks for all your help!
Download
- Download 1.1b Uncompressed (Testing Only!)
- Download 1.0 Compatibility Plugin (Makes 1.1 have the same API as 1.0)
- Please submit new bug reports here: New Bug Report
Update: There’s a couple things that I forgot to mention (that’s what I get for posting a release at 4am in the morning):
- .filter([”.foo”, “.bar”]) is now .filter(”.foo, .bar”): A much simpler solution - and a fix is already in the compatibility plugin.
- .We decided to keep .height() and .width(). They’re back in, as they’re quite useful.
- The documentation is updated to 1.1b (so for those of you who still saw .filter([…]) or didn’t see .height() and .width() - it’s fixed now.)
January 11th, 2007 at 8:41 am
[…] Today jQuery 1.1b was released. It fixes all the bugs that were found in 1.1a and to prepare for the 1.1 final release. If you find any bugs, and please consider everything that doesn’t work after upgrading a bug, report them. […]
January 11th, 2007 at 8:46 am
There seems to be an error with the packed version of 1.1b (I used http://dean.edwards.name/packer/ with default options) throws “missing ; before statement” !
Don’t know how to debug it
Unpacked version is awesome !!!
January 11th, 2007 at 9:19 am
The missing semicolon is already fixed.
January 11th, 2007 at 9:32 am
Should width() and height() still be in the API? They’re appearing in the current online docs (for 1.1b).
January 11th, 2007 at 9:48 am
there seems to be a (new) bug, if i use filter with an array of strings i.e. $(”p”).filter([”.selected”, “:first”]);
btw. would be great, if you could provide a hasClass method (alias).
January 11th, 2007 at 10:14 am
width() and height() are reintroduced and differ from the initial implementation and its css() counterpart. The docs contain the details. Basically width/height() return the elements computed dimensions, even if the element is hidden, as a Number. css(”width/height”) returns the value as defined in the stylesheet, with “px” or whatever is used (eg. “em”).
Looks like the old array based filter should be added to the compability plugin.
January 11th, 2007 at 10:27 am
array based filter aren´t supported anymore? they are still in the docs and usefull?
January 11th, 2007 at 12:12 pm
Sorry everyone - as Joern mentioned, .height() and .width() are back in (and you’ll now seem them back in the docs). Also .filter([”.foo”,”.bar”]) is now .filter(”.foo,.bar”) - and a fix has been added to the compatibility plugin. Sorry for the confusion.
January 11th, 2007 at 1:02 pm
@alex - You can use
if($(”#allBase”).is(”.belongToThem”)) {
// Move zig, for great justice…
}
January 11th, 2007 at 1:24 pm
@Aaron Heimlich
thx, a lot. i should have to rtfm.
January 12th, 2007 at 2:28 pm
[…] Last thing, I’m not releasing it now because jQuery 1.1b is being released this Sunday and I want to see first if it’s all compatible. It expect it is, until then I might add some new helper functions. On this page there is a demo of the autocompleter in action. […]
January 13th, 2007 at 5:15 am
Yay, speed updates to the core. However, I’m far more excited about the introduction of animateClass and animateStyle in the Interface package. I just took a moment to play with this and I can easily say this is going to really kick jquery up the notch for me. (I stumbled into the dev code as I was looking to submit a patch to code which no longer exists
)
Amazing work, now go make it as fast as domQuery ;D
January 14th, 2007 at 10:52 pm
[…] English (Part 2) […]