diff --git a/CHANGELOG.md b/CHANGELOG.md index c20de15..a973031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to [@camunda/linting](https://github.com/camunda/linting) ar ___Note:__ Yet to be released changes appear here._ +## 3.29.1 + +* `FIX`: relax `task-listener` to not check implementation type ([camunda/bpmnlint-plugin-camunda-compat#182](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/182)) +* `FIX`: do not mark job worker user task as incorrect +* `FIX`: remove `zeebe-user-task` rule +* `DEPS`: update to `bpmnlint-plugin-camunda-compat@2.28.1` + ## 3.29.0 * `FEAT`: support for task listeners ([#123](https://github.com/camunda/linting/pull/123)) diff --git a/lib/compiled-config.js b/lib/compiled-config.js index 91f9bcc..5b50637 100644 --- a/lib/compiled-config.js +++ b/lib/compiled-config.js @@ -75,8 +75,7 @@ const rules = { "camunda-compat/user-task-definition": "warn", "camunda-compat/user-task-form": "error", "camunda-compat/version-tag": "error", - "camunda-compat/wait-for-completion": "error", - "camunda-compat/zeebe-user-task": "error" + "camunda-compat/wait-for-completion": "error" }; const config = { @@ -278,8 +277,4 @@ cache['bpmnlint-plugin-camunda-compat/version-tag'] = rule_45; import rule_46 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/wait-for-completion'; -cache['bpmnlint-plugin-camunda-compat/wait-for-completion'] = rule_46; - -import rule_47 from 'bpmnlint-plugin-camunda-compat/rules/camunda-cloud/zeebe-user-task'; - -cache['bpmnlint-plugin-camunda-compat/zeebe-user-task'] = rule_47; \ No newline at end of file +cache['bpmnlint-plugin-camunda-compat/wait-for-completion'] = rule_46; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 010a636..ad77d0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@bpmn-io/diagram-js-ui": "^0.2.3", "bpmn-moddle": "^9.0.1", "bpmnlint": "^10.3.1", - "bpmnlint-plugin-camunda-compat": "^2.28.0", + "bpmnlint-plugin-camunda-compat": "^2.28.1", "bpmnlint-utils": "^1.0.2", "camunda-bpmn-moddle": "^7.0.1", "clsx": "^2.0.0", @@ -1712,9 +1712,9 @@ } }, "node_modules/bpmnlint-plugin-camunda-compat": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/bpmnlint-plugin-camunda-compat/-/bpmnlint-plugin-camunda-compat-2.28.0.tgz", - "integrity": "sha512-NAdJZuOnopHrmuGf3+QAMLmAOLcBPxjTI+YCP2YXeAQ0A/3OD1Ek3NhcYfy3im19OA9TRVECzLsH97D32NzANA==", + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/bpmnlint-plugin-camunda-compat/-/bpmnlint-plugin-camunda-compat-2.28.1.tgz", + "integrity": "sha512-HBs5mqru2txC11g8wJALYd1xAbB24BL1LiXZyWWfWtdhh467FfELmibHZ0U+MUwv1QX2lACMQfVqb/A8HFV9wA==", "license": "MIT", "dependencies": { "@bpmn-io/feel-lint": "^1.2.0", @@ -8703,9 +8703,9 @@ } }, "bpmnlint-plugin-camunda-compat": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/bpmnlint-plugin-camunda-compat/-/bpmnlint-plugin-camunda-compat-2.28.0.tgz", - "integrity": "sha512-NAdJZuOnopHrmuGf3+QAMLmAOLcBPxjTI+YCP2YXeAQ0A/3OD1Ek3NhcYfy3im19OA9TRVECzLsH97D32NzANA==", + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/bpmnlint-plugin-camunda-compat/-/bpmnlint-plugin-camunda-compat-2.28.1.tgz", + "integrity": "sha512-HBs5mqru2txC11g8wJALYd1xAbB24BL1LiXZyWWfWtdhh467FfELmibHZ0U+MUwv1QX2lACMQfVqb/A8HFV9wA==", "requires": { "@bpmn-io/feel-lint": "^1.2.0", "@bpmn-io/moddle-utils": "^0.2.1", diff --git a/package.json b/package.json index 76cfe42..de3d7b0 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@bpmn-io/diagram-js-ui": "^0.2.3", "bpmn-moddle": "^9.0.1", "bpmnlint": "^10.3.1", - "bpmnlint-plugin-camunda-compat": "^2.28.0", + "bpmnlint-plugin-camunda-compat": "^2.28.1", "bpmnlint-utils": "^1.0.2", "camunda-bpmn-moddle": "^7.0.1", "clsx": "^2.0.0", diff --git a/test/spec/utils/error-messages.spec.js b/test/spec/utils/error-messages.spec.js index 1e13e8a..cfa42df 100644 --- a/test/spec/utils/error-messages.spec.js +++ b/test/spec/utils/error-messages.spec.js @@ -678,24 +678,6 @@ describe('utils/error-messages', function() { // then expect(errorMessage).to.equal('A should have a defined
'); }); - - - it('should adjust (zeebe user task)', async function() { - - // given - const node = createElement('bpmn:UserTask'); - - const { default: rule } = await import('bpmnlint-plugin-camunda-compat/rules/camunda-cloud/zeebe-user-task'); - - const report = await getLintError(node, rule, { version: '8.7' }); - - // when - const errorMessage = getErrorMessage(report); - - // then - expect(errorMessage).to.equal('A must have '); - }); - }); diff --git a/test/spec/utils/properties-panel.spec.js b/test/spec/utils/properties-panel.spec.js index 077f914..76f8faa 100644 --- a/test/spec/utils/properties-panel.spec.js +++ b/test/spec/utils/properties-panel.spec.js @@ -1090,27 +1090,6 @@ describe('utils/properties-panel', function() { }); - it('zeebe-user-task', async function() { - - // given - const node = createElement('bpmn:UserTask', { - id: 'UserTask_1' - }); - - const { default: rule } = await import('bpmnlint-plugin-camunda-compat/rules/camunda-cloud/zeebe-user-task'); - - const report = await getLintError(node, rule, { version: '8.7' }); - - // when - const entryIds = getEntryIds(report); - - // then - expect(entryIds).to.eql([ 'userTaskImplementation' ]); - - expectErrorMessage(entryIds[ 0 ], 'Not supported.', report); - }); - - it('inclusive-gateway (no condition expression)', async function() { // given