Category Archives: News

Dojo 1.8 Released!

The Dojo team is very excited to announce the immediate release of Dojo 1.8, our last major release before the big 2.0!

This release would not have been possible without significant contributions from the Dojo team. Special thanks to Colin Snover, Bill Keese, Dylan Schiemann, Rawld Gill, Ken Franqueiro, Bryan Forbes, Kitson Kelly, Brian Arnold, Doug Hays, Christophe Jolif, Mark Wubben, Doug Hays, Yoshiroh Kamiyama, Kris Zyp, Patrick Ruzand, Adam Peller, Evan Huang, and dozens of others, and to IBM, SitePen, AltoViso, and Research in Motion for their generous contributions of development time and financial support.

With that out of the way, let’s talk about what’s new in Dojo 1.8!

Better Documentation

The top goal of Dojo 1.8 was to significantly improve the quality of our documentation. In order to achieve this, in this release, we’ve:

  • made more than 500 fixes to our documentation based on community feedback (thank you!)
  • re-organized and committed over 1500 changes to our reference guide
  • developed a brand new, extensible JavaScript-based documentation parser, which we use to generate output for the API viewer
  • significantly enhanced the API viewer with full AMD support, module cross-linking, property source information (useful for modules that are augmented by other modules, like dojo/NodeList), and other improvements

We’re still in the process of updating the Dojo tutorial series to bring you the latest and greatest advice, but over 70% of our existing tutorial series have already been updated, with the remainder to be completed in the coming weeks. We’re also adding ten brand new tutorials to teach you about the new features added to Dojo 1.8. We’ll be announcing the remaining tutorials as they are released on our Twitter account (@dojo), so keep an eye out there.

New Features

Dojo 1.8 isn’t all documentation, of course! We’ve also been hard at work adding several major new features to the toolkit that we think you’ll enjoy. These new components include:

dojo/request: A cross-platform AJAX component, designed to be more flexible and extensible than the existing dojo/_base/xhr component (which it deprecates). Notable new features of this component include the ability to perform AJAX calls from Node.js, XHR2 support, and a mechanism for registering handlers to convert arbitrary response payloads into usable objects.

dojo/node: A new loader plugin that enables server-side code to load Node.js/CommonJS modules from within the AMD loader.

dojo/router: A component that enables client-side applications to register and navigate between discrete “pages” that change based on the current browser URL, like the navigation of a “traditional” server-side application.

dojo/promise: A redesigned, Promises/A-compliant deferreds/promises implementation which deprecates dojo/_base/Deferred. Notable new features include improved instrumentation and error handling, an easier-to-use API, and a reduced footprint for applications that only need a subset of its features.

dijit/Destroyable: A new base widget class that makes it easier to ensure event handlers, topic subscribers, and other connections are properly cleaned up when their owner objects are destroyed.

dojox/Calendar: A new, feature-rich calendaring widget that enables you to quickly and easily create event calendars. View a demo.

dojox/dgauges: A new framework for creating graphically rich gauges used to represent and manipulate data. View a demo.

dojox/treemap: A component for creating treemap data visualizations. View a demo.

In addition to these all-new features, we’ve also significantly enhanced several other components from earlier versions of the toolkit. Some of the more notable improvements include:

  • dojox/mobile includes 28 new mobile widgets including audio, video, grid layout, and tree view. (View a demo.)
  • dojo/dnd and dojox/gfx are both now fully functional on mobile devices.
  • dojo/parser now accepts AMD module IDs in the data-dojo-type attribute. It also includes a new asynchronous mode that allows modules to be automatically required based on the data-dojo-type attribute if they haven’t been explicitly required yet.
  • dojo/Stateful now allows the use of getter and setter functions; previously, only dijit/_WidgetBase enabled getter/setter functions.
  • Dijit’s Claro theme now uses CSS3 gradients instead of images in browsers that support it.
  • DOH Robot now works with the loader set to asynchronous mode.

A more exhaustive list of new features and enhancements can be found in the Dojo 1.8 release notes, along with some migration instructions for any changes that are known to be incompatible with code written for Dojo 1.7 and earlier. The complete list of 971 new features, enhancements, and bug fixes can be found at the bug tracker.

What’s Next? 1.8.1 and 2.0

Now that we’ve released our “final” version of the Dojo 1.x series, we’re moving full speed ahead into planning for Dojo 2.0! In the meantime, we’ll continue to issue maintenance releases for all major Dojo versions 1.4 and later as necessary to ensure your apps continue to work well into the future. We’ll also be releasing a Dojo 1.8.1 release in the next 2–6 weeks to address any bugs that were introduced in Dojo 1.8.

We’ll be providing more information on the blog shortly about our vision for Dojo 2.0 and how you can help to make it the best version of Dojo ever.

Thanks!

We hope you’ll find Dojo 1.8 to be exceptionally stable and reliable. However, if you do run into any issues, please let us know by open a ticket. If you find a problem in the documentation, you can also provide feedback via the link at the bottom of every page. Otherwise, enjoy the release!

Dojo 1.8.0 tagged, official release August 15

Well, it seems there’s no such thing as a soft launch when it comes to open source software. 🙂 We’ve tagged the final code for Dojo 1.8.0 in our git and subversion repositories and submitted it to our CDN partners, but you won’t find it on dojotoolkit.org yet because we’re still finishing up some needed final updates to the site and documentation. In less than a week, on August 15, we’ll be officially releasing the latest version of Dojo, along with a raft of new documentation and detailed information on all the new features included in this release. In the meantime, hang tight, and we’ll be all set next Wednesday for the grand unveiling.

