0.27.0
This new version brings a breaking change, improvements on the integration of bpmn-visualization
in TypeScript projects, a new BPMN support.
Thanks to all the contributors of this release 馃寛: @assynour and @tbouffard
See milestone 0.27.0 to get the list of issues covered by this release.
Highlights
Breaking changes
In 0.24.0, it was announced that bpmnVisualization.fit(fitOptions)
was deprecated.
From now, this method is completely removed. Use bpmnVisualization.navigation.fit(fitOptions)
instead.
Simplify the integration in TypeScript project
Previously, the TypeScript projects need a specific configuration, in the tsconfig.json
file, to integrate bpmn-visualization
.
From now, the integration of bpmn-visualization
in TypeScript projects is simplified. They no longer need this configuration.
The README contains a note about the configuration that was previously required. It should help projects still using an old version.
For more details, see #2258.
In addition, a more explicit error message is displayed when integrating bpmn-visualization
in a project that uses a too old TypeScript version. Remember that bpmn-visualization
requires TypeScript 4.5 or superior.
New BPMN support
bpmn-visualization
supports now the detection of the Complex Gateway.
For now, the Complex Gateway is displayed as a red diamond, as follows:
What's Changed
Full Changelog: v0.26.2...v0.27.0
馃殌 BPMN support
猡碉笍 Library Integration
- [FEAT] Explicit error message when using too old TypeScript versions (#2272) @tbouffard
- [FEAT] Simplify the integration in TypeScript project (#2258) @tbouffard
馃摑 Documentation
- [DOC] Improve the release 'how-to' (#2254) @tbouffard
馃摝 Dependency updates
- [INFRA] deps - Bump fast-xml-parser from 4.0.9 to 4.0.10 (#2256) @dependabot
馃懟 Maintenance
- [REFACTOR] Remove the deprecated
fit
method (#2271) @tbouffard - [TEST] Add more tests when passing CSS classes separated by spaces (#2267) @tbouffard