Skip to content

feat!: support bpmn-visualization 0.48.0#539

Merged
tbouffard merged 5 commits into
mainfrom
dependabot/npm_and_yarn/bpmn-visualization-0.48.0
Jun 25, 2026
Merged

feat!: support bpmn-visualization 0.48.0#539
tbouffard merged 5 commits into
mainfrom
dependabot/npm_and_yarn/bpmn-visualization-0.48.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 24, 2026

Copy link
Copy Markdown
Contributor

Bumps bpmn-visualization from 0.47.0 to 0.48.0.

Release notes

Sourced from bpmn-visualization's releases.

0.48.0

⚡ This release introduces new rendering customization options, improves resource management, and updates dependencies to their latest versions. ⚡

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

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

Breaking Changes

ShapeUtil.flowNodeKinds() no longer returns artifacts

According to the BPMN specification, artifacts are not flow nodes. As a consequence, ShapeUtil.flowNodeKinds() no longer returns artifact kinds.

If your code relied on the previous behavior, combine the results of ShapeUtil.flowNodeKinds() and ShapeUtil.artifactKinds().

- const kinds = ShapeUtil.flowNodeKinds();
+ const kinds = [...ShapeUtil.flowNodeKinds(), ...ShapeUtil.artifactKinds()];

Custom IconPainter configuration is now instance-scoped

The custom IconPainter configuration is now scoped to a BpmnVisualization instance instead of being configured globally.

This removes shared global state and makes the configuration consistent with other renderer options.

- import { BpmnVisualization, IconPainterProvider } from 'bpmn-visualization';
-
- IconPainterProvider.set(new CustomIconPainter());
-
- const bpmnVisualization = new BpmnVisualization({
-   container: 'bpmn-container'
- });
+ import { BpmnVisualization } from 'bpmn-visualization';
+
+ const bpmnVisualization = new BpmnVisualization({
+   container: 'bpmn-container',
+   renderer: {
+     iconPainter: new CustomIconPainter()
+   }
+ });

Public TypeScript types now use interfaces

[!NOTE] This change impacts TypeScript users only.

... (truncated)

Commits
  • 8f2f3d5 chore(release): 0.48.0
  • 620d288 chore(release): prepare version for release
  • 0f0bc93 chore(gha): bump release-drafter/release-drafter from 7.3.1 to 7.4.0 (#3531)
  • dde8974 refactor!: stop exporting StyleConfigurator and mxImageExport (#3528)
  • d9faaaa test(fit): assert mxGraphView calls in the fit integration tests (#3527)
  • 7d72850 chore(gha): bump release-drafter/release-drafter from 7.3.0 to 7.3.1 (#3526)
  • bc8de31 refactor: extract insertEdge private method in BpmnRenderer (#3524)
  • 382b0bd ci: restore running e2e tests on chrome macos (#3458)
  • 24e012f chore(deps): bump es-toolkit from 1.45.1 to 1.46.1 (#3522)
  • 2967ba3 chore(gha): bump release-drafter/release-drafter from 7.2.1 to 7.3.0 (#3523)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for bpmn-visualization since your current version.


Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency (dev or runtime) javascript Pull requests that update Javascript code skip-changelog Do not include in Changelog and Release Notes labels Jun 24, 2026
@tbouffard tbouffard changed the title chore(deps): bump bpmn-visualization from 0.47.0 to 0.48.0 chore(deps)!: bump bpmn-visualization from 0.47.0 to 0.48.0 Jun 24, 2026
bpmn-visualization 0.48.0 promotes the helpers previously shipped by the custom ShapeUtil into its own ShapeUtil:
flowNodeKinds() no longer includes artifacts and isFlowNode() is now provided upstream. The custom ShapeUtil subclass
is therefore removed, and the code uses the base ShapeUtil from bpmn-visualization directly.

BpmnElementsIdentifier.isBpmnArtifact() is renamed to isArtifact() to match the upstream ShapeUtil.isArtifact() it now
delegates to.

The peer dependency range is relaxed to >=0.48.0, and the demo, tests and README are updated accordingly.

BREAKING CHANGE:
- The package no longer exports the ShapeUtil class. Import ShapeUtil directly from bpmn-visualization; its
  isFlowNode() and flowNodeKinds() cover the previous custom behavior, and isBpmnArtifact() no longer exists.
- BpmnElementsIdentifier.isBpmnArtifact() is renamed to isArtifact(). Update callers accordingly.
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

♻️ Preview destroyed

PR preview ♻️ Destroyed ♻️ Destroyed
🔗 Preview https://process-analytics-bpmn-visualization-addons-demo-pr-539.surge.sh (already destroyed)
📝 Commite95eb84
🪵 LogsView logs

🤖 Powered by surge-preview

…f re-exporting a type

Replace the exported `GlobalOptions` type alias (and the `PluginOptionExtension` interface) by a module augmentation
of the `bpmn-visualization` `GlobalOptions` interface that adds the optional `plugins` property.

This removes the need for consumers to import a dedicated `GlobalOptions` type from the addons package: the `plugins`
property is now available on the standard `bpmn-visualization` `GlobalOptions` as soon as anything is imported from
`bpmn-visualization-addons`. It also drops the awkward intersection-type pattern documented for custom options.

BREAKING CHANGE:
- The `GlobalOptions` type and the `PluginOptionExtension` interface are no longer exported by
  `@process-analytics/bpmn-visualization-addons`. Import `GlobalOptions` from `bpmn-visualization` instead; its
  `plugins` property is added by module augmentation when the addons package is imported.
Add a Common Commands note explaining that the Node version is pinned in .nvmrc and must be selected with `nvm use`
(sourcing nvm first in non-interactive shells), to avoid running build/test on an unintended Node version.
@tbouffard tbouffard merged commit 5a739d9 into main Jun 25, 2026
9 checks passed
@tbouffard tbouffard deleted the dependabot/npm_and_yarn/bpmn-visualization-0.48.0 branch June 25, 2026 08:17
@sonarqubecloud

Copy link
Copy Markdown

@tbouffard tbouffard changed the title chore(deps)!: bump bpmn-visualization from 0.47.0 to 0.48.0 feat!: support bpmn-visualization 0.48.0 Jun 25, 2026
@tbouffard tbouffard removed the skip-changelog Do not include in Changelog and Release Notes label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency (dev or runtime) javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant