Releases: process-analytics/bv-experimental-add-ons
0.6.1
⚡ This new version includes internal changes, in particular improvements that apply to the demo. ⚡
List of issues: milestone 0.6.1
What's Changed
🎉 New Features
- feat(demo): improve zoom control buttons by @tbouffard in #186
⚙️ Other Changes
- chore: update the script to develop the demo by @tbouffard in #166
- ci: add "actions" permissions to fix GH Pages deploy by @tbouffard in #194
- ci: automate the initialization of GitHub release by @tbouffard in #198
- refactor: simplify listener declaration in OverlayPlugin demo by @tbouffard in #201
Full Changelog: v0.6.0...v0.6.1
0.6.0
⚡ This new version improves the plugins
and BpmnElementsSearcher
. ⚡
List of issues: milestone 0.6.0
Highlights
Minimal version of bpmn-visualization
You must now use bpmn-visualization
0.42.0 or higher with bv-experimental-add-ons
. The previous version required bpmn-visualization
0.40.0 or higher.
ℹ️ For more details, see #155.
Plugin are now configurable
The plugins can now be configured by passing options at BpmnVisualization
initialization.
Previously, the plugins must be configured by calling a method. This is now easier and consistent with the rest of the library.
New ElementsPlugin
plugin
This new version introduces the ElementsPlugin
, which exposes the bpmn-visualization
API methods that retrieve elements from the model.
This is the first step of an initiative that will provide all methods of BpmnElementsRegistry
via plugins.
ℹ️ For more details, see #77
New CasePathResolver
This new class is dedicated to path resolution of a single instance/case of a process, while the existing PathResolver
is for general resolution.
Given a set of elements considered as completed, it is currently able to compute the edges between the provided shapes and the shapes around the provided edges.
It is also able to consider completed and pending elements both in the input parameter and in the inferred path.
This is the first step towards the implementation of more intelligent computing in the future.
ℹ️ For more details, see #142
More options for BpmnElementsSearcher
BpmnElementsSearcher
allows you to retrieve elements by providing their name.
Previously, it provided only one method, which returned the identifier of the element concerned. In many cases, the need is to retrieve the complete model object, not just its identifier. An additional call to the API was then necessary to obtain the complete object.
BpmnElementsSearcher
now provides a new method that retrieves the complete element from the model. In addition, it allows you to choose how deduplication is performed if 2 or more elements match the name provided.
What's Changed
🎉 New Features
- feat: enable diagram navigation in the "Overlays" demo by @tbouffard in #135
- feat: introduce
ElementsPlugin
by @tbouffard in #139 - feat(BpmnElementsSearcher): provide options to deduplicate elements by @tbouffard in #131
- feat(BpmnElementsSearcher): add a new method to get all elements by name by @tbouffard in #134
- feat: introduce
CasePathResolver
by @tbouffard in #142 - feat: add a way to configure plugins by @tbouffard in #159
📝 Documentation
- docs: present the library as less "experimental" than before by @tbouffard in #160
⚙️ Other Changes
- style: apply
unicorn/recommended
rules by @tbouffard in #127 - chore(eslint): lint imports with
eslint-plugin-import
by @tbouffard in #140 - refactor(plugin): remove wrong comment by @tbouffard in #141
- refactor(path): let
bpmn-visualization
filters duplicates by @tbouffard in #155
Full Changelog: v0.5.0...v0.6.0
0.5.0
⚡ This new version improves BpmnElementsSearcher
and PathResolver
. ⚡
List of issues: milestone 0.5.0
Minimal version of bpmn-visualization
You must now use bpmn-visualization
0.40.0 or higher with bv-experimental-add-ons
. The previous versions required bpmn-visualization
0.39.0 or higher.
What's Changed
🎉 New Features
- feat: allow to find flows when searching by name by @tbouffard in #118
- feat: improve the robustness of
PathResolver
by @tbouffard in #119 - feat: detect message flows with
PathResolver
by @tbouffard in #120 - feat: expose bpmn-visualization methods in OverlaysPlugin by @tbouffard in #123
📝 Documentation
- docs: add emoji in "other changes" paragraph of the release notes by @tbouffard in #116
📦 Dependency updates
- chore(deps): bump bpmn-visualization from 0.39.0 to 0.40.0 by @dependabot in #125
⚙️ Other Changes
Full Changelog: v0.4.0...v0.5.0
0.4.0
⚡ This new version improves the plugin mechanism and the robustness of BPMN element utilities. ⚡
List of issues: milestone 0.4.0
Breaking changes
Minimal version of bpmn-visualization
You must now use bpmn-visualization
0.39.0 or higher with bv-experimental-add-ons
. Previous versions required bpmn-visualization
0.37.0 or higher.
TypeScript usage of BpmnVisualization.getPlugin
The method now returns an instance of Plugin
. In previous versions, it returned unknown
.
Highlights
Simplified plugin usage for TypeScript users
Previously, you had to cast the returned value with the as
keyword or with <>
:
const myPlugin1 = bpmnVisualization.getPlugin('my-plugin-1') as MyCustomPlugin1;
const myPlugin2 = <MyCustomPlugin2>bpmnVisualization.getPlugin('my-plugin-2');
In the new version, you can still use the previous way, but we suggest you use the new features which provide better guidance:
const myPlugin = bpmnVisualization.getPlugin<MyPlugin>('my-plugin');
ℹ️ If you want more details, please see #106
What's Changed
🎉 New Features
- feat: prevent multiple plugins with the same ID from loading by @tbouffard in #103
- feat!: use generic type when getting a plugin by @csouchet in #106
- feat: improve the robustness of BPMN elements utilities by @tbouffard in #115
📝 Documentation
- docs: improve the release how-to by @tbouffard in #83
- docs: improve how-to create the GH releases content by @tbouffard in #94
- docs: describe the security policy by @tbouffard in #93
- docs(release): mention requirement changes for
bpmn-visualization
by @tbouffard in #105
📦 Dependency updates
⚙️ Other Changes
- chore: configure eslint and fix lint errors by @tbouffard in #84
- chore: order npm scripts alphabetically in package.json by @tbouffard in #85
- refactor: fix Code Smells detected by SonarCloud by @tbouffard in #86
- chore: add dependabot configuration by @tbouffard in #87
- chore(dev-deps): restore usage of typescript 4.5.2 in check-ts-support by @tbouffard in #90
- chore(dependabot): do not update typescript by @tbouffard in #98
- chore: move project to ESM by @tbouffard in #99
- chore: add infrastructure to write JavaScript tests with jest by @tbouffard in #100
- refactor(demo): add rel="noopener" to external links by @tbouffard in #101
- test: add more tests for the plugins support by @tbouffard in #102
- chore: use bpmn-visualization 0.39.0 as the minimum version required by @tbouffard in #109
- refactor(demo): move assets to a dedicated sub-folder by @tbouffard in #110
- test: add tests to OverlaysPlugin by @tbouffard in #107
- test: move test files to a dedicated sub-folder by @tbouffard in #112
New Contributors
- @dependabot made their first contribution in #88
- @csouchet made their first contribution in #104
Full Changelog: v0.3.0...v0.4.0
0.3.0
⚡ Let's extend bpmn-visualization
with a new plugin mechanism ⚡.
This version provides the OverlaysPlugin
plugin to show you how to develop and register plugins. OverlaysPlugin
lets you hide and show overlays without removing them from the view.
Have a look at the live demo ⏩ https://process-analytics.github.io/bv-experimental-add-ons/
List of issues: milestone 0.3.0
What's Changed
🎉 New Features
- feat(demo): introduce a Home page for all demos by @tbouffard in #60
- feat(demo): better explain how to use the
PathResolver
demo by @tbouffard in #61 - feat: introduce plugins infrastructure and add
OverlaysPlugin
by @tbouffard in #62
📝 Documentation
- docs: add badges in README by @tbouffard in #57
- docs: improve package installation steps by @tbouffard in #56
- docs: add SonarCloud badge in README by @tbouffard in #69
⚙️ Other Changes
- build: develop the lib and demo with a single command by @tbouffard in #58
- refactor(demo): remove hack for
resetStyle
by @tbouffard in #70
Full Changelog: v0.2.0...v0.3.0
0.2.0
A demo is now available to show PathResolver
in action. You can see it live ⏩ https://process-analytics.github.io/bv-experimental-add-ons/
bv-experimental-add-ons_0.2.0_demo_PathResolver.mp4
List of issues: milestone 0.2.0
What's Changed
🎉 New Features
- feat: initialize demo for
PathResolver
by @tbouffard in #50 - feat: add
ShapeUtil.isBpmnArtifact
by @tbouffard in #52 - feat(demo): provide guidance in the page by @tbouffard in #54
📝 Documentation
- docs: add link to the
bpmn-visualization
repository by @tbouffard in #49
⚙️ Other Changes
- ci: fix paths in the build workflow by @tbouffard in #51
- ci: deploy demo to GitHub Pages by @tbouffard in #53
Full Changelog: v0.1.1...v0.2.0
0.1.1
📣 This is the first version available as npm package: https://www.npmjs.com/package/@process-analytics/bv-experimental-add-ons
What's Changed
📝 Documentation
- docs: mention "milestone" management in the release how-to by @tbouffard in #46
⚙️ Other Changes
- chore: fix workflows used to release and publish npm package by @tbouffard in #45
- chore(release): correctly tag when bumping the version of the package by @tbouffard in #47
- ci: fix permissions of versions.bash by @tbouffard in #48
Full Changelog: v0.1.0...v0.1.1
0.1.0
📣 This is the initial release of bv-experimental-add-ons
🎉
It provides an initial set of add-ons that can be used with bpmn-visualization
version 0.37.0 or greater.
List of issues: milestone 0.1.0
What's Changed
🎉 New Features
- feat: introduce
PathResolver
by @tbouffard in #32 - feat: add
BpmnElementsSearcher
andBpmnElementsIdentifier
by @tbouffard in #33
🐛 Bug Fixes
- fix: export
BpmnElementsSearcher
andBpmnElementsIdentifier
by @tbouffard in #36
📝 Documentation
- docs: initialize the README content by @tbouffard in #25
- docs: update the release how-to by @tbouffard in #43
⚙️ Other Changes
- ci: ensure that the PR title follows "Conventional Commits" by @tbouffard in #29
- chore: add GitHub release configuration by @tbouffard in #30
- chore: declare bpmn-visualization as peer dependency by @tbouffard in #38
- chore: prepare the npm package by @tbouffard in #40
- test: introduce a dedicated workspace to test the TypeScript support by @tbouffard in #41
- chore: review the content of package.json by @tbouffard in #42
- chore: refine token permissions in workflows by @tbouffard in #44
New Contributors
- @tbouffard made their first contribution in #29
Full Changelog: https://github.com/process-analytics/bv-experimental-add-ons/commits/v0.1.0