camunda / element-templates-json-schema

JSON Schema for (Camunda) Element Templates
10 stars 7 forks source link

Add property for supported runtime versions #146

Open jarekdanielak opened 1 month ago

jarekdanielak commented 1 month ago

Related to https://github.com/camunda/camunda-modeler/issues/4530

What should we do?

Add a property that indicates which Camunda Platform runtime versions are supported by the template.

Proposal based on the documentation is to use semver.

{
  "name" : "REST Outbound Connector",
  "id" : "io.camunda.connectors.HttpJson.v2",
  "version" : 7,
  ...,
  "engines": {
    "camunda": "^8.4, ^8.5"
  }
}

Note:

Why should we do it?

Allow detection of incompatibilities between Camunda runtime version and runtime version supported by element template as described in Element Template Runtime versions epic.

jarekdanielak commented 2 weeks ago

Agreed to go with the semver proposal in the define kick-off.