The jQuery UI team is thrilled to announce the final release of jQuery UI 1.8 with 5 new plugins, 1 new effect, and hundreds of bug fixes and improvements.
We’ve worked extremely hard to make jQuery UI lighter and more modular with an even more flexible and extensible core. Now it’s even easier to build your own widgets or extend ours, whether you use the jQuery UI Widget Factory, the jQuery UI CSS Framework, or both. This release is a collective effort spanning more than 9 months with contributions from hundreds of developers, designers, testers and users. We thank you for all your help and support. And we even get personal (we’ll name names!) at the end of this post.
The code, themes, demos, and documentation are now live on jqueryui.com, the jQuery UI Download Builder, ThemeRoller, and Google’s AJAX Libraries API.
Note: There are significant (and in some cases breaking) changes in this release. If you currently use or develop jQuery UI plugins be sure to consult both the Changelog and Upgrade Guide for full details on these changes and their impact.
Download jQuery UI 1.8
I want it all:
- The jQuery UI 1.8 Starter Pack contains all components and our default theme. It’s optimized for use with our Getting Started Guide, in case you’re new.
- The jQuery UI 1.8 Development Bundle contains all components and our base theme. It’s optimized for development of jQuery UI itself or redistribution, not getting started.
- The jQuery UI 1.8 Themes Pack contains the 21 ThemeRoller Gallery themes. If you like one but want to tweak it, each theme can be used as a starting point for theme customization.
I know just what I want:
- The jQuery UI 1.8 Download Builder creates a custom zip with only those components you select. It also takes care of plugin dependencies, so you can chill more.
I want it always:
- jQuery UI is now on GitHub!
Fork away.
What’s new in jQuery UI 1.8?
This release adds two new utilities, two new widgets, an upgraded widget factory and a more modular core. For a full list of all the changes between jQuery UI 1.7.2 and jQuery UI 1.8, see the 1.8 Changelog. See below for a summary of some of the larger and more visible changes.
Position utility
Position any element relative to any other, or even relative to the window or the mouse. In true “Write Less. Do More” fashion, it’s a simple as selecting the element you want and saying which part of it should be positioned relative to which part of another element. Bam.
Button widget
The button widget creates a themable button from any imaginable element you might be using as a native button. Progressive enhancement all the way. Now your <button> will look like your <input type=”submit”> will look like your <a class=”button”>. We updated jQuery UI widgets that have buttons, such as Dialog, to use the button plugin when you’ve opted to include it. Otherwise, they’ll remain native button elements. Again thanks to PE this is as unobtrusive as possible. Thanks to Filament Group for figuring out how to do this and Jörn Zaefferer for making it happen. And of course the community as a whole for providing feedback during early design/dev and later dev/testing. We’re stoked about having pretty form elements, and button is the first step.
Autocomplete widget
Now you can make any text input pop up a menu to aid the user in completing a text entry or search box, providing suggestions or allowed values. The autocomplete is designed and built based on the popular Jörn Zaefferer’s Autocomplete. As with the button widget we’ve kept the API as minimal as possible while providing the hooks necessary to customize it based on your needs. For example, you can provide static local data using the source option, or provide a callback function as the data source which can handle getting data from a server via Ajax. Single option, overloaded. This is the new way we’ll be writing and refactoring all of our widgets going forward, and we’re excited to hear what people think. It’s quite a change, but should keep the library lean while still as flexible and powerful as possible. See the Autocomplete demos for more.
This is another new plugin that owes much of the implementation work to Jörn Zaefferer, with the API design by Jörn Zaefferer, Scott González, and Richard D. Worth. Filament Group, as always comes through with interaction design and static markup and css references.
New widget factory
Scott González and Jörn Zaefferer, with help from the community, have completed a large update to the jQuery UI Widget Factory in this release. These changes make it easier to create and extend your own widget, extend our widgets, or extend widgets others create.
Note: Some of these are breaking changes, requiring an upgrade for plugins that built on the 1.7 widget factory. A summary of these changes and their impact can be found in the widget factory section of the Upgrade Guide.
For another summary of these changes and why we’re so excited by them, see this post by David Petersen. Thanks David.
jQuery UI Core 71% smaller
The latest version of the jQuery UI Core is 71% smaller. This optimization has been achieved largely by pulling the already modular but bundled components mouse and widget.
New mouse plugin file makes jQuery UI 14% smaller on average
The mouse plugin isn’t new, but this release moves it to its own file, jquery.ui.mouse.js, where before it was inside the jQuery UI Core. This means that jQuery UI plugins that don’t depend on the mouse plugin but previously included the jQuery UI Core have less unused code to include, with an average overall file size improvement of 14%. That’s just an average. Some improvements will be as high as 36%.
File renames
All the .js and .css files have been renamed to start with a jquery.ui. prefix instead of a ui. prefix. This is to be consistent with jQuery plugin naming guidelines and is in preparation for some tools in development that will allow for easily creating custom builds that include jQuery plugins as well as jQuery UI plugins.
Note: If you write your own jQuery plugin, even if it’s based on the jQuery UI Widget Factory, please follow the jQuery plugin naming guidelines “jquery.{plugin-name}.js” not “jquery.ui.{plugin-name}.js” This will make it easier to distinguish between jQuery plugins that are and are not part of the official jQuery UI library. The same goes for widget namespacing and css class namespacing, except of course when using general jQuery UI CSS Framework classes. For example, if you write a widget called foo, the file should be named jquery.foo.js, not jquery.ui.foo.js. The widget can use classes such as ui-widget, ui-widget-content, ui-state-active (see Theming Docs for a full list) but should not use css classes such as ui-foo and other ui-foo-* classnames, as these would be reserved for the foo widget in the jQuery UI library, or jQuery UI Foo widget, which would have a filename jquery.ui.foo.js.
Latest jQuery 1.4.2
jQuery UI 1.8 includes the latest release of jQuery, 1.4.2. It’s fast.
How do I upgrade?
- Download jQuery UI 1.8 (see links above)
- If you’re going from 1.7 to 1.8, be sure to follow the latest Upgrade Guide. If you’re coming from an even older version, you’ll want to follow the legacy 1.7 Upgrade Guide first.
- Finally, to know just how much better every piece of jQuery UI got in 1.8, you can review the Changelog in all sorts of detail. If your favorite bug isn’t fixed yet, be sure to let us know in our bug tracker or the new Developing jQuery UI Forum.
What about jQuery UI 1.7?
The release of jQuery UI 1.8 final makes it the latest stable release of jQuery UI. This makes the previous release, 1.7.2, legacy. The jQuery UI project supports the latest stable and a single legacy release concurrently. So as of now, the jQuery UI Download Builder and ThemeRoller only contain these releases. Any release older than 1.7.2 is no longer supported and all users are encouraged to upgrade to 1.8 as soon as possible.
A few issues have been identified in attempting to use legacy jQuery UI 1.7.2 with the latest jQuery 1.4.2. These versions are not compatible. The legacy jQuery UI 1.7.2 is only compatible with jQuery 1.3.2. The coming jQuery UI 1.7.3 release will bring it up to compatibility with the latest jQuery 1.4.2. This will be the final 1.7.x release, freezing this branch.
Thanks
Thanks to all who helped with this release, specifically: 3li, 4pcbr, abaumhau, aesnn, aflynt, ajpiano, akaihola, akshell, alab1001101, albertvo, alexch, allanm051, andreas, Andrew Powell, andrew.sharpe.7.9, Aneon, antonello.pasella, aron.duby, arunpjohny, ashish879, ask, attaboy, audreyt, AzaToth, babaker, BenBlank, bhornseth, bkrausz, bman654, BMCouto, bmherold, bobbykjack, bobmajdakjr, bohdan.ganicky, bornemix, Brant Burnett, brostbeef, burhan, Ca-Phun Ung, caesar2k, carltongibson, cfrerebeau, chaos, Chealer, Chi Cheng, chrisbarr, cjwilks, coeamyd, colinclark, conkey2, crankharder, crexland, cupdike, cyberdaz360, d.wachss, d3r1v3d, dantman, danw, darkprisma, david.brooks, davidascher, davidb, defenestrator, Demphest, dhlavaty, diogobaeder, DiRN, divide, dluk, dmethvin, dmfontz, dmuir, dohsun, doublerebel, dougneiner, doutu, dpeterman, dprunier, DRHansen, dtetto, duelli, dunghopper, ecaron, eib, epascarello, epiraux, erikharrison, ethan, FDisk, FelipeMorais, fgTodd, Flany, FreakCERS, geki007, george.adamson, glipman, gotmikhail, grabanski, graemeworthy, GreyCells, guile, haayman, hatapitk, idlesign, igor.morozov, Infarinato, itfische, ivanko, jabbott7, JBeckton, jdillmann, jeffgran, jollytoad, julian.jelfs, Jörn Zaefferer, kae, ke4roh, Keith Wood, kevin.wells, klarkin, Klaus Hartl, kswedberg, lisaj, lnostdal, lunchtimemama, L_K_W, m4olivei, macarthy, Maggie Costello Wachs, marcoos, margustiru, martinkeimel, Matty, mawcs, mconway, mdiaz, menteb, mesoconcepts, mg, MikaJ, mikecapp, mikehostetler, Miroku_87, mkemmerling, mkornblum, moveax, MugeSo, mulhoon, mvermilion, neilski, nikolae, NJBR, nodster, ntoniazzi, obrie, patrick, Paul Bakaus, quasipickle, qwerty, ramaboo, raszi, rbrackett, remi, rgluga, ricardolopezrey, Richard Worth, riegens, rnbguru, RobARichardson, rsyring, Rwhitbeck, sam, Sancus, sc0rchin, SCCY, Scott González, Scott Jehl, sdavis, sebbacon, Sebmaster, seph429, sgorski, shartley, sherington, shuckster, slobo, smadep, snobo, sonu27, sosensible, spiralni, stakach, StevenBlack, TaeVjQuery, tan, Tgr, th3br41n, theojapa, thetoolman, tibi7000, timolastfm, togis, tomas, triblondon, trixta, uggedal, urkle, veronica, viraj.kanwade, vmx, vrn_shan, wakamolee, wewals, whydream, wichert, wimvl, Wolfjourn, xorax, xover, yourcelf, ZaDarkSide, ZeroMD, zeta, Zidane
Awesome work everyone. Great to see another solid release.
Thanks to all the testers in the forum! Couldn’t of done it without you.
Comment by Ralph Whitbeck — March 23, 2010 @ 10:49 am
Great! I hope this release will solve one particular pain in the ass bug..
Scrolling on sortable in a treeview
Comment by Sam Vloeberghs — March 23, 2010 @ 10:54 am
Looks good, nice work. Can you guys switch over to github like jquery core? I believe you’ll get a lot more contributions and overall development will greatly improved as it has with jquery core.
Comment by jc — March 23, 2010 @ 10:57 am
[...] jQuery UI team made a big announcement today regarding the immediate release of jQuery UI 1.8 final, the latest release of the official user [...]
Pingback by jQuery UI 1.8 Released! | Fuel Your Coding — March 23, 2010 @ 11:10 am
@jc – Done. Just updated the post with a link
Comment by Richard D. Worth — March 23, 2010 @ 11:18 am
Congratulations and thank you! Now to go and play
Comment by Brian Lang — March 23, 2010 @ 11:30 am
Awesome work Richard and crew. Looks like the theme CSS files are already on Google’s CDN as well.
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/base/jquery-ui.css
Comment by Phil Derksen — March 23, 2010 @ 12:56 pm
New Features in JQuery UI 1.8…
Earlier today the JQuery UI team announced the final release of JQuery UI 1.8. In case you’re not familiar with JQuery UI, it is an extension of the JQuery library that provides ” abstractions for low-level interaction and animation, advanc…
Trackback by DevGrow — March 23, 2010 @ 1:02 pm
[...] Pro Tweets jQuery UI 1.8 is out. http://blog.jqueryui.com/2010/03/jquery-ui-18/ “position, button, autocomplete, new widget factory, lighter core” dalmaer – Tue [...]
Pingback by dalmaer at 03/23/10 11:35:29 | Exectweets — March 23, 2010 @ 4:14 pm
[...] Src:http://blog.jqueryui.com/2010/03/jquery-ui-18/ Download jQuery UI [...]
Pingback by jQuery UI 1.8 has been released | Nilambar Sharma — March 23, 2010 @ 7:45 pm
[...] jQuery UI 1.8 has been released and it contains new plugins, a new effect, bug fixes, and forkable on GitHub [...]
Pingback by Ajaxian » jQuery UI 1.8 comes with new plugins, effect, and fixes — March 23, 2010 @ 9:17 pm
[...] jQuery UI 1.8 has been released and it contains new plugins, a new effect, bug fixes, and forkable on GitHub [...]
Pingback by jQuery UI 1.8 comes with new plugins, effect, and fixes : RefreshTheNet.com — March 23, 2010 @ 10:05 pm
[...] jQuery UI 1.8 adds position, button, autocomplete, new widget factory, lighter core – The jQuery UI Team announce the release of jQuery UI 1.8. Available in three forms, starter, developer and theme pack this new version of jQuery UI adds 5 new plugins, 1 new effect and a huge number of bugfixes and improvements, along with reducing the size of some of the files. [...]
Pingback by The Morning Brew - Chris Alcock » The Morning Brew #566 — March 23, 2010 @ 11:51 pm
[...] nach dem Release von jQuery 1.4 zieht nun auch die jQuery UI mit einer neuen Version nach. Wie schon jQuery selbst glänzt die UI hauptsächlich durch einen schnelleren Core. Dieser [...]
Pingback by Webentwicklung: jQuery UI 1.8 erschienen – schneller, kleiner, modularer » t3n News — March 24, 2010 @ 12:36 am
Awesome !
Can’t imagine what the web would be without jquery and jqueryui !
Thanks a lot for this great work you’re all doing.
Comment by Simon — March 24, 2010 @ 12:43 am
Very nice…
I tested the buttons on IE6,7,8 and 9 preview:
IE6: http://i44.tinypic.com/wcl103.jpg
IE7: http://i40.tinypic.com/14t7iq0.jpg
IE8: http://i44.tinypic.com/2hq83s3.jpg
IE9: http://i41.tinypic.com/2iitvtz.jpg
Comment by FJ — March 24, 2010 @ 1:03 am
@Phil Derksen – not only that but google now publishes a MANIFEST of all our files they host in each release, for example http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/MANIFEST
Comment by Richard D. Worth — March 24, 2010 @ 4:20 am
@FJ – Yeah, we’re still working on that one, it didn’t quite make it into the final release http://dev.jqueryui.com/ticket/5254 . Feel free to attach your screenshots to that ticket to help whomever works on it. Thanks.
Comment by Richard D. Worth — March 24, 2010 @ 4:20 am
Awesome work! Very solid and I really dig the AutoComplete and Button Widgets!
Comment by Tom Wilson — March 24, 2010 @ 5:40 am
Great job, looking forward to working more with the framework.
Comment by Jordan Walker — March 24, 2010 @ 5:55 am
Perfect, i am on track to use this library.
Thanks a lot everyone for the effort.
Comment by Serge — March 24, 2010 @ 6:10 am
[...] jQuery UI ist jetzt in Version 1.8 [...]
Pingback by jQuery UI 1.8 hat auch ein Autocomplete | nerdpress.org — March 24, 2010 @ 6:12 am
Additional documentation for the autocomplete widget would be helpful, eg. how can one override the default _renderItem() method to eg add pictures or other html to each item in the dropdown list.
Also, it seems to not support any extraParam like another jquery autocomplete plugin which we’ve been using. I’ve managed to supply some static parameters by appending the source url, but having these dynamic would be helpful.
Comment by Tor — March 24, 2010 @ 7:13 am
In general, the documentation for the autocomplete widget on this page; http://jqueryui.pbworks.com/Autocomplete is much better than the one that is provided on the normal jquery ui documentation page.
Comment by Tor — March 24, 2010 @ 7:20 am
Works as expected (perfect) and we’ve already switched a couple of our websites to this new release. Thanks for the great work!
Comment by Robert Fischer, sandoba.de — March 24, 2010 @ 8:38 am
@Richard D. Worth i don’t have a login to post bugs
Comment by FJ — March 24, 2010 @ 10:55 am
@FJ – I added them, no worries. If you ever want an acct, http://dev.jqueryui.com/register
Comment by Richard D. Worth — March 24, 2010 @ 11:21 am
Marvelous. I’ve switched 2 sites to this release.
I got one left but I spotted some unexpected behaviour with autocomplete: the menu box appears super-wide. Of course, that bug is probably on my side, 1.8RC3 works great though.
Comment by Greg — March 24, 2010 @ 11:24 am
Updated my app to use 1.8 and it works perfectly. Great work guys!
Comment by zachll4 — March 24, 2010 @ 1:09 pm
[...] directly from http://blog.jqueryui.com/2010/03/jquery-ui-18/ Leave a [...]
Pingback by jQuery 1.8 « AmandaPENTON — March 24, 2010 @ 2:14 pm
Congratulations and thank you on a job well done. Can’t wait to get this into our production environment, particularly the auto complete functionality!
Comment by Rocky Madden — March 24, 2010 @ 6:07 pm
Yes, yes, yes! So now it’s time to test new UI.
Work, good work! Best regards! CY
Comment by Paweł P. — March 25, 2010 @ 12:09 am
Wow, has the “extraParams” options *really* been removed from the AutoCompete plugin? I don’t see it in the documentation at all…..
That would be a HUGE strike against, as that option is so incredibly useful
Comment by Stephen — March 25, 2010 @ 3:35 am
@JQuery
I was reallly, really hoping for a much smaller filesize.
I ONLY use the Slider widget.
1.7.2 was 94kb
1.8 is 93kb
So I’m not sure where people are getting that this is 60%-70% smaller because when I use the custom UI builder download, it only save me 1kb in size which is less than 1%.
Am I doing something wrong?
Comment by Tim — March 25, 2010 @ 10:38 am
To add more clarity
The only reason why I use JQuery is for the Slider control.
The filesize is massive for the use of JUST the Slider control.
Am I doing something wrong in how I can obtain the smallest JQuery/JQueryUI+Slider filesize?
Comment by Tim — March 25, 2010 @ 10:39 am
Good job!
Comment by Ryan — March 25, 2010 @ 11:16 am
All
I thought 1.8 was suppose to be SMALLER in file size.
Justing just the Slider widget, it appears 1.8 is nearly exactly the same filesize as 1.7.2.
Comment by Sarah H — March 25, 2010 @ 4:45 pm
@Tim and @Sarah H – The size reduction mentioned is for the jQuery UI Core and as the blog post details this was achieved by moving the widget and mouse plugins into their own files. The slider widget is the one widget of our current set that depends on core, widget, and mouse. The other widgets depend on core and widget only, so they’ll see more filesize difference.
Comment by Richard D. Worth — March 26, 2010 @ 12:06 am
@Stephen – the autocomplete was completely redesigned to have a minimal set of features that could be customized and extended to reach as much of the previous functionality as possible. You’ll find examples in the demos and details in the docs.
If you still feel there are gaps after getting to know this redesign, please bring them up on the Developing jQuery UI Forum http://forum.jquery.com/developing-jquery-ui . Thanks.
Comment by Richard D. Worth — March 26, 2010 @ 12:10 am
@Tim – how can your jquery-ui filesize be 93 kb when only using slider?
Goto download, click deselect all components, select core, widget, mouse and slider, then download and the jquery-ui-1.8.custom.min.js is only 19,4 kb …
Comment by vish — March 26, 2010 @ 3:23 am
[...] had the chance to sit down with the jQuery UI team last week, right before they launched jQuery UI 1.8 final. We talked with them about the updated Widget Factory framework, new widgets, Autocomplete and [...]
Pingback by jQuery: » The Official jQuery Podcast – Episode 17 – jQuery UI 1.8 — March 26, 2010 @ 2:06 pm
@Richard D. Worth
Any chance of finding a way to make *just* using the Slider widget a smaller filesize.
I’m similar to both Tim and Sarah in that I *only* use JQuery so that I can use the Slider control.
For only using the Slider control, it’s quite a large download for that one single task.
Any ideas on how to improve the Slider control to make it not as heavy weight on filesize?
Thanks!
Comment by Erik — March 27, 2010 @ 8:52 am
I’ve written extensive drag and drop interface with jquery UI 1.7.2, but now that I’ve upgraded to jquery UI 1.8 with jquery 1.4, my jquery scripts don’t work anymore?!! Is jquery UI 1.8 not backward compatible with jquery UI 1.7.2?
Comment by Barack Obama — March 28, 2010 @ 4:39 pm
Very nice and simple. I was just looking for something like this
Thank you for sharing
Comment by Roman — March 30, 2010 @ 4:53 am
Fantastic work! Now to start switching all my stuff over to jQuery 1.4/UI 1.8
Comment by batfastad — March 31, 2010 @ 6:49 am
It’s time now for jQuery UI for me
Dobra robota Panowie!
Comment by Paweł P. — April 3, 2010 @ 2:05 am
Sure would love to see some documentation on the new zIndex utility.
Comment by Dale Larsen — April 14, 2010 @ 5:42 am
[...] had the chance to sit down with the jQuery UI team last week, right before they launched jQuery UI 1.8 final. We talked with them about the updated Widget Factory framework, new widgets, Autocomplete and [...]
Pingback by The Official jQuery Podcast – Episode 17 – jQuery UI 1.8 | seo — April 15, 2010 @ 4:36 pm
Just a suggestion. Can we include the png theme image used in the ThemeRoller page in the theme downloads?
Comment by Harry — April 22, 2010 @ 4:26 pm
So I assume that the jQuery Dialog is not affected in terms of deciding between 1.7 and 1.8…that if I implemented my jQuery dialog in 1.7, I can simply download and replace the core library with 1.8 and the dialog will still function the same since it doesn’t look like that part of the code base changed right?
Comment by Dave — May 7, 2010 @ 6:57 am
@Dave – Whenever you’re upgrading, be sure to check the Changelog and the Upgrade Guide for any relevant changes that may have been made and that you may need to make.
Comment by Richard D. Worth — May 7, 2010 @ 9:21 pm
Where can I go to post some questions about a particular example? In particular the combobox example is missing a few things and has some weirdness that I can’t seem to work around.
Comment by Anthony — May 11, 2010 @ 1:24 pm
@Anthony – go to the Using jQuery UI forum: http://forum.jquery.com/using-jquery-ui
Comment by Richard D. Worth — May 12, 2010 @ 6:44 am
[...] jQuery UI 1.8 release brings along the new autocomplete widget. An autocomplete adds a list of suggestions to an input [...]
Pingback by A jQuery UI Combobox: Under the hood » Learning jQuery - Tips, Techniques, Tutorials — June 8, 2010 @ 2:03 am