Skip to content

0.37.0

Compare
Choose a tag to compare
@csouchet csouchet released this 26 Jun 12:52
· 448 commits to refs/heads/master since this release

This new version provides a new API for resetting the entire style of BPMN elements.

Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard

See milestone 0.37.0 to get the list of issues covered by this release.

Highlights

New API for resetting the entire style of BPMN elements

In previous versions of bpmn-visualization, it was possible to reset the style of one or more properties of one or more elements.
This feature can be used when the style is first updated and then needs to be reset to its initial value.

In version 0.37.0, a new API is available for resetting all properties in a single call. It is also possible to reset the style of all BPMN diagram elements.

// Reset task and sequence flow styles
bpmnVisualization.bpmnElementsRegistry.resetStyle('task_1', 'sequenceFlow_1');

// reset the style of all elements of the diagram
bpmnVisualization.bpmnElementsRegistry.resetStyle();

Examples

A new example has been added to show how to integrate bpmn-visualization in a Web Component developed with lit.

In particular, it explains how to workaround an issue with Web Component due to mxGraph.

🤔 For more details, see

Dependencies

bpmn-visualization now depends on a new version of fast-xml-parser which addresses a security vulnerability (#2751). This is a follow-up to the correction described in https://github.com/process-analytics/bpmn-visualization-js/releases/tag/v0.36.0.
It's important to note that bpmn-visualization itself is not vulnerable to this CVE as it doesn't use the processEntities feature implicated in the vulnerability.
However, we recommend updating your application to the latest version of bpmn-visualization for optimal security.

ℹ️ Further information can be found in GHSA-gpv5-7x3g-ghjv.

What's Changed

Full Changelog: v0.36.0...v0.37.0

🌈 BPMN diagram styling

  • fix: apply style update to the message flow icon (#2744) @tbouffard
  • feat(style): add a new API to reset the modified style of given elements via APIs (#2732) @csouchet

🐛 Bug Fixes

📝 Documentation

📦 Dependency updates

👻 Maintenance