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