diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d8316803f..775233bcff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.400.0](https://github.com/windmill-labs/windmill/compare/v1.399.0...v1.400.0) (2024-09-25) + + +### Features + +* add static variable and resources support to ansible ([#4435](https://github.com/windmill-labs/windmill/issues/4435)) ([398a09b](https://github.com/windmill-labs/windmill/commit/398a09b7419c7adafa76e5f9f5a981bec6f0611d)) +* **frontend:** Catch flow errors in the UI ([#4429](https://github.com/windmill-labs/windmill/issues/4429)) ([84eefad](https://github.com/windmill-labs/windmill/commit/84eefadfcf06b4f38117b6c4c534f47fb2ef7cc7)) + + +### Bug Fixes + +* remove autocomplete for searchbar ([#4440](https://github.com/windmill-labs/windmill/issues/4440)) ([a1ac583](https://github.com/windmill-labs/windmill/commit/a1ac583f05c34a534c4ae78ca7d2a6850723ce85)) + ## [1.399.0](https://github.com/windmill-labs/windmill/compare/v1.398.1...v1.399.0) (2024-09-25) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index a0eec388cd..4829fdc19d 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -10426,7 +10426,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windmill" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "axum", @@ -10468,7 +10468,7 @@ dependencies = [ [[package]] name = "windmill-api" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "argon2", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "windmill-api-client" -version = "1.399.0" +version = "1.400.0" dependencies = [ "base64 0.21.7", "chrono", @@ -10571,7 +10571,7 @@ dependencies = [ [[package]] name = "windmill-audit" -version = "1.399.0" +version = "1.400.0" dependencies = [ "chrono", "serde", @@ -10584,7 +10584,7 @@ dependencies = [ [[package]] name = "windmill-common" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "async-stream", @@ -10628,7 +10628,7 @@ dependencies = [ [[package]] name = "windmill-git-sync" -version = "1.399.0" +version = "1.400.0" dependencies = [ "regex", "rsmq_async", @@ -10643,7 +10643,7 @@ dependencies = [ [[package]] name = "windmill-indexer" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "bytes", @@ -10664,7 +10664,7 @@ dependencies = [ [[package]] name = "windmill-parser" -version = "1.399.0" +version = "1.400.0" dependencies = [ "convert_case 0.6.0", "serde", @@ -10673,7 +10673,7 @@ dependencies = [ [[package]] name = "windmill-parser-bash" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "lazy_static", @@ -10685,7 +10685,7 @@ dependencies = [ [[package]] name = "windmill-parser-go" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "gosyn", @@ -10697,7 +10697,7 @@ dependencies = [ [[package]] name = "windmill-parser-graphql" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "lazy_static", @@ -10709,7 +10709,7 @@ dependencies = [ [[package]] name = "windmill-parser-php" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "itertools 0.13.0", @@ -10720,7 +10720,7 @@ dependencies = [ [[package]] name = "windmill-parser-py" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "itertools 0.13.0", @@ -10731,7 +10731,7 @@ dependencies = [ [[package]] name = "windmill-parser-py-imports" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "async-recursion", @@ -10749,7 +10749,7 @@ dependencies = [ [[package]] name = "windmill-parser-rust" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "windmill-parser-sql" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "lazy_static", @@ -10778,7 +10778,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "lazy_static", @@ -10796,7 +10796,7 @@ dependencies = [ [[package]] name = "windmill-parser-wasm" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "getrandom 0.2.15", @@ -10817,7 +10817,7 @@ dependencies = [ [[package]] name = "windmill-parser-yaml" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "serde_json", @@ -10827,7 +10827,7 @@ dependencies = [ [[package]] name = "windmill-queue" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "async-recursion", @@ -10860,7 +10860,7 @@ dependencies = [ [[package]] name = "windmill-sql-datatype-parser-wasm" -version = "1.399.0" +version = "1.400.0" dependencies = [ "wasm-bindgen", "wasm-bindgen-test", @@ -10870,7 +10870,7 @@ dependencies = [ [[package]] name = "windmill-worker" -version = "1.399.0" +version = "1.400.0" dependencies = [ "anyhow", "async-recursion", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 7c6c77b380..2ebca28c65 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windmill" -version = "1.399.0" +version = "1.400.0" authors.workspace = true edition.workspace = true @@ -27,7 +27,7 @@ members = [ ] [workspace.package] -version = "1.399.0" +version = "1.400.0" authors = ["Ruben Fiszel "] edition = "2021" diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index b7e2459135..cb7b159f48 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.399.0 + version: 1.400.0 title: Windmill API contact: diff --git a/benchmarks/lib.ts b/benchmarks/lib.ts index 4dd688aff7..fceb83904b 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.399.0"; +export const VERSION = "v1.400.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 9b064bf6fa..5eff8c505e 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -56,7 +56,7 @@ export { // } // }); -export const VERSION = "1.399.0"; +export const VERSION = "1.400.0"; const command = new Command() .name("wmill") diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 318017cb2a..4b551e2d75 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "windmill-components", - "version": "1.399.0", + "version": "1.400.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "windmill-components", - "version": "1.399.0", + "version": "1.400.0", "license": "AGPL-3.0", "dependencies": { "@aws-crypto/sha256-js": "^4.0.0", diff --git a/frontend/package.json b/frontend/package.json index 0474f627ba..2931fecd47 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "windmill-components", - "version": "1.399.0", + "version": "1.400.0", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/frontend/src/lib/components/flows/content/FlowConstants.svelte b/frontend/src/lib/components/flows/content/FlowConstants.svelte index 4b8185531a..df0688f177 100644 --- a/frontend/src/lib/components/flows/content/FlowConstants.svelte +++ b/frontend/src/lib/components/flows/content/FlowConstants.svelte @@ -121,7 +121,7 @@ {/if} {/if} - {#each steps as [args, filter, m] (m.id)} + {#each steps as [args, filter, m], index (m.id + index)} {#if filter.length > 0}

diff --git a/frontend/src/lib/components/graph/FlowGraphV2.svelte b/frontend/src/lib/components/graph/FlowGraphV2.svelte index 7e413165d1..bd385c0c89 100644 --- a/frontend/src/lib/components/graph/FlowGraphV2.svelte +++ b/frontend/src/lib/components/graph/FlowGraphV2.svelte @@ -34,6 +34,9 @@ import NoBranchNode from './renderers/nodes/NoBranchNode.svelte' import HiddenBaseEdge from './renderers/edges/HiddenBaseEdge.svelte' import TriggersNode from './renderers/nodes/TriggersNode.svelte' + import { Alert, Drawer } from '../common' + import Button from '../common/button/Button.svelte' + import FlowYamlEditor from '../flows/header/FlowYamlEditor.svelte' export let success: boolean | undefined = undefined export let modules: FlowModule[] | undefined = [] @@ -195,6 +198,10 @@ let height = 0 function updateStores() { + if (graph.error) { + return + } + $nodes = layoutNodes(graph?.nodes) $edges = graph.edges @@ -255,69 +262,87 @@ onMount(() => { centerViewport(width) }) + let yamlEditorDrawer: Drawer | undefined = undefined -
- -
- - {#if download} - { - try { - localStorage.setItem( - 'svelvet', - encodeState({ modules, failureModule, preprocessorModule }) - ) - } catch (e) { - console.error('error interacting with local storage', e) - } - window.open('/view_graph', '_blank') - }} - class="!bg-surface" - > - - - {/if} - + - - {#if showDataflow} - { - $useDataflow = !$useDataflow - }} +
+ {#if graph?.error} +
+ + {graph.error} + + + +
+ {:else} + +
+ + {#if download} + { + try { + localStorage.setItem( + 'svelvet', + encodeState({ modules, failureModule, preprocessorModule }) + ) + } catch (e) { + console.error('error interacting with local storage', e) + } + window.open('/view_graph', '_blank') + }} + class="!bg-surface" + > + + + {/if} + + + + {#if showDataflow} + { + $useDataflow = !$useDataflow + }} + size="xs" + options={{ + right: 'Dataflow' + }} + /> + {/if} + + + {/if}