Compare commits

..

6 Commits

Author SHA1 Message Date
Faton Ramadani
6a655090c9 fix(frontend): add missinng migration code 2024-04-12 16:23:08 +02:00
Faton Ramadani
40a64a05d5 fix(frontend): Correctly handle undefined actions 2024-04-12 16:16:43 +02:00
Faton Ramadani
071c3cf04a Merge branch 'fix-aggrid' of https://github.com/windmill-labs/windmill into fix-aggrid 2024-04-12 16:14:17 +02:00
Faton Ramadani
c037117708 fix(frontend): Correctly handle undefined actions 2024-04-12 16:14:13 +02:00
Faton Ramadani
ade9734936 Merge branch 'main' into fix-aggrid 2024-04-12 16:09:23 +02:00
Faton Ramadani
6e87e089ac fix(frontend): Correctly handle undefined actions 2024-04-12 16:08:51 +02:00
17 changed files with 39 additions and 59 deletions

View File

@@ -1,19 +1,5 @@
# Changelog
## [1.306.2](https://github.com/windmill-labs/windmill/compare/v1.306.1...v1.306.2) (2024-04-12)
### Bug Fixes
* fix actions buttons error ([6ea5965](https://github.com/windmill-labs/windmill/commit/6ea59658196339600e39776c690d6924e355f471))
## [1.306.1](https://github.com/windmill-labs/windmill/compare/v1.306.0...v1.306.1) (2024-04-12)
### Bug Fixes
* **frontend:** Correctly handle undefined actions ([#3546](https://github.com/windmill-labs/windmill/issues/3546)) ([a687d56](https://github.com/windmill-labs/windmill/commit/a687d56d45b637b615ea1b6727a34086bd545eb4))
## [1.306.0](https://github.com/windmill-labs/windmill/compare/v1.305.3...v1.306.0) (2024-04-12)

40
backend/Cargo.lock generated
View File

@@ -3917,9 +3917,9 @@ checksum = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8"
[[package]]
name = "jobserver"
version = "0.1.30"
version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "685a7d121ee3f65ae4fddd72b25a04bb36b6af81bc0828f7d5434c0fe60fa3a2"
checksum = "f08474e32172238f2827bd160c67871cdb2801430f65c3979184dc362e3ca118"
dependencies = [
"libc",
]
@@ -9707,7 +9707,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windmill"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"axum",
@@ -9744,7 +9744,7 @@ dependencies = [
[[package]]
name = "windmill-api"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"argon2",
@@ -9821,7 +9821,7 @@ dependencies = [
[[package]]
name = "windmill-api-client"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"base64 0.21.7",
"chrono",
@@ -9839,7 +9839,7 @@ dependencies = [
[[package]]
name = "windmill-audit"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"chrono",
"serde",
@@ -9852,7 +9852,7 @@ dependencies = [
[[package]]
name = "windmill-common"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"aws-config",
@@ -9888,7 +9888,7 @@ dependencies = [
[[package]]
name = "windmill-git-sync"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"regex",
"rsmq_async",
@@ -9903,7 +9903,7 @@ dependencies = [
[[package]]
name = "windmill-parser"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"serde",
"serde_json",
@@ -9911,7 +9911,7 @@ dependencies = [
[[package]]
name = "windmill-parser-bash"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"lazy_static",
@@ -9922,7 +9922,7 @@ dependencies = [
[[package]]
name = "windmill-parser-go"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"gosyn",
@@ -9934,7 +9934,7 @@ dependencies = [
[[package]]
name = "windmill-parser-graphql"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"lazy_static",
@@ -9945,7 +9945,7 @@ dependencies = [
[[package]]
name = "windmill-parser-py"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"itertools 0.12.1",
@@ -9956,7 +9956,7 @@ dependencies = [
[[package]]
name = "windmill-parser-py-imports"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"async-recursion",
@@ -9973,7 +9973,7 @@ dependencies = [
[[package]]
name = "windmill-parser-sql"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"lazy_static",
@@ -9984,7 +9984,7 @@ dependencies = [
[[package]]
name = "windmill-parser-ts"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"convert_case 0.6.0",
@@ -10002,7 +10002,7 @@ dependencies = [
[[package]]
name = "windmill-parser-wasm"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"getrandom 0.2.14",
@@ -10020,7 +10020,7 @@ dependencies = [
[[package]]
name = "windmill-queue"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"async-recursion",
@@ -10053,7 +10053,7 @@ dependencies = [
[[package]]
name = "windmill-sql-datatype-parser-wasm"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"serde",
"wasm-bindgen",
@@ -10064,7 +10064,7 @@ dependencies = [
[[package]]
name = "windmill-worker"
version = "1.306.2"
version = "1.306.0"
dependencies = [
"anyhow",
"async-recursion",

View File

@@ -1,6 +1,6 @@
[package]
name = "windmill"
version = "1.306.2"
version = "1.306.0"
authors.workspace = true
edition.workspace = true
@@ -24,7 +24,7 @@ members = [
]
[workspace.package]
version = "1.306.2"
version = "1.306.0"
authors = ["Ruben Fiszel <ruben@windmill.dev>"]
edition = "2021"

View File

@@ -1,7 +1,7 @@
openapi: "3.0.3"
info:
version: 1.306.2
version: 1.306.0
title: Windmill API
contact:

View File

@@ -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.306.2";
export const VERSION = "v1.306.0";
export async function login(email: string, password: string): Promise<string> {
return await windmill.UserService.login({

View File

@@ -31,7 +31,7 @@ addEventListener("error", (event) => {
}
});
export const VERSION = "v1.306.2";
export const VERSION = "v1.306.0";
let command: any = new Command()
.name("wmill")

View File

@@ -1,12 +1,12 @@
{
"name": "windmill-components",
"version": "1.306.2",
"version": "1.306.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "windmill-components",
"version": "1.306.2",
"version": "1.306.0",
"license": "AGPL-3.0",
"dependencies": {
"@aws-crypto/sha256-js": "^4.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "windmill-components",
"version": "1.306.2",
"version": "1.306.0",
"scripts": {
"dev": "vite dev",
"build": "vite build",

View File

@@ -193,10 +193,7 @@ export function getNextGridItemId(app: App): string {
const allIds = allItems(app.grid, app.subgrids).flatMap((x) => {
if (x.data.type === 'tablecomponent') {
return [x.id, ...x.data.actionButtons.map((x) => x.id)]
} else if (
(x.data.type === 'aggridcomponent' || x.data.type === 'aggridcomponentee') &&
Array.isArray(x.data.actions)
) {
} else if (x.data.type === 'aggridcomponent' || x.data.type === 'aggridcomponentee') {
return [x.id, ...x.data.actions.map((x) => x.id)]
} else if (x.data.type === 'menucomponent') {
return [x.id, ...x.data.menuItems.map((x) => x.id)]
@@ -441,7 +438,7 @@ export function copyComponent(
...item.data,
id,
actionButtons:
(item.data.actions ?? []).map((x) => ({
item.data.actions.map((x) => ({
...x,
id: x.id.replace(`${item.id}_`, `${id}_`)
})) ?? []

View File

@@ -63,7 +63,7 @@
if (left.data.type === 'tablecomponent' && left.data.actionButtons.length >= 1) {
$selectedComponent = [left.data.actionButtons[left.data.actionButtons.length - 1].id]
} else if (
(left.data.type === 'aggridcomponent' || left.data.type === 'aggridcomponentee') && Array.isArray(left.data.actions) &&
(left.data.type === 'aggridcomponent' || left.data.type === 'aggridcomponentee') &&
left.data.actions.length >= 1
) {
$selectedComponent = [left.data.actions[left.data.actions.length - 1].id]

View File

@@ -119,10 +119,7 @@
}
}
if (
(data.type == 'aggridcomponent' || data.type == 'aggridcomponentee') &&
Array.isArray(data.actions)
) {
if (data.type == 'aggridcomponent' || data.type == 'aggridcomponentee') {
for (let c of data.actions) {
renameComponent(from, to, c)
}

View File

@@ -4,8 +4,8 @@ verify_ssl = true
name = "pypi"
[packages]
wmill = ">=1.306.2"
wmill_pg = ">=1.306.2"
wmill = ">=1.306.0"
wmill_pg = ">=1.306.0"
sendgrid = "*"
mysql-connector-python = "*"
pymongo = "*"

View File

@@ -1,7 +1,7 @@
openapi: "3.0.3"
info:
version: 1.306.2
version: 1.306.0
title: OpenFlow Spec
contact:
name: Ruben Fiszel

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "wmill"
version = "1.306.2"
version = "1.306.0"
description = "A client library for accessing Windmill server wrapping the Windmill client API"
license = "Apache-2.0"
homepage = "https://windmill.dev"

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "wmill-pg"
version = "1.306.2"
version = "1.306.0"
description = "An extension client for the wmill client library focused on pg"
license = "Apache-2.0"
homepage = "https://windmill.dev"

View File

@@ -1,7 +1,7 @@
{
"name": "windmill-client",
"description": "Windmill SDK client for browsers and Node.js",
"version": "1.306.2",
"version": "1.306.0",
"author": "Ruben Fiszel",
"license": "Apache 2.0",
"devDependencies": {

View File

@@ -1 +1 @@
1.306.2
1.306.0