Skip to content

Commit 65e8bf2

Browse files
committed
fix: make feel=static the default but value for inputs and outputs
This reverts the breaking changes introduced via [#154](#154) and [#156](#156). Any `feel` value out of the supported enum is allowed, but `static` is used if the property is missing. Related to camunda/camunda-modeler#4593
1 parent e12639f commit 65e8bf2

File tree

7 files changed

+174
-361
lines changed

7 files changed

+174
-361
lines changed

packages/zeebe-element-templates-json-schema/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ All notable changes to [@camunda/zeebe-element-templates-json-schema](https://gi
66

77
___Note:__ Yet to be released changes appear here._
88

9+
## 0.22.3
10+
11+
* `FIX`: make `feel=static` the default but value for `zeebe:input` and `zeebe:output` properties
12+
13+
### Notes
14+
15+
This release reverts the breaking changes introduced via [#154](https://github.com/camunda/element-templates-json-schema/pull/154) and [#156](https://github.com/camunda/element-templates-json-schema/pull/156). Any `feel` value out of the supported enum is allowed, but `static` is used if the property is missing.
16+
917
## 0.22.2
1018

1119
* `FIX`: require `feel` to be `optional` or `static` for `Boolean` and `Number` inputs and outputs ([#156](https://github.com/camunda/element-templates-json-schema/pull/156))

packages/zeebe-element-templates-json-schema/src/defs/properties.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,17 +337,16 @@
337337
"required": ["binding", "type"]
338338
},
339339
"then": {
340-
"required": ["feel"],
341340
"properties": {
342341
"feel": {
343-
"enum": [ "optional", "static" ]
342+
"default": "static"
344343
}
345344
}
346345
}
347346
}
348347
]
349348
}
350-
349+
351350
],
352351
"properties": {
353352
"binding": {

packages/zeebe-element-templates-json-schema/test/fixtures/invalid-zeebe-input-feel.js

Lines changed: 0 additions & 178 deletions
This file was deleted.

packages/zeebe-element-templates-json-schema/test/fixtures/invalid-zeebe-output-feel.js

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)