Skip to content

0.27.0

Compare
Choose a tag to compare
@tbouffard tbouffard released this 03 Oct 13:08
· 758 commits to refs/heads/master since this release

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:
gateways

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

馃摝 Dependency updates

馃懟 Maintenance

  • [REFACTOR] Remove the deprecated fit method (#2271) @tbouffard
  • [TEST] Add more tests when passing CSS classes separated by spaces (#2267) @tbouffard