Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce a dedicated function to get the version #2965

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

tbouffard
Copy link
Member

This simplifies the process of obtaining the version of bpmn-visualization.

Previously, it was necessary to instantiate BpmnVisualization to obtain the version, whereas this information was available without any other prerequisites.
The version can now be retrieved directly by calling the new getVersion function. The old BpmnVisualization.getVersion method has therefore been marked as deprecated, and will be removed in the future. In the API documentation, the new function and the existing Version type are not categorized. The Version type was previously categorized as "Initialization & Configuration", but in fact is not related to this topic.

In addition, the TypeScript configuration dedicated to Typedoc has been updated to take into account only the src folder and no longer the demo folder, which is not part of the API documentation. This speeds up documentation generation.

This simplifies the process of obtaining the version of `bpmn-visualization`.

Previously, it was necessary to instantiate `BpmnVisualization` to obtain the version, whereas this information was
available without any other prerequisites.
The version can now be retrieved directly by calling the new `getVersion` function.
The old `BpmnVisualization.getVersion` method has therefore been marked as deprecated, and will be removed in the future.
In the API documentation, the new function and the existing `Version` type are not categorized. The `Version` type was
previously categorized as "Initialization & Configuration", but in fact is not related to this topic.

In addition, the TypeScript configuration dedicated to Typedoc has been updated to take into account only the `src` folder
and no longer the demo folder, which is not part of the API documentation. This speeds up documentation generation.
@tbouffard tbouffard added enhancement New feature or request lib integration Something about how an app can integrate the library labels Nov 16, 2023
Copy link

github-actions bot commented Nov 16, 2023

♻️ PR Preview 7677afe has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

github-actions bot commented Nov 16, 2023

♻️ PR Preview 7677afe has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@tbouffard tbouffard merged commit ba7f8c0 into master Nov 16, 2023
24 checks passed
@tbouffard tbouffard deleted the feat/introduce_getVersion_function branch November 16, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lib integration Something about how an app can integrate the library
Projects
Development

Successfully merging this pull request may close these issues.

2 participants