diff --git a/CHANGELOG.md b/CHANGELOG.md index 9afe269c8c58c..42be5b6a60094 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.466.0](https://github.com/windmill-labs/windmill/compare/v1.465.0...v1.466.0) (2025-02-19) + + +### Features + +* add support for gemini ([#5235](https://github.com/windmill-labs/windmill/issues/5235)) ([35d5293](https://github.com/windmill-labs/windmill/commit/35d5293fba47d368e503e9781719e6e9ccc96713)) +* remove `pip` fallback option for python and ansible ([#5186](https://github.com/windmill-labs/windmill/issues/5186)) ([4ad654f](https://github.com/windmill-labs/windmill/commit/4ad654fcf0c603aefc5a9b5c41da1ffa24b99d2d)) + + +### Bug Fixes + +* **apps:** font-size of title text not screen dependent ([44a6a62](https://github.com/windmill-labs/windmill/commit/44a6a62fbe3a9cae79e2d7ab7efd119f559aa374)) +* improve app db explorer handling of always identity columns ([74c0a10](https://github.com/windmill-labs/windmill/commit/74c0a10c3a8a4848341456635f36c0c2061b7943)) + ## [1.465.0](https://github.com/windmill-labs/windmill/compare/v1.464.0...v1.465.0) (2025-02-18) diff --git a/backend/.sqlx/query-08f288d2781d823e109a9e5b8848234ca7d1efeee9661f3901f298da375e73f7.json b/backend/.sqlx/query-08f288d2781d823e109a9e5b8848234ca7d1efeee9661f3901f298da375e73f7.json index 2be39fce267e6..4bcf3c6ce3cf3 100644 --- a/backend/.sqlx/query-08f288d2781d823e109a9e5b8848234ca7d1efeee9661f3901f298da375e73f7.json +++ b/backend/.sqlx/query-08f288d2781d823e109a9e5b8848234ca7d1efeee9661f3901f298da375e73f7.json @@ -130,28 +130,28 @@ }, { "ordinal": 25, - "name": "teams_command_script", - "type_info": "Text" + "name": "ai_models", + "type_info": "VarcharArray" }, { "ordinal": 26, - "name": "teams_team_id", - "type_info": "Text" + "name": "code_completion_model", + "type_info": "Varchar" }, { "ordinal": 27, - "name": "teams_team_name", + "name": "teams_command_script", "type_info": "Text" }, { "ordinal": 28, - "name": "ai_models", - "type_info": "VarcharArray" + "name": "teams_team_id", + "type_info": "Text" }, { "ordinal": 29, - "name": "code_completion_model", - "type_info": "Varchar" + "name": "teams_team_name", + "type_info": "Text" } ], "parameters": { @@ -185,10 +185,10 @@ true, true, true, + false, true, true, true, - false, true ] }, diff --git a/backend/.sqlx/query-24178c21aadc1aed90f31e9362c6505a642c8f04b883c278b07e7ef5956ce121.json b/backend/.sqlx/query-24178c21aadc1aed90f31e9362c6505a642c8f04b883c278b07e7ef5956ce121.json deleted file mode 100644 index d8cca020fec78..0000000000000 --- a/backend/.sqlx/query-24178c21aadc1aed90f31e9362c6505a642c8f04b883c278b07e7ef5956ce121.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n SELECT \n \n EXISTS(SELECT 1 FROM websocket_trigger WHERE workspace_id = $1) AS \"websocket_used!\", \n \n EXISTS(SELECT 1 FROM http_trigger WHERE workspace_id = $1) AS \"http_routes_used!\",\n EXISTS(SELECT 1 FROM kafka_trigger WHERE workspace_id = $1) as \"kafka_used!\",\n EXISTS(SELECT 1 FROM nats_trigger WHERE workspace_id = $1) as \"nats_used!\",\n EXISTS(SELECT 1 FROM postgres_trigger WHERE workspace_id = $1) AS \"postgres_used!\"\n ", - "describe": { - "columns": [ - { - "ordinal": 0, - "name": "websocket_used!", - "type_info": "Bool" - }, - { - "ordinal": 1, - "name": "http_routes_used!", - "type_info": "Bool" - }, - { - "ordinal": 2, - "name": "kafka_used!", - "type_info": "Bool" - }, - { - "ordinal": 3, - "name": "nats_used!", - "type_info": "Bool" - }, - { - "ordinal": 4, - "name": "postgres_used!", - "type_info": "Bool" - } - ], - "parameters": { - "Left": [ - "Text" - ] - }, - "nullable": [ - null, - null, - null, - null, - null - ] - }, - "hash": "24178c21aadc1aed90f31e9362c6505a642c8f04b883c278b07e7ef5956ce121" -} diff --git a/backend/.sqlx/query-4a804ee30bfe86c4e2c15a9f6511be5adf0dd22cb942fac64b439fb4e20df447.json b/backend/.sqlx/query-4a804ee30bfe86c4e2c15a9f6511be5adf0dd22cb942fac64b439fb4e20df447.json deleted file mode 100644 index 1c75a48938983..0000000000000 --- a/backend/.sqlx/query-4a804ee30bfe86c4e2c15a9f6511be5adf0dd22cb942fac64b439fb4e20df447.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n INSERT INTO metrics (id, value) \n VALUES ('no_uv_usage_ansible', $1)\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Jsonb" - ] - }, - "nullable": [] - }, - "hash": "4a804ee30bfe86c4e2c15a9f6511be5adf0dd22cb942fac64b439fb4e20df447" -} diff --git a/backend/.sqlx/query-55cb03040bc2a8c53dd7fbb42bbdcc40f463cbc52d94ed9315cf9a547d4c89f2.json b/backend/.sqlx/query-55cb03040bc2a8c53dd7fbb42bbdcc40f463cbc52d94ed9315cf9a547d4c89f2.json index 9243288c9d321..14685a8bfa6ec 100644 --- a/backend/.sqlx/query-55cb03040bc2a8c53dd7fbb42bbdcc40f463cbc52d94ed9315cf9a547d4c89f2.json +++ b/backend/.sqlx/query-55cb03040bc2a8c53dd7fbb42bbdcc40f463cbc52d94ed9315cf9a547d4c89f2.json @@ -130,28 +130,28 @@ }, { "ordinal": 25, - "name": "teams_command_script", - "type_info": "Text" + "name": "ai_models", + "type_info": "VarcharArray" }, { "ordinal": 26, - "name": "teams_team_id", - "type_info": "Text" + "name": "code_completion_model", + "type_info": "Varchar" }, { "ordinal": 27, - "name": "teams_team_name", + "name": "teams_command_script", "type_info": "Text" }, { "ordinal": 28, - "name": "ai_models", - "type_info": "VarcharArray" + "name": "teams_team_id", + "type_info": "Text" }, { "ordinal": 29, - "name": "code_completion_model", - "type_info": "Varchar" + "name": "teams_team_name", + "type_info": "Text" } ], "parameters": { @@ -185,10 +185,10 @@ true, true, true, + false, true, true, true, - false, true ] }, diff --git a/backend/.sqlx/query-65c339164e7669360d231d70105849e72bdc197c17c0fc51777c1dc9267e2daf.json b/backend/.sqlx/query-65c339164e7669360d231d70105849e72bdc197c17c0fc51777c1dc9267e2daf.json deleted file mode 100644 index d52d46f1ddb7c..0000000000000 --- a/backend/.sqlx/query-65c339164e7669360d231d70105849e72bdc197c17c0fc51777c1dc9267e2daf.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE workspace_settings\n SET teams_command_script = NULL,\n teams_team_id = NULL,\n teams_team_name = NULL\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [] - }, - "nullable": [] - }, - "hash": "65c339164e7669360d231d70105849e72bdc197c17c0fc51777c1dc9267e2daf" -} diff --git a/backend/.sqlx/query-81b06122c7a12a314d8905ba5c7c14aa7614f2610e79a8c7302eaa63fb74984d.json b/backend/.sqlx/query-81b06122c7a12a314d8905ba5c7c14aa7614f2610e79a8c7302eaa63fb74984d.json deleted file mode 100644 index 91718513bbb6b..0000000000000 --- a/backend/.sqlx/query-81b06122c7a12a314d8905ba5c7c14aa7614f2610e79a8c7302eaa63fb74984d.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n UPDATE global_settings\n SET value = (\n SELECT COALESCE(jsonb_agg(elem), '[]'::jsonb)\n FROM jsonb_array_elements(value) AS elem\n WHERE NOT (elem ? 'teams_channel')\n )\n WHERE name = 'critical_error_channels'\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [] - }, - "nullable": [] - }, - "hash": "81b06122c7a12a314d8905ba5c7c14aa7614f2610e79a8c7302eaa63fb74984d" -} diff --git a/backend/.sqlx/query-ddf2eccb78a310ed00c7d8b9c3f05d394a7cbcf0038c72a78add5c7b02ef5927.json b/backend/.sqlx/query-ddf2eccb78a310ed00c7d8b9c3f05d394a7cbcf0038c72a78add5c7b02ef5927.json index 5bfff47576491..c2dfed73a2a83 100644 --- a/backend/.sqlx/query-ddf2eccb78a310ed00c7d8b9c3f05d394a7cbcf0038c72a78add5c7b02ef5927.json +++ b/backend/.sqlx/query-ddf2eccb78a310ed00c7d8b9c3f05d394a7cbcf0038c72a78add5c7b02ef5927.json @@ -15,7 +15,7 @@ ] }, "nullable": [ - true + null ] }, "hash": "ddf2eccb78a310ed00c7d8b9c3f05d394a7cbcf0038c72a78add5c7b02ef5927" diff --git a/backend/.sqlx/query-e565f3b2e51059f563d18a8a9442bcae9640cee7b936820cb46c011222a77ff0.json b/backend/.sqlx/query-e565f3b2e51059f563d18a8a9442bcae9640cee7b936820cb46c011222a77ff0.json deleted file mode 100644 index 4c2cd96ca9945..0000000000000 --- a/backend/.sqlx/query-e565f3b2e51059f563d18a8a9442bcae9640cee7b936820cb46c011222a77ff0.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "UPDATE global_settings SET value = $1 WHERE name = 'teams'", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Jsonb" - ] - }, - "nullable": [] - }, - "hash": "e565f3b2e51059f563d18a8a9442bcae9640cee7b936820cb46c011222a77ff0" -} diff --git a/backend/.sqlx/query-ed318070b26861fda2d591a4356fdbeb6c7fdc965be43bddb010fd8299af1286.json b/backend/.sqlx/query-ed318070b26861fda2d591a4356fdbeb6c7fdc965be43bddb010fd8299af1286.json deleted file mode 100644 index e18818dc3afea..0000000000000 --- a/backend/.sqlx/query-ed318070b26861fda2d591a4356fdbeb6c7fdc965be43bddb010fd8299af1286.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n INSERT INTO metrics (id, value) \n VALUES ('no_uv_usage_py', $1)\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Jsonb" - ] - }, - "nullable": [] - }, - "hash": "ed318070b26861fda2d591a4356fdbeb6c7fdc965be43bddb010fd8299af1286" -} diff --git a/backend/.sqlx/query-fec6d5674dc6b5a6a0ece419c40508835affcb7679a48f2a443777e829bd1e74.json b/backend/.sqlx/query-fec6d5674dc6b5a6a0ece419c40508835affcb7679a48f2a443777e829bd1e74.json index 649ab85650b69..de2e819af209d 100644 --- a/backend/.sqlx/query-fec6d5674dc6b5a6a0ece419c40508835affcb7679a48f2a443777e829bd1e74.json +++ b/backend/.sqlx/query-fec6d5674dc6b5a6a0ece419c40508835affcb7679a48f2a443777e829bd1e74.json @@ -41,11 +41,11 @@ ] }, "nullable": [ - false, - false, - false, - false, - false, + true, + true, + true, + true, + true, true ] }, diff --git a/backend/Cargo.lock b/backend/Cargo.lock index e1222ae9047f3..2105a2317ba8d 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -2683,9 +2683,9 @@ dependencies = [ [[package]] name = "deno_media_type" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "600222d059ab31ff31182b3e12615df2134a9e01605836b78ad8df91ba39eab3" +checksum = "480223262efd08f96b3be5f0457c82bac7296e70dc4e7ef7350751f66293812c" dependencies = [ "data-url", "serde", @@ -4041,9 +4041,9 @@ dependencies = [ [[package]] name = "hickory-proto" -version = "0.24.3" +version = "0.24.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ad3d6d98c648ed628df039541a5577bee1a7c83e9e16fe3dbedeea4cdfeb971" +checksum = "92652067c9ce6f66ce53cc38d1169daa36e6e7eb7dd3b63b5103bd9d97117248" dependencies = [ "async-trait", "cfg-if", @@ -4066,9 +4066,9 @@ dependencies = [ [[package]] name = "hickory-resolver" -version = "0.24.3" +version = "0.24.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf287bde7b776e85d7188e6e5db7cf410a2f9531fe82817eb87feed034c8d14" +checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e" dependencies = [ "cfg-if", "futures-util", @@ -5434,9 +5434,9 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dab59f8e050d5df8e4dd87d9206fb6f65a483e20ac9fda365ade4fab353196c" +checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" dependencies = [ "libc", "log", @@ -6819,7 +6819,7 @@ checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.1", - "zerocopy 0.8.18", + "zerocopy 0.8.19", ] [[package]] @@ -6877,7 +6877,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a88e0da7a2c97baa202165137c158d0a2e824ac465d13d81046727b34cb247d3" dependencies = [ "getrandom 0.3.1", - "zerocopy 0.8.18", + "zerocopy 0.8.19", ] [[package]] @@ -10412,9 +10412,9 @@ checksum = "2f322b60f6b9736017344fa0635d64be2f458fbc04eef65f6be22976dd1ffd5b" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe" [[package]] name = "unicode-normalization" @@ -10926,7 +10926,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windmill" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "axum", @@ -10969,7 +10969,7 @@ dependencies = [ [[package]] name = "windmill-api" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "argon2", @@ -11067,7 +11067,7 @@ dependencies = [ [[package]] name = "windmill-api-client" -version = "1.465.0" +version = "1.466.0" dependencies = [ "base64 0.22.1", "chrono", @@ -11085,7 +11085,7 @@ dependencies = [ [[package]] name = "windmill-audit" -version = "1.465.0" +version = "1.466.0" dependencies = [ "chrono", "serde", @@ -11098,7 +11098,7 @@ dependencies = [ [[package]] name = "windmill-autoscaling" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "serde", @@ -11112,7 +11112,7 @@ dependencies = [ [[package]] name = "windmill-common" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "async-stream", @@ -11171,7 +11171,7 @@ dependencies = [ [[package]] name = "windmill-git-sync" -version = "1.465.0" +version = "1.466.0" dependencies = [ "regex", "serde", @@ -11185,7 +11185,7 @@ dependencies = [ [[package]] name = "windmill-indexer" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "bytes", @@ -11208,7 +11208,7 @@ dependencies = [ [[package]] name = "windmill-macros" -version = "1.465.0" +version = "1.466.0" dependencies = [ "itertools 0.14.0", "lazy_static", @@ -11220,7 +11220,7 @@ dependencies = [ [[package]] name = "windmill-parser" -version = "1.465.0" +version = "1.466.0" dependencies = [ "convert_case 0.6.0", "serde", @@ -11229,7 +11229,7 @@ dependencies = [ [[package]] name = "windmill-parser-bash" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "lazy_static", @@ -11241,7 +11241,7 @@ dependencies = [ [[package]] name = "windmill-parser-csharp" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "serde_json", @@ -11253,7 +11253,7 @@ dependencies = [ [[package]] name = "windmill-parser-go" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "gosyn", @@ -11265,7 +11265,7 @@ dependencies = [ [[package]] name = "windmill-parser-graphql" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "lazy_static", @@ -11277,7 +11277,7 @@ dependencies = [ [[package]] name = "windmill-parser-php" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -11288,7 +11288,7 @@ dependencies = [ [[package]] name = "windmill-parser-py" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "itertools 0.14.0", @@ -11299,7 +11299,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-imports" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "async-recursion", @@ -11319,7 +11319,7 @@ dependencies = [ [[package]] name = "windmill-parser-rust" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -11336,7 +11336,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "lazy_static", @@ -11348,7 +11348,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "lazy_static", @@ -11366,7 +11366,7 @@ dependencies = [ [[package]] name = "windmill-parser-wasm" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "getrandom 0.2.15", @@ -11388,7 +11388,7 @@ dependencies = [ [[package]] name = "windmill-parser-yaml" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "serde_json", @@ -11398,7 +11398,7 @@ dependencies = [ [[package]] name = "windmill-queue" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "async-recursion", @@ -11431,7 +11431,7 @@ dependencies = [ [[package]] name = "windmill-sql-datatype-parser-wasm" -version = "1.465.0" +version = "1.466.0" dependencies = [ "wasm-bindgen", "wasm-bindgen-test", @@ -11441,7 +11441,7 @@ dependencies = [ [[package]] name = "windmill-worker" -version = "1.465.0" +version = "1.466.0" dependencies = [ "anyhow", "async-recursion", @@ -11855,11 +11855,11 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.18" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79386d31a42a4996e3336b0919ddb90f81112af416270cff95b5f5af22b839c2" +checksum = "8207f485579465f62ae51a983e42c906736a17efd2de48b021e64f1bbd8e98c7" dependencies = [ - "zerocopy-derive 0.8.18", + "zerocopy-derive 0.8.19", ] [[package]] @@ -11875,9 +11875,9 @@ dependencies = [ [[package]] name = "zerocopy-derive" -version = "0.8.18" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76331675d372f91bf8d17e13afbd5fe639200b73d01f0fc748bb059f9cca2db7" +checksum = "7dbe1304a711c6eb4cf1ed333aa0d9b344685e71f6f00c3b176072213bd3783e" dependencies = [ "proc-macro2", "quote", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 0d9832048a510..59c4a191c1435 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windmill" -version = "1.465.0" +version = "1.466.0" authors.workspace = true edition.workspace = true @@ -30,7 +30,7 @@ members = [ ] [workspace.package] -version = "1.465.0" +version = "1.466.0" authors = ["Ruben Fiszel "] edition = "2021" diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index efebd317f9c0a..c70356512c9ac 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -5e7e98536a8eb632961b3b597deac95aaca1cdbe \ No newline at end of file +f6e37f534fbf3ca06b33943d52ab25bfbf4261d3 \ No newline at end of file diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 1efdb89f0cb8a..465191270660a 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.465.0 + version: 1.466.0 title: Windmill API contact: diff --git a/backend/windmill-common/src/ee.rs b/backend/windmill-common/src/ee.rs index e25d36bee1fe9..2a820475f77f2 100644 --- a/backend/windmill-common/src/ee.rs +++ b/backend/windmill-common/src/ee.rs @@ -29,6 +29,15 @@ pub async fn get_license_plan() -> LicensePlan { pub enum CriticalErrorChannel { Email { email: String }, Slack { slack_channel: String }, + Teams { teams_channel: TeamsChannel }, +} + +#[derive(Deserialize)] +pub struct TeamsChannel { + pub team_id: String, + pub team_name: String, + pub channel_id: String, + pub channel_name: String, } pub enum CriticalAlertKind { diff --git a/backend/windmill-worker/src/ansible_executor.rs b/backend/windmill-worker/src/ansible_executor.rs index d3fee3a78190c..b8a57ded16ea3 100644 --- a/backend/windmill-worker/src/ansible_executor.rs +++ b/backend/windmill-worker/src/ansible_executor.rs @@ -2,11 +2,7 @@ use std::{collections::HashMap, os::unix::fs::PermissionsExt, path::PathBuf, process::Stdio}; #[cfg(windows)] -use std::{ - collections::HashMap, - path::{Path, PathBuf}, - process::Stdio, -}; +use std::{collections::HashMap, path::PathBuf, process::Stdio}; use anyhow::anyhow; use itertools::Itertools; diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index d063e1aca70cc..eb35cd7f4a5a5 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1650,8 +1650,7 @@ async fn spawn_uv_install( #[cfg(windows)] { - let installer_path = if no_uv_install { command_args[0] } else { "uv" }; - let mut cmd: Command = Command::new(&installer_path); + let mut cmd: Command = Command::new("uv"); cmd.env_clear() .envs(envs) .envs(PROXY_ENVS.clone()) diff --git a/benchmarks/lib.ts b/benchmarks/lib.ts index 2ab25fbf4311d..d7a23a1e3fa5f 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.465.0"; +export const VERSION = "v1.466.0"; export async function login(email: string, password: string): Promise { return await windmill.UserService.login({ diff --git a/cli/main.ts b/cli/main.ts index 7bba208601a06..43ebbab03e1d1 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -62,7 +62,7 @@ export { // } // }); -export const VERSION = "1.465.0"; +export const VERSION = "1.466.0"; const command = new Command() .name("wmill") diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6ab4e0466aeb0..78546d186f985 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "windmill-components", - "version": "1.465.0", + "version": "1.466.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "windmill-components", - "version": "1.465.0", + "version": "1.466.0", "license": "AGPL-3.0", "dependencies": { "@anthropic-ai/sdk": "^0.32.1", diff --git a/frontend/package.json b/frontend/package.json index b53161199f805..38191bf4eb153 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "windmill-components", - "version": "1.465.0", + "version": "1.466.0", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/frontend/src/lib/components/apps/components/display/dbtable/AppDbExplorer.svelte b/frontend/src/lib/components/apps/components/display/dbtable/AppDbExplorer.svelte index 511856b0537cd..9148ef6524fdd 100644 --- a/frontend/src/lib/components/apps/components/display/dbtable/AppDbExplorer.svelte +++ b/frontend/src/lib/components/apps/components/display/dbtable/AppDbExplorer.svelte @@ -702,7 +702,6 @@ - { - const shouldFilter = t.isidentity !== ColumnIdentity.Always && t?.hideInsert === true + const shouldFilter = t.isidentity === ColumnIdentity.Always || t?.hideInsert === true return !shouldFilter }) diff --git a/frontend/src/lib/components/apps/components/display/table/AppAggridExplorerTable.svelte b/frontend/src/lib/components/apps/components/display/table/AppAggridExplorerTable.svelte index 1dd3ba40e6036..4e30009c0b07e 100644 --- a/frontend/src/lib/components/apps/components/display/table/AppAggridExplorerTable.svelte +++ b/frontend/src/lib/components/apps/components/display/table/AppAggridExplorerTable.svelte @@ -17,7 +17,7 @@ import { Button } from '$lib/components/common' import { cellRendererFactory, defaultCellRenderer } from './utils' import { Download, Trash2 } from 'lucide-svelte' - import type { ColumnDef } from '../dbtable/utils' + import { ColumnIdentity, type ColumnDef } from '../dbtable/utils' import AppAggridTableActions from './AppAggridTableActions.svelte' import Popover from '$lib/components/Popover.svelte' @@ -269,6 +269,14 @@ columnDefs.forEach((colDef, index) => { let noField = !colDef.field || typeof colDef.field !== 'string' || colDef.field.trim() === '' + if ( + (colDef.isidentity === ColumnIdentity.ByDefault || + colDef.isidentity === ColumnIdentity.Always) && + colDef.hideInsert == undefined + ) { + colDef.hideInsert = true + } + // Check if 'field' property exists and is a non-empty string if (noField && !(colDef.children && Array.isArray(colDef.children))) { isValid = false diff --git a/frontend/src/lib/components/wizards/DBExplorerWizard.svelte b/frontend/src/lib/components/wizards/DBExplorerWizard.svelte index ff8ab10505aa3..42583500604a3 100644 --- a/frontend/src/lib/components/wizards/DBExplorerWizard.svelte +++ b/frontend/src/lib/components/wizards/DBExplorerWizard.svelte @@ -74,14 +74,15 @@ function computeWarning(columnMetadata, value) { if (columnMetadata?.isnullable === 'NO' && !columnMetadata?.defaultvalue) { - if ([ColumnIdentity.Always, ColumnIdentity.ByDefault].includes(columnMetadata?.isidentity)) { + if ([ColumnIdentity.ByDefault].includes(columnMetadata?.isidentity)) { return { type: 'info' as AlertType, title: 'Value will be generated', - message: 'The column is an identity column. The value will be generated by the database.' + message: + 'The column is an identity column. The value will be generated by the database unless a default is provided.' } } - if (value?.hideInsert) { + if (value?.hideInsert && columnMetadata?.isidentity !== ColumnIdentity.Always) { return { type: 'warning' as AlertType, title: 'No default value', @@ -173,6 +174,7 @@ { e?.stopPropagation() }} @@ -181,6 +183,11 @@ /> + {#if value?.isidentity === ColumnIdentity.Always} + + This column is an ALWAYS identity column and so can't be provided by the user. + + {/if} {#if warning} diff --git a/lsp/Pipfile b/lsp/Pipfile index 590550abfe387..92eccf4a1668e 100644 --- a/lsp/Pipfile +++ b/lsp/Pipfile @@ -4,8 +4,8 @@ verify_ssl = true name = "pypi" [packages] -wmill = ">=1.465.0" -wmill_pg = ">=1.465.0" +wmill = ">=1.466.0" +wmill_pg = ">=1.466.0" sendgrid = "*" mysql-connector-python = "*" pymongo = "*" diff --git a/openflow.openapi.yaml b/openflow.openapi.yaml index 86134a6c5c598..520130b57b021 100644 --- a/openflow.openapi.yaml +++ b/openflow.openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.465.0 + version: 1.466.0 title: OpenFlow Spec contact: name: Ruben Fiszel diff --git a/powershell-client/WindmillClient/WindmillClient.psd1 b/powershell-client/WindmillClient/WindmillClient.psd1 index 3801a1020086d..013271366b7ca 100644 --- a/powershell-client/WindmillClient/WindmillClient.psd1 +++ b/powershell-client/WindmillClient/WindmillClient.psd1 @@ -12,7 +12,7 @@ RootModule = 'WindmillClient.psm1' # Version number of this module. - ModuleVersion = '1.465.0' + ModuleVersion = '1.466.0' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/python-client/wmill/pyproject.toml b/python-client/wmill/pyproject.toml index ebe4ce6e2cfbf..803f4321d916f 100644 --- a/python-client/wmill/pyproject.toml +++ b/python-client/wmill/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wmill" -version = "1.465.0" +version = "1.466.0" description = "A client library for accessing Windmill server wrapping the Windmill client API" license = "Apache-2.0" homepage = "https://windmill.dev" diff --git a/python-client/wmill_pg/pyproject.toml b/python-client/wmill_pg/pyproject.toml index 23cdf3909693c..c4abcf9761c88 100644 --- a/python-client/wmill_pg/pyproject.toml +++ b/python-client/wmill_pg/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wmill-pg" -version = "1.465.0" +version = "1.466.0" description = "An extension client for the wmill client library focused on pg" license = "Apache-2.0" homepage = "https://windmill.dev" diff --git a/typescript-client/jsr.json b/typescript-client/jsr.json index 9b8a50f09d1a2..15a828e782c98 100644 --- a/typescript-client/jsr.json +++ b/typescript-client/jsr.json @@ -1,6 +1,6 @@ { "name": "@windmill/windmill", - "version": "1.465.0", + "version": "1.466.0", "exports": "./src/index.ts", "publish": { "exclude": ["!src", "./s3Types.ts", "./client.ts"] diff --git a/typescript-client/package.json b/typescript-client/package.json index 370a44723aee1..7bbc6d8c1c51d 100644 --- a/typescript-client/package.json +++ b/typescript-client/package.json @@ -1,7 +1,7 @@ { "name": "windmill-client", "description": "Windmill SDK client for browsers and Node.js", - "version": "1.465.0", + "version": "1.466.0", "author": "Ruben Fiszel", "license": "Apache 2.0", "devDependencies": { diff --git a/version.txt b/version.txt index 2c9a08b449106..71e0af09744c6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.465.0 +1.466.0