diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6eede8e23c..2092c4b0ee 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.887.0" + ".": "1.888.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 53e7619368..ec0fd3cd17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.888.0](https://github.com/windmill-labs/windmill/compare/v1.887.0...v1.888.0) (2026-11-28) + + +### Features + +* open images in the session preview panel ([#12602](https://github.com/windmill-labs/windmill/issues/12602)) ([0c63dfe](https://github.com/windmill-labs/windmill/commit/0c63dfe18cdcd86cd34cc51907ceef2118e80e2f)) +* require two-factor authentication for password logins ([#12704](https://github.com/windmill-labs/windmill/issues/12704)) ([8ec6bee](https://github.com/windmill-labs/windmill/commit/8ec6beed3a4ef550ecd86991122b8a8757ef7021)) + + +### Bug Fixes + +* give mcp show tools a text fallback for clients without cards ([#12707](https://github.com/windmill-labs/windmill/issues/12707)) ([84e9038](https://github.com/windmill-labs/windmill/commit/84e903848af65ca049d8059c9627a859220052b2)) +* **mcp:** hold each MCP call to its own token, workspace and route ([#12709](https://github.com/windmill-labs/windmill/issues/12709)) ([cb5d6a9](https://github.com/windmill-labs/windmill/commit/cb5d6a92c22bdb606c23266a7370d726ef9eb16e)) +* opt the audit probe token into superadmin ([#12710](https://github.com/windmill-labs/windmill/issues/12710)) ([3ad867e](https://github.com/windmill-labs/windmill/commit/3ad867ee658a9bf9aa7c587d4e61724915841683)) +* tidy the mcp show tool text fallbacks ([#12713](https://github.com/windmill-labs/windmill/issues/12713)) ([a32ae57](https://github.com/windmill-labs/windmill/commit/a32ae571ca3bdae708f8018abd193d45de69241d)) +* validate return addresses on the webhook and cli sign-in pages ([#12719](https://github.com/windmill-labs/windmill/issues/12719)) ([dce05fd](https://github.com/windmill-labs/windmill/commit/dce05fdc3b775d9930b17fdfc3eeb8c93fb389a4)) + ## [1.887.0](https://github.com/windmill-labs/windmill/compare/v1.886.0...v1.887.0) (2026-11-27) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index d3621874e0..1098970b7d 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -77,9 +77,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.14" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54dae3d1d7b8956f3506c4e999a74e77f932a59153ccf38ab8cf96db74bb9dc0" +checksum = "3019c0b8d883a8a17df3129e417ef463c087807d245e8881a31d583dee1c0519" dependencies = [ "cfg-if", "const-random", @@ -280,9 +280,9 @@ checksum = "3d62b7694a562cdf5a74227903507c56ab2cc8bdd1f781ed5cb4cf9c9f810bfc" [[package]] name = "arrayvec" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" +checksum = "47a64a0fd06e123e9e3cf3ad01432af17dcab8185e8023edcf184fe696f9675d" [[package]] name = "arrow" @@ -325,7 +325,7 @@ version = "55.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70732f04d285d49054a48b72c54f791bb3424abae92d27aafdf776c98af161c8" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow-buffer", "arrow-data", "arrow-schema", @@ -469,7 +469,7 @@ version = "55.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd2b45757d6a2373faa3352d02ff5b54b098f5e21dccebc45a21806bc34501e5" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow-array", "arrow-buffer", "arrow-data", @@ -3433,7 +3433,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0734015d81c8375eb5d4869b7f7ecccc2ee8d6cb81948ef737cd0e7b743bd69c" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "arrow-ipc", "base64 0.22.1", @@ -3673,7 +3673,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "408a05dafdc70d05a38a29005b8b15e21b0238734dab1e98483fcb58038c5aba" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "datafusion-common", "datafusion-doc", @@ -3694,7 +3694,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "756d21da2dd6c9bef97af1504970ff56cbf35d03fbd4ffd62827f02f4d2279d4" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "datafusion-common", "datafusion-expr-common", @@ -3801,7 +3801,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64c536062b0076f4e30084065d805f389f9fe38af0ca75bcbac86bc5e9fbab65" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "datafusion-common", "datafusion-expr", @@ -3823,7 +3823,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8a92b53b3193fac1916a1c5b8e3f4347c526f6822e56b71faa5fb372327a863" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "datafusion-common", "datafusion-expr-common", @@ -3856,7 +3856,7 @@ version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "690c615db468c2e5fe5085b232d8b1c088299a6c63d87fd960a354a71f7acb55" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow", "arrow-ord", "arrow-schema", @@ -6295,7 +6295,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "allocator-api2", ] @@ -7662,7 +7662,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f1326e946fadf6248febdf8a1c001809c3899ccf48cb9768cbc536b741040dc" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "async-broadcast", "async-stream", "backon", @@ -9420,9 +9420,9 @@ dependencies = [ [[package]] name = "owo-colors" -version = "4.4.0" +version = "4.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8" +checksum = "83aa311bb2fea0015723819d8bb5a009ed8587a124a6e05e5d2a7462b23f7edc" [[package]] name = "p12-keystore" @@ -9555,7 +9555,7 @@ version = "55.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b17da4150748086bd43352bc77372efa9b6e3dbd06a04831d2a98c041c225cfa" dependencies = [ - "ahash 0.8.14", + "ahash 0.8.15", "arrow-array", "arrow-buffer", "arrow-cast", @@ -15657,7 +15657,7 @@ dependencies = [ [[package]] name = "windmill" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-nats", @@ -15747,7 +15747,7 @@ dependencies = [ [[package]] name = "windmill-ai" -version = "1.887.0" +version = "1.888.0" dependencies = [ "async-stream", "async-trait", @@ -15782,7 +15782,7 @@ dependencies = [ [[package]] name = "windmill-alerting" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -15795,7 +15795,7 @@ dependencies = [ [[package]] name = "windmill-api" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "argon2", @@ -15937,7 +15937,7 @@ dependencies = [ [[package]] name = "windmill-api-agent-workers" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -15961,7 +15961,7 @@ dependencies = [ [[package]] name = "windmill-api-assets" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -15978,7 +15978,7 @@ dependencies = [ [[package]] name = "windmill-api-auth" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16005,7 +16005,7 @@ dependencies = [ [[package]] name = "windmill-api-client" -version = "1.887.0" +version = "1.888.0" dependencies = [ "reqwest 0.12.28", "serde", @@ -16015,7 +16015,7 @@ dependencies = [ [[package]] name = "windmill-api-configs" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16032,7 +16032,7 @@ dependencies = [ [[package]] name = "windmill-api-debug" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "base64 0.22.1", @@ -16054,7 +16054,7 @@ dependencies = [ [[package]] name = "windmill-api-embeddings" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16077,7 +16077,7 @@ dependencies = [ [[package]] name = "windmill-api-flow-conversations" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16093,7 +16093,7 @@ dependencies = [ [[package]] name = "windmill-api-flows" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16115,7 +16115,7 @@ dependencies = [ [[package]] name = "windmill-api-groups" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16137,7 +16137,7 @@ dependencies = [ [[package]] name = "windmill-api-inputs" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16151,7 +16151,7 @@ dependencies = [ [[package]] name = "windmill-api-integration-tests" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-nats", @@ -16187,7 +16187,7 @@ dependencies = [ [[package]] name = "windmill-api-jobs" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16213,7 +16213,7 @@ dependencies = [ [[package]] name = "windmill-api-npm-proxy" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16241,7 +16241,7 @@ dependencies = [ [[package]] name = "windmill-api-openapi" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16263,7 +16263,7 @@ dependencies = [ [[package]] name = "windmill-api-schedule" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16282,7 +16282,7 @@ dependencies = [ [[package]] name = "windmill-api-scripts" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16324,7 +16324,7 @@ dependencies = [ [[package]] name = "windmill-api-settings" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16355,7 +16355,7 @@ dependencies = [ [[package]] name = "windmill-api-sse" -version = "1.887.0" +version = "1.888.0" dependencies = [ "lazy_static", "serde", @@ -16367,7 +16367,7 @@ dependencies = [ [[package]] name = "windmill-api-users" -version = "1.887.0" +version = "1.888.0" dependencies = [ "argon2", "axum", @@ -16395,7 +16395,7 @@ dependencies = [ [[package]] name = "windmill-api-workers" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16410,7 +16410,7 @@ dependencies = [ [[package]] name = "windmill-api-workspaces" -version = "1.887.0" +version = "1.888.0" dependencies = [ "axum", "chrono", @@ -16449,7 +16449,7 @@ dependencies = [ [[package]] name = "windmill-audit" -version = "1.887.0" +version = "1.888.0" dependencies = [ "chrono", "lazy_static", @@ -16464,7 +16464,7 @@ dependencies = [ [[package]] name = "windmill-autoscaling" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "axum", @@ -16483,7 +16483,7 @@ dependencies = [ [[package]] name = "windmill-common" -version = "1.887.0" +version = "1.888.0" dependencies = [ "aes-gcm", "aho-corasick", @@ -16604,7 +16604,7 @@ dependencies = [ [[package]] name = "windmill-dep-map" -version = "1.887.0" +version = "1.888.0" dependencies = [ "chrono", "futures", @@ -16624,7 +16624,7 @@ dependencies = [ [[package]] name = "windmill-git-sync" -version = "1.887.0" +version = "1.888.0" dependencies = [ "regex", "serde", @@ -16641,7 +16641,7 @@ dependencies = [ [[package]] name = "windmill-indexer" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "astral-tokio-tar", @@ -16668,7 +16668,7 @@ dependencies = [ [[package]] name = "windmill-jseval" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "futures", @@ -16685,7 +16685,7 @@ dependencies = [ [[package]] name = "windmill-macros" -version = "1.887.0" +version = "1.888.0" dependencies = [ "itertools 0.14.0", "lazy_static", @@ -16701,7 +16701,7 @@ dependencies = [ [[package]] name = "windmill-mcp" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -16723,7 +16723,7 @@ dependencies = [ [[package]] name = "windmill-native-triggers" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -16755,7 +16755,7 @@ dependencies = [ [[package]] name = "windmill-oauth" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "arc-swap", @@ -16780,7 +16780,7 @@ dependencies = [ [[package]] name = "windmill-object-store" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-stream", @@ -16816,7 +16816,7 @@ dependencies = [ [[package]] name = "windmill-operator" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "futures", @@ -16835,7 +16835,7 @@ dependencies = [ [[package]] name = "windmill-parser" -version = "1.887.0" +version = "1.888.0" dependencies = [ "convert_case 0.6.0", "serde", @@ -16844,7 +16844,7 @@ dependencies = [ [[package]] name = "windmill-parser-bash" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -16856,7 +16856,7 @@ dependencies = [ [[package]] name = "windmill-parser-csharp" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -16868,7 +16868,7 @@ dependencies = [ [[package]] name = "windmill-parser-go" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "gosyn", @@ -16880,7 +16880,7 @@ dependencies = [ [[package]] name = "windmill-parser-graphql" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -16892,7 +16892,7 @@ dependencies = [ [[package]] name = "windmill-parser-java" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -16904,7 +16904,7 @@ dependencies = [ [[package]] name = "windmill-parser-nu" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "nu-parser", @@ -16915,7 +16915,7 @@ dependencies = [ [[package]] name = "windmill-parser-php" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -16926,7 +16926,7 @@ dependencies = [ [[package]] name = "windmill-parser-py" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -16938,7 +16938,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "ruff_python_ast", @@ -16949,7 +16949,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-imports" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-recursion", @@ -16972,7 +16972,7 @@ dependencies = [ [[package]] name = "windmill-parser-r" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -16984,7 +16984,7 @@ dependencies = [ [[package]] name = "windmill-parser-ruby" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -16998,7 +16998,7 @@ dependencies = [ [[package]] name = "windmill-parser-rust" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -17015,7 +17015,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -17028,7 +17028,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde", @@ -17040,7 +17040,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -17058,7 +17058,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde-wasm-bindgen", @@ -17074,7 +17074,7 @@ dependencies = [ [[package]] name = "windmill-parser-wac" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "ruff_python_ast", @@ -17091,7 +17091,7 @@ dependencies = [ [[package]] name = "windmill-parser-yaml" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -17105,7 +17105,7 @@ dependencies = [ [[package]] name = "windmill-queue" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-recursion", @@ -17143,7 +17143,7 @@ dependencies = [ [[package]] name = "windmill-runtime-nativets" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "const_format", @@ -17181,7 +17181,7 @@ dependencies = [ [[package]] name = "windmill-sql-datatype-parser-wasm" -version = "1.887.0" +version = "1.888.0" dependencies = [ "getrandom 0.3.4", "wasm-bindgen", @@ -17192,7 +17192,7 @@ dependencies = [ [[package]] name = "windmill-store" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-recursion", @@ -17227,7 +17227,7 @@ dependencies = [ [[package]] name = "windmill-test-utils" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17251,7 +17251,7 @@ dependencies = [ [[package]] name = "windmill-trigger" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17284,7 +17284,7 @@ dependencies = [ [[package]] name = "windmill-trigger-amqp" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17311,7 +17311,7 @@ dependencies = [ [[package]] name = "windmill-trigger-azure" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17344,7 +17344,7 @@ dependencies = [ [[package]] name = "windmill-trigger-email" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17364,7 +17364,7 @@ dependencies = [ [[package]] name = "windmill-trigger-gcp" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17398,7 +17398,7 @@ dependencies = [ [[package]] name = "windmill-trigger-http" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17435,7 +17435,7 @@ dependencies = [ [[package]] name = "windmill-trigger-kafka" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17458,7 +17458,7 @@ dependencies = [ [[package]] name = "windmill-trigger-mqtt" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17482,7 +17482,7 @@ dependencies = [ [[package]] name = "windmill-trigger-nats" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-nats", @@ -17506,7 +17506,7 @@ dependencies = [ [[package]] name = "windmill-trigger-postgres" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17541,7 +17541,7 @@ dependencies = [ [[package]] name = "windmill-trigger-sqs" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17569,7 +17569,7 @@ dependencies = [ [[package]] name = "windmill-trigger-websocket" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-trait", @@ -17595,7 +17595,7 @@ dependencies = [ [[package]] name = "windmill-types" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "bitflags 2.13.2", @@ -17615,7 +17615,7 @@ dependencies = [ [[package]] name = "windmill-worker" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-once-cell", @@ -17733,7 +17733,7 @@ dependencies = [ [[package]] name = "windmill-worker-volumes" -version = "1.887.0" +version = "1.888.0" dependencies = [ "bytes", "fs4", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 935b9be36a..4c272e669f 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windmill" -version = "1.887.0" +version = "1.888.0" authors.workspace = true edition.workspace = true @@ -88,7 +88,7 @@ members = [ exclude = ["./windmill-duckdb-ffi-internal", "./parsers/windmill-parser-wasm"] [workspace.package] -version = "1.887.0" +version = "1.888.0" authors = ["Ruben Fiszel "] edition = "2021" diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index 1245f50ba5..a01f759cea 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -1ea1e058fd0d419381c48e2e1cdabfdff6817538 \ No newline at end of file +d2625bdc95a267402f717b3044a5e808cef41bd0 diff --git a/backend/parsers/windmill-parser-wasm/Cargo.lock b/backend/parsers/windmill-parser-wasm/Cargo.lock index 5ad5a2787a..fa794df669 100644 --- a/backend/parsers/windmill-parser-wasm/Cargo.lock +++ b/backend/parsers/windmill-parser-wasm/Cargo.lock @@ -6340,7 +6340,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windmill-common" -version = "1.887.0" +version = "1.888.0" dependencies = [ "aes-gcm", "aho-corasick", @@ -6430,7 +6430,7 @@ dependencies = [ [[package]] name = "windmill-macros" -version = "1.887.0" +version = "1.888.0" dependencies = [ "proc-macro2", "quote", @@ -6442,7 +6442,7 @@ dependencies = [ [[package]] name = "windmill-parser" -version = "1.887.0" +version = "1.888.0" dependencies = [ "convert_case", "serde", @@ -6451,7 +6451,7 @@ dependencies = [ [[package]] name = "windmill-parser-bash" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6463,7 +6463,7 @@ dependencies = [ [[package]] name = "windmill-parser-csharp" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -6475,7 +6475,7 @@ dependencies = [ [[package]] name = "windmill-parser-go" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "gosyn", @@ -6487,7 +6487,7 @@ dependencies = [ [[package]] name = "windmill-parser-graphql" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6499,7 +6499,7 @@ dependencies = [ [[package]] name = "windmill-parser-java" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -6511,7 +6511,7 @@ dependencies = [ [[package]] name = "windmill-parser-nu" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "nu-parser", @@ -6522,7 +6522,7 @@ dependencies = [ [[package]] name = "windmill-parser-php" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -6533,7 +6533,7 @@ dependencies = [ [[package]] name = "windmill-parser-py" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -6545,7 +6545,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "ruff_python_ast", @@ -6556,7 +6556,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-imports" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "async-recursion", @@ -6579,7 +6579,7 @@ dependencies = [ [[package]] name = "windmill-parser-r" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde_json", @@ -6591,7 +6591,7 @@ dependencies = [ [[package]] name = "windmill-parser-ruby" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6605,7 +6605,7 @@ dependencies = [ [[package]] name = "windmill-parser-rust" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "convert_case", @@ -6622,7 +6622,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6635,7 +6635,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde", @@ -6647,7 +6647,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6665,7 +6665,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts-asset" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "serde-wasm-bindgen", @@ -6681,7 +6681,7 @@ dependencies = [ [[package]] name = "windmill-parser-wac" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "ruff_python_ast", @@ -6698,7 +6698,7 @@ dependencies = [ [[package]] name = "windmill-parser-wasm" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "getrandom 0.2.17", @@ -6730,7 +6730,7 @@ dependencies = [ [[package]] name = "windmill-parser-yaml" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "lazy_static", @@ -6744,7 +6744,7 @@ dependencies = [ [[package]] name = "windmill-types" -version = "1.887.0" +version = "1.888.0" dependencies = [ "anyhow", "bitflags", diff --git a/backend/parsers/windmill-parser-wasm/Cargo.toml b/backend/parsers/windmill-parser-wasm/Cargo.toml index 364c946119..a0463da55c 100644 --- a/backend/parsers/windmill-parser-wasm/Cargo.toml +++ b/backend/parsers/windmill-parser-wasm/Cargo.toml @@ -12,7 +12,7 @@ resolver = "2" members = ["."] [workspace.package] -version = "1.887.0" +version = "1.888.0" edition = "2021" authors = ["Ruben Fiszel "] diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index dcbb421ddf..404f81b0c2 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.887.0 + version: 1.888.0 title: Windmill API contact: diff --git a/benchmarks/lib.ts b/benchmarks/lib.ts index 65548ee93b..0d9861cfb3 100644 --- a/benchmarks/lib.ts +++ b/benchmarks/lib.ts @@ -2,7 +2,7 @@ import { sleep } from "https://deno.land/x/sleep@v1.2.1/mod.ts"; import * as windmill from "https://deno.land/x/windmill@v1.174.0/mod.ts"; import * as api from "https://deno.land/x/windmill@v1.174.0/windmill-api/index.ts"; -export const VERSION = "v1.887.0"; +export const VERSION = "v1.888.0"; export async function login(email: string, password: string): Promise { return await windmill.UserService.login({ diff --git a/chat-sdk/package-lock.json b/chat-sdk/package-lock.json index 7063675dfd..5a88f18d4c 100644 --- a/chat-sdk/package-lock.json +++ b/chat-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "@windmill-labs/chat-sdk", - "version": "1.887.0", + "version": "1.888.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@windmill-labs/chat-sdk", - "version": "1.887.0", + "version": "1.888.0", "license": "Apache-2.0", "devDependencies": { "@ai-sdk/react": "^4.0.102", diff --git a/chat-sdk/package.json b/chat-sdk/package.json index 67fe3e1668..789cb2861d 100644 --- a/chat-sdk/package.json +++ b/chat-sdk/package.json @@ -1,7 +1,7 @@ { "name": "@windmill-labs/chat-sdk", "description": "Build chat interfaces on Windmill flows deployed in chat mode, from any frontend or raw app", - "version": "1.887.0", + "version": "1.888.0", "author": "Ruben Fiszel", "license": "Apache-2.0", "homepage": "https://github.com/windmill-labs/windmill/tree/main/chat-sdk#readme", diff --git a/cli/src/core/constants.ts b/cli/src/core/constants.ts index 770e033ccd..af13d0a08d 100644 --- a/cli/src/core/constants.ts +++ b/cli/src/core/constants.ts @@ -10,4 +10,4 @@ export const WM_FORK_PREFIX = "wm-fork"; // (e.g. utils.ts) can read it without importing main.ts and creating a circular // dependency (main → workspace → utils → main) that triggers a TDZ. // Re-exported from main.ts for backwards compatibility. -export const VERSION = "1.887.0"; +export const VERSION = "1.888.0"; diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 8e133d6be5..24db83fc7c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "@windmill-labs/components", - "version": "1.887.0", + "version": "1.888.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@windmill-labs/components", - "version": "1.887.0", + "version": "1.888.0", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/frontend/package.json b/frontend/package.json index adb627745a..3c0d590b83 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@windmill-labs/components", - "version": "1.887.0", + "version": "1.888.0", "scripts": { "dev": "vite dev", "dev:ui-builder": "mv static/ui_builder static/ui_builder.dev-disabled 2>/dev/null || true ; trap 'mv static/ui_builder.dev-disabled static/ui_builder 2>/dev/null || true' EXIT ; vite dev", diff --git a/frontend/src/lib/logoutRedirect.test.ts b/frontend/src/lib/logoutRedirect.test.ts index a42a86e6ef..b58addcf3a 100644 --- a/frontend/src/lib/logoutRedirect.test.ts +++ b/frontend/src/lib/logoutRedirect.test.ts @@ -1,5 +1,20 @@ import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest' -import { isValidLogoutRedirect, toSameOriginRelativePath } from './logoutRedirect' +import { isValidLogoutRedirect, parseHttpUrl, toSameOriginRelativePath } from './logoutRedirect' + +describe('parseHttpUrl', () => { + it('accepts http and https URLs', () => { + expect(parseHttpUrl('https://example.com/cb')?.href).toBe('https://example.com/cb') + expect(parseHttpUrl('http://localhost:1234')?.port).toBe('1234') + }) + + it('rejects other schemes and malformed input', () => { + expect(parseHttpUrl('javascript:alert(1)//')).toBeUndefined() + expect(parseHttpUrl('javascript://%0aalert(1)//:80')).toBeUndefined() + expect(parseHttpUrl('data:text/html,x')).toBeUndefined() + expect(parseHttpUrl('/relative')).toBeUndefined() + expect(parseHttpUrl(null)).toBeUndefined() + }) +}) describe('isValidLogoutRedirect', () => { beforeEach(() => { diff --git a/frontend/src/lib/logoutRedirect.ts b/frontend/src/lib/logoutRedirect.ts index 8160dfd66d..2fdca2fcb2 100644 --- a/frontend/src/lib/logoutRedirect.ts +++ b/frontend/src/lib/logoutRedirect.ts @@ -61,6 +61,20 @@ export function toSameOriginRelativePath(rd: string | null | undefined): string } } +/** + * Parses a navigation target taken from the page URL, accepting only `http:` and `https:`. + * A target from page input must go through this before it is assigned to `window.location`. + */ +export function parseHttpUrl(raw: string | null | undefined): URL | undefined { + if (!raw) return undefined + try { + const url = new URL(raw) + return url.protocol === 'http:' || url.protocol === 'https:' ? url : undefined + } catch { + return undefined + } +} + function hasControlChar(s: string): boolean { for (let i = 0; i < s.length; i++) { const c = s.charCodeAt(i) diff --git a/frontend/src/routes/(root)/(logged)/svix/create-webhook/+page@(root).svelte b/frontend/src/routes/(root)/(logged)/svix/create-webhook/+page@(root).svelte index a8b6ecbb9b..4913923f88 100644 --- a/frontend/src/routes/(root)/(logged)/svix/create-webhook/+page@(root).svelte +++ b/frontend/src/routes/(root)/(logged)/svix/create-webhook/+page@(root).svelte @@ -2,7 +2,7 @@ import { run } from 'svelte/legacy' import ScriptPicker from '$lib/components/ScriptPicker.svelte' - import { Button } from '$lib/components/common' + import { Alert, Button } from '$lib/components/common' import { page } from '$app/stores' import { apiBaseUrl } from '$lib/apiBaseUrl.svelte' import InstanceUiSync from '$lib/components/InstanceUiSync.svelte' @@ -13,11 +13,12 @@ import Tooltip from '$lib/components/Tooltip.svelte' import WorkspaceMenu from '$lib/components/sidebar/WorkspaceMenu.svelte' import { Menubar } from '$lib/components/meltComponents' + import { parseHttpUrl } from '$lib/logoutRedirect' let itemPath: string | undefined = $state(undefined) let itemKind: 'script' | 'flow' | 'app' = $state('script') let clientName = $page.url.searchParams.get('domain') ?? undefined - let redirectURI = $page.url.searchParams.get('redirect_uri') + const redirectURL = parseHttpUrl($page.url.searchParams.get('redirect_uri')) let userSettings: TokensDrawer | undefined = $state() let token: string | undefined = $state(undefined) @@ -45,15 +46,17 @@ } function redirectSuccess(webhook: string, token: string) { + if (!redirectURL) return const webhook_url = new URL(webhook) webhook_url.searchParams.append('token', token) - const url = new URL(redirectURI!) + const url = new URL(redirectURL) url.searchParams.append('webhook_url', webhook_url.toString()) window.location.href = url.toString() } function redirectCancel(e: string): void { - const url = new URL(redirectURI!) + if (!redirectURL) return + const url = new URL(redirectURL) url.searchParams.append('error', e) window.location.href = url.toString() } @@ -92,6 +95,15 @@ >{`${clientName} wants to create a webhook`} + {#if redirectURL} +

+ The webhook URL and its token will be sent to {redirectURL.host} +

+ {:else} + + This link has no valid http or https redirect address, so the request cannot be completed. + + {/if}
- +
diff --git a/frontend/src/routes/(root)/(logged)/user/cli/+page.svelte b/frontend/src/routes/(root)/(logged)/user/cli/+page.svelte index 5113af02d8..8c9b7d3ade 100644 --- a/frontend/src/routes/(root)/(logged)/user/cli/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/user/cli/+page.svelte @@ -1,20 +1,22 @@ -

- Token will be posted to {host == 'localhost' ? 'your local machine' : host} to port {port} -

+ {#if callbackUrl} +

+ Token will be posted to {callbackUrl.hostname == 'localhost' + ? 'your local machine' + : callbackUrl.hostname} to port {callbackUrl.port || + (callbackUrl.protocol === 'https:' ? 443 : 80)} +

+ {:else} + + This link does not name a valid http or https address to send the token to. + + {/if}
Token expires in