Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump bpmn-visualization from 0.38.1 to 0.39.0 #29

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2023

Bumps bpmn-visualization from 0.38.1 to 0.39.0.

Release notes

Sourced from bpmn-visualization's releases.

0.39.0

This new version improves the usability of BPMN diagrams by providing a new API for obtaining model elements, and includes various bug fixes and maintenance tasks.

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

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

Highlights

ESM Library

A notable improvement in this release is the resolution of an issue related to the exported ESM (ECMAScript Module) bundle. This fix now allows bpmn-visualization to be used as an ESM bundle in Node.js projects. This may be of interest to applications that want to test code that relies on bpmn-visualization.

New APIs for retrieving BPMN Semantics

We've added APIs to retrieve the BPMN semantics of elements by kind or ID, reducing unnecessary data retrieval.

Retrieving by element Kind

We've introduced a new API that allows users to retrieve BPMN semantics based on the element kind. This API is specifically designed for users who only need to access BPMN semantic data.

Here's an example of how to use it:

const modelElements: BpmnSemantic[] = bpmnVisualization.bpmnElementsRegistry
  .getModelElementsByKinds(bpmnKinds);
for (const modelElement of modelElements) {
const value = modelElement.isShape ? 'top-left' : 'bottom-center';
....
}

ℹ️ For more information, refer to #2841.

Retrieving by element ID

Another valuable addition is the API for retrieving BPMN semantics by element ID. This new API optimizes usage by reducing unnecessary data retrieval when the caller only needs semantic information.

Here's an example of how to use it:

const modelElements: BpmnSemantic[] = bpmnVisualization.bpmnElementsRegistry
  .getModelElementsByKinds(bpmnIds)
  .filter(semantic => semantic.isShape);

ℹ️ For more information, refer to #2837.

Examples: Referencing the bv-experimental-add-ons demo

... (truncated)

Commits
  • 5d43c4b chore(release): 0.39.0
  • fc1b2dd chore(release): prepare version for release
  • 5190882 feat: add a method to only get BPMN semantic of elements by kind (#2841)
  • 9c1852d chore: move project to ESM (#2840)
  • a0a7d6a docs: describe the security policy (#2839)
  • 9990939 feat: add a method to only get BPMN semantic of elements by id (#2837)
  • 6e4cb26 docs(release): simplify management of GH releases (#2836)
  • 7679642 refactor: remove mx prefix in variables related to mxGraph objects (#2834)
  • 2e68fa0 test: add more tests for StyleComputer (#2835)
  • 792e4d1 chore(eslint): use @​typescript-eslint/stylistic rules (#2821)
  • 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 <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)

Bumps [bpmn-visualization](https://github.com/process-analytics/bpmn-visualization-js) from 0.38.1 to 0.39.0.
- [Release notes](https://github.com/process-analytics/bpmn-visualization-js/releases)
- [Changelog](https://github.com/process-analytics/bpmn-visualization-js/blob/master/CHANGELOG.md)
- [Commits](process-analytics/bpmn-visualization-js@v0.38.1...v0.39.0)

---
updated-dependencies:
- dependency-name: bpmn-visualization
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency (dev or runtime) javascript Pull requests that update Javascript code labels Sep 4, 2023
@dependabot dependabot bot requested review from a team, csouchet, oanesini and assynour and removed request for a team September 4, 2023 16:27
@csouchet
Copy link
Member

csouchet commented Sep 5, 2023

@dependabot squash and merge

@dependabot dependabot bot merged commit 4fe3b50 into main Sep 5, 2023
4 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/bpmn-visualization-0.39.0 branch September 5, 2023 09:13
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