YUI 2.6.0 Released

By YUI TeamOctober 1st, 2008

The YUI development community is pleased to announce the release of version 2.6.0 of the YUI Library. You can download YUI 2.6.0 from SourceForge or configure your implementation using the updated YUI Configurator.

2.6.0 introduces a new Carousel Control, offers the Paginator Control for general use (it was previously bundled with DataTable), includes more than 450 total fixes, enhancements and optimizations, graduates eight components out of “beta,” and now ships with more than 290 functional examples.

New YUI Controls

The YUI Carousel Control, contributed by Gopal Venkatesan (and based on the Carousel originally created by former Yahoo Bill Scott), provides a widget for browsing among a set of like objects arrayed vertically or horizontally in an overloaded page region. Like most YUI controls, Carousel can consume content from page markup using progressive enhancement techniques or be created, configured, and populated entirely via script. It has built-in support for the lazy-loading of content via XMLHttpRequest (aka Ajax) using YUI’s Connection Manager. And be sure to notice that Carousel’s ARIA Plugin example makes it easy to use the WAI-ARIA Roles and States with the Carousel control.


The Paginator Control

The YUI Paginator Control addresses the navigation aspect of chunked content, offering a set of controls that it can render into your UI to allow users to navigate through logical sections of local or remote data. It’s a great tool for managing page load times by reducing the amount of markup or data needed per page. In combination with Connection Manager or DataSource, paging through large sets of server side data is easy and can avoid the need for full page loads.

The simplicity of the getting started example risks hiding Paginator’s power, so be sure to explore the choices for configuring the Paginator. Plus, it’s built on a UI component architecture that allows implementers to easily create custom Paginator controls that will work automatically.

The Paginator Control was introduced with DataTable in version 2.5.0, but it has been broken out as an optional dependency for general use as of version 2.6.0.


Over 450 Improvements

You can view 2.6.0’s comprehensive change log of fixed bugs and concatenated release notes for the entire library, or keep reading for highlights.


Prolific YUI contributor (and YUI Community Awards winner) Satyam has given TreeView a significant overhaul with support for progressive enhancement, state retrieval, JSON-base construction, focus, keyboard navigation, and node editing. 2.6.0 should be fully backward-compatible with 2.5.2 and earlier implementations. More details in the upgrade notes for TreeView.


Thanks to Satyen Desai, the Calendar Control received significant accessibility improvements in 2.6.0 including the addition of text to the previous-month, next-month, and close icons for improved screen-reader interaction.

Rich Text Editor

Dav Glass added the often requested Undo and Redo capabilities to the Rich Text Editor Control.

Drag & Drop

If you’ve struggled with making Drag & Drop work well over troublesome content such as iFrames, you’ll welcome the introduction of a hidden shim that now makes such traversals effortless.


Uploader has been updated to work with Flash Player 10, a sign of our continued commitment to emerging technologies. But because of security changes in the upcoming Flash Player 10, the UI for invoking the “Browse” dialog has to be contained within the Flash player. Because of that, this new version of the Uploader is NOT BACKWARDS COMPATIBLE with the code written to work with the previous version (it is, however, compatible with Flash Player 9). Do not upgrade to this version without carefully reading the documentation and reviewing the new examples.


There has been significant work on DataTable in this 2.6.0 release. (See the README for the full manifest.) Amongst the changes, DataTable introduces the ScrollingDataTable and CellEditor classes, the Paginator widget is now offered as a standalone component, and significant changes have been applied to DataTable’s pagination and sorting architectures. While backward compatibility has been maintained whenever possible, the Paginator widget is now an optional dependency, and custom extensions to inline cell editing or server-side pagination and/or sorting will likely need to be updated to be compatible with the new models. Implementers who are upgrading from an earlier version are strongly advised to read the Upgrades Notes.


As of the 2.6.0 release, AutoComplete has been migrated to use YAHOO.util.DataSource, which is now a new required dependency. The YAHOO.widget.DataSource class, which used to be packaged with the AutoComplete control has been removed. While backward compatibility has been maintained whenever possible, implementers who are upgrading from an earlier version are strongly advised to read the Upgrades Notes to smooth the transition.


The Container family of controls have enhanced positioning, height, and modality support in 2.6.0 via new preventcontextoverlap, context, and autofillheight configuration properties.

Other Notes on 2.6.0

Yahoo! Design Pattern Library

Concurrent with the initial YUI release in February 2006, Yahoo! released the Yahoo! Design Patterns Library. Design Patterns describe an optimal solution to a common problem within a specific context. Today we’re happy to strengthen the relationship between these two sibling libraries by offering YUI code for two existing patterns: The Pagination Design Pattern and the Carousel Design Pattern.

Accessibility Improvements

We’ve continued to work hard to make YUI accessible. The Carousel, Button, Menu, TabView, and Container all have enhanced accessibility support in addition to what’s otherwise noted in this blog post. We continue to count accessibility amongst our highest priorities; stay tuned for a few more blog posts on the topic in the coming days and weeks.

Graduation Day

The following seven YUI components have graduated from beta as of 2.6.0:

  • Cookie Utility – with a new removeSub() method and two parsing improvements.
  • DataSource Utility – with significant backward-compatible refactoring, see the README.
  • Resize Utility – with new support for a useShim config and a series of bug fixes.
  • YUI Loader Utility – with better timeout and combo handler support.
  • DataTable Control – significant improvements and bug fixes: check the README.
  • Layout Manager – with new support for Ajax content retrieval and a series of bug fixes.
  • Rich Text Editor – including lots of new custom events and the ability to customize the edit windows better, along with ~40 bug fixes.
  • Profiler has been promoted out of beta unchanged.

