💖 This new version renders annotations and associations defined in the “collaboration” nodes of the BPMN source. 🔥
Thanks to all the contributors of this release 🌈: @tbouffard
See milestone 0.45.0 to get the list of issues covered by this release.
Highlights
Annotations and associations attached to a participant/pool must be defined in the “collaboration” nodes of the BPMN source. Previously, these elements were not rendered by bpmn-visualization
. This is now the case 🎉.
Some modelers also store process-related annotations and associations in such a node. bpmn-visualization
now renders them too 🎁.
Here's how it looks using the diagram associations.and.annotations.06.defined.in.collaboration.bpmn used in the visual tests.
The collaboration node includes annotations and associations associated with a participant/pool and a process.
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1ygepsi" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="17.11.1">
<bpmn:collaboration id="Collaboration_0tkdozo">
<bpmn:participant id="Participant_0rto0r1" processRef="Process_18fjzrp" />
<bpmn:participant id="Participant_18k7mjx" />
<!-- elements associated to a participant/pool -->
<bpmn:textAnnotation id="TextAnnotation_1xzfmze" />
<bpmn:association id="Association_12xd2s3" associationDirection="None" sourceRef="Participant_0rto0r1" targetRef="TextAnnotation_1xzfmze" />
<bpmn:association id="Association_1lz0tdq" associationDirection="None" sourceRef="Participant_18k7mjx" targetRef="TextAnnotation_1w9ytwx" />
<bpmn:textAnnotation id="TextAnnotation_1w9ytwx" />
<!-- elements within a process -->
<bpmn:textAnnotation id="TextAnnotation_04aqee2" />
<bpmn:textAnnotation id="TextAnnotation_1ocxgbi" />
<bpmn:association id="Association_1ingcju" associationDirection="None" sourceRef="StartEvent_1nkg5l5" targetRef="TextAnnotation_04aqee2" />
<bpmn:association id="Association_1c7eydn" associationDirection="None" sourceRef="Activity_1252w11" targetRef="TextAnnotation_1ocxgbi" />
</bpmn:collaboration>
0.44.0 | 0.45.0 |
---|---|
Note
For more details, see #3200.
Breaking Changes
The BpmnVisualization.getVersion
method is now removed. Use the getVersion
function instead. See #2966.
This method was deprecated in 0.43.0 released on 2024-02-29.
What's Changed
Full Changelog: v0.44.0...v0.45.0
🚀 BPMN support
- feat: render annotation + association defined in "collaboration” (#3200) @tbouffard
📝 Documentation
- docs: update browsers version in README (#3190) @tbouffard
- docs: use the new name of
bpmn-visualization-addons
(#3168) @tbouffard
📦 Dependency updates
- chore(demo): bump fontawesome 6.7.1 from to 6.7.2 (#3230) @tbouffard
- chore(demo): bump fontawesome 6.7.0 from to 6.7.1 (#3222) @tbouffard
- chore(demo): bump fontawesome 6.6.0 from to 6.7.0 (#3218) @tbouffard
- chore(deps): bump es-toolkit from 1.25.2 to 1.27.0 (#3210) @dependabot
- chore(deps): bump es-toolkit from 1.24.0 to 1.25.2 (#3195) @dependabot
- chore(deps): bump es-toolkit from 1.16.0 to 1.24.0 (#3183) @dependabot
- chore(deps): bump fast-xml-parser from 4.4.1 to 4.5.0 (#3177) @dependabot
👻 Maintenance
- refactor!: remove
BpmnVisualization.getVersion
(#3231) @tbouffard - refactor: make class members readonly when possible (#3227) @tbouffard
- ci: provide ways to limit the number of "e2e tests" runs (#3197) @tbouffard
- test: check text annotation defined in the collaboration node (#3191) @tbouffard
- test(e2e): add a new diagram to validate the size of edge arrows (#3178) @tbouffard
- ci: add workaround to prevent "no space left on device" error (#3172) @tbouffard
- ci(publish): stop sending slack message on success (#3169) @tbouffard
- ci: fix notification workflows used during releases (#3157) @tbouffard