Blog

News from the bpmn.io project

Support any DMN Engine

Published by Maciej Barelkowski on Friday, 08 April 2022.

dmn-js12.0.0

We are excited to announce dmn-js@12. This release focuses on providing better DMN 1.3 support. We replaced Camunda Platform 7 specific parts with their DMN counterparts while improving the configurability of the toolkit.

FEEL Data Types

DMN FEEL specifies a set of primitive types on which you can build the logic of your decision diagram. We added each of the FEEL types to both the decision table and the literal expression views with this release. You can now specify time, date and time, and duration per default. In your application based on dmn-js, you can define your types via configuration.

The decision table contains a helper for the daytime duration.

Specify duration in your decision table.

Breaking Changes

Because release focuses on providing a pure DMN 1.3 experience, we have dropped the camunda namespace dependency. This change makes the library ready to model decisions for any DMN engine with dmn-scala among them.

To develop an application for Camunda Platform 7, consider using a new project based on dmn-js: camunda-dmn-js. This new library provides modeler distributions tailored to Camunda Platform 7 and Camunda Platform 8.

Check out the full changelog of dmn-js for all breaking changes that may require your action during the upgrade.

Wrapping up

Did we miss anything? Did you spot a bug, or would you like to suggest an improvement? Reach out to us via our forums, toot us on Mastodon or file an issue you found in the dmn-js issue tracker.

Get the latest DMN modeling toolkit pre-packaged or as source code via npm or unpkg.

Are you passionate about JavaScript, modeling, and the web?
Join Camunda and build modeling tools people heart.