process-analytics / bpmn-visualization-demo-template

A template to quickly initiate a `bpmn-visualization` demo powered by `Vite` and written in `TypeScript`
https://process-analytics.github.io/bpmn-visualization-demo-template/
Apache License 2.0
1 stars 0 forks source link

chore(deps): bump bpmn-visualization from 0.43.0 to 0.44.0 #43

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 2 weeks ago

Bumps bpmn-visualization from 0.43.0 to 0.44.0.

Release notes

Sourced from bpmn-visualization's releases.

0.44.0

📢 This new version of bpmn-visualization introduces a reduction in package size.

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

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

Highlights

The overall size of the bpmn-visualization package has been reduced.

For instance, the size of the minified IIFE bundle included in the npm package has decreased from 4750B / 4.63kB.

bundle 0.43.0 0.44.0
bpmn-visualization.esm.js 209,770 204,217
bpmn-visualization.js 1,682,011 1,671,953
bpmn-visualization.min.js 990,530 985,780

This reduction is the result of both code refactoring and the transition from lodash-es to es-toolkit.

es-toolkit is a modern, high-performance JavaScript utility library that features a smaller bundle size and robust type annotations.

Advantages of using es-toolkit include:

  • More frequent updates
  • ESM optimization
  • Improved tree-shaking

Breaking Changes

This version introduces minor breaking changes primarily affecting style customization functions.

Removal of Unused Elements in Custom Styling Features

  • BpmnCanvas.setIconOriginForIconOnBottomLeft
  • StyleDefault.SHAPE_ACTIVITY_FROM_CENTER_MARGIN

These changes are unlikely to impact users as these methods were not widely utilized. No repositories within the Process Analytics project were found to be using them.

ℹ️ For more details, see #3050.

Removal of IconPainter.paintEmptyIcon

This change is expected to have minimal impact. Applications that extend IconPainter typically have no reason to override this method.

ℹ️ For more details, see #3054.

Correct CSS Class Name for Adhoc Subprocess

... (truncated)

Commits
  • 77d4b09 chore(release): 0.44.0
  • c4440f1 chore(release): prepare version for release
  • 46ba46b ci: redesign notifications for new releases (#3156)
  • 3c4c4ea chore(deps): switch from lodash-es to es-toolkit (#3142)
  • a1c7c26 refactor: simplify some code using the mxGraph API (#3153)
  • 5a6897b chore(deps-dev): typedoc from 0.25.13 to 0.26.6 (#3154)
  • 4206b28 chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 in the jest group (#3155)
  • a5886d1 docs: improve the issue templates (#3148)
  • e3f48eb refactor!: rename values in ShapeBpmnMarkerKind (#3147)
  • 7a9f2b4 test(e2e): restore report generation and fix location of received images (#3145)
  • Additional commits viewable in compare view


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 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 show 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)