Releases: process-analytics/bpmn-visualization-js
0.9.0
This new release focuses on refactoring, API improvements to customize the style & the interaction with the BPMN Diagram and several new examples with the new API.
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet and @tbouffard
See milestone 0.9.0 to get the list of issues covered by this release.
Highlights
API for customization
The following API
getBpmnHtmlElement(bpmnElementId: string): HTMLElement | null
was replaced by
getElementsByIds(bpmnElementIds: string | string[]): BpmnElement[]
Examples
Call Activity with tabs
Call Activity on same container
Highlight BPMN elements
Popover
Popup and Popover on user interaction
Running Dashed Message Flow
Growing Sequence Flow
Visual tests
We organize the expected snapshots in different folders by test file for more clarity.
Now, we can use a same snapshot rendering many times for different tests.
What's Changed
🧲 BPMN diagram usability
- [FEAT] Add API to identify several BPMN elements on the diagram (#940) @tbouffard
- [FEAT] Simplify BPMN element identification in DOM (#921) @tbouffard
📝 Documentation
- [DOC] update label and logo of the GitHub releases badges (#941) @tbouffard
- [INFRA] Avoid extra html documentation rebuild (#923) @tbouffard
- [DOC] Template for release tweet in Release doc (#922) @aibcmars
📦 Dependency updates
- [INFRA] dev - Bump eslint-config-prettier from 6.15.0 to 7.0.0 (#951) @dependabot
- [INFRA] dev - Bump ts-jest from 26.4.2 to 26.4.4 (#950) @dependabot
- [INFRA] dev - Bump lint-staged from 10.5.2 to 10.5.3 (#949) @dependabot
- [INFRA]: Bump ini from 1.3.5 to 1.3.8 (#947) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 10.0.0 to 11.0.0 (#935) @dependabot
- [INFRA] dev - Bump autoprefixer from 10.0.2 to 10.0.4 (#932) @dependabot
- [INFRA] dev - Bump @types/puppeteer from 5.4.0 to 5.4.1 (#936) @dependabot
- [INFRA] dev - Bump @types/jest from 26.0.15 to 26.0.16 (#934) @dependabot
- [INFRA] dev - Bump eslint-plugin-prettier from 3.1.4 to 3.2.0 (#933) @dependabot
👻 Maintenance
- [TEST] Refactor the computing of the snapshot & diff paths for the visual tests (#939) @csouchet
- [REFACTOR] Configure generic function calling to simplify the code (#952) @csouchet
- [TEST] Organize the snapshot & diff directories for diagram navigation visual tests (#945) @csouchet
- [TEST] Organize the snapshot & diff directories for bpmn rendering visual tests (#944) @csouchet
- [TEST] Organize the snapshot directory for diagram rendering visual tests (#943) @csouchet
- [INFRA] Improve release-drafter template (#946) @tbouffard
- [INFRA] align versions (dev and release) in config files (#937) @tbouffard
- [INFRA] update rollup livereload with postcss (#931) @aibcmars
- [INFRA] Don't run 'tsc' in pre-commit hook (#938) @tbouffard
- [TEST] Refactor how DOM selectors are managed (#910) @tbouffard
- [INFRA] Avoid extra html documentation rebuild (#923) @tbouffard
0.8.0
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet and @tbouffard
See milestone 0.8.0 to get the list of issues covered by this release.
Highlights
New demo page (using tailwindcss)
The Demo page has been refreshed and now provides full navigation capabilities (zoom, pan, fit). It will be improved in the next releases to provide more features.
Documentation - clear split between contributors and users
For easier navigation and readability, we have split the documentation.
API for customization
The first API draft was constructed.
Moreover, first implementation of one of endpoint arrives in this release.
getBpmnHtmlElement(bpmnElementId: string): HTMLElement | null
Code quality - public metrics
SonarCloud is set up and accessible here: SonarCloud
Examples
Refined home page with sticky section titles and back to top button.
Add new examples:
- comparison with bpmn-js
- open a call activity in a modal by clicking on a BPMN element of a main diagram
See the live environment.
What's Changed
⤵️ Library Integration
- [FEAT] Introduce 1st API for execution data (#908) @tbouffard
- [FEAT] Provide a CommonJS bundle (#880) @tbouffard
📝 Documentation
- [DOC] clarify contributors and users documentation folders (#904) @tbouffard
- [DOC] rework documentation (#892) @aibcmars
- [DOC] Remove unnecessary action on release (#890) @csouchet
🎮 Demo and Examples
📦 Dependency updates
- [INFRA] dev - Bump @typescript-eslint/parser from 4.8.1 to 4.8.2 (#915) @dependabot
- [INFRA] dev - Bump rollup from 2.33.1 to 2.34.0 (#914) @dependabot
- [INFRA] dev - Bump prettier from 2.1.2 to 2.2.1 (#913) @dependabot
- [INFRA] dev - Bump puppeteer from 5.4.1 to 5.5.0 (#912) @dependabot
- [INFRA] dev - Bump lint-staged from 10.5.1 to 10.5.2 (#911) @dependabot
- [INFRA] dev - Bump typescript from 4.0.5 to 4.1.2 (#899) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 4.5.0 to 4.8.1 (#901) @dependabot
- [INFRA] dev - Bump eslint from 7.13.0 to 7.14.0 (#900) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 4.4.1 to 4.8.1 (#898) @dependabot
- [INFRA] dev - Bump debug from 4.2.0 to 4.3.1 (#897) @dependabot
- [INFRA] dev - Bump jest from 26.5.3 to 26.6.3 (#883) @dependabot
👻 Maintenance
- [INFRA] Add SonarCloud analysis on CI build (#906) @csouchet
- [REFACTOR] don't paint the Manual Task icon twice (#907) @tbouffard
- [REFACTOR] Update the FitType API (#895) @csouchet
- [REFACTOR] Use the diagram rendering html page on the visual tests for the fit margin on load (#894) @csouchet
- [REFACTOR] update bpmn div id in test pages (#893) @tbouffard
- [REFACTOR] Merge html pages used in visual tests (#891) @csouchet
- [INFRA] more visible remaining manual edits in release-drafter template (#889) @tbouffard
- [REFACTOR] Use validators for fit margin (#877) @tbouffard
0.7.0
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet, @dependabot and @tbouffard
See milestone 0.7.0 to get the list of issues covered by this release.
Highlights
Detect a new set of Gateways: the Event-Based
Gateways
This gateways are currently rendered with an arbitrary color, the final rendering will be implemented in a future release.
- Orange: Non Instantiating Event-Based Gateway (for rendering, see #796)
- Purple: Instantiate Exclusive Event-Based Gateway (for rendering, see #798)
- Light blue: Instantiate Parallel Event-Based Gateway (for rendering, see #800)
Allow to update the container fit level after the BPMN Diagram loading
Now, we can fit the BPMN diagram rendering without loading it again.
The fit type are the same for the fit on load: None
, Horizontal
, Vertical
, HorizontalVertical
& Center
.
Add performance tests
We have decided to add performance tests to be able to validate the critical features:
- loading the BPMN file
- zoom (below it is clear that zoom performance was improved after introducing: throttle and debounce mechanisms; first 5 runs show the state before this improvement)
What's Changed
🚀 BPMN support
- [FEAT] Detect Event-Based Gateway (#808) @tbouffard
🧲 BPMN diagram usability
- [FEAT] Allow to update the viewport fit/zoom level after load (#867) @csouchet
- [FEAT] improved zoom performance (#865) @aibcmars
- [FEAT] allow to configure the 'fit margin' (#843) @tbouffard
📝 Documentation
- [DOC] improve the release process (#855) @tbouffard
📦 Dependency updates
- [INFRA] dev - Bump puppeteer from 5.4.0 to 5.4.1 (#884) @dependabot
- [INFRA] dev - Bump eslint-config-prettier from 6.13.0 to 6.15.0 (#886) @dependabot
- [INFRA] dev - Bump @types/jest-image-snapshot from 4.1.2 to 4.1.3 (#885) @dependabot
- [INFRA] dev - Bump @types/minimist from 1.2.0 to 1.2.1 (#887) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0 (#871) @dependabot
- [INFRA] dev - Bump @types/puppeteer from 3.0.4 to 5.4.0 (#874) @dependabot
- [INFRA] dev - Bump rollup from 2.32.0 to 2.33.1 (#873) @dependabot
- [INFRA] dev - Bump eslint from 7.12.1 to 7.13.0 (#872) @dependabot
- [INFRA] dev - Bump rollup-plugin-serve from 1.0.4 to 1.1.0 (#870) @dependabot
- [INFRA] dev - Bump rollup-plugin-typescript2 from 0.27.3 to 0.29.0 (#850) @dependabot
- [INFRA] dev - Bump eslint from 7.11.0 to 7.12.1 (#851) @dependabot
👻 Maintenance
- [REFACTOR] Prepare the visual tests for the fit after load (#881) @csouchet
- [REFACTOR] Prepare the demo page for the fit after load (#882) @csouchet
- [REFACTOR] Rename global options object (#878) @tbouffard
- [REFACTOR] Change the name of the visual tests for the fit on load (#875) @csouchet
- [INFRA] Run GitHub workflows on Ubuntu 20.04 (#863) @tbouffard
- [INFRA] Tests performance measurement (#856) @aibcmars
0.6.0
Thanks to all the contributors of this release 🌈: @VickyPicky, @aibcmars, @csouchet, @dependabot and @tbouffard
See milestone 0.6.0 to get the list of issues covered by this release.
Highlights
Detect and Render a new set of Events
Now, we fully support all Events except Multiple Events
.
Cancel Events
Conditional Events
Escalation Events
Allow to fit the viewport on BPMN Diagram load
You can now choose to fit horizontally or vertically. Additional options to fit both horizontally and vertically plus center the BPMN diagram are also available.
See the examples repository for more details.
In the following example, we fit and center the BPMN Diagram.
What's Changed
🚀 BPMN support
- [FEAT] Detect all Escalation Events (#811) @VickyPicky
- [FEAT] Detect all Conditional events (#790) @VickyPicky
- [FEAT] Detect all Cancel Events (#777) @VickyPicky
🚄 BPMN rendering
- [FEAT] Render all Conditional Events (#792) @VickyPicky
- [FEAT] Render all Escalation Events (#812) @VickyPicky
- [FEAT] Render all Cancel Events (#789) @VickyPicky
🧲 BPMN diagram usability
- [FEAT] Fit center the viewport on diagram load (#836) @csouchet
- [FEAT] Fit vertically the viewport on diagram load (#835) @csouchet
- [FEAT] Fit horizontally the viewport on diagram load (#834) @csouchet
- [FEAT] Fit horizontally & vertically on diagram load (#833) @csouchet
- [FEAT] fix proportions for zoom in and zoom out coherence (#832) @aibcmars
- [FEAT] Change mouse cursor while panning (#815) @aibcmars
🐛 Bug Fixes
- [FIX] Fills the icon for Compensation Throw & End Events (#822) @VickyPicky
- [FIX] Display boundary events of collapsed sub-process (#821) @tbouffard
📝 Documentation
- [DOC] Update the README with the integration examples by module format (#816) @csouchet
- [DOC] Add info about npm publish (#788) @aibcmars
📦 Dependency updates
- [INFRA] dev - Bump @types/puppeteer from 3.0.2 to 3.0.4 (#853) @dependabot
- [INFRA] dev - Bump typescript from 4.0.3 to 4.0.5 (#852) @dependabot
- [INFRA] dev - Bump lint-staged from 10.4.2 to 10.5.1 (#854) @dependabot
- [INFRA] dev - Bump puppeteer from 5.3.1 to 5.4.0 (#829) @dependabot
- [INFRA] dev - Bump jest-each from 26.5.2 to 26.6.1 (#830) @dependabot
- [INFRA] dev - Bump @types/jest from 26.0.14 to 26.0.15 (#827) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 4.4.1 to 4.5.0 (#828) @dependabot
- [INFRA] dev - Bump ts-jest from 26.4.1 to 26.4.2 (#826) @dependabot
👻 Maintenance
- [DEMO] Rename 'options' into 'globalOptions' (#838) @csouchet
- [TEST] Rename visual tests for BPMN rendering (#837) @csouchet
- [TEST] Remove unnecessary duplicated dependency: jest-each (#831) @csouchet
- [INFRA] use @types/jest-image-snapshot instead of custom types (#825) @tbouffard
- [INFRA] Show dependencies sizes in rollup build (#820) @aibcmars
- [REFACTOR] Extract BpmnMxGraph class in separate file (#818) @csouchet
- [REFACTOR] Rename icon methods in IconPainter to reflect what is drawing (#810) @csouchet
- [TEST] Add missing shapes in model-badly-attached-elements.bpmn file (#809) @csouchet
- [TEST] Fix the visualization test for the Events on MacOS (#814) @csouchet
- [INFRA] Add noImplicitThis rule (#813) @aibcmars
- [TEST] Remove unnecessary configuration in model e2e (#785) @csouchet
0.5.0
Thanks to all the contributors of this release 🌈: @aibcmars, @alachambre, @benjaminParisel, @csouchet, @dependabot, @process-analytics-bot and @tbouffard
See milestone 0.5.0 to get the list of issues covered by this release.
Highlights
Compensation Events
Business Rule Task
Pan
Zoom
What's Changed
🚄 BPMN rendering
- [FIX] Don't display elements of a Collapsed Sub-Process (#772) @csouchet
- [FEAT] Render business rule task (#709) @benjaminParisel
- [FEAT] Render compensation events (#707) @alachambre
🧲 BPMN diagram usability
- [FEAT] zoom to mouse pointer (#774) @aibcmars
- [FEAT] Allow to zoom the BPMN diagram with mouse wheel (#734) @tbouffard
- [FEAT] Allow to navigate the BPMN diagram with panning (#733) @tbouffard
🐛 Bug Fixes
📝 Documentation
- [DOC] Help debugging format errors of BPMN file in e2e tests (#771) @csouchet
- [DOC] improve SVG icon integration how-to (#714) @tbouffard
- [DOC] Fix Hacktoberfest image (#712) @csouchet
- [DOC] Add ESLint configuration steps for vscode (#706) @alachambre
- [DOC] Rework icons in markdown (#705) @aibcmars
🎮 Demo and Examples
- [FEAT] Allow to hide controls (button, text) in the demo page (#740) @tbouffard
📦 Dependency updates
- [INFRA]: Bump entities from 2.0.0 to 2.1.0 (#782) @dependabot
- [INFRA] dev - Bump rollup from 2.29.0 to 2.32.0 (#780) @dependabot
- [INFRA] dev - Bump jest-html-reporter from 3.2.0 to 3.3.0 (#781) @dependabot
- [INFRA] dev - Bump eslint-config-prettier from 6.12.0 to 6.13.0 (#783) @dependabot
- [INFRA] dev - Bump lint-staged from 10.4.0 to 10.4.2 (#779) @dependabot
- [INFRA] dev - Bump typescript from 3.9.7 to 4.0.3 (#723) @tbouffard
- [INFRA] dev - Bump @typescript-eslint/parser from 4.3.0 to 4.4.1 (#751) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 4.3.0 to 4.4.1 (#747) @dependabot
- [INFRA] dev - Bump eslint from 7.10.0 to 7.11.0 (#750) @dependabot
- [INFRA] dev - Bump jest from 26.4.2 to 26.5.3 (#725) @dependabot
- [INFRA] dev - Bump jest-each from 26.3.0 to 26.5.2 (#752) @dependabot
- [INFRA] dev - Bump rollup from 2.28.2 to 2.29.0 (#726) @dependabot
- [INFRA] dev - Bump husky from 4.2.5 to 4.3.0 (#724) @dependabot
👻 Maintenance
- [TEST] Fix e2e test for navigation on MacOS (#784) @csouchet
- [TEST] Convert expectModelContainsLane to jest extension (#766) @csouchet
- [TEST] Convert expectModelContainsPool to jest extension (#765) @csouchet
- [TEST] Convert expectModelContainsSubProcess to jest extension (#764) @csouchet
- [TEST] Convert expectModelContainsBpmnEvent, expectModelContainsBpmnBoundaryEvent & expectModelContainsBpmnStartEvent functions to jest extension (#763) @csouchet
- [TEST] Introduce 'toBeBusinessRuleTask' Jest extension (#762) @csouchet
- [TEST] Introduce 'toBeScriptTask' Jest extension (#761) @csouchet
- [TEST] Introduce 'toBeManualTask' Jest extension (#760) @csouchet
- [TEST] Introduce 'toBeSendTask' Jest extension (#759) @csouchet
- [TEST] Remove unnecessary Jest extension (#770) @csouchet
- [TEST] Introduce 'toBeReceiveTask' Jest extension (#758) @csouchet
- [TEST] Introduce 'toBeUserTask' Jest extension (#757) @csouchet
- [TEST] Convert expectModelContainsCellWithGeometry to jest extension (#769) @csouchet
- [TEST] Introduce 'toBeServiceTask' Jest extension (#756) @csouchet
- [TEST] Introduce 'toBeTask' Jest extension (#755) @csouchet
- [TEST] Introduce 'toBeCallActivity' Jest extension (#754) @csouchet
- [TEST] Convert expectModelContainsShape function to jest extension (#746) @csouchet
- [TEST] Replace expectModelNotContainCell by jest extension (#748) @csouchet
- [TEST] Convert expectModelContainsAssociationFlow function to jest extension (#745) @csouchet
- [TEST] Convert expectModelContainsMessageFlow function to jest extension (#744) @csouchet
- [TEST] Convert expectModelContainsSequenceFlow function to jest extension (#743) @csouchet
- [TEST] Split jest extensions in different folders (#742) @csouchet
- [INFRA] simplify e2e tests configuration in IDE (#711) @aibcmars
- [TEST] Convert expectModelContainsEdge function to jest extension (#720) @csouchet
- [INFRA] Update release-drafter to use new label (#753) @tbouffard
- [TEST] Add visual tests for label default position (#749) @tbouffard
- [REFACTOR] rename parser creation functions (#722) @tbouffard
- [REFACTOR] Avoid global states in json parsers (#721) @tbouffard
- [TEST] Convert expectFont function to jest extension (#704) @csouchet
- [REFACTOR] Replace 'any' by mxGraph's types in StyleConfigurator (#713) @csouchet
- [TEST] Convert expectGeometry function to jest extension (#702) @csouchet
- [TEST] Add expect model utils file (#695) @csouchet
0.4.0
Thanks to all the contributors of this release 🌈: @aibcmars, @alachambre, @benjaminParisel, @csouchet, @dependabot, @process-analytics-bot and @tbouffard
See milestone 0.4.0 to get the list of issues covered by this release.
Highlights
Packaging
bpmn-visualization
is now available as a npm package. More examples and usage details to come in the next releases.
Business Rule Task detection
Rendered using the chartreuse
fill color in the following (final rendering will be managed with #646)
Compensation Event Detection
Rendered using the pink
fill color in the following (final rendering will be managed with #655)
What's Changed
🚀 BPMN support
- [FEAT] Detect Compensation Events (#675) @alachambre
- [FEAT] Detect Business rule task (#669) @benjaminParisel
🚄 BPMN rendering
- [FEAT] ensure activity markers order (#662) @tbouffard
📝 Documentation
- [DOC] add npm package badge (#703) @tbouffard
- [DOC] Add Gitpod shield in README (#688) @aibcmars
- [DOC] Add info about Gitpod (#687) @aibcmars
- [DOC] add various documentation improvements (#680) @tbouffard
- [DOC] document bpmn parsing cli tool for testing (#674) @aibcmars
- [DOC] improve guidelines for contributors (#676) @tbouffard
- [DOC] Update CONTRIBUTING.md (#661) @aibcmars
- [FIX] fix a small english mistake in the readme (#658) @alachambre
- [DOC] order the development home page (#657) @tbouffard
- [DOC] Replace the diagram example for Hacktober Fest (#653) @csouchet
- [DOC] Improve readme (#643) @csouchet
📦 Dependency updates
- [INFRA] dev - Bump rollup from 2.28.1 to 2.28.2 (#699) @dependabot
- [INFRA] dev - Bump ts-jest from 26.3.0 to 26.4.1 (#700) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser & @typescript-eslint/eslint-plugin from 4.2.0 to 4.3.0 (#698) @dependabot
- [INFRA] dev - Bump eslint from 7.9.0 to 7.10.0 (#696) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin & @typescript-eslint/parser from 3.10.1 to 4.2.0 (#667) @dependabot
- [INFRA] dev - Bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#665) @dependabot
- [INFRA] dev - Bump eslint-config-prettier from 6.11.0 to 6.12.0 (#666) @dependabot
- [INFRA] dev - Bump @types/puppeteer from 3.0.1 to 3.0.2 (#664) @dependabot
- [INFRA] dev - Bump puppeteer from 5.2.1 to 5.3.1 (#663) @dependabot
👻 Maintenance
- [INFRA] Prepare publish to npmjs (#692) @csouchet
- [INFRA] Allow e2e tests to pass on gitpod (#686) @aibcmars
- [INFRA] Provide an ESM bundle (#694) @aibcmars
- [TEST] Fix id convention in model-complete-semantic.bpmn (#678) @csouchet
- [INFRA] fix the
parseBpmn
utils build (#691) @tbouffard - [INFRA] Provide an IIFE bundle (#690) @tbouffard
- [TEST] Update error message in e2e tests (#689) @csouchet
- [INFRA] Add settings for gitpod (#681) @aibcmars
- [INFRA] upload html test results in GitHub Build workflow (#622) @tbouffard
- [REFACTOR] Move bpmn models code (#677) @csouchet
- [INFRA] replace import '*' to import only what is used (#679) @aibcmars
- [FEAT] add cli tool to parse bpmn files (#636) @aibcmars
- [INFRA] Add more guidance in the PR template (#671) @csouchet
- [TEST] Adding BpmnXmlParser test for BIC Cloud Design 6.2.0 (#660) @benjaminParisel
- [FIX] Increase the default failure threshold in order to fix errors on local macOs (#659) @csouchet
0.3.1
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet, @dependabot, @process-analytics-bot and @tbouffard
See milestone 0.3.1 to get the list of issues covered by this release.
Highlights
In this release, we focused on the improvement of the documentation for Hacktoberfest and the robustness of the library.
What's Changed
📝 Documentation
- [DOC] Split contributing guide (#632) @csouchet
- [DOC] Update the contributing section of the readme (#631) @csouchet
- [DOC] fix activities table in bpmn support doc (#637) @tbouffard
- [DOC] Update the license section of the readme (#635) @csouchet
- [DOC] highlight demo and examples live environments (#634) @tbouffard
- [DOC] Remove Jest plugin tips for VSCode (#628) @csouchet
- [DOC] improve guidelines for contributors (#630) @aibcmars
- [DOC] Improve guidelines for contributors concerning the convention of the commit message (#605) @csouchet
- [DOC] Provide VSCode tips in the contributing guide (#608) @csouchet
- [DOC] Improve information about the testing strategy (#584) @tbouffard
- [DOC] Fix the convention naming of a branch (#615) @csouchet
- [DOC] update release steps (#598) @aibcmars
📦 Dependency updates
- [INFRA] dev - Bump @types/jest from 26.0.13 to 26.0.14 (#638) @dependabot
- [INFRA] dev - Bump rollup from 2.26.11 to 2.28.1 (#644) @dependabot
- [INFRA] dev - Bump debug from 4.1.1 to 4.2.0 (#641) @dependabot
- [INFRA] dev - Bump lint-staged from 10.2.13 to 10.4.0 (#639) @dependabot
- [INFRA] dev - Bump prettier from 2.1.1 to 2.1.2 (#640) @dependabot
- [INFRA] dev - Bump rollup-plugin-livereload from 1.3.0 to 2.0.0 (#612) @dependabot
- [INFRA] dev - Bump rollup-plugin-terser from 7.0.1 to 7.0.2 (#614) @dependabot
- [INFRA] dev - Bump rollup-plugin-typescript2 from 0.26.0 to 0.27.2 (#613) @dependabot
- [INFRA] dev - Bump rollup from 2.26.9 to 2.26.11 (#611) @dependabot
- [INFRA] dev - Bump eslint from 7.7.0 to 7.9.0 (#610) @dependabot
👻 Maintenance
- [REFACTOR] more mxgraph-type-definitions usage (#633) @tbouffard
- [TEST] improve visual test for message flows (#625) @aibcmars
- [TEST] improve visual test for sequence flows (#626) @aibcmars
- [TEST] Add visual test for text annotation label (#627) @aibcmars
- [TEST] Add visual test for associations and annotations (#624) @aibcmars
- [INFRA] allow to start dev server when running e2e from ide (#623) @tbouffard
- [INFRA] add 'subprocess' visual tests (#607) @aibcmars
- [REFACTOR] shorten imports (#603) @aibcmars
- [BUG] documentReady must take a function callback as parameter (#621) @aibcmars
- [BUG] missing array in type union (#619) @aibcmars
- [INFRA] Use dedicated port for e2e and dev servers (#606) @csouchet
- [DOC] Update the readme with roadmap next steps (#604) @csouchet
0.3.0
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet, @dependabot, @process-analytics-bot and @tbouffard
See milestone 0.3.0 to get the list of issues covered by this release.
Highlights
Detect and render Manual and Script Tasks
Manual Task | Script Task |
---|---|
Here are the full set of tasks supported by bpmn-visualization
.
The business rule task will be supported later.
Black box/collapsed pool
Render both horizontal and vertical pools
Non interrupting start event in Event sub-process
On the left (in the red box) 0.2.0
, on the right (in the green box) 0.3.0
Final lane rendering (label, vertical lanes)
Horizontal lanes
Vertical lanes
Message icon on Message Flows
What's Changed
🚀 BPMN support
- [FEAT] Detect script task (#586) @tbouffard
- [FEAT] Detect Manual task (#582) @csouchet
- [FEAT] Non-interrupting Start Events (#550) @aibcmars
🚄 BPMN rendering
- [FEAT] Render Script task (#588) @csouchet
- [FEAT] Render Manual task (#585) @csouchet
- [FEAT] Render Message Flow with initiating & non-initiating message without Bounds (#569) @csouchet
- [FEAT] Render vertical lanes (#573) @csouchet
- [FEAT] Render Lane (with SubLanes) (#561) @aibcmars
- [FEAT] Non-interrupting Start Events (#550) @aibcmars
- [FEAT] render black box pool (#551) @tbouffard
🐛 Bug Fixes
- [FIX] don't create extra svg block in the demo page (#553) @tbouffard
📝 Documentation
- [DOC] improve the release description in the Contributing guide (#554) @tbouffard
🎮 Demo and Examples
- [FIX] don't create extra svg block in the demo page (#553) @tbouffard
📦 Dependency updates
- [INFRA] dev - Bump jest-image-snapshot from 4.1.0 to 4.2.0 (#576) @dependabot
- [INFRA] dev - Bump cross-env from 7.0.1 to 7.0.2 (#580) @dependabot
- [INFRA] dev - Bump rollup-plugin-serve from 1.0.3 to 1.0.4 (#579) @dependabot
- [INFRA] dev - Bump @types/jest from 26.0.10 to 26.0.13 (#578) @dependabot
- [INFRA] dev - Bump ts-jest from 26.2.0 to 26.3.0 (#577) @dependabot
- [INFRA] dev - Bump bl from 4.0.2 to 4.0.3 (#575) @dependabot
- [INFRA] dev - bump eslint dependencies (#563) @tbouffard
- [INFRA] dev - Bump rollup from 1.32.1 to 2.26.9 (#566) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0 (#558) @dependabot
- [INFRA] dev - Bump rollup-plugin-terser from 7.0.0 to 7.0.1 (#557) @dependabot
- [INFRA] dev - Bump prettier from 2.0.5 to 2.1.1 (#559) @dependabot
- [INFRA] dev - Bump lint-staged from 10.2.11 to 10.2.13 (#556) @dependabot
- [INFRA] dev - Bump husky from 4.2.3 to 4.2.5 (#548) @dependabot
- [INFRA] dev - Bump jest from 26.3.0 to 26.4.2 (#544) @dependabot
- [INFRA] dev - Bump @types/jest from 26.0.9 to 26.0.10 (#546) @dependabot
- [INFRA] dev - Bump ts-jest from 25.5.1 to 26.2.0 (#545) @dependabot
👻 Maintenance
- [INFRA] Automate release process - step 1 (#574) @aibcmars
- [INFRA] build docs with npm (#568) @tbouffard
- [INFRA] simplify rollup copy plugins configuration (#567) @tbouffard
- [INFRA] improve release-drafter dependabot replacement (#564) @tbouffard
- [TEST] avoid false positive rendering test errors (#565) @tbouffard
- [FIX] Add default value of failureThreshold to fix macOs tests (#562) @csouchet
0.2.0
Thanks to all the contributors of this release 🌈: @aibcmars, @csouchet, @dependabot and @tbouffard
See milestone 0.2.0 to get the list of issues covered by this release.
Highlights
Render Subprocess: all inner elements are detected and rendered
Render receive task: non-instantiating and instantiating
Render send task
Render Error and Link events
Render improvement for activity markers: centered, fixed-size
Pool: final rendering + vertical support
Vertial lane is coming soon...
Diagram: start supporting multi-diagrams BPMN file
In 0.1.7 all the diagrams were rendered overlapping each other - it looked really messy
Now the 1st diagram is rendered, the possibility to choose a diagram is the subject of future releases
C.4.0
with bpmn-visualization@0.1.7
C.4.0
now
What's Changed
🚀 BPMN support
- [FEAT] Detect Error Start Interrupting Event on Event Sub-Processes (#519) @tbouffard
- [FEAT] detect sequence flows of subprocess (#517) @tbouffard
- [FEAT] detect activities and gateways in subprocess (#514) @tbouffard
- [FEAT] Detect Send task (#507) @csouchet
- [FEAT] Detect Error End Event & Error Interrupting Boundary Event (#504) @csouchet
- [FEAT] Detect Throw & Catch Link Intermediate Events (#501) @csouchet
🚄 BPMN rendering
- [FEAT] use fixed size Activity Marker (#539) @aibcmars
- [FEAT] Center Activity Markers (#538) @aibcmars
- [FEAT] Render Instantiating Receive Task (#536) @tbouffard
- [FEAT] Render Pool when Participant references a Process (#520) @csouchet
- [FEAT] Detect Events on Non Event Sub-Process (#513) @tbouffard
- [FEAT] Render Non-instantiating Receive task (#512) @csouchet
- [FEAT] only consider the first BPMNDiagram from the BPMN source (#510) @tbouffard
- [FEAT] Render Send task (#508) @csouchet
- [FEAT] Render Error End Event & Error Interrupting Boundary Event (#505) @csouchet
- [FEAT] Render Throw & Catch Link Intermediate Events (#503) @csouchet
🐛 Bug Fixes
- [FIX] demo code does not interfere with lib integration (#479) @tbouffard
⤵️ Library Integration
- [FIX] demo code does not interfere with lib integration (#479) @tbouffard
↔️ Library Extensibility
- [REFACTOR] painting code easier to extend (#522) @tbouffard
📝 Documentation
- [DOC] add link to examples and BPMN test diagrams (#521) @tbouffard
📦 Dependency updates
- [INFRA] dev - Bump mxgraph-type-definitions from 1.0.3 to 1.0.4 (#535) @tbouffard
- [INFRA] Bump fast-xml-parser from 3.16.0 to 3.17.4 (#528) @tbouffard
- [INFRA] dev - Bump typescript from 3.8.2 to 3.9.7 (#527) @tbouffard
- [INFRA] dev - Bump @rollup/plugin-json from 4.0.2 to 4.1.0 (#533) @dependabot
- [INFRA] dev - Bump @types/jest-environment-puppeteer from 4.3.1 to 4.3.2 (#532) @dependabot
- [INFRA] dev - Bump rollup-plugin-livereload from 1.0.4 to 1.3.0 (#531) @dependabot
- [INFRA] dev - Bump @types/puppeteer from 2.1.0 to 3.0.1 (#499) @dependabot
- [INFRA] dev - Bump eslint-plugin-notice from 0.8.9 to 0.9.10 (#498) @dependabot
- [INFRA] dev - Bump lint-staged from 10.0.8 to 10.2.11 (#500) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 2.21.0 to 2.34.0 (#497) @dependabot
- [INFRA] dev - Bump @types/jest from 25.1.4 to 26.0.9 & jest to 26.3.0 (#494) @dependabot
- [INFRA] dev - Bump puppeteer from 3.0.4 to 5.2.1 (#492) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 7.1.1 to 8.4.0 (#490) @dependabot
- [INFRA] dev - Bump eslint-plugin-prettier from 3.1.2 to 3.1.4 (#493) @dependabot
- [INFRA] dev - Bump rollup-plugin-terser from 6.1.0 to 7.0.0 (#491) @dependabot
👻 Maintenance
- [REFACTOR] demo and test code simplification (#549) @tbouffard
- [TEST] improve 'events' visual tests (#543) @tbouffard
- [TEST] improve visualization non regression tests (#540) @tbouffard
- [TEST] Introduce BPMN rendering non regression visual tests (#537) @tbouffard
- [TEST] increase puppeteer server launch timeout (#534) @tbouffard
- [TEST] Organize elements in model_complete_semantic.bpmn (#525) @csouchet
- [REFACTOR] simplify BpmnCanvas creation in IconPainter (#495) @tbouffard
- [INFRA] run dependabot on weekly basis (#496) @tbouffard
- [REFACTOR] Call position methods in PaintParameter (#489) @csouchet
0.1.7
Thanks to all the contributors of this release 🌈: @aibcmars, @benjaminParisel, @csouchet, @dependabot and @tbouffard
See milestone 0.1.7 to get the list of issues covered by this release.
Highlights
Render Associations
The association direction
is also rendered (it is generally used for the data store
and data object
references that will be supported later)
Rendering of the 0.1.6
version is in green
Detect and render some Activity Markers
The loop
and multi-instantiation
(both sequential and parallel) activity markers are now fully detected and rendered. The expand
markers rendering has been reworked.
The marker size and position will be adjusted in the future, see #465.
Render Call Activity
All activity markers currently supported are also rendered.
Notice that call activities
calling a Global Task
are no more displayed, as we don't currently support Global Task
.
Render Signal Event
Correctly detect events referencing top level defined events
These are events in the BPMN source with an eventDefinitionRef
attribute referencing a event defined at top level/globally.
They were previously not detected or, for the mutliple
event (currently not supported), detected as a message
event.
All together
See the whole changes on the B.2.0
file, compared to version 0.1.6
Examples
We now provide a set of examples that demonstrates the current usage of the library and its extensibility capabilities.
Important notice: The way how the lib is used or extended is subject to rapid changes. Consider the examples as in early-access
.
Resources
What's Changed
🚀 BPMN support
- [FEAT] Detect the Parallel Multi-instance Marker of an activity (#469) @csouchet
- [FEAT] Detect the Sequential Multi-instance Marker of an Activity (#468) @csouchet
- [FEAT] Render Events which have the definition defined by the attribute eventDefinitionRef (#445) @csouchet
- [FEAT] Detect the Loop Marker of an activity (#456) @csouchet
🚄 BPMN rendering
- [FEAT] Render a Expanded/Collapsed Call Activity calling a Process (#481) @csouchet
- [FEAT] render activity multi instance markers (#471) @tbouffard
- [FEAT] Render the Activity Loop Marker (#464) @csouchet
- [FEAT] Render Events which have the definition defined by the attribute eventDefinitionRef (#445) @csouchet
- [FEAT] Render signal event (#408) @benjaminParisel
- [FEAT] Render Association (#438) @aibcmars
🐛 Bug Fixes
- [FIX] Detect expanded/collapsed Call Activity calling Process (#474) @csouchet
- [FIX] A boundary event can only be attached to an activity (#442) @csouchet
- [BUG] Fix some types of BPMN Json model (#444) @csouchet
⤵️ Library Integration
- [INFRA] do not minify public API in the bundle (#461) @tbouffard
📝 Documentation
- [DOC] add new release steps (#446) @tbouffard
- [DOC] improve the release how-to (#434) @tbouffard
- [DOC] Internal Architecture Model updated (#432) @aibcmars
🎮 Demo and Examples
- [FEAT] add favicon to the demo page (#462) @tbouffard
📦 Dependency updates
- [INFRA] dev - Bump minimist from 0.2.1 to 1.2.3 (#488) @dependabot
- [INFRA] dev - Bump rollup-plugin-serve from 1.0.1 to 1.0.3 (#484) @dependabot
- [INFRA] dev - Bump rollup from 1.32.0 to 1.32.1 (#482) @dependabot
- [INFRA] dev - Bump prettier from 1.19.1 to 2.0.5 (#485) @dependabot
- [INFRA] dev - Bump eslint-config-prettier from 6.10.0 to 6.11.0 (#486) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 2.21.0 to 2.34.0 (#483) @dependabot
- [REFACTOR] Remove json2typescript dependency (#443) @csouchet
- Bump lodash from 4.17.15 to 4.17.19 (#435) @dependabot
👻 Maintenance
- [INFRA] release-drafter consider new labels (#472) @tbouffard
- [INFRA] fix dependabot configuration (#480) @tbouffard
- [INFRA] setup dependabot configuration (#476) @tbouffard
- [INFRA] do not minify public API in the bundle (#461) @tbouffard
- [REFACTOR] Mutualize marker and isExpanded fields in the internal model (#470) @csouchet
- [INFRA] Activate
noImplicitAny
compiler option (#460) @csouchet - [REFACTOR] activity markers style mutualization (#467) @tbouffard
- [REFACTOR] Replace Arrays by Maps in the Converters (#463) @csouchet
- [INFRA] Activate
strictFunctionTypes
compiler option (#459) @csouchet - [INFRA] Activate
alwaysStrict
compiler option (#458) @csouchet - [INFRA] Activate
strictBindCallApply
compiler options (#457) @csouchet - [TEST] use external BPMN files (#452) @tbouffard
- [REFACTOR] no processing in MxGraphConfigurator constructor (#448) @tbouffard
- [REFACTOR] Remove json2typescript dependency (#443) @csouchet
- [REFACTOR] Unit json test: Replace some tests by test templates (#439) @csouchet
- [REFACTOR] Replace string content for BPMN content by json object, in unit json tests (#437) @csouchet
- [REFACTOR] single
painted icon size
computation function (#426) @tbouffard