diff --git a/CHANGELOG.md b/CHANGELOG.md index 95a6b022a6..179878502e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ___Note:__ Yet to be released changes appear here._ * `DEPS`: update to `zeebe-bpmn-moddle@1.5.1` * `DEPS`: update to `camunda-bpmn-js@4.18.0` * `DEPS`: update to `@camunda/linting@3.25.0` +* `DEPS`: upddate to `@bpmn-io/form-js@1.10.0` ### General @@ -24,6 +25,14 @@ ___Note:__ Yet to be released changes appear here._ * `FEAT`: support maintaining `zeebe:priorityDefinition:priority` for user task ([bpmn-io/bpmn-js-properties-panel#1072](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/1072)) * `FIX`: rename task definition type label ([bpmn-io/bpmn-js-properties-panel#1070](https://github.com/bpmn-io/bpmn-js-properties-panel/pull/1070)) +### Key Changes in Forms + +* `FEAT`: support specifying version tag ([#4463](https://github.com/camunda/camunda-modeler/issues/4463)) +* `FIX`: correct various minor FEEL evaluation issues +* `FIX`: disallow drop when no formfield is found ([bpmn-io/form-js#1219](https://github.com/bpmn-io/form-js/pull/1219)) +* `FIX`: ensure dynamic lists submit collapsed values ([bpmn-io/form-js#1230](https://github.com/bpmn-io/form-js/issues/1230)) +* `FIX`: ensure dates are parsed timezone agnostically ([bpmn-io/form-js#1234](https://github.com/bpmn-io/form-js/pull/1234)) + ## 5.26.0 ### General diff --git a/client/package.json b/client/package.json index 51d2f14bab..345a4ca21d 100644 --- a/client/package.json +++ b/client/package.json @@ -10,7 +10,7 @@ "@bpmn-io/align-to-origin": "^0.7.0", "@bpmn-io/dmn-migrate": "^0.5.0", "@bpmn-io/extract-process-variables": "^0.8.0", - "@bpmn-io/form-js": "^1.9.0", + "@bpmn-io/form-js": "^1.10.0", "@bpmn-io/properties-panel": "^3.23.0", "@bpmn-io/replace-ids": "^0.2.0", "@bpmn-io/variable-outline": "1.0.0", diff --git a/package-lock.json b/package-lock.json index 0d120aa411..7e45b42114 100644 --- a/package-lock.json +++ b/package-lock.json @@ -96,7 +96,7 @@ "@bpmn-io/align-to-origin": "^0.7.0", "@bpmn-io/dmn-migrate": "^0.5.0", "@bpmn-io/extract-process-variables": "^0.8.0", - "@bpmn-io/form-js": "^1.9.0", + "@bpmn-io/form-js": "^1.10.0", "@bpmn-io/properties-panel": "^3.23.0", "@bpmn-io/replace-ids": "^0.2.0", "@bpmn-io/variable-outline": "1.0.0", @@ -2753,28 +2753,28 @@ } }, "node_modules/@bpmn-io/form-js": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js/-/form-js-1.9.0.tgz", - "integrity": "sha512-PYIp8fK7t4pOYgh6RSgfqcupVDt7kgwuURl+Q4BycE2Os+5b+AxQkF1SKpFN+wCXTNwYJ0ymfCi/3BnOIL/NKQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js/-/form-js-1.10.0.tgz", + "integrity": "sha512-KAah8NV7A3pmsPbCExXYDVMeU51zFnQATmyzZ5r8pWXsMtD1hcQ74K7Vjo1PuUrUHUAu7CJ/9smEdoY2Vv9s9A==", "dependencies": { - "@bpmn-io/form-js-carbon-styles": "^1.8.8", - "@bpmn-io/form-js-editor": "^1.9.0", - "@bpmn-io/form-js-playground": "^1.9.0", - "@bpmn-io/form-js-viewer": "^1.8.8" + "@bpmn-io/form-js-carbon-styles": "^1.10.0", + "@bpmn-io/form-js-editor": "^1.10.0", + "@bpmn-io/form-js-playground": "^1.10.0", + "@bpmn-io/form-js-viewer": "^1.10.0" } }, "node_modules/@bpmn-io/form-js-carbon-styles": { - "version": "1.8.8", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-carbon-styles/-/form-js-carbon-styles-1.8.8.tgz", - "integrity": "sha512-dGldJm08sECJsCpjAWWNZYdcAx/pQZKkiG6Vzpf1F0X8NZKb5KqEZhhW3sqjlr7q2eYSv7ffsMx93YL9PHgdng==" + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-carbon-styles/-/form-js-carbon-styles-1.10.0.tgz", + "integrity": "sha512-phuslRgen2wcq1KhoJtAZMv51U9HbuS1k5YCUkHm8esje+t00kjAhggK9DxEZ4K5DGUdNnB/ZUzqdPIKn1WWPw==" }, "node_modules/@bpmn-io/form-js-editor": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-editor/-/form-js-editor-1.9.0.tgz", - "integrity": "sha512-qWx/gFO5LipXIHPUU+eBTU7waVA1akrwZjA0c682qe6GWq8Xubt8Z+zgqQepeUuKsZFdOnmugedKDt+f5rGANQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-editor/-/form-js-editor-1.10.0.tgz", + "integrity": "sha512-UU66BDJ7A8qIEloV5BHqZ67PhRrwkKjyGLiQLSpxkU4+Qf5N+WA/X+QcYxDI7F4dCblroMm1odb86TYHU6U+1w==", "dependencies": { "@bpmn-io/draggle": "^4.0.0", - "@bpmn-io/form-js-viewer": "^1.8.8", + "@bpmn-io/form-js-viewer": "^1.10.0", "@bpmn-io/properties-panel": "^3.20.1", "array-move": "^3.0.1", "big.js": "^6.2.1", @@ -2817,12 +2817,12 @@ } }, "node_modules/@bpmn-io/form-js-playground": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-playground/-/form-js-playground-1.9.0.tgz", - "integrity": "sha512-oDczbUDjhfSK8ru6kYt+Um1sSvuH7PngwRUnK7jZXSXIQhDZIxoYWtTC6ayi3gEo/QOoM48u0O2l6KtDRESXGQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-playground/-/form-js-playground-1.10.0.tgz", + "integrity": "sha512-eZE/jxDvrQEo5+TjDz69jRpBqEecmWwT7O9df5TunaosiziZ7i2zU9t30kFv9LAHO0R860JxgjVqlN6BjXfB2A==", "dependencies": { - "@bpmn-io/form-js-editor": "^1.9.0", - "@bpmn-io/form-js-viewer": "^1.8.8", + "@bpmn-io/form-js-editor": "^1.10.0", + "@bpmn-io/form-js-viewer": "^1.10.0", "@codemirror/autocomplete": "^6.16.0", "@codemirror/commands": "^6.5.0", "@codemirror/lang-json": "^6.0.1", @@ -2839,9 +2839,9 @@ } }, "node_modules/@bpmn-io/form-js-viewer": { - "version": "1.8.8", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-viewer/-/form-js-viewer-1.8.8.tgz", - "integrity": "sha512-sYM2oa5yclSILOcBADL+PB12ok4ThphKPxo5i/v7hB5A7hj1D4shY7ir4zbmeQZyFp6H4f1mWvU2OmyanR9Zmw==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-viewer/-/form-js-viewer-1.10.0.tgz", + "integrity": "sha512-70wKEvmKd7xGZtg3t41eBC3EBANIMe7k0Mt+1vdQbao5oTlT0zHK0XrwEaSEOKTEwMvALZmSyCGGBRYtdgzHkg==", "dependencies": { "@carbon/grid": "^11.22.0", "big.js": "^6.2.1", @@ -2849,11 +2849,12 @@ "didi": "^10.2.2", "dompurify": "^3.1.2", "feelers": "^1.3.1", - "feelin": "^3.1.0", + "feelin": "^3.1.2", "flatpickr": "^4.6.13", "ids": "^1.0.5", "lodash": "^4.17.21", - "marked": "^12.0.2", + "luxon": "^3.5.0", + "marked": "^14.0.0", "min-dash": "^4.2.1", "preact": "^10.5.14" } @@ -4614,9 +4615,9 @@ } }, "node_modules/@lezer/lr": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", - "integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz", + "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==", "dependencies": { "@lezer/common": "^1.0.0" } @@ -14288,9 +14289,9 @@ "license": "MIT" }, "node_modules/dompurify": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz", - "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==" + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", + "integrity": "sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==" }, "node_modules/domutils": { "version": "1.7.0", @@ -16312,13 +16313,13 @@ } }, "node_modules/feelin": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/feelin/-/feelin-3.1.0.tgz", - "integrity": "sha512-ITPATtpwDWeLr7FKEAai7mJPlIH0td+D58f61+ZFDOs6Gg+8mFIo1LlhltQOeLkmZlOdvC/RsovbZ7SqxUfoyQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/feelin/-/feelin-3.1.2.tgz", + "integrity": "sha512-fu8MVT54I58IU0OOuyUyx4E0hOwTZ5dKmPyv99Q93UMZhPCZwdu+s0jvI+O85WvV+P6CTbs9qwb2h9GjRtoI6w==", "dependencies": { - "@lezer/lr": "^1.3.9", - "lezer-feel": "^1.2.8", - "luxon": "^3.4.4" + "@lezer/lr": "^1.4.2", + "lezer-feel": "^1.2.9", + "luxon": "^3.5.0" }, "engines": { "node": "*" @@ -20532,9 +20533,9 @@ } }, "node_modules/luxon": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.4.tgz", - "integrity": "sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz", + "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==", "engines": { "node": ">=12" } @@ -20649,9 +20650,9 @@ } }, "node_modules/marked": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", - "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.0.tgz", + "integrity": "sha512-P93GikH/Pde0hM5TAXEd8I4JAYi8IB03n8qzW8Bh1BIEFpEyBoYxi/XWZA53LSpTeLBiMQOoSMj0u5E/tiVYTA==", "bin": { "marked": "bin/marked.js" }, @@ -34209,28 +34210,28 @@ } }, "@bpmn-io/form-js": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js/-/form-js-1.9.0.tgz", - "integrity": "sha512-PYIp8fK7t4pOYgh6RSgfqcupVDt7kgwuURl+Q4BycE2Os+5b+AxQkF1SKpFN+wCXTNwYJ0ymfCi/3BnOIL/NKQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js/-/form-js-1.10.0.tgz", + "integrity": "sha512-KAah8NV7A3pmsPbCExXYDVMeU51zFnQATmyzZ5r8pWXsMtD1hcQ74K7Vjo1PuUrUHUAu7CJ/9smEdoY2Vv9s9A==", "requires": { - "@bpmn-io/form-js-carbon-styles": "^1.8.8", - "@bpmn-io/form-js-editor": "^1.9.0", - "@bpmn-io/form-js-playground": "^1.9.0", - "@bpmn-io/form-js-viewer": "^1.8.8" + "@bpmn-io/form-js-carbon-styles": "^1.10.0", + "@bpmn-io/form-js-editor": "^1.10.0", + "@bpmn-io/form-js-playground": "^1.10.0", + "@bpmn-io/form-js-viewer": "^1.10.0" } }, "@bpmn-io/form-js-carbon-styles": { - "version": "1.8.8", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-carbon-styles/-/form-js-carbon-styles-1.8.8.tgz", - "integrity": "sha512-dGldJm08sECJsCpjAWWNZYdcAx/pQZKkiG6Vzpf1F0X8NZKb5KqEZhhW3sqjlr7q2eYSv7ffsMx93YL9PHgdng==" + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-carbon-styles/-/form-js-carbon-styles-1.10.0.tgz", + "integrity": "sha512-phuslRgen2wcq1KhoJtAZMv51U9HbuS1k5YCUkHm8esje+t00kjAhggK9DxEZ4K5DGUdNnB/ZUzqdPIKn1WWPw==" }, "@bpmn-io/form-js-editor": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-editor/-/form-js-editor-1.9.0.tgz", - "integrity": "sha512-qWx/gFO5LipXIHPUU+eBTU7waVA1akrwZjA0c682qe6GWq8Xubt8Z+zgqQepeUuKsZFdOnmugedKDt+f5rGANQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-editor/-/form-js-editor-1.10.0.tgz", + "integrity": "sha512-UU66BDJ7A8qIEloV5BHqZ67PhRrwkKjyGLiQLSpxkU4+Qf5N+WA/X+QcYxDI7F4dCblroMm1odb86TYHU6U+1w==", "requires": { "@bpmn-io/draggle": "^4.0.0", - "@bpmn-io/form-js-viewer": "^1.8.8", + "@bpmn-io/form-js-viewer": "^1.10.0", "@bpmn-io/properties-panel": "^3.20.1", "array-move": "^3.0.1", "big.js": "^6.2.1", @@ -34268,12 +34269,12 @@ } }, "@bpmn-io/form-js-playground": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-playground/-/form-js-playground-1.9.0.tgz", - "integrity": "sha512-oDczbUDjhfSK8ru6kYt+Um1sSvuH7PngwRUnK7jZXSXIQhDZIxoYWtTC6ayi3gEo/QOoM48u0O2l6KtDRESXGQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-playground/-/form-js-playground-1.10.0.tgz", + "integrity": "sha512-eZE/jxDvrQEo5+TjDz69jRpBqEecmWwT7O9df5TunaosiziZ7i2zU9t30kFv9LAHO0R860JxgjVqlN6BjXfB2A==", "requires": { - "@bpmn-io/form-js-editor": "^1.9.0", - "@bpmn-io/form-js-viewer": "^1.8.8", + "@bpmn-io/form-js-editor": "^1.10.0", + "@bpmn-io/form-js-viewer": "^1.10.0", "@codemirror/autocomplete": "^6.16.0", "@codemirror/commands": "^6.5.0", "@codemirror/lang-json": "^6.0.1", @@ -34290,9 +34291,9 @@ } }, "@bpmn-io/form-js-viewer": { - "version": "1.8.8", - "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-viewer/-/form-js-viewer-1.8.8.tgz", - "integrity": "sha512-sYM2oa5yclSILOcBADL+PB12ok4ThphKPxo5i/v7hB5A7hj1D4shY7ir4zbmeQZyFp6H4f1mWvU2OmyanR9Zmw==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@bpmn-io/form-js-viewer/-/form-js-viewer-1.10.0.tgz", + "integrity": "sha512-70wKEvmKd7xGZtg3t41eBC3EBANIMe7k0Mt+1vdQbao5oTlT0zHK0XrwEaSEOKTEwMvALZmSyCGGBRYtdgzHkg==", "requires": { "@carbon/grid": "^11.22.0", "big.js": "^6.2.1", @@ -34300,11 +34301,12 @@ "didi": "^10.2.2", "dompurify": "^3.1.2", "feelers": "^1.3.1", - "feelin": "^3.1.0", + "feelin": "^3.1.2", "flatpickr": "^4.6.13", "ids": "^1.0.5", "lodash": "^4.17.21", - "marked": "^12.0.2", + "luxon": "^3.5.0", + "marked": "^14.0.0", "min-dash": "^4.2.1", "preact": "^10.5.14" }, @@ -35627,9 +35629,9 @@ } }, "@lezer/lr": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", - "integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz", + "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==", "requires": { "@lezer/common": "^1.0.0" } @@ -40621,7 +40623,7 @@ "@bpmn-io/align-to-origin": "^0.7.0", "@bpmn-io/dmn-migrate": "^0.5.0", "@bpmn-io/extract-process-variables": "^0.8.0", - "@bpmn-io/form-js": "^1.9.0", + "@bpmn-io/form-js": "^1.10.0", "@bpmn-io/properties-panel": "^3.23.0", "@bpmn-io/replace-ids": "^0.2.0", "@bpmn-io/variable-outline": "1.0.0", @@ -43211,9 +43213,9 @@ "version": "1.4.1" }, "dompurify": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.5.tgz", - "integrity": "sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==" + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", + "integrity": "sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==" }, "domutils": { "version": "1.7.0", @@ -44720,13 +44722,13 @@ } }, "feelin": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/feelin/-/feelin-3.1.0.tgz", - "integrity": "sha512-ITPATtpwDWeLr7FKEAai7mJPlIH0td+D58f61+ZFDOs6Gg+8mFIo1LlhltQOeLkmZlOdvC/RsovbZ7SqxUfoyQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/feelin/-/feelin-3.1.2.tgz", + "integrity": "sha512-fu8MVT54I58IU0OOuyUyx4E0hOwTZ5dKmPyv99Q93UMZhPCZwdu+s0jvI+O85WvV+P6CTbs9qwb2h9GjRtoI6w==", "requires": { - "@lezer/lr": "^1.3.9", - "lezer-feel": "^1.2.8", - "luxon": "^3.4.4" + "@lezer/lr": "^1.4.2", + "lezer-feel": "^1.2.9", + "luxon": "^3.5.0" } }, "figures": { @@ -47668,9 +47670,9 @@ } }, "luxon": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.4.4.tgz", - "integrity": "sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==" + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz", + "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==" }, "magic-string": { "version": "0.27.0", @@ -47748,9 +47750,9 @@ "dev": true }, "marked": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", - "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==" + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.0.tgz", + "integrity": "sha512-P93GikH/Pde0hM5TAXEd8I4JAYi8IB03n8qzW8Bh1BIEFpEyBoYxi/XWZA53LSpTeLBiMQOoSMj0u5E/tiVYTA==" }, "match-casing": { "version": "2.0.1",