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.
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.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps bpmn-visualization from 0.36.0 to 0.37.0.
Release notes
Sourced from bpmn-visualization's releases.
... (truncated)
Commits
5e0720b
chore(release): 0.37.01be26cf
chore(release): prepare version for release87ee2ae
chore(deps-dev): bump rollup from 3.23.0 to 3.25.2 (#2750)f8eae0c
chore(deps): bump fast-xml-parser from 4.2.4 to 4.2.5 (#2751)15ff3e1
chore(deps-dev): bump playwright from 1.34.3 to 1.35.1 (#2749)3bdd122
docs: improve JSDoc related to the style API (#2735)7752001
chore(deps-dev): bump rollup-plugin-node-externals from 6.0.1 to 6.1.1 (#2746)97f8618
chore(deps-dev): bump@typescript-eslint/parser
from 5.59.9 to 5.59.11 (#2747)e4bb71b
fix: apply style update to the message flow icon (#2744)c8e3a1e
refactor: directly use mxGraph value objects (#2745)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)