(Note that the ProfileViewer developer tools, the Element and Selector utilities, and the Carousel and ImageCropper controls remain designated as beta.)


We’re proud of this 2.6.0 release and want to thank the entire community for their contributions, guidance, and continued support. We hope you enjoy all the new power and easy of use reflected in 2.6.0, and we look forward to your feedback in the comments below and on the YUI mailing list.

Thank you again on behalf of the entire development team, Adam Moore, Dav Glass, Eric Miraglia, George Puckett, Jenny Han Donnelly, Luke Smith, Matt Sweeney, Satyen Desai, Thomas Sha, and Todd Kloots; and contributors: Caridy Patiño, Dwight “Tripp” Bridges, Julien Lecomte, Matt Mlinac, Allen Rabinovich, Satyam, Gopal Venkatesan, and Nicholas C. Zakas


  1. Really good news!

  2. I am following this library since its 2.2 version. I was eagerly waiting for datatable and datasource to come out of beta. Really a gr8 news.

    However, i had one question regarding datatable. I was getting ‘slow script’ error in IE while using two datatables(both are having quite a bit of data in it) at a time. I was using datatable 2.5.2 version.

  3. [...] a 2.6 extravaganza Yui 2.6.0, October 1st Gimp 2.6.0, October 1st Python 2.6, October [...]

  4. Great job. YUI is our framework of choice for over 2 years now. 2.6.0 looks like a very good and mature release.

    We are also waiting for the YUI 3.0 to become more complete since we would like to base our next product on it. Keep the good work!

  5. Exelente!.. muchas gracias por el gran trabajo!..
    Saludos desde Argentina.

  6. [...] New version of YUI (Yahoo! User Interface) 2.6.0 has announced by Nate Koechley from YUI development community at YUI development blog, it includes more than 450 total fixes, enhancements and optimizations, graduates eight components out of “beta,” and now ships with more than 290 functional examples, also with a new Carousel Control, and Paginator Control for general use.  Check out further detail here [...]

  7. Indeed it is a beautiful release, great work!

  8. These controls change so much, I’m behind, and now I’m worried about all the upgrade work I have to do.

    I a using the menu control and autocomplete control.

  9. [...] YUI 2.6.0 introduces a new Carousel Control, offers the Paginator Control for general use (it was previously bundled with DataTable), includes more than 450 total fixes, enhancements and optimizations, graduates eight components out of “beta,” and now ships with more than 290 functional examples. [...]

  10. [...] all of the craziness of the past week around the Ajax Experience, YUI 2.6.0 was officially released. As usual, there’s a mix of new controls and major bug fixes (around 450 or so). What makes [...]

  11. I am fan of jQuery, It has gr8 plugins available.

    This is really good news for YUI developers, I’ll give it a try in new project, but let it get reviewed well!

  12. @Steve : I have stopped using YUI Menu because very often (every release?) something changes. I must say that I’m afraid of the changes (evolution?) made at the tree view that I use highly (and shame on me, I have customised the CSS).
    Honestly, for me, the race to the new widgets is really boring when I must re-work my code at every release (someone said it’s refactoring?)

  13. [...] Yahoo! User Interface blog announced the release of YUI 2.6.0. The new release features a Carousel Control and decouples the Paginator Control from the data [...]

  14. [...] YUI 2.6 has been released. It includes the brand new Caousel Control, makes the Paginator Control available for general use, contains more than 450 total fixes, enhancements and optimizations, and now ships with more than 290 functional examples. [...]

  15. [...] YUI 2.6.0 Released – Latest update to the Yahoo User Interface has been released with a few new controls, a few more controls that have moved out of beta, and a huge list of improvements and bugfixes. [...]

  16. [...] October 3, 20082:47 am YUI 2.6.0 with Carousels, Paginators Nate Koechley has announced YUI 2.6.0 final, which introduces a new features like: Carousel Control, offers the Paginator Control for [...]

  17. [...] YUI 2.6.0 Released » Yahoo! User Interface Blog (tags: javascript yui ajax) [...]

  18. The rich text editor in 2.6 has definite issues which were not existing in the 2.5.2. The toolbar is behaving weird (especially around the color buttons, it has something to do with the width of the box that appears showing the color palete). As result the toolbar has very messed layout

    yahoo-dom-event.js throws numerous errors which were not in the 2.5.2

    that the outcome of my first 10 minutes with yui 2.6

  19. Congrats for another timely yet great release!

  20. [...] Yahoo! User Interface-Entwicklergemeinschaft veröffentlichte vor 2 Tagen Version 2.6.0 ihrer [...]

  21. This is pretty amazing technic, i will digg more in it. It seeems that plugins like YUI will be the future after the keyboards… maby web 3.0:)

  22. With all due respect to Marin Todorov, whilst I’m sure your experience was not optimal, it is definitely anecdotal. I upgraded to YUI, and have many thousands of lines of javascript code based on the various YUI components and I only had to make changes to the main menu and the RTE sections of code.

    The addition of the Undo/Redo buttons on the RTE does mean that the RTE may need more space in the width than it was allotted by an end user before. I simply increased the width from 530 to 600. Worked like a charm. The submit button I squeezed into the RTE needed a simple css style change to make it look correct.

    All in all, for such a major upgrade, it took me about an hours worth of work, altogether, to get everything up and running.

    Firefox error console is not showing any js errors cropping up on my site.

    YUI 2.6.0 is an outstanding upgrade, cheers!

  23. Great Job!

  24. [...] the 2.6.0 release of YUI, the YUI Loader now supports combo-handling for both JavaScript and CSS files coming off of [...]

  25. [...] working with Jon Ferraiolo, already has YUI 2.6.0 support built out for Aptana, and it’s a huge step forward from previous YUI plugins. Support [...]