{"id":434,"date":"2012-08-15T08:38:59","date_gmt":"2012-08-15T15:38:59","guid":{"rendered":"http:\/\/dojotoolkit.org\/blog\/?p=434"},"modified":"2023-03-11T08:14:08","modified_gmt":"2023-03-11T16:14:08","slug":"dojo-1-8-released","status":"publish","type":"post","link":"https:\/\/dojotoolkit.org\/blog\/dojo-1-8-released","title":{"rendered":"Dojo 1.8 Released!"},"content":{"rendered":"<p>The Dojo team is very excited to announce the immediate release of <a href=\"http:\/\/dojotoolkit.org\/download\/\">Dojo 1.8<\/a>, our last major release before the big 2.0!<\/p>\n<p>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.<\/p>\n<p>With that out of the way, let\u2019s talk about what\u2019s new in Dojo 1.8!<\/p>\n<h2>Better Documentation<\/h2>\n<p>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&#8217;ve:<\/p>\n<ul>\n<li>made more than 500 fixes to our documentation based on community feedback (thank you!)<\/li>\n<li>re-organized and committed over 1500 changes to our <a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/\">reference guide<\/a><\/li>\n<li>developed a brand new, extensible <a href=\"https:\/\/github.com\/csnover\/js-doc-parse\">JavaScript-based documentation parser<\/a>, which we use to generate output for the API viewer<\/li>\n<li>significantly enhanced the <a href=\"http:\/\/dojotoolkit.org\/api\/1.8\/\">API viewer<\/a> 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<\/li>\n<\/ul>\n<p>We&#8217;re still in the process of updating the <a href=\"http:\/\/dojotoolkit.org\/documentation\/\">Dojo tutorial series<\/a> 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\u2019re also adding ten <em>brand new tutorials<\/em> to teach you about the new features added to Dojo 1.8. We\u2019ll be announcing the remaining tutorials as they are released on <a href=\"http:\/\/twitter.com\/dojo\" title=\"Dojo Toolkit on Twitter\">our Twitter account (@dojo)<\/a>, so keep an eye out there.<\/p>\n<p><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.09--1024x830.png\" alt=\"\" title=\"Reference Guide\" width=\"640\" height=\"518\" class=\"aligncenter size-large wp-image-440\" srcset=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.09--1024x830.png 1024w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.09--300x243.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/dojotoolkit.org\/api\/1.8\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.59--1024x656.png\" alt=\"\" title=\"Dojo API Viewer\" width=\"640\" height=\"410\" class=\"aligncenter size-large wp-image-441\" srcset=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.59--1024x656.png 1024w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.04.59--300x192.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/dojotoolkit.org\/documentation\/tutorials\/1.8\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.05.16--1024x971.png\" alt=\"\" title=\"Dojo Tutorials\" width=\"640\" height=\"606\" class=\"aligncenter size-large wp-image-442\" srcset=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.05.16--1024x971.png 1024w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.05.16--300x284.png 300w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.05.16-.png 2038w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2>New Features<\/h2>\n<p>Dojo 1.8 isn\u2019t <em>all<\/em> documentation, of course! We\u2019ve also been hard at work adding several major new features to the toolkit that we think you\u2019ll enjoy. These new components include:<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/request.html\">dojo\/request<\/a><\/strong>: 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 <a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/request\/handlers.html\">mechanism for registering handlers to convert arbitrary response payloads into usable objects<\/a>.<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/node.html\">dojo\/node<\/a><\/strong>: A new loader plugin that enables server-side code to load Node.js\/CommonJS modules from within the AMD loader.<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/router.html\">dojo\/router<\/a><\/strong>: A component that enables client-side applications to register and navigate between discrete \u201cpages\u201d that change based on the current browser URL, like the navigation of a \u201ctraditional\u201d server-side application.<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/promise.html\">dojo\/promise<\/a><\/strong>: A redesigned, <a href=\"http:\/\/wiki.commonjs.org\/wiki\/Promises\/A\">Promises\/A<\/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.<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dijit\/Destroyable.html\">dijit\/Destroyable<\/a><\/strong>: 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.<\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojox\/calendar.html\">dojox\/Calendar<\/a><\/strong>: A new, feature-rich calendaring widget that enables you to quickly and easily create event calendars. <a href=\"http:\/\/demos.dojotoolkit.org\/demos\/calendar\/demo.html\" title=\"Demo of dojox\/calendar\">View a demo.<\/a><\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojox\/dgauges.html\">dojox\/dgauges<\/a><\/strong>: A new framework for creating graphically rich gauges used to represent and manipulate data. <a href=\"http:\/\/demos.dojotoolkit.org\/demos\/gauges\/demo.html\" title=\"Demo of dojox\/dgauges\">View a demo.<\/a><\/p>\n<p><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojox\/treemap.html\">dojox\/treemap<\/a><\/strong>: A component for creating treemap data visualizations. <a href=\"http:\/\/demos.dojotoolkit.org\/demos\/tracTreemap\/demo.html\" title=\"Demo of dojox\/treemap\">View a demo.<\/a><\/p>\n<p>In addition to these all-new features, we\u2019ve also significantly enhanced several other components from earlier versions of the toolkit. Some of the more notable improvements include:<\/p>\n<ul>\n<li><strong><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojox\/mobile.html\">dojox\/mobile<\/a><\/strong> includes 28 new mobile widgets including audio, video, grid layout, and tree view. (<a href=\"http:\/\/demos.dojotoolkit.org\/demos\/todoApp\/demo.html\" title=\"Demo of dojox\/mobile\">View a demo.<\/a>)<\/li>\n<li><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/dnd.html\">dojo\/dnd<\/a> and <a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojox\/gfx.html\">dojox\/gfx<\/a> are both now fully functional on mobile devices.<\/li>\n<li><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/parser.html\">dojo\/parser<\/a> now accepts AMD module IDs in the <code>data-dojo-type<\/code> attribute. It also includes a new asynchronous mode that allows modules to be automatically required based on the <code>data-dojo-type<\/code> attribute if they haven\u2019t been explicitly required yet.<\/li>\n<li><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/dojo\/Stateful.html\">dojo\/Stateful<\/a> now allows the use of getter and setter functions; previously, only <code>dijit\/_WidgetBase<\/code> enabled getter\/setter functions.<\/li>\n<li>Dijit\u2019s Claro theme now uses CSS3 gradients instead of images in browsers that support it.<\/li>\n<li><a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/util\/dohrobot.html\">DOH Robot<\/a> now works with the loader set to asynchronous mode.<\/li>\n<\/ul>\n<p>A more exhaustive list of new features and enhancements can be found in the <a href=\"http:\/\/dojotoolkit.org\/reference-guide\/1.8\/releasenotes\/1.8.html\">Dojo 1.8 release notes<\/a>, 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 <a href=\"http:\/\/bugs.dojotoolkit.org\/query?status=closed&#038;milestone=1.8\" title=\"Tickets closed in Dojo 1.8\">the bug tracker<\/a>.<\/p>\n<p><a href=\"http:\/\/demos.dojotoolkit.org\/demos\/calendar\/demo.html\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.47--1024x652.png\" alt=\"\" title=\"Dojo Calendar\" width=\"640\" height=\"407\" class=\"aligncenter size-large wp-image-436\" srcset=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.47--1024x652.png 1024w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.47--300x191.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/demos.dojotoolkit.org\/demos\/tracTreemap\/demo.html\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.56--1024x659.png\" alt=\"\" title=\"Dojo Treemap\" width=\"640\" height=\"411\" class=\"aligncenter size-large wp-image-437\" srcset=\"https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.56--1024x659.png 1024w, https:\/\/dojotoolkit.org\/blog\/wp-content\/uploads\/2012\/08\/screenshot-2012-08-14-at-7.00.56--300x193.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2>What&#8217;s Next? 1.8.1 and 2.0<\/h2>\n<p>Now that we\u2019ve released our \u201cfinal\u201d version of the Dojo 1.x series, we\u2019re moving full speed ahead into planning for Dojo 2.0! In the meantime, we\u2019ll 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\u2019ll also be releasing a Dojo 1.8.1 release in the next 2\u20136 weeks to address any bugs that were introduced in Dojo 1.8.<\/p>\n<p>We\u2019ll 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.<\/p>\n<h2>Thanks!<\/h2>\n<p>We hope you\u2019ll find Dojo 1.8 to be exceptionally stable and reliable. However, if you do run into any issues, please let us know by <a href=\"http:\/\/bugs.dojotoolkit.org\">open a ticket<\/a>. 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!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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, &hellip; <a href=\"https:\/\/dojotoolkit.org\/blog\/dojo-1-8-released\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Dojo 1.8 Released!<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,7],"tags":[28],"_links":{"self":[{"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/posts\/434"}],"collection":[{"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":22,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":1028,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions\/1028"}],"wp:attachment":[{"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dojotoolkit.org\/blog\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}