mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-03 16:10:37 +00:00
Merge remote-tracking branch 'origin/main' into ruben/datatable-clone-extensions
# Conflicts: # backend/ee-repo-ref.txt
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "1.887.0"
|
||||
".": "1.888.0"
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Generated
+96
-96
@@ -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",
|
||||
|
||||
+2
-2
@@ -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 <ruben@windmill.dev>"]
|
||||
edition = "2021"
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1ea1e058fd0d419381c48e2e1cdabfdff6817538
|
||||
d2625bdc95a267402f717b3044a5e808cef41bd0
|
||||
|
||||
+24
-24
@@ -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",
|
||||
|
||||
@@ -12,7 +12,7 @@ resolver = "2"
|
||||
members = ["."]
|
||||
|
||||
[workspace.package]
|
||||
version = "1.887.0"
|
||||
version = "1.888.0"
|
||||
edition = "2021"
|
||||
authors = ["Ruben Fiszel <ruben@windmill.dev>"]
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
openapi: "3.0.3"
|
||||
|
||||
info:
|
||||
version: 1.887.0
|
||||
version: 1.888.0
|
||||
title: Windmill API
|
||||
|
||||
contact:
|
||||
|
||||
+1
-1
@@ -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<string> {
|
||||
return await windmill.UserService.login({
|
||||
|
||||
Generated
+2
-2
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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";
|
||||
|
||||
Generated
+2
-2
@@ -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": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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`}</h1
|
||||
>
|
||||
</div>
|
||||
{#if redirectURL}
|
||||
<p class="text-center text-sm text-secondary">
|
||||
The webhook URL and its token will be sent to <b>{redirectURL.host}</b>
|
||||
</p>
|
||||
{:else}
|
||||
<Alert type="error" title="Invalid redirect address">
|
||||
This link has no valid http or https redirect address, so the request cannot be completed.
|
||||
</Alert>
|
||||
{/if}
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
<div
|
||||
class="flex items-center justify-center min-w-10 w-10 h-10 border-2 border-blue-500 text-blue-500 font-bold rounded-full"
|
||||
@@ -161,12 +173,16 @@
|
||||
</div>
|
||||
<div class="flex flex-row gap-2 mt-10">
|
||||
<Button
|
||||
disabled={!itemPath || !token || token === ''}
|
||||
disabled={!redirectURL || !itemPath || !token || token === ''}
|
||||
btnClasses="whitespace-normal break-words flex flex-wrap"
|
||||
on:click={() => itemPath && token && createWebhook(itemPath, itemKind, token)}
|
||||
>Approve and share with {clientName}</Button
|
||||
>
|
||||
<Button color="red" on:click={() => redirectCancel('user_canceled')}>Cancel</Button>
|
||||
<Button
|
||||
color="red"
|
||||
disabled={!redirectURL}
|
||||
on:click={() => redirectCancel('user_canceled')}>Cancel</Button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,20 +1,22 @@
|
||||
<script lang="ts">
|
||||
import { onMount, untrack } from 'svelte'
|
||||
import { onMount } from 'svelte'
|
||||
import { SettingService, UserService } from '$lib/gen'
|
||||
import { page } from '$app/state'
|
||||
import CenteredModal from '$lib/components/CenteredModal.svelte'
|
||||
import { Button } from '$lib/components/common'
|
||||
import { Alert, Button } from '$lib/components/common'
|
||||
import Select from '$lib/components/select/Select.svelte'
|
||||
import Toggle from '$lib/components/Toggle.svelte'
|
||||
import ToggleButtonGroup from '$lib/components/common/toggleButton-v2/ToggleButtonGroup.svelte'
|
||||
import ToggleButton from '$lib/components/common/toggleButton-v2/ToggleButton.svelte'
|
||||
import { superadmin, userStore, usersWorkspaceStore, workspaceStore } from '$lib/stores'
|
||||
import { parseMaxTokenExpirationDays } from '$lib/tokenExpiration'
|
||||
import { parseHttpUrl } from '$lib/logoutRedirect'
|
||||
|
||||
let port = $state(Number(page.url.searchParams.get('port')))
|
||||
let host: string = page.url.searchParams.get('host') || 'localhost'
|
||||
let scheme: string = page.url.searchParams.get('scheme') || 'http'
|
||||
port = untrack(() => port) == 0 || Number.isNaN(untrack(() => port)) ? 80 : untrack(() => port)
|
||||
const rawPort = Number(page.url.searchParams.get('port'))
|
||||
const port = rawPort == 0 || Number.isNaN(rawPort) ? 80 : rawPort
|
||||
const host = page.url.searchParams.get('host') || 'localhost'
|
||||
const scheme = page.url.searchParams.get('scheme') || 'http'
|
||||
const callbackUrl = parseHttpUrl(`${scheme}://${host}:${port}`)
|
||||
|
||||
const DEFAULT_DAYS = 30
|
||||
const CHOICES_DAYS = [1, 7, 30, 90, 365]
|
||||
@@ -70,6 +72,7 @@
|
||||
const isAdminSomewhere = $derived(!!$userStore?.is_admin || !!$superadmin)
|
||||
|
||||
async function authorizeToken(): Promise<void> {
|
||||
if (!callbackUrl) return
|
||||
const username = $userStore?.username
|
||||
// `cli-login:` is reserved in `is_user_token` (windmill-common): the CLI signs in again on
|
||||
// its own once this token expires, so it must not email the user about it.
|
||||
@@ -88,24 +91,26 @@
|
||||
}
|
||||
})
|
||||
|
||||
const url =
|
||||
scheme +
|
||||
'://' +
|
||||
host +
|
||||
':' +
|
||||
port +
|
||||
'?token=' +
|
||||
newToken +
|
||||
'&workspace=' +
|
||||
(cliWorkspace ?? $workspaceStore)
|
||||
window.location.href = url
|
||||
const url = new URL(callbackUrl)
|
||||
url.searchParams.set('token', newToken)
|
||||
url.searchParams.set('workspace', cliWorkspace ?? $workspaceStore ?? '')
|
||||
window.location.href = url.toString()
|
||||
}
|
||||
</script>
|
||||
|
||||
<CenteredModal title="Authorize login request" inPage>
|
||||
<p class="text-center text-lg mb-6">
|
||||
Token will be posted to {host == 'localhost' ? 'your local machine' : host} to port {port}
|
||||
</p>
|
||||
{#if callbackUrl}
|
||||
<p class="text-center text-lg mb-6">
|
||||
Token will be posted to {callbackUrl.hostname == 'localhost'
|
||||
? 'your local machine'
|
||||
: callbackUrl.hostname} to port {callbackUrl.port ||
|
||||
(callbackUrl.protocol === 'https:' ? 443 : 80)}
|
||||
</p>
|
||||
{:else}
|
||||
<Alert type="error" title="Invalid login request" class="mb-6">
|
||||
This link does not name a valid http or https address to send the token to.
|
||||
</Alert>
|
||||
{/if}
|
||||
<div class="flex flex-col gap-1">
|
||||
<span class="text-xs font-semibold text-emphasis">Token expires in</span>
|
||||
<Select
|
||||
@@ -168,10 +173,8 @@
|
||||
{/if}
|
||||
<div class="flex flex-row justify-around pt-4 gap-x-1">
|
||||
<Button variant="default" destructive unifiedSize="lg" href="/">Decline</Button>
|
||||
<Button
|
||||
variant="accent"
|
||||
unifiedSize="lg"
|
||||
onClick={authorizeToken}>Authorize</Button
|
||||
<Button variant="accent" unifiedSize="lg" disabled={!callbackUrl} onClick={authorizeToken}
|
||||
>Authorize</Button
|
||||
>
|
||||
</div>
|
||||
</CenteredModal>
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ verify_ssl = true
|
||||
name = "pypi"
|
||||
|
||||
[packages]
|
||||
wmill = ">=1.887.0"
|
||||
wmill = ">=1.888.0"
|
||||
sendgrid = "*"
|
||||
mysql-connector-python = "*"
|
||||
pymongo = "*"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
openapi: '3.0.3'
|
||||
|
||||
info:
|
||||
version: 1.887.0
|
||||
version: 1.888.0
|
||||
title: OpenFlow Spec
|
||||
contact:
|
||||
name: Ruben Fiszel
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
RootModule = 'WindmillClient.psm1'
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '1.887.0'
|
||||
ModuleVersion = '1.888.0'
|
||||
|
||||
# Supported PSEditions
|
||||
# CompatiblePSEditions = @()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "wmill"
|
||||
version = "1.887.0"
|
||||
version = "1.888.0"
|
||||
description = "A client library for accessing Windmill server wrapping the Windmill client API"
|
||||
license = "Apache-2.0"
|
||||
homepage = "https://windmill.dev"
|
||||
|
||||
+18
-10
@@ -365,10 +365,15 @@ export async function cancelJob(
|
||||
});
|
||||
}
|
||||
|
||||
const STRIP_COMMENTS =
|
||||
/(\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s*=[^,\)]*(('(?:\\'|[^'\r\n])*')|("(?:\\"|[^"\r\n])*"))|(\s*=[^,\)]*))/gm;
|
||||
// One alternation so a `//` inside a string and a quote inside a comment are each
|
||||
// read as what they are. Strings become `""` so their commas and brackets cannot
|
||||
// split or close the parameter list.
|
||||
const COMMENTS_AND_STRINGS =
|
||||
/\/\/.*$|\/\*[\s\S]*?\*\/|'(?:\\.|[^'\\\r\n])*'|"(?:\\.|[^"\\\r\n])*"|`(?:\\[\s\S]|[^`\\])*`/gm;
|
||||
function getParamNames(func: Function): string[] {
|
||||
const fnStr = func.toString().replace(STRIP_COMMENTS, "");
|
||||
const fnStr = func
|
||||
.toString()
|
||||
.replace(COMMENTS_AND_STRINGS, (m) => (m[0] === "/" ? "" : '""'));
|
||||
// Find the matching closing paren for the parameter list, handling nesting
|
||||
const openIdx = fnStr.indexOf("(");
|
||||
if (openIdx === -1) return [];
|
||||
@@ -380,13 +385,13 @@ function getParamNames(func: Function): string[] {
|
||||
}
|
||||
const paramStr = fnStr.slice(openIdx + 1, closeIdx - 1).trim();
|
||||
if (!paramStr) return [];
|
||||
// Split on commas at depth 0 (skip nested parens, angle brackets, braces)
|
||||
// Split on commas at depth 0 (skip nested parens, brackets, braces)
|
||||
const params: string[] = [];
|
||||
let current = "";
|
||||
let d = 0;
|
||||
for (const ch of paramStr) {
|
||||
if ("(<{".includes(ch)) d++;
|
||||
else if (")>}".includes(ch)) d--;
|
||||
if ("({[".includes(ch)) d++;
|
||||
else if (")}]".includes(ch)) d--;
|
||||
if (ch === "," && d === 0) {
|
||||
params.push(current.trim());
|
||||
current = "";
|
||||
@@ -396,16 +401,19 @@ function getParamNames(func: Function): string[] {
|
||||
}
|
||||
if (current.trim()) params.push(current.trim());
|
||||
// Extract the parameter name from each param (strip type annotations, destructuring, rest)
|
||||
let anon = 0;
|
||||
return params.map((p) => {
|
||||
// Remove rest operator
|
||||
p = p.replace(/^\.\.\./, "");
|
||||
// For destructured params like { url, depth }: Config, use a positional fallback
|
||||
if (p.startsWith("{") || p.startsWith("[")) return "";
|
||||
// The script parser names an object pattern `anon<N>`, so a v1 task job binds it by that name
|
||||
if (p.startsWith("{")) return `anon${++anon}`;
|
||||
if (p.startsWith("[")) return "";
|
||||
p = p.split("=")[0];
|
||||
// Strip type annotation (e.g. "x: number" -> "x", "x?: string" -> "x")
|
||||
const colonIdx = p.indexOf(":");
|
||||
if (colonIdx !== -1) p = p.slice(0, colonIdx);
|
||||
return p.replace(/\?$/, "").trim();
|
||||
}).filter(Boolean);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2565,7 +2573,7 @@ export function task<T extends (...args: any[]) => Promise<any>>(
|
||||
return (async () => {
|
||||
const paramNames = getParamNames(fn);
|
||||
const kwargs: Record<string, any> = {};
|
||||
args.forEach((x, i) => (kwargs[paramNames[i]] = x));
|
||||
args.forEach((x, i) => (kwargs[paramNames[i] || `arg${i}`] = x));
|
||||
let req = await fetch(
|
||||
`${OpenAPI.BASE}/w/${getWorkspace()}/jobs/run/workflow_as_code/${getEnv(
|
||||
"WM_JOB_ID"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@windmill/windmill",
|
||||
"version": "1.887.0",
|
||||
"version": "1.888.0",
|
||||
"exports": "./src/index.ts",
|
||||
"publish": {
|
||||
"exclude": ["!src", "./s3Types.ts", "./sqlUtils.ts", "./client.ts", "./wacError.ts"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "windmill-client",
|
||||
"description": "Windmill SDK client for browsers and Node.js",
|
||||
"version": "1.887.0",
|
||||
"version": "1.888.0",
|
||||
"author": "Ruben Fiszel",
|
||||
"license": "Apache 2.0",
|
||||
"homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
1.887.0
|
||||
1.888.0
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "windmill-yaml-validator",
|
||||
"version": "1.887.0",
|
||||
"version": "1.888.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "windmill-yaml-validator",
|
||||
"version": "1.887.0",
|
||||
"version": "1.888.0",
|
||||
"license": "Apache 2.0",
|
||||
"dependencies": {
|
||||
"@stoplight/yaml": "^4.3.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "windmill-yaml-validator",
|
||||
"version": "1.887.0",
|
||||
"version": "1.888.0",
|
||||
"description": "YAML validator for Windmill flow, schedule, and trigger files",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user