Dojo is a modern, reactive framework authored with ES2017 and TypeScript, and optimized with the needs of enterprise application development in mind.
If you're learning about Dojo 2 for the first time, please read our overview about the Dojo 2 beta 4 release.
Beta 5 is currently tagged as latest
in npm, so simply updating to the latest version will provide you with the Beta 5 release. We also have a release tag of beta5
in npm if you want to focus just on using Beta 5.
This will be the final beta release for Dojo 2! As we make releases of packages in anticipation of Release Candidate 1, we will not publish those packages to latest
until Release Candidate 1 is available.
If you want to get started with Dojo 2, the best way is to take a look at our tutorials or even take a look at Dojo 2 in action with our example applications (source on GitHub). Good starting tutorials are:
Since the beta 4 release, we have made a number of improvements. The biggest changes and additions are mentioned here, with a complete list of changes
Prior to beta5, the structure of the build commands was focused around the tooling and not around the actual creation of applications. So we completed a re-architecture and restructuring of the commands to align more to their use. Specifically, @dojo/cli-build-webpack
is deprecated and replaced with:
@dojo/cli-build-app
A command that builds an application@dojo/cli-build-widget
A command that build a widget, including support for web componentsThis refactoring is mostly complete for Beta 5, with a few remaining items to complete for release candidate 1.
Usage of the build system is reflected in updates to the Dojo 2 tutorials.
Added a decorator for the custom element descriptor. There is no longer a requirement for a separate module any more!
widget-core
changesThe primary breaking change in widget-core
is that HNode
was renamed to VNode
Two new widgets were added in Beta 5:
These widgets may be viewed in the widget showcase.
A number of refinements were made since the initial @dojo/stores
release in Beta 4:
onChange
mechanismSee the @dojo/stores readme for more information about this package.
Our collection of Dojo 2 examples were updated for beta 5.
In particular, the kitchen sink version of ToDoMVC now uses @dojo/stores
.
Also the Dojo 2 HNPWA example was accepted and is now available.
Dojo packages now ship ES modules alongside UMD! In the future we will be leveraging ESM for evergreen browser builds with webpack.
A new cli-create-theme
package has been added to make it easier to create a custom theme.
TypeScript 2.6 was released and introduced a number of significant improvements to the language, in particular the strictness of certain types of typings. These changes helped us further refine the type definitions and find a few bugs along the way. Dojo 2 beta 5 ships all of its packages leveraging TypeScript 2.6, and all packages conform to strict
type mode.
We are nearly there for the initial 2.0 release. For RC1 in just a few weeks, you can look forward to:
dojo/cli-build-app
Finish re-architecture of the build systemdojo/cli-build-widget
Focused build process for Dojo 2 widgets as web componentsdojo/themes
A new package for Dojo 2 themesdojo/widget-core
Finish DOM abstractiondojo/widgets
Standardize widget eventsAt the moment, we are planning for RC1 in early February.
We are also working on additional features post Dojo 2.0:
dojo/dgrid
Powerful data grid widgetIf you want to get involved, you can see an overview of the parts of Dojo 2 at dojo/meta. In all of our repositories we use the labels good first issue
and help wanted
to help guide you on a good place to get started.