0.34.0
Among the highlights of this release is the addition of a new API to remove all CSS classes from HTML elements of BPMN diagram, the improvement of the linking of EdgeBpmnSemantic
and ShapeBpmnSemantic
, and the usage of the "Update Style" API in the "Elements Identification" demo.
Thanks to all the contributors of this release 🌈: @brendanlaschke, @csouchet and @tbouffard
See milestone 0.34.0 to get the list of issues covered by this release.
Highlights
New API to remove all CSS classes of BPMN elements
A new API called removeAllCssClasses
has been added to the BpmnElementsRegistry
, allowing users to remove all CSS classes from HTML elements of BPMN elements.
Also, the TS doc of BpmnElementsRegistry has been updated to be more English-friendly.
ℹ️ For more details, visit #2666.
Enhanced linking of EdgeBpmnSemantic
and ShapeBpmnSemantic
The incomingIds
and outgoingIds
properties of ShapeBpmnElement
are now assigned from the Flow
, resulting in improved linking of Edge
and Shape
in the internal model.
As a result, the incomingIds
and outgoingIds
properties of ShapeBpmnSemantic
now store the links calculated from the EdgeBpmnSemantic
.
ℹ️ For more details, visit #2521 and #2638.
"Elements Identification" Demo Uses the "Update Style" API
The "Elements Identification" demo now includes a radio button to select the mode to apply the style: CSS or API.
The style is updated according to the selected BPMN kind and style method.
Style by CSS
Style by API
Additionally, we have included the missing TS Doc API for StyleWithOpacity
.
ℹ️ For more details, visit #2630.
What's Changed
Full Changelog: v0.33.1...v0.34.0
🧲 BPMN diagram usability
🌈 BPMN diagram styling
🎮 Demo and Examples
📦 Dependency updates
- chore(deps): bump fast-xml-parser from 4.2.0 to 4.2.2 (#2652) @dependabot
👻 Maintenance
- test: move shared code to a dedicated directory (#2662) @tbouffard
- refactor: fix code smells detected by SonarCloud (#2667) @csouchet
- test: add visual tests for label of collapsed/expanded activities (#2664) @tbouffard
- test: simplify imports in test code (#2467) @tbouffard
- ci: publish npm package with "provenance" (#2658) @tbouffard
- refactor: remove duplication in the "Update Style" API (#2586) @tbouffard
- chore(build): replace
rollup-plugin-auto-external
withrollup-plugin-node-externals
(#2649) @brendanlaschke - test: improve JsonBuilder for the Text Annotation (#2636) @csouchet
- test: simplify constructors of "page utils" classes (#2641) @tbouffard
- test: improve JsonBuilder for
global task
andcall activity
(#2634) @csouchet - test: improve JsonBuilder for the Association (#2633) @csouchet
- test: improve JsonBuilder for the Sub-Process (#2632) @csouchet
- test: remove unnecessary attribute check in json parsing tests (#2631) @csouchet