0.8.0
- This release introduces a better support for TypeScript.
- The model of the workflow definition is moved from the
sequential-workflow-designer
package to thesequential-workflow-model
package. By this it's possible to create a common package with your workflow model and use it for the front-end and back-end applications at the same time. Thesequential-workflow-designer
package exports definition types as before, but these types come from thesequential-workflow-model
package. You don't have to include thesequential-workflow-model
package to your project if you don't need it. You can read more about this approach here.
Breaking Changes
TaskStep
, SwitchStep
, ContainerStep
interfaces are depreciated now. Those types will be removed in the future.
🤩 We launched a new project: Sequential Workflow Machine. It's a JavaScript workflow engine for the frontend and the backend. The engine uses exactly the same data model as the Sequential Workflow Designer. It means you can use the same workflow definition for the designer and the engine. The new package is powered by the xstate
library.