Dojo 1.8 Talks at London Ajax

Dojo Committers Kitson Kelly and Mark Wubben gave a pair of talks this week at the London Ajax User Group. Kitson gave an overview of the changes in Dojo 1.8, while Mark dove into his work on updating dojo/promise. In case you missed it, you can read the slides or watch the videos:

Slides

Videos

Thanks to Kitson and Mark for delivering these talks, and to SitePen and Skills Matter for sponsoring the event. If you’re ever in London, the group meets the second Tuesday of every month to talk about JavaScript and Ajax topics, with many Dojo users and committers in attendance.

Introducing new visualization components in Dojo 1.8

Now that Dojo 1.8 beta is out, I encourage you to check out some of the new features in this release. There are three brand new visualization components for mobile (phones & tablets) and desktop browser platforms. Each of these components answers specific advanced needs in term of visualization and may be useful in your apps.

The first component I’d like to introduce is the calendar component. This is a full featured UI component that displays calendar events either in day, week,  month or yearly view. It its fully compatible with the dojo/store APIs and can be filled with any kind of data coming from your server. It is easily styled using CSS.

Dojo  Calendar Week View

You can read more about the calendar component in the Dojo calendar beta documentation.

The second component is a fully redesigned gauges framework for Dojo that comes with several predefined gauges. With this new framework, creating your own gauges or customizing existing ones is now as easy as assembling predefined elements such as indicators, scales or tracks and connecting a few custom functions for custom drawings. Gauges can be horizontal, vertical, circular or semi-circular.

Dojo  Custom Gauge

You can read more about the new gauges and their framework in the Dojo gauges beta documentation.

Finally, I’ll mention a pure data visualization analysis component, the treemap. This component displays data as a set of colored, potentially nested, rectangular cells. It can be used to explore large data sets by using convenient drill-down capabilities. It relies on data clustering, using areas and color information to represent the data you want to explore. Like the calendar component, it can connect to any dojo/store implementation.

Dojo  Treemap

You can read more about the treemap in the Dojo Treemap beta documentation

We are looking forward to your feedback on these new components. Download the beta and try them out. You may send your feedback to the Dojo interest list or file any issues you may find.

Release bonanza! Dojo 1.4.4, 1.7.3, 1.8.0b1 released

Hi everyone! I’m pleased to offer not one, not two, but THREE new Dojo releases for your consumption.

Dojo 1.4.4 is now available. This is a maintenance release that backports browser fixes to add support for Internet Explorer 9 and Firefox 4+. Information on which fixes were backported to Dojo 1.4.4 is available on the bug tracker. This is basically identical to the Dojo 1.5.2 release that happened…whenever that happened! A little while ago. Thanks to kgf for managing this release.

Dojo 1.7.3 is now available. This is a bugfix release that resolves several issues with the 1.7 branch of Dojo, including issues with the i18n subsystem, legacy modules, and the build system running on Node.js. It also fixes a significant performance regression from 1.6 when loading many legacy modules and includes bugfixes for several other components. The full list of fixes for Dojo 1.7.3 is available also on the bug tracker.

Finally, Dojo 1.8.0b1 is now available. This is the first beta of the new Dojo 1.8 release and includes several exciting new features. A blog post written by interim supreme overlord Dylan Schiemann provides an overview of many of the most significant new features and enhancements coming to Dojo 1.8. There are close to 700 new features, enhancements, and bug fixes in this release, including a brand new documentation parser (written by yours truly) that will make the API browser work correctly again. As usual, the running list of changes that have made it into Dojo 1.8 so far is at the bug tracker.

Dojo 1.8 is on track at this point for a release in mid-to-late July. Beta 2, if necessary, will be released in about three weeks. CDN releases for Dojo 1.4.4, Dojo 1.5.2, and Dojo 1.7.3 have been submitted to Google. I will post again once those are made available.

OK, that’s it from me! Have a great solstice weekend.

Dojo 1.8 release schedule

In preparation for the release of Dojo 1.8, trunk is now in feature freeze, which means this code is considered feature complete for Dojo 1.8. This is the last step before a beta release. The release schedule is currently as follows:

Now: feature freeze
June 22: beta 1
July 13: release candidate 1 (note: if additional beta releases are necessary, each release will push this out by 1 week)
July 20: Final release (note: if additional rc releases are necessary, each release will push this out by 1 week)

Thank you to everyone that has helped make this release a success!

Dojo 1.4.4rc1 Released

The first release candidate for Dojo 1.4.4 is now available for download.  The focus of this release is to backport IE9 and Firefox 4+ compatibility fixes, as seen in 1.6.1 and 1.5.2, to the 1.4 line.

Download: http://download.dojotoolkit.org/release-1.4.4rc1/
Backport ticket: http://bugs.dojotoolkit.org/ticket/15508

If you’re interested in testing this release, please do so and report any regressions promptly; the final release of 1.4.4 is planned for next Friday, June 22.  Thank you!

Dojo Recognized at the Great Indian Developer Summit

The Dojo Toolkit was recently selected as the 2012 recipient of an award for excellence in web development technology at the Great Indian Developer Summit. We are honored to receive this award. The conference has over 14,000 attendees, India’s largest tech event. Anuj Dubey and Lakshmi Sharma accepted the award on behalf of the Dojo Foundation.

The selection criteria for the award emphasized functionality, usability, innovation excellence, bleeding-edge features, and feedback from the developer ecosystem. The web development category specifically emphasized web development and deployment tools that are helping developers and designers push the boundaries of the web, which is consistent with one of Dojo’s primary objectives!