Releases: process-analytics/bpmn-visualization-js
0.25.3
This new release focuses on maintenance.
Thanks to all the contributors of this release 🌈: @csouchet
What's Changed
👻 Maintenance
- [TEST] JsonBuilder: Add laneSet & lane on a Process (#2150) @csouchet
- [TEST] JsonBuilder: Add sequenceFlow on a Process (#2149) @csouchet
- [TEST] JsonBuilder: Add subProcess on the generated Definitions JSON (#2148) @csouchet
- [TEST] JsonBuilder: Don't generate Bounds for Edge (#2147) @csouchet
- [REFACTOR] JsonBuilder: Add missing field in Call activity: calledElement and isExpanded (#2146) @csouchet
- [REFACTOR] JsonBuilder: Choose the kind of the task to generate (#2145) @csouchet
- [REFACTOR] JsonBuilder: Choose if a participant should be generated on each Process and not for every Process (#2144) @csouchet
- [REFACTOR] JsonBuilder: Don't generate a default name if it's not in the parameter to build flownode (#2143) @csouchet
- [REFACTOR] JsonBuilder: Choose the kind of the gateway to generate (#2142) @csouchet
- [REFACTOR] JsonBuilder: Ensure that the generated events have the fields of their kind (#2141) @csouchet
📦 Dependency updates
17 changes
- [INFRA] gha - Bump slackapi/slack-github-action from 1.19.0 to 1.21.0 (#2161) @dependabot
- [INFRA] dev - Bump typedoc from 0.23.9 to 0.23.10 (#2159) @dependabot
- [INFRA] dev - Bump rollup from 2.77.0 to 2.77.2 (#2160) @dependabot
- [INFRA] dev - Bump autoprefixer from 10.4.7 to 10.4.8 (#2157) @dependabot
- [INFRA] dev - Bump eslint from 8.20.0 to 8.21.0 (#2158) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.30.7 to 5.31.0 (#2156) @dependabot
- [INFRA] dev - Bump vite from 3.0.3 to 3.0.4 (#2155) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.1.6 to 3.1.7 (#2154) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.31.0 (#2153) @dependabot
- [INFRA] dev - Bump playwright from 1.24.0 to 1.24.2 (#2151) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.6.0 to 26.7.0 (#2152) @dependabot
- [INFRA] dev - Bump vite from 2.9.14 to 3.0.3 (#2137) @dependabot
- [INFRA] dev - Bump playwright from 1.23.4 to 1.24.0 (#2138) @dependabot
- [INFRA] dev - Bump eslint-plugin-playwright from 0.9.0 to 0.10.0 (#2136) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.30.6 to 5.30.7 (#2135) @dependabot
- [INFRA] dev - Bump typedoc from 0.23.8 to 0.23.9 (#2134) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7 (#2133) @dependabot
Full Changelog: v0.25.2...v0.25.3
0.25.2
This new release focuses on maintenance.
Thanks to all the contributors of this release 🌈: @csouchet
See milestone 0.25.2 to get the list of issues covered by this release.
What's Changed
👻 Maintenance
- [TEST] To be able to override the generic id of the generated event with JsonBuilder (#2132) @csouchet
- [REFACTOR] Rename variables & Change the order of some parameters (#2130) @csouchet
- [TEST] Refactor event unit tests for JsonParser (#2106) @csouchet
📦 Dependency updates
18 changes
- [INFRA] prod - Bump terser from 5.10.0 to 5.14.2 (#2128) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.30.5 to 5.30.6 (#2126) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.1.5 to 3.1.6 (#2125) @dependabot
- [INFRA] dev - Bump playwright from 1.23.2 to 1.23.4 (#2124) @dependabot
- [INFRA] dev - Bump eslint from 8.19.0 to 8.20.0 (#2123) @dependabot
- [INFRA] dev - Bump jest-html-reporter from 3.5.0 to 3.6.0 (#2122) @dependabot
- [INFRA] dev - Bump jest-extended from 3.0.0 to 3.0.1 (#2121) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.5.3 to 26.6.0 (#2120) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.30.5 to 5.30.6 (#2119) @dependabot
- [INFRA] dev - Bump rollup from 2.76.0 to 2.77.0 (#2117) @dependabot
- [INFRA] dev - Bump typedoc from 0.23.7 to 0.23.8 (#2116) @dependabot
- [INFRA] dev - Bump typedoc from 0.23.5 to 0.23.7 (#2114) @dependabot
- [INFRA] dev - Bump playwright from 1.23.1 to 1.23.2 (#2113) @dependabot
- [INFRA] dev - Bump jest-extended from 2.0.0 to 3.0.0 (#2112) @dependabot
- [INFRA] dev - Bump rollup from 2.75.7 to 2.76.0 (#2111) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.1.4 to 3.1.5 (#2110) @dependabot
- [INFRA] prod - Bump @typed-mxgraph/typed-mxgraph from 1.0.6 to 1.0.7 (#2109) @dependabot
- [INFRA] dev - Bump vite from 2.9.13 to 2.9.14 (#2108) @dependabot
Full Changelog: v0.25.1...v0.25.2
0.25.1
This new release focuses on maintenance.
Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard
See milestone 0.25.1 to get the list of issues covered by this release.
What's Changed
📝 Documentation
- [DOC] Improve the doc of API marked as experimental in the HTML docs (#2095) @tbouffard
👻 Maintenance
- [TEST] Add new combination of unit tests for the Message Flows (#2099) @csouchet
- [REFACTOR] Simplify zoom done with Mouse Wheel (#2094) @tbouffard
- [TEST] Change the way to build an event with JsonBuilder (#2105) @csouchet
- [TEST] Add several Message Flow in generated json by JsonBuilder (#2104) @csouchet
- [TEST] Add several Call Activity in generated json by JsonBuilder (#2103) @csouchet
- [TEST] Add several Exclusive Gateway in generated json by JsonBuilder (#2102) @csouchet
- [TEST] Customize Task in generated json by JsonBuilder (#2101) @csouchet
- [TEST] Add option to add Participant on JsonBuilder (#2100) @csouchet
- [TEST] Make performance tests work (#2092) @tbouffard
- [REFACTOR] Move 'verify shape' function for event in utils file (#2097) @csouchet
- [TEST] Add more e2e tests for zoom (#2093) @tbouffard
- [TEST] Choose the process where to add an element in JsonBuilder (#2070) @csouchet
- [INFRA] Add a GH workflow job that uploads the npm package (#2071) @tbouffard
📦 Dependency updates
17 changes
- [INFRA] prod - Bump fast-xml-parser from 4.0.8 to 4.0.9 (#2107) @dependabot
- [INFRA] dev - Bump rollup-plugin-node-externals from 4.0.0 to 4.1.1 (#2090) @dependabot
- [INFRA] prod - Bump entities from 4.3.0 to 4.3.1 (#2091) @dependabot
- [INFRA] dev - Bump playwright from 1.22.2 to 1.23.1 (#2089) @dependabot
- [INFRA] dev - Bump lint-staged from 13.0.2 to 13.0.3 (#2088) @dependabot
- [INFRA] dev - Bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (#2087) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.30.4 to 5.30.5 (#2086) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.28.0 to 5.30.5 (#2085) @dependabot
- [INFRA] dev - Bump eslint from 8.18.0 to 8.19.0 (#2084) @dependabot
- [INFRA] dev - Bump postcss-cli from 9.0.2 to 10.0.0 (#2083) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.29.0 to 5.30.4 (#2082) @dependabot
- [INFRA] dev - Bump vite from 2.9.12 to 2.9.13 (#2081) @dependabot
- [INFRA] dev - Bump jest-html-reporters from 3.0.9 to 3.0.10 (#2080) @dependabot
- [INFRA] dev - Bump typedoc from 0.22.17 to 0.23.5 (#2079) @dependabot
- [INFRA] dev - Bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (#2077) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.1.3 to 3.1.4 (#2073) @dependabot
- [INFRA] dev - Bump @rollup/plugin-commonjs from 22.0.0 to 22.0.1 (#2075) @dependabot
Full Changelog: v0.25.0...v0.25.1
0.25.0
This new release provides a new API to filter pools when loading the BPMN diagram.
Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard
See milestone 0.25.0 to get the list of issues covered by this release.
Highlights
Filter pools at load time
When calling the load
method, it is now possible to filter the pools in the diagram you want to display.
You can filter one or several pools and specify the filtering options by pool id and/or name.
In the following example 👇, we load the same diagram with different filter configuration. First without filter, so we see the whole diagram. Then we filter different pools, one pool at a time. And finally, we filter 3 pools at the same time.
What's Changed
🧲 BPMN diagram usability
- [FEAT] Add new options to filter pools on load (#2063) @tbouffard
📝 Documentation
- [DOC] Improve Gitpod and VSCode documentation for contributors (#2065) @tbouffard
👻 Maintenance
- [INFRA] Improve surge preview workflows (#2072) @tbouffard
- [TEST] Simplify imports of expected model elements (#2067) @tbouffard
- [TEST] Improve integration tests of the load API (#2069) @tbouffard
- [REFACTOR] Simplify the
ensureIsArray
function (#2066) @tbouffard - [TEST] Improve integration tests about the lib initialization (#2068) @tbouffard
- [REFACTOR] Use the 'node' protocol in imports (#2054) @tbouffard
- [REFACTOR] Apply some refactoring in ProcessConverter & JsonTestUtils (#2051) @csouchet
- [INFRA] Remove build setup duplication in GitHub workflows (#2049) @tbouffard
- [INFRA] Run GitHub Actions on macOS 12 (#2048) @csouchet
- [TEST] Ensure consistent page and directory names (#2035) @tbouffard
📦 Dependency updates
16 changes
- [INFRA] dev - Bump @typescript-eslint/parser from 5.28.0 to 5.29.0 (#2074) @dependabot
- [INFRA] gha - Bump actions/dependency-review-action from 1 to 2 (#2064) @dependabot
- [INFRA] dev - Bump rollup from 2.75.6 to 2.75.7 (#2062) @dependabot
- [INFRA] dev - Bump eslint from 8.17.0 to 8.18.0 (#2061) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.27.1 to 5.28.0 (#2060) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 (#2059) @dependabot
- [INFRA] dev - Bump @types/jest-image-snapshot from 4.3.1 to 4.3.2 (#2058) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.11 to 5.1.12 (#2057) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.1.2 to 3.1.3 (#2052) @dependabot
- [INFRA] dev - Bump typescript from 4.7.3 to 4.7.4 (#2056) @dependabot
- [INFRA] dev - Bump lint-staged from 13.0.1 to 13.0.2 (#2055) @dependabot
- [INFRA] dev - Bump prettier from 2.6.2 to 2.7.1 (#2053) @dependabot
- [INFRA] dev - Bump jest-html-reporters from 3.0.8 to 3.0.9 (#2043) @dependabot
- [INFRA] dev - Bump vite from 2.9.10 to 2.9.12 (#2046) @dependabot
- [INFRA] dev - Bump rollup from 2.75.5 to 2.75.6 (#2045) @dependabot
- [INFRA] dev - Bump tailwindcss from 3.0.24 to 3.1.2 (#2044) @dependabot
Full Changelog: v0.24.1...v0.25.0
0.24.1
This new release focuses on improving the documentation, the Demo page and the examples.
Thanks to all the contributors of this release 🌈: @tbouffard
See milestone 0.24.1 to get the list of issues covered by this release.
Highlights
Demo page
Add a zoom reset button
v0.24.0 | v0.24.1 |
---|---|
Add a select button to switch the BPMN Theme
Examples
Improvement of the design of the home page
A work has been done to improve the design of the home page of the Examples site, specially on small screen and mobile.
Example for iOS device
0.24.0 | 0.24.1 |
---|---|
For more information, see process-analytics/bpmn-visualization-examples#342.
New example: Change the fill color of edge markers
Message Flows: Start (circle) and End (arrow) markers
Sequence Flows: Conditional marker
For more information, see process-analytics/bpmn-visualization-examples#344.
New Project: Integration with Parcel
For more information, see process-analytics/bpmn-visualization-examples#338.
What's Changed
📝 Documentation
- [DOC] Add a paragraph about the bpmn-visualization strengths (#1950) @tbouffard
- [DOC] Improve CSS classes and default colors information (#1989) @tbouffard
- [DOC] Simplify section levels in both primary and included pages (#1992) @tbouffard
🎮 Demo and Examples
- [DEMO] Add a select button to switch the BPMN Theme (#2034) @tbouffard
- [DEMO] Simplify imports and asset loading in sources (#2031) @tbouffard
- [DEMO] Add a zoom reset button (#2006) @tbouffard
👻 Maintenance
- [INFRA] Remove unused rollup plugins (#2033) @tbouffard
- [INFRA] Fix GH Token permissions for codeql analysis workflow (#2032) @tbouffard
- [INFRA] Configure GH workflow for default
read contents
GITHUB_TOKEN (#2030) @tbouffard - [INFRA] Use ViteJS for development and the demo build (#2023) @tbouffard
- [TEST] Improve visual tests for sequence flow markers (#1995) @tbouffard
- [INFRA] Review the Gitpod configuration (#2003) @tbouffard
📦 Dependency updates
26 changes
- [INFRA] dev - Bump lint-staged from 13.0.0 to 13.0.1 (#2042) @dependabot
- [INFRA] dev - Bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 (#2029) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.10 to 5.1.11 (#2028) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.4.6 to 26.5.3 (#2027) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.27.0 to 5.27.1 (#2026) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 (#2024) @dependabot
- [INFRA] dev - Bump typescript from 4.7.2 to 4.7.3 (#2021) @dependabot
- [INFRA] dev - Bump eslint from 8.16.0 to 8.17.0 (#2022) @dependabot
- [INFRA] prod - Bump @typed-mxgraph/typed-mxgraph from 1.0.5 to 1.0.6 (#2019) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.26.0 to 5.27.0 (#2018) @dependabot
- [INFRA] dev - Bump lint-staged from 12.4.3 to 13.0.0 (#2017) @dependabot
- [INFRA] dev - Bump jest-playwright-preset from 1.7.0 to 1.7.2 (#1999) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.4.5 to 26.4.6 (#2016) @dependabot
- [INFRA] dev - Bump jest-html-reporters from 3.0.7 to 3.0.8 (#2015) @dependabot
- [INFRA] dev - Bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 (#2014) @dependabot
- [INFRA] dev - Bump rollup from 2.74.1 to 2.75.5 (#2013) @dependabot
- [INFRA] dev - Bump typedoc from 0.22.16 to 0.22.17 (#2010) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.25.0 to 5.27.0 (#2009) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.9 to 5.1.10 (#2008) @dependabot
- [INFRA] dev - Bump typedoc from 0.22.15 to 0.22.16 (#2007) @dependabot
- [INFRA] dev - Bump jest-image-snapshot from 4.5.1 to 5.1.0 (#2005) @dependabot
- [INFRA] dev - Bump lint-staged from 12.4.1 to 12.4.3 (#2002) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.25.0 to 5.26.0 (#2001) @dependabot
- [INFRA] prod - Bump fast-xml-parser from 4.0.7 to 4.0.8 (#2000) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.2.2 to 26.4.5 (#1998) @dependabot
- [INFRA] dev - Bump typescript from 4.6.4 to 4.7.2 (#1997) @dependabot
Full Changelog: v0.24.0...v0.24.1
0.24.0
This new version introduces a new API to zoom in and out on the BPMN diagram.
Thanks to all the contributors of this release 🌈: @tbouffard
See milestone 0.24.0 to get the list of issues covered by this release.
Highlights
Zoom API in action
You can now zoom in and out on the BPMN diagram with a dedicated API:
bpmnVisualization.navigation.zoom(ZoomType.In);
The demo has been updated to show 2 new buttons to zoom in and out using the new API.
demo_page_zoom.mp4
Deprecation
The former fit
function is now deprecated and will be removed in bpmn-visualization@0.27.0
Please replace
bpmnVisualization.fit(fitOptions);
by
bpmnVisualization.navigation.fit(fitOptions);
What's Changed
⛵ BPMN diagram navigation
- [FEAT] Add a new API to zoom the BPMN diagram (#1988) @tbouffard
📝 Documentation
- [DOC] Update Live IDE examples on release (#1996) @tbouffard
👻 Maintenance
- [INFRA] Allow only update of dependencies to patch versions (#1990) @tbouffard
- [INFRA] Fix released demo artifact name (#1974) @tbouffard
- [INFRA] Restore Chrome and Edge e2e tests on CI (#1977) @tbouffard
📦 Dependency updates
18 changes
- [INFRA] dev - Bump @rollup/plugin-commonjs from 10.1.0 to 22.0.0 (#1991) @tbouffard
- [INFRA] dev - Bump jest-html-reporters from 3.0.6 to 3.0.7 (#1984) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.8 to 5.1.9 (#1987) @dependabot
- [INFRA] dev - Bump postcss from 8.4.13 to 8.4.14 (#1986) @dependabot
- [INFRA] dev - Bump rollup from 2.73.0 to 2.74.1 (#1985) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.24.0 to 5.25.0 (#1983) @dependabot
- [INFRA] dev - Bump playwright from 1.22.1 to 1.22.2 (#1982) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.24.0 to 5.25.0 (#1981) @dependabot
- [INFRA] dev - Bump eslint from 8.15.0 to 8.16.0 (#1980) @dependabot
- [INFRA] dev - Bump playwright from 1.21.1 to 1.22.1 (#1970) @dependabot
- [INFRA] gha - Bump release-drafter/release-drafter from 5.19.0 to 5.20.0 (#1976) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.7 to 5.1.8 (#1975) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.23.0 to 5.24.0 (#1973) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.23.0 to 5.24.0 (#1971) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.1.5 to 26.2.2 (#1969) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.22.0 to 5.23.0 (#1968) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.22.0 to 5.23.0 (#1967) @dependabot
- [INFRA] dev - Bump rollup from 2.72.1 to 2.73.0 (#1966) @dependabot
Full Changelog: v0.23.3...v0.24.0
0.23.3
This new version is focused on maintenance. It provides a new example to quickly experiment with the TypeScript API in a browser.
Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard
Highlights
New TypeScript example in the browser
A new example is now available at CodeSandbox to play with the bpmn-visualization TypeScript
API.
It adds to the already existing JavaScript examples hosted on CodeSandox and CodePen.
Refreshed icons in the 'load and navigation' demo
The demo now uses Font Awesome v6 icons. See #1953 for more details.
What's Changed
📝 Documentation
- [DOC] Warn usage of headful browser mode when testing (#1951) @tbouffard
🎮 Demo and Examples
- [EXAMPLE] Update assets loading in the demo (#1953) @tbouffard
👻 Maintenance
- [TEST] Simplify the code of some tests (#1952) @tbouffard
- [INFRA] Include the NOTICE file in the npm package (#1957) @tbouffard
- [REFACTOR] Simplify mxGraph initialization (#1947) @tbouffard
- [INFRA] Fix custom action with no parameter for demo (#1942) @csouchet
- [REFACTOR] Fix remaining SonarCloud code smells (#1940) @tbouffard
- [REFACTOR] Fix SonarCloud code smells (#1932) @tbouffard
📦 Dependency updates
17 changes
- [INFRA] gha - Bump slackapi/slack-github-action from 1.18.0 to 1.19.0 (#1963) @dependabot
- [INFRA] dev - Bump @types/jest from 27.4.1 to 27.5.0 (#1961) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.21.0 to 5.22.0 (#1960) @dependabot
- [INFRA] dev - Bump husky from 7.0.4 to 8.0.1 (#1959) @dependabot
- [INFRA] dev - Bump rollup from 2.71.1 to 2.72.1 (#1958) @dependabot
- [INFRA] dev - Bump eslint from 8.14.0 to 8.15.0 (#1956) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.21.0 to 5.22.0 (#1955) @dependabot
- [INFRA] dev - Bump autoprefixer from 10.4.6 to 10.4.7 (#1946) @dependabot
- [INFRA] dev - Bump lint-staged from 12.4.0 to 12.4.1 (#1949) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.20.0 to 5.21.0 (#1948) @dependabot
- [INFRA] dev - Bump jest-html-reporter from 3.4.2 to 3.5.0 (#1945) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 13.2.1 to 13.3.0 (#1944) @dependabot
- [INFRA] dev - Bump autoprefixer from 10.4.5 to 10.4.6 (#1943) @dependabot
- [INFRA] dev - Bump eslint-plugin-playwright from 0.8.0 to 0.9.0 (#1941) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.20.0 to 5.21.0 (#1939) @dependabot
- [INFRA] dev - Bump postcss from 8.4.12 to 8.4.13 (#1938) @dependabot
- [INFRA] dev - Bump typescript from 4.6.3 to 4.6.4 (#1937) @dependabot
Full Changelog: v0.23.2...v0.23.3
0.23.2
This new version is focused on maintenance. The major change is the reduction of the size of the bundle targeting the browser.
Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard
Highlights
The size of the browser bundle decreases
The entities dependency was bumped from 3.0.1 to 4.3.0. The significantly decreases the size of the bundle as shown in the table below.
For more details, see #1905 and 2af686e.
version | raw | minified |
---|---|---|
0.23.1 | 2.89MB | 1.05MB |
0.23.2 | 2.79MB | 967.1KB |
What's Changed
👻 Maintenance
- [REFACTOR] Review the XML parsing configuration (#1929) @tbouffard
- [INFRA] Temporarly disable Chrome and Edge e2e tests on CI (#1934) @tbouffard
- [INFRA] Notify repositories of new version with a custom GH action (#1926) @csouchet
- [INFRA] Simplify surge preview teardown (#1930) @tbouffard
- [INFRA] Remove declaration of the rollup json plugin (#1927) @tbouffard
- [INFRA] Notify the bpmn-visualization-R repository after NPM publish (#1920) @csouchet
📦 Dependency updates
15 changes
-
[INFRA] dev - Bump rollup from 2.70.2 to 2.71.1 (#1936) @dependabot
-
[INFRA] gha - Bump github/codeql-action from 1 to 2 (#1931) @dependabot
-
[INFRA] prod - Bump entities from 3.0.1 to 4.3.0 (#1905) @dependabot
-
[INFRA] dev - Bump autoprefixer from 10.4.4 to 10.4.5 (#1925) @dependabot
-
[INFRA] dev - Bump eslint-plugin-jest from 26.1.4 to 26.1.5 (#1924) @dependabot
-
[INFRA] dev - Bump eslint from 8.13.0 to 8.14.0 (#1923) @dependabot
-
[INFRA] gha - Bump actions/download-artifact from 2 to 3 (#1921) @dependabot
-
[INFRA] gha - Bump actions/upload-artifact from 2 to 3 (#1922) @dependabot
-
[INFRA] gha - Bump peter-evans/repository-dispatch from 1 to 2 (#1886) @dependabot
-
[INFRA] gha - Bump benjefferies/branch-protection-bot from 1.0.5 to 1.0.7 (#1716) @dependabot
-
[INFRA] dev - Bump @typescript-eslint/parser from 5.18.0 to 5.20.0 (#1919) @dependabot
-
[INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.18.0 to 5.20.0 (#1918) @dependabot
-
[INFRA] dev - Bump @types/lodash.throttle from 4.1.6 to 4.1.7 (#1917) @dependabot
-
[INFRA] dev - Bump lint-staged from 12.3.7 to 12.4.0 (#1916) @dependabot
-
[INFRA] dev - Bump tailwindcss from 3.0.23 to 3.0.24 (#1915) @dependabot
Full Changelog: v0.23.1...v0.23.2
0.23.1
This new release focuses on documentation improvements and maintenance.
Thanks to all the contributors of this release 🌈: @tbouffard
See milestone 0.23.1 to get the list of issues covered by this release.
Highlights
mxGraph
4.2.2 usage
We were finally able to bump mxGraph
to the latest 4.2.2
version after implementing improvements and fixes inbpmn-visualization@0.23.0
. Using mxgraph@4.2.2 with bpmn-visualization pre 0.23.0 caused a lot of issues that are now all fixed.
The next step is to switch to maxGraph, the mxGraph successor, when a release will be available.
Documentation improvement
The major improvement was the change of the gateways icons on the User Documentation.
0.23.0 | 0.23.1 |
---|---|
What's Changed
📝 Documentation
- [DOC] Update the list of working browsers with v0.23.0 (#1893) @tbouffard
- [DOC] Improve the gateways icons of the 'BPMN Support' paragraph (#1889) @tbouffard
👻 Maintenance
- [INFRA] Add a worfklow to review dependencies in PR (#1903) @tbouffard
📦 Dependency updates
32 changes
- [INFRA] dev - Bump @types/lodash.debounce from 4.0.6 to 4.0.7 (#1914) @dependabot
- [INFRA] dev - Bump rollup from 2.70.1 to 2.70.2 (#1913) @dependabot
- [INFRA] dev - Bump fs-extra from 10.0.1 to 10.1.0 (#1912) @dependabot
- [INFRA] dev - Bump playwright from 1.20.2 to 1.21.1 (#1911) @dependabot
- [INFRA] dev - Bump @rollup/plugin-node-resolve from 13.1.3 to 13.2.1 (#1910) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#1909) @dependabot
- [INFRA] dev - Bump eslint from 8.12.0 to 8.13.0 (#1908) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.17.0 to 5.18.0 (#1907) @dependabot
- [INFRA] dev - Bump typedoc from 0.22.13 to 0.22.15 (#1906) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.17.0 to 5.18.0 (#1904) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.16.0 to 5.17.0 (#1902) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.5 to 5.1.7 (#1900) @dependabot
- [INFRA] dev - Bump prettier from 2.6.1 to 2.6.2 (#1899) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.16.0 to 5.17.0 (#1897) @dependabot
- [INFRA] dev - Bump playwright from 1.20.1 to 1.20.2 (#1898) @dependabot
- [INFRA] dev - Bump eslint from 8.11.0 to 8.12.0 (#1896) @dependabot
- [INFRA] dev - Bump playwright from 1.20.0 to 1.20.1 (#1895) @dependabot
- [INFRA] dev - Bump prettier from 2.6.0 to 2.6.1 (#1892) @dependabot
- [INFRA] dev - Bump ts-jest from 27.1.3 to 27.1.4 (#1894) @dependabot
- [INFRA] dev - Bump typescript from 4.6.2 to 4.6.3 (#1891) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.1.2 to 26.1.3 (#1890) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.4 to 5.1.5 (#1888) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.15.0 to 5.16.0 (#1887) @dependabot
- [INFRA] dev - Bump minimist from 1.2.5 to 1.2.6 (#1883) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.16.0 (#1885) @dependabot
- [INFRA] dev - Bump lint-staged from 12.3.5 to 12.3.7 (#1884) @dependabot
- [INFRA] dev - Bump playwright from 1.19.2 to 1.20.0 (#1875) @dependabot
- [INFRA] prod - Bump mxgraph from 4.1.0 to 4.2.2 (#1872) @tbouffard
- [INFRA] prod - Bump fast-xml-parser from 4.0.6 to 4.0.7 (#1882) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.14.0 to 5.15.0 (#1881) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.14.0 to 5.15.0 (#1880) @dependabot
- [INFRA] dev - Bump postcss from 8.4.8 to 8.4.12 (#1878) @dependabot
Full Changelog: v0.23.0...v0.23.1
0.23.0
This new release provides many fixes for BPMN rendering and improvements for TypeScript projects.
Thanks to all the contributors of this release 🌈: @csouchet and @tbouffard
See milestone 0.23.0 to get the list of issues covered by this release.
Highlights
BPMN rendering fixes and improvements
No more 'always use orthogonal segments'
Context
We have been able to remove the 'orthogonal segments' issue from the rendering of the message and sequence flows (associations weren't impacted by this issue).
☢️ bpmn-visualization
didn't respect the coordinates of the BPMNEdge waypoints defined in the BPMN source: it forced usage of orthogonal segments instead, and this had a lot of side effects that are now fixed.
ℹ️ You can find more details about the investigation in #295 and the final implementation in #1868.
Comparison
In the following, we compare the BPMN rendering between version 0.22.0 and version 0.23.0.
Most of the time, the source diagram are taken from the visual test of bpmn-visualization.
ℹ️ We are not showing all fixes: for a more exhaustive list, see the 0.23.0 milestone and the What's Changed paragraph at the end of the release notes.
Description | 0.22.0 | 0.23.0 |
---|---|---|
Render oblique segments | ||
Sequence flows without waypoints |
Fix wrong arrow direction
This issue occurred when the terminal waypoint of the BPMNEdge was inside the targeted shape.
The following comparison shows the issue and the fix using the associations.and.annotations.03.waypoints.01.inside.shape.bpmn
diagram which is inspired from the miwg-test-suite C.6.0 reference file .
ℹ️ Here, the example involves BPMN associations, but the same applies to message and sequence flows.
0.22.0 | 0.23.0 |
---|---|
Fixes when using the zoom/fit
The zoom level could change the position of the message flows. This generates an unwanted move of the flows.
Here is what we see with the flows.message.02.labels.and.complex.paths.bpmn
diagram.
ℹ️ In 0.22.0, the message flow arrow direction could also be completely weird!
0.22.0 | 0.23.0 |
---|---|
ℹ️ The zoom level also had side effects on overlays positioned on the middle of edges.
They were sometimes moved at the beginning or at the end of the flows with no reason.
The following is done using the elements-identification 0.22.0 and elements-identification 0.23.0 pages with labels.01.general.bpmn
diagram.
0.22.0 | 0.23.0 |
---|---|
Improvements for TypeScript projects
We simplified the TypeScript integration: it is no longer necessary to declare typed-mxgraph
in your project.
Now, bpmn-visualization
manages it correctly for you 🎉
What's Changed
🚄 BPMN rendering
- [FIX] Do not force usage of orthogonal edge segments (#1868) @tbouffard
🐛 Bug Fixes
- [FIX] Do not force usage of orthogonal edge segments (#1868) @tbouffard
- [FIX] Make the Version API return the actual released version (#1858) @tbouffard
⤵️ Library Integration
- [INFRA] Declare
typed-mxgraph
in production dependencies (#1855) @tbouffard
🎮 Demo and Examples
- [EXAMPLE] Better highlight conditional and default sequence flows (#1866) @tbouffard
👻 Maintenance
- [INFRA] Fix the release GitHub workflow (#1879) @tbouffard
- [TEST] Add visual tests for edges targeting collapsed elements (#1867) @tbouffard
- [TEST] Improve visual tests for associations and sequence flows (#1864) @tbouffard
- [TEST] Add a new visual test for message flow special case (#1859) @tbouffard
- [INFRA] Send a Slack notification after NPM publish (#1857) @csouchet
- [INFRA] Improve contributors list detection by release-drafter (#1853) @tbouffard
- [INFRA] Improve the release-notes generation and documentation (#1851) @tbouffard
📦 Dependency updates
20 changes
- [INFRA] dev - Bump debug from 4.3.3 to 4.3.4 (#1877) @dependabot
- [INFRA] dev - Bump prettier from 2.5.1 to 2.6.0 (#1876) @dependabot
- [INFRA] dev - Bump eslint-plugin-jest from 26.1.1 to 26.1.2 (#1873) @dependabot
- [INFRA] dev - Bump autoprefixer from 10.4.2 to 10.4.4 (#1874) @dependabot
- [INFRA] prod - Bump typed-mxgraph from 1.0.4 to 1.0.5 (#1865) @tbouffard
- [INFRA] dev - Bump rollup from 2.70.0 to 2.70.1 (#1862) @dependabot
- [INFRA] dev - Bump eslint from 8.10.0 to 8.11.0 (#1860) @dependabot
- [INFRA] dev - Bump cssnano from 5.1.0 to 5.1.4 (#1861) @dependabot
- [INFRA] gha - Bump actions/setup-node from 2 to 3 (#1852) @dependabot
- [INFRA] dev - Bump @typescript-eslint/parser from 5.12.1 to 5.14.0 (#1849) @dependabot
- [INFRA] dev - Bump lint-staged from 12.3.4 to 12.3.5 (#1850) @dependabot
- [INFRA] dev - Bump typescript from 4.5.5 to 4.6.2 (#1848) @dependabot
- [INFRA] prod - Bump fast-xml-parser from 4.0.2 to 4.0.6 (#1845) @dependabot
- [INFRA] dev - Bump eslint-config-prettier from 8.4.0 to 8.5.0 (#1847) @dependabot
- [INFRA] dev - Bump @typescript-eslint/eslint-plugin from 5.12.1 to 5.14.0 (#1846) @dependabot
- [INFRA] dev - Bump typedoc from 0.22.12 to 0.22.13 (#1844) @dependabot
- [INFRA] dev - Bump postcss from 8.4.7 to 8.4.8 (#1843) @dependabot
- [INFRA] dev - Bump cssnano from 5.0.17 to 5.1.0 (#1841) @dependabot
- [INFRA] dev - Bump jest-html-reporters from 3.0.5 to 3.0.6 (#1839) @dependabot
- [INFRA] dev - Bump rollup from 2.68.0 to 2.70.0 (#1840) @dependabot
Full Changelog: v0.22.0...v0.23.0