Compare commits

..

3 Commits

Author SHA1 Message Date
Ruben Fiszel
5baddea6c6 chore(main): release 1.253.2 (#3071)
* chore(main): release 1.253.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-01-25 11:28:30 +01:00
Ruben Fiszel
c79a82d188 fix select in table default value 2024-01-24 23:49:54 +01:00
Ruben Fiszel
737c4fb497 fix(app): improve app reactivity 2024-01-24 22:06:08 +01:00
19 changed files with 75 additions and 71 deletions

View File

@@ -1,6 +1,13 @@
# Changelog
## [1.253.2](https://github.com/windmill-labs/windmill/compare/v1.253.1...v1.253.2) (2024-01-24)
### Bug Fixes
* **app:** improve app reactivity ([737c4fb](https://github.com/windmill-labs/windmill/commit/737c4fb497ce4d04c8404b745dd00868724cfc51))
## [1.253.1](https://github.com/windmill-labs/windmill/compare/v1.253.0...v1.253.1) (2024-01-24)

74
backend/Cargo.lock generated
View File

@@ -788,9 +788,9 @@ dependencies = [
[[package]]
name = "aws-smithy-async"
version = "1.1.3"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2eac0bb78e9e2765699999a02d7bfb4e6ad8f13e0962ebb9f5202b1d8cd76006"
checksum = "72ee2d09cce0ef3ae526679b522835d63e75fb427aca5413cd371e490d52dcc6"
dependencies = [
"futures-util",
"pin-project-lite",
@@ -799,9 +799,9 @@ dependencies = [
[[package]]
name = "aws-smithy-checksums"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "535a2d5f1e459bc7709580a77152c8d493982db083236c2b1d1c51dc6217e8a3"
checksum = "be2acd1b9c6ae5859999250ed5a62423aedc5cf69045b844432de15fa2f31f2b"
dependencies = [
"aws-smithy-http",
"aws-smithy-types",
@@ -820,9 +820,9 @@ dependencies = [
[[package]]
name = "aws-smithy-eventstream"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "682371561562d08ab437766903c6bc28f4f95d7ab2ecfb389bda7849dd98aefe"
checksum = "e6363078f927f612b970edf9d1903ef5cef9a64d1e8423525ebb1f0a1633c858"
dependencies = [
"aws-smithy-types",
"bytes",
@@ -831,9 +831,9 @@ dependencies = [
[[package]]
name = "aws-smithy-http"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "365ca49744b2bda2f1e2dc03b856da3fa5a28ca5b0a41e41d7ff5305a8fae190"
checksum = "dab56aea3cd9e1101a0a999447fb346afb680ab1406cebc44b32346e25b4117d"
dependencies = [
"aws-smithy-eventstream",
"aws-smithy-runtime-api",
@@ -852,18 +852,18 @@ dependencies = [
[[package]]
name = "aws-smithy-json"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "733ccdb727ac63370836aa3b3c483d75ad2ef7bc6507db3efe1d01e8d2e50367"
checksum = "fd3898ca6518f9215f62678870064398f00031912390efd03f1f6ef56d83aa8e"
dependencies = [
"aws-smithy-types",
]
[[package]]
name = "aws-smithy-query"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aff02ae2ee7968bbce2983ffb5ce529d24f4848532300f398347bde8c2196974"
checksum = "bda4b1dfc9810e35fba8a620e900522cd1bd4f9578c446e82f49d1ce41d2e9f9"
dependencies = [
"aws-smithy-types",
"urlencoding",
@@ -871,9 +871,9 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime"
version = "1.1.3"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ab9cb6fee50680af8ceaa293ae79eba32095ca117161cb323f9ee30dd87d139"
checksum = "fafdab38f40ad7816e7da5dec279400dd505160780083759f01441af1bbb10ea"
dependencies = [
"aws-smithy-async",
"aws-smithy-http",
@@ -896,9 +896,9 @@ dependencies = [
[[package]]
name = "aws-smithy-runtime-api"
version = "1.1.3"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02ca2da7619517310bfead6d18abcdde90f1439224d887d608503cfacff46dff"
checksum = "c18276dd28852f34b3bf501f4f3719781f4999a51c7bff1a5c6dc8c4529adc29"
dependencies = [
"aws-smithy-async",
"aws-smithy-types",
@@ -912,9 +912,9 @@ dependencies = [
[[package]]
name = "aws-smithy-types"
version = "1.1.3"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d4bb944488536cd2fef43212d829bc7e9a8bfc4afa079d21170441e7be8d2d0"
checksum = "bb3e134004170d3303718baa2a4eb4ca64ee0a1c0a7041dca31b38be0fb414f3"
dependencies = [
"base64-simd",
"bytes",
@@ -935,9 +935,9 @@ dependencies = [
[[package]]
name = "aws-smithy-xml"
version = "0.60.3"
version = "0.60.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef796feaf894d7fd03869235237aeffe73ed1b29a3927cceeee2eecadf876eba"
checksum = "8604a11b25e9ecaf32f9aa56b9fe253c5e2f606a3477f0071e96d3155a5ed218"
dependencies = [
"xmlparser",
]
@@ -9553,7 +9553,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windmill"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"axum",
@@ -9589,7 +9589,7 @@ dependencies = [
[[package]]
name = "windmill-api"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"argon2",
@@ -9663,7 +9663,7 @@ dependencies = [
[[package]]
name = "windmill-api-client"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"base64 0.21.7",
"chrono",
@@ -9681,7 +9681,7 @@ dependencies = [
[[package]]
name = "windmill-audit"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"chrono",
"serde",
@@ -9694,7 +9694,7 @@ dependencies = [
[[package]]
name = "windmill-common"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"aws-config",
@@ -9728,7 +9728,7 @@ dependencies = [
[[package]]
name = "windmill-git-sync"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"rsmq_async",
"serde",
@@ -9742,7 +9742,7 @@ dependencies = [
[[package]]
name = "windmill-parser"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"serde",
"serde_json",
@@ -9750,7 +9750,7 @@ dependencies = [
[[package]]
name = "windmill-parser-bash"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"lazy_static",
@@ -9761,7 +9761,7 @@ dependencies = [
[[package]]
name = "windmill-parser-go"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"gosyn",
@@ -9773,7 +9773,7 @@ dependencies = [
[[package]]
name = "windmill-parser-graphql"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"lazy_static",
@@ -9784,7 +9784,7 @@ dependencies = [
[[package]]
name = "windmill-parser-py"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"itertools 0.12.0",
@@ -9795,7 +9795,7 @@ dependencies = [
[[package]]
name = "windmill-parser-py-imports"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"async-recursion",
@@ -9812,7 +9812,7 @@ dependencies = [
[[package]]
name = "windmill-parser-sql"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"lazy_static",
@@ -9823,7 +9823,7 @@ dependencies = [
[[package]]
name = "windmill-parser-ts"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"convert_case 0.6.0",
@@ -9841,7 +9841,7 @@ dependencies = [
[[package]]
name = "windmill-parser-wasm"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"getrandom 0.2.12",
@@ -9859,7 +9859,7 @@ dependencies = [
[[package]]
name = "windmill-queue"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"async-recursion",
@@ -9892,7 +9892,7 @@ dependencies = [
[[package]]
name = "windmill-worker"
version = "1.253.1"
version = "1.253.2"
dependencies = [
"anyhow",
"async-recursion",

View File

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

View File

@@ -1,7 +1,7 @@
openapi: "3.0.3"
info:
version: 1.253.1
version: 1.253.2
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.253.1";
export const VERSION = "v1.253.2";
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.253.1";
export const VERSION = "v1.253.2";
let command: any = new Command()
.name("wmill")

View File

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

View File

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

View File

@@ -585,6 +585,7 @@
{:else if actionButton.type == 'selectcomponent'}
<div class="w-40">
<AppSelect
noDefault
noInitialize
extraKey={'idx' + rowIndex}
{render}
@@ -631,6 +632,7 @@
{:else if actionButton.type == 'selectcomponent'}
<div class="w-40">
<AppSelect
noDefault
noInitialize
--font-size="10px"
extraKey={'idx' + rowIndex}

View File

@@ -19,6 +19,7 @@
import deepEqualWithOrderedArray from './deepEqualWithOrderedArray'
import { deepEqual } from 'fast-equals'
import { deepMergeWithPriority, isCodeInjection } from '$lib/utils'
import sum from 'hash-sum'
type T = string | number | boolean | Record<string | number, any> | undefined
@@ -144,7 +145,7 @@
$state &&
debounce(debounceTemplate)
let lastExpr: any = undefined
let lastExprHash: any = undefined
const debounceEval = async (s?: string) => {
let args = s == 'exprChanged' ? { file: { name: 'example.png' } } : undefined
@@ -157,21 +158,10 @@
})
}
if (!onDemandOnly) {
if (!deepEqual(nvalue, value)) {
if (
typeof nvalue == 'string' ||
typeof nvalue == 'number' ||
typeof nvalue == 'boolean' ||
typeof nvalue == 'bigint'
) {
if (nvalue != lastExpr) {
lastExpr = nvalue
value = nvalue as T
}
} else {
lastExpr = nvalue
value = nvalue
}
let nhash = typeof nvalue != 'object' ? nvalue : sum(nvalue)
if (lastExprHash != nhash) {
value = nvalue
lastExprHash = nhash
}
}
}

View File

@@ -33,6 +33,7 @@
export let noInitialize = false
export let controls: { left: () => boolean; right: () => boolean | string } | undefined =
undefined
export let noDefault = false
const {
app,
@@ -68,7 +69,7 @@
result: undefined as string | undefined
})
let value: string | undefined = outputs?.result.peak()
let value: string | undefined = noDefault ? undefined : outputs?.result.peak()
$: resolvedConfig.items && handleItems()

View File

@@ -47,7 +47,7 @@
<div
class={classNames(
'w-full text-xs font-bold gap-1 truncate py-1.5 px-2 cursor-pointer transition-all justify-between flex items-center border border-gray-3 rounded-md',
'bg-surface border-gray-300 hover:bg-gray-100 focus:bg-gray-100 text-secondary',
'bg-surface hover:bg-tertiary focus:border-primary text-secondary',
$selectedComponent?.includes(component.id) ? 'outline outline-blue-500 bg-red-400' : ''
)}
on:click={() => {

View File

@@ -173,7 +173,11 @@ export type ListContext = Writable<{
disabled: boolean
}>
export type ListInputs = { set: (id: string, value: any) => void; remove: (id: string) => void }
export type ListInputs = {
set: (id: string, value: any) => void
remove: (id: string) => void
get: (id: string) => void
}
export type GroupContext = Writable<Record<string, any>>

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "wmill"
version = "1.253.1"
version = "1.253.2"
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.253.1"
version = "1.253.2"
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.253.1",
"version": "1.253.2",
"author": "Ruben Fiszel",
"license": "Apache 2.0",
"devDependencies": {

View File

@@ -1 +1 @@
1.253.1
1.253.2