Skip to content

refactor!: stop exporting StyleConfigurator and mxImageExport#3528

Merged
tbouffard merged 5 commits into
masterfrom
refactor/simplify_exports
Jun 8, 2026
Merged

refactor!: stop exporting StyleConfigurator and mxImageExport#3528
tbouffard merged 5 commits into
masterfrom
refactor/simplify_exports

Conversation

@tbouffard

@tbouffard tbouffard commented Jun 8, 2026

Copy link
Copy Markdown
Member

StyleConfigurator and mxImageExport were exposed through the public entry points but are mxGraph implementation details that should not be part of the supported API surface. Removing them keeps the public API focused and avoids leaking mxGraph internals to consumers.

The dev examples that relied on them now import StyleConfigurator from its internal path and call
mxgraph.mxImageExport() directly. This is not a breaking change as this export had never been released.

BREAKING CHANGE:

  • StyleConfigurator is no longer exported from the bpmn-visualization entry point. It is internals only and should not have been exported. There is no known usage of StyleConfigurator, so the impact should be very limited or null.

StyleConfigurator and mxImageExport were exposed through the public entry points but are mxGraph implementation
details that should not be part of the supported API surface. Removing them keeps the public API focused and avoids
leaking mxGraph internals to consumers.

The dev examples that relied on them now import StyleConfigurator from its internal path and call
mxgraph.mxImageExport() directly.

BREAKING CHANGE:
- StyleConfigurator is no longer exported from the bpmn-visualization entry point.
- mxImageExport is no longer re-exported from the mxgraph initializer.
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Jun 8, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

♻️ Preview destroyed

PR preview ♻️ Destroyed ♻️ Destroyed
🔗 Preview https://process-analytics-bpmn-visualization-js-doc_preview-pr-3528.surge.sh (already destroyed)
📝 Commit3bcd98b
🪵 LogsView logs

🤖 Powered by surge-preview

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

♻️ Preview destroyed

PR preview ♻️ Destroyed ♻️ Destroyed
🔗 Preview https://process-analytics-bpmn-visualization-js-demo_preview-pr-3528.surge.sh (already destroyed)
📝 Commit3bcd98b
🪵 LogsView logs

🤖 Powered by surge-preview

@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@tbouffard
tbouffard merged commit dde8974 into master Jun 8, 2026
35 of 36 checks passed
@tbouffard
tbouffard deleted the refactor/simplify_exports branch June 8, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant