diff --git a/.github/workflows/change-versions.yml b/.github/workflows/change-versions.yml index 562be6d508..e2db4215ac 100644 --- a/.github/workflows/change-versions.yml +++ b/.github/workflows/change-versions.yml @@ -10,6 +10,7 @@ jobs: container: node:18 steps: - uses: actions/checkout@v3 + - run: git config --system --add safe.directory /__w/windmill/windmill - name: Change versions run: ./.github/change-versions.sh "$(cat version.txt)" - uses: actions-rs/toolchain@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 61710e0ad6..3dcf46ab2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +## [1.63.1](https://github.com/windmill-labs/windmill/compare/v1.63.0...v1.63.1) (2023-02-14) + + +### Bug Fixes + +* update hub sync script ([03eb144](https://github.com/windmill-labs/windmill/commit/03eb1444c4a5dfbd170ba8d200784e530ca2f771)) + ## [1.63.0](https://github.com/windmill-labs/windmill/compare/v1.62.0...v1.63.0) (2023-02-14) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 1ada82991c..94d18ee9e0 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -55,9 +55,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61" +checksum = "224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800" [[package]] name = "argon2" @@ -217,9 +217,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axum" -version = "0.6.4" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5694b64066a2459918d8074c2ce0d5a88f409431994c2356617c8ae0c4721fc" +checksum = "4e246206a63c9830e118d12c894f56a82033da1a2361f5544deeee3df85c99d9" dependencies = [ "async-trait", "axum-core", @@ -386,9 +386,9 @@ dependencies = [ [[package]] name = "built" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9c056b9ed43aee5e064b683aa1ec783e19c6acec7559e3ae931b7490472fbe" +checksum = "96f9cdd34d6eb553f9ea20e5bf84abb7b13c729f113fc1d8e49dc00ad9fa8738" dependencies = [ "cargo-lock", "git2", @@ -555,9 +555,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "cookie" -version = "0.16.2" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" +checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24" dependencies = [ "percent-encoding", "time 0.3.17", @@ -661,9 +661,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc831ee6a32dd495436e317595e639a587aa9907bef96fe6e6abc290ab6204e9" +checksum = "90d59d9acd2a682b4e40605a242f6670eaa58c5957471cbf85e8aa6a0b97a5e8" dependencies = [ "cc", "cxxbridge-flags", @@ -673,9 +673,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94331d54f1b1a8895cd81049f7eaaaef9d05a7dcb4d1fd08bf3ff0806246789d" +checksum = "ebfa40bda659dd5c864e65f4c9a2b0aff19bea56b017b9b77c73d3766a453a38" dependencies = [ "cc", "codespan-reporting", @@ -688,15 +688,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48dcd35ba14ca9b40d6e4b4b39961f23d835dbb8eed74565ded361d93e1feb8a" +checksum = "457ce6757c5c70dc6ecdbda6925b958aae7f959bda7d8fb9bde889e34a09dc03" [[package]] name = "cxxbridge-macro" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bbeb29798b407ccd82a3324ade1a7286e0d29851475990b612670f6f5124d2" +checksum = "ebf883b7aacd7b2aeb2a7b338648ee19f57c140d4ee8e52c68979c6b2f7f2263" dependencies = [ "proc-macro2", "quote", @@ -976,23 +976,23 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "fastrand" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" dependencies = [ "instant", ] [[package]] name = "filetime" -version = "0.2.19" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9" +checksum = "8a3de6e8d11b22ff9edc6d916f890800597d60f8b2da1caf2955c274638d6412" dependencies = [ "cfg-if", "libc", "redox_syscall", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1233,9 +1233,9 @@ dependencies = [ [[package]] name = "git2" -version = "0.15.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2994bee4a3a6a51eb90c218523be382fd7ea09b16380b9312e9dbe955ff7c7d1" +checksum = "ccf7f68c2995f392c49fffb4f95ae2c873297830eb25c6bc4c114ce8f4562acc" dependencies = [ "bitflags", "libc", @@ -1333,6 +1333,12 @@ dependencies = [ "libc", ] +[[package]] +name = "hermit-abi" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" + [[package]] name = "hex" version = "0.4.3" @@ -1567,14 +1573,14 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" +checksum = "22e18b0a45d56fe973d6db23972bf5bc46f988a4a2385deac9cc29572f09daef" dependencies = [ - "hermit-abi 0.2.6", + "hermit-abi 0.3.1", "io-lifetimes", "rustix", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1900,14 +1906,14 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "mio" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" +checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" dependencies = [ "libc", "log", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -2232,9 +2238,9 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "pest" -version = "2.5.4" +version = "2.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ab62d2fa33726dbe6321cc97ef96d8cde531e3eeaf858a058de53a8a6d40d8f" +checksum = "028accff104c4e513bad663bbcd2ad7cfd5304144404c31ed0a77ac103d00660" dependencies = [ "thiserror", "ucd-trie", @@ -2242,9 +2248,9 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" +checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", "indexmap", @@ -2452,9 +2458,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.50" +version = "1.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2" +checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" dependencies = [ "unicode-ident", ] @@ -2462,7 +2468,7 @@ dependencies = [ [[package]] name = "progenitor" version = "0.2.1-dev" -source = "git+https://github.com/oxidecomputer/progenitor#88ff3cf1e056a8c3901f17e73ae0d1fba991a17f" +source = "git+https://github.com/oxidecomputer/progenitor#be803fafa129c7b50c652f043ae85cf2db872b80" dependencies = [ "anyhow", "built", @@ -2480,7 +2486,7 @@ dependencies = [ [[package]] name = "progenitor-client" version = "0.2.1-dev" -source = "git+https://github.com/oxidecomputer/progenitor#88ff3cf1e056a8c3901f17e73ae0d1fba991a17f" +source = "git+https://github.com/oxidecomputer/progenitor#be803fafa129c7b50c652f043ae85cf2db872b80" dependencies = [ "bytes", "futures-core", @@ -2494,7 +2500,7 @@ dependencies = [ [[package]] name = "progenitor-impl" version = "0.2.1-dev" -source = "git+https://github.com/oxidecomputer/progenitor#88ff3cf1e056a8c3901f17e73ae0d1fba991a17f" +source = "git+https://github.com/oxidecomputer/progenitor#be803fafa129c7b50c652f043ae85cf2db872b80" dependencies = [ "getopts", "heck", @@ -2516,7 +2522,7 @@ dependencies = [ [[package]] name = "progenitor-macro" version = "0.2.1-dev" -source = "git+https://github.com/oxidecomputer/progenitor#88ff3cf1e056a8c3901f17e73ae0d1fba991a17f" +source = "git+https://github.com/oxidecomputer/progenitor#be803fafa129c7b50c652f043ae85cf2db872b80" dependencies = [ "openapiv3", "proc-macro2", @@ -2550,6 +2556,15 @@ dependencies = [ "thiserror", ] +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + [[package]] name = "quote" version = "1.0.23" @@ -2854,16 +2869,16 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.7" +version = "0.36.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fdebc4b395b7fbb9ab11e462e20ed9051e7b16e42d24042c776eca0ac81b03" +checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -2890,7 +2905,7 @@ dependencies = [ [[package]] name = "rustpython-ast" version = "0.2.0" -source = "git+https://github.com/RustPython/RustPython#adc23253e4b58980b407ba2760dbe61681d752fc" +source = "git+https://github.com/RustPython/RustPython#1fd557d549cd72e7da83608b99e5464273abd4b3" dependencies = [ "num-bigint", "rustpython-compiler-core", @@ -2899,7 +2914,7 @@ dependencies = [ [[package]] name = "rustpython-compiler-core" version = "0.2.0" -source = "git+https://github.com/RustPython/RustPython#adc23253e4b58980b407ba2760dbe61681d752fc" +source = "git+https://github.com/RustPython/RustPython#1fd557d549cd72e7da83608b99e5464273abd4b3" dependencies = [ "bincode", "bitflags", @@ -2916,7 +2931,7 @@ dependencies = [ [[package]] name = "rustpython-parser" version = "0.2.0" -source = "git+https://github.com/RustPython/RustPython#adc23253e4b58980b407ba2760dbe61681d752fc" +source = "git+https://github.com/RustPython/RustPython#1fd557d549cd72e7da83608b99e5464273abd4b3" dependencies = [ "ahash", "anyhow", @@ -3109,9 +3124,9 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.8" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718dc5fff5b36f99093fc49b280cfc96ce6fc824317783bff5a1fed0c7a64819" +checksum = "416bda436f9aab92e02c8e10d49a15ddd339cea90b6e340fe51ed97abb548294" dependencies = [ "serde", ] @@ -3140,9 +3155,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.91" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883" +checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" dependencies = [ "indexmap", "itoa", @@ -3277,9 +3292,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" dependencies = [ "libc", ] @@ -3328,9 +3343,9 @@ dependencies = [ [[package]] name = "smol_str" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7475118a28b7e3a2e157ce0131ba8c5526ea96e90ee601d9f6bb2e286a35ab44" +checksum = "fad6c857cbab2627dcf01ec85a623ca4e7dcb5691cbaa3d7fb7653671f0d09c9" dependencies = [ "serde", ] @@ -3502,6 +3517,19 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "stacker" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "winapi", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -3571,9 +3599,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "swc_atoms" -version = "0.4.34" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "731cf66bd8e11030f056f91f9d8af77f83ec4377ff04d1670778a57d1607402a" +checksum = "10ad195f903dd49e76fd93bc02c4d5fdb34287f9847f73d26c2097090db7cac3" dependencies = [ "once_cell", "rustc-hash", @@ -3585,9 +3613,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.29.29" +version = "0.29.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97e491d31418cd33fea58e9f893316fc04b30e2b5d0e750c066e2ba4907ae54" +checksum = "66c967c1c2f17fac8969831752560289e377712091003bdd1af6f025f2d70dc2" dependencies = [ "ahash", "ast_node", @@ -3612,9 +3640,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.96.3" +version = "0.96.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a887102d5595b557261aa4bde35f3d71906fba674d4b79cd5c59b4155b12ee2d" +checksum = "84192270c26fc125494ee8895baabf480a95ef8ef83fefb79a94d9fe90c5eb1b" dependencies = [ "bitflags", "is-macro", @@ -3629,9 +3657,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.124.5" +version = "0.124.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e75888eabf1ad8a8968e3befc7cd20c10e4721254d3344285bd5c3a42f58dc1" +checksum = "bd431de25e6c311ffa7dd4d01907d602e5e32311dc5d9bd73cc0993b15a4c069" dependencies = [ "either", "enum_kind", @@ -3639,6 +3667,7 @@ dependencies = [ "num-bigint", "serde", "smallvec", + "stacker", "swc_atoms", "swc_common", "swc_ecma_ast", @@ -3767,10 +3796,11 @@ dependencies = [ [[package]] name = "thread_local" -version = "1.1.4" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ + "cfg-if", "once_cell", ] @@ -3892,9 +3922,9 @@ dependencies = [ [[package]] name = "tokio-native-tls" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" dependencies = [ "native-tls", "tokio", @@ -3939,9 +3969,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.4" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740" +checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2" dependencies = [ "bytes", "futures-core", @@ -4008,9 +4038,9 @@ dependencies = [ [[package]] name = "tower-cookies" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4efe6d9c78aae53650a340d0e702e4f103582dce6af6bf897dc1b56c8ed5d4f6" +checksum = "40f38d941a2ffd8402b36e02ae407637a9caceb693aaf2edc910437db0f36984" dependencies = [ "async-trait", "axum-core", @@ -4172,7 +4202,7 @@ checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "typify" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#77a43da6b1e9a79fe3ec719a038f4ea949c0342e" +source = "git+https://github.com/oxidecomputer/typify#d0c9a1c85a9e04ad5937c8df9ff2521b8ea91ea6" dependencies = [ "typify-impl", "typify-macro", @@ -4181,7 +4211,7 @@ dependencies = [ [[package]] name = "typify-impl" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#77a43da6b1e9a79fe3ec719a038f4ea949c0342e" +source = "git+https://github.com/oxidecomputer/typify#d0c9a1c85a9e04ad5937c8df9ff2521b8ea91ea6" dependencies = [ "heck", "log", @@ -4199,7 +4229,7 @@ dependencies = [ [[package]] name = "typify-macro" version = "0.0.11-dev" -source = "git+https://github.com/oxidecomputer/typify#77a43da6b1e9a79fe3ec719a038f4ea949c0342e" +source = "git+https://github.com/oxidecomputer/typify#d0c9a1c85a9e04ad5937c8df9ff2521b8ea91ea6" dependencies = [ "proc-macro2", "quote", @@ -4638,7 +4668,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windmill" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "axum", @@ -4665,7 +4695,7 @@ dependencies = [ [[package]] name = "windmill-api" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "argon2", @@ -4719,7 +4749,7 @@ dependencies = [ [[package]] name = "windmill-api-client" -version = "1.62.0" +version = "1.63.1" dependencies = [ "base64 0.21.0", "chrono", @@ -4734,7 +4764,7 @@ dependencies = [ [[package]] name = "windmill-audit" -version = "1.62.0" +version = "1.63.1" dependencies = [ "chrono", "serde", @@ -4747,7 +4777,7 @@ dependencies = [ [[package]] name = "windmill-common" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "axum", @@ -4771,7 +4801,7 @@ dependencies = [ [[package]] name = "windmill-parser" -version = "1.62.0" +version = "1.63.1" dependencies = [ "serde", "serde_json", @@ -4779,7 +4809,7 @@ dependencies = [ [[package]] name = "windmill-parser-bash" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "itertools", @@ -4793,7 +4823,7 @@ dependencies = [ [[package]] name = "windmill-parser-go" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "itertools", @@ -4805,7 +4835,7 @@ dependencies = [ [[package]] name = "windmill-parser-py" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "itertools", @@ -4820,7 +4850,7 @@ dependencies = [ [[package]] name = "windmill-parser-ts" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "deno_core", @@ -4834,7 +4864,7 @@ dependencies = [ [[package]] name = "windmill-queue" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "chrono", @@ -4857,7 +4887,7 @@ dependencies = [ [[package]] name = "windmill-worker" -version = "1.62.0" +version = "1.63.1" dependencies = [ "anyhow", "async-recursion", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index fc16790a60..44b785bfb3 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windmill" -version = "1.62.0" +version = "1.63.1" authors.workspace = true edition.workspace = true @@ -19,7 +19,7 @@ members = [ ] [workspace.package] -version = "1.62.0" +version = "1.63.1" authors = ["Ruben Fiszel "] edition = "2021" @@ -83,7 +83,7 @@ chrono = { version = "^0", features = ["serde"] } tracing = "^0" tracing-subscriber = { version = "^0", features = ["env-filter", "json"] } prometheus = { version = "^0", default-features = false } -cookie = { version = "0.16.2" } +cookie = { version = "0.17.0" } phf = { version = "0.11", features = ["macros"] } rust-embed = "^6" mime_guess = "^2" @@ -121,7 +121,7 @@ async-recursion = "^1" swc_common = "^0" swc_ecma_parser = "^0" swc_ecma_ast = "^0" -base64 = "^0" +base64 = "0.21.0" unicode-general-category = "^0" hmac = "0.12.1" sha2 = "0.10.6" diff --git a/backend/migrations/20230214144244_improve_app_setup.down.sql b/backend/migrations/20230214144244_improve_app_setup.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20230214144244_improve_app_setup.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20230214144244_improve_app_setup.up.sql b/backend/migrations/20230214144244_improve_app_setup.up.sql new file mode 100644 index 0000000000..131c522de9 --- /dev/null +++ b/backend/migrations/20230214144244_improve_app_setup.up.sql @@ -0,0 +1,1170 @@ +-- Add up migration script here +-- Add up migration script here +-- Add up migration script here + +with _insert as +( +INSERT INTO + app_version(app_id, created_by, created_at, value) +VALUES + ( + ( + SELECT + id + FROM + app + WHERE + workspace_id = 'admins' + AND path = 'g/all/setup_app' + ), + 'admin@windmill.dev', + '2023-01-01 00:00:00.000000 +00:00', + '{ + "grid": [ + { + "3": { + "h": 1, + "w": 3, + "x": 0, + "y": 0, + "id": "a", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 2, + "w": 12, + "x": 0, + "y": 0, + "id": "a", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "a", + "data": { + "id": "a", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Title", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "Setup your Windmill instance", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 0, + "y": 6, + "id": "c", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 1, + "y": 6, + "id": "c", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "c", + "data": { + "id": "c", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Label", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "Old Email", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "left" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 2, + "y": 6, + "id": "d", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 7, + "y": 6, + "id": "d", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "d", + "data": { + "id": "d", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Label", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "New Email", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "left" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 2, + "y": 8, + "id": "e", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 7, + "y": 8, + "id": "e", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "e", + "data": { + "id": "e", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Label", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "New Password", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "left" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 2, + "y": 7, + "id": "g", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 7, + "y": 7, + "id": "g", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "g", + "data": { + "id": "g", + "card": false, + "type": "textinputcomponent", + "softWrap": true, + "configuration": { + "placeholder": { + "type": "static", + "value": "Type...", + "fieldType": "text", + "onlyStatic": true + }, + "defaultValue": { + "type": "static", + "fieldType": "text" + } + }, + "verticalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 2, + "y": 9, + "id": "i", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 7, + "y": 9, + "id": "i", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "i", + "data": { + "id": "i", + "card": false, + "type": "passwordinputcomponent", + "softWrap": true, + "configuration": { + "placeholder": { + "type": "static", + "value": "Password", + "fieldType": "text", + "onlyStatic": true + } + }, + "verticalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 3, + "x": 0, + "y": 1, + "id": "l", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 12, + "x": 0, + "y": 2, + "id": "l", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "l", + "data": { + "id": "l", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Subtitle", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "Setup a secure account", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 3, + "w": 3, + "x": 0, + "y": 2, + "id": "m", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 3, + "w": 10, + "x": 1, + "y": 3, + "id": "m", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "m", + "data": { + "id": "m", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Body", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "The below button will automatically delete the old account (likely the one you''re logged into now) and creates the new account.\nYou''ll have to log in again.", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 2, + "x": 0, + "y": 17, + "id": "n", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 2, + "y": 17, + "id": "n", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "n", + "data": { + "id": "n", + "card": false, + "type": "checkboxcomponent", + "softWrap": true, + "configuration": { + "label": { + "type": "static", + "value": "Enable Hub Sync", + "fieldType": "text" + }, + "defaultValue": { + "type": "static", + "value": true, + "fieldType": "boolean" + } + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 3, + "w": 3, + "x": 0, + "y": 14, + "id": "o", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 3, + "w": 8, + "x": 2, + "y": 14, + "id": "o", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "o", + "data": { + "id": "o", + "card": false, + "type": "textcomponent", + "softWrap": true, + "configuration": { + "style": { + "type": "static", + "value": "Body", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "We recommend enabling hub sync below. This will create a schedule in the admin workspace on behalf of the new user once you press the button. This schedule will automatically syncronize resource types from the hub to your local instance.", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 1, + "x": 2, + "y": 17, + "id": "p", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 4, + "x": 6, + "y": 17, + "id": "p", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "p", + "data": { + "id": "p", + "card": false, + "type": "textinputcomponent", + "softWrap": true, + "configuration": { + "placeholder": { + "type": "static", + "value": "Type...", + "fieldType": "text", + "onlyStatic": true + }, + "defaultValue": { + "type": "static", + "value": "0 0 0 * * *", + "fieldType": "text" + } + }, + "verticalAlignment": "center" + } + }, + { + "3": { + "h": 3, + "w": 3, + "x": 0, + "y": 19, + "id": "u", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 2, + "w": 8, + "x": 2, + "y": 19, + "id": "u", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "u", + "data": { + "id": "u", + "card": false, + "type": "buttoncomponent", + "softWrap": true, + "configuration": { + "size": { + "type": "static", + "value": "lg", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "buttonSizeOptions" + }, + "color": { + "type": "static", + "value": "red", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "buttonColorOptions" + }, + "label": { + "type": "static", + "value": "Change account and set hub sync - re-login necessary", + "fieldType": "text" + }, + "disabled": { + "expr": "g.result == \"\" || i.result == \"\"", + "type": "eval", + "fieldType": "boolean" + }, + "fillContainer": { + "type": "static", + "value": true, + "fieldType": "boolean", + "onlyStatic": true + }, + "goto": { + "type": "static", + "value": "/user/logout", + "fieldType": "text", + "onlyStatic": true + } + }, + "componentInput": { + "type": "runnable", + "fields": { + "oldEmail": { + "type": "connected", + "value": null, + "fieldType": "string", + "connection": { + "componentId": "ctx", + "path": "email" + } + }, + "newEmail": { + "type": "connected", + "value": null, + "format": "", + "fieldType": "string", + "connection": { + "path": "result", + "componentId": "g" + } + }, + "newPassword": { + "type": "connected", + "value": null, + "format": "", + "fieldType": "string", + "connection": { + "path": "result", + "componentId": "i" + } + }, + "enable_hub_sync": { + "type": "connected", + "value": null, + "format": "", + "fieldType": "boolean", + "connection": { + "path": "result", + "componentId": "n" + } + }, + "cron_str": { + "type": "connected", + "value": null, + "fieldType": "string", + "connection": { + "path": "result", + "componentId": "p" + } + } + }, + "runnable": { + "name": "Change Account", + "type": "runnableByName", + "inlineScript": { + "path": "/inline-script/Inline Script 0", + "schema": { + "type": "object", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "required": [ + "oldEmail", + "newEmail", + "newPassword", + "enable_hub_sync", + "cron_str" + ], + "properties": { + "oldEmail": { + "description": "", + "type": "string", + "default": null + }, + "newEmail": { + "type": "string", + "format": "", + "default": null, + "description": "" + }, + "newPassword": { + "type": "string", + "format": "", + "default": null, + "description": "" + }, + "enable_hub_sync": { + "type": "boolean", + "format": "", + "default": null, + "description": "" + }, + "cron_str": { + "type": "string", + "default": null, + "description": "" + } + } + }, + "content": "import * as wmill from \"https://deno.land/x/windmill@v1.60.0/mod.ts\";\n\nexport async function main(\n oldEmail: string,\n newEmail: string,\n newPassword: string,\n enable_hub_sync: boolean,\n cron_str: string,\n) {\n await wmill.UserService.createUserGlobally({\n requestBody: {\n email: newEmail,\n password: newPassword,\n super_admin: true,\n },\n });\n\n const new_token = await wmill.UserService.login({\n requestBody: {\n email: newEmail,\n password: newPassword,\n },\n });\n\n wmill.setClient(new_token, Deno.env.get(\"BASE_INTERNAL_URL\")!);\n await wmill.JobService.runScriptByPath({\n workspace: \"admins\",\n path: \"u/admin/hub_sync\",\n requestBody: {},\n });\n \n if (enable_hub_sync) {\n try {\n await wmill.ScheduleService.createSchedule({\n workspace: \"admins\",\n requestBody: {\n path: \"g/all/hub_sync\",\n schedule: cron_str,\n script_path: \"u/admin/hub_sync\",\n is_flow: false,\n args: {},\n enabled: true,\n offset: 0,\n },\n });\n } catch {\n console.log(\"Schedule already exists\");\n }\n }\n\n await wmill.UserService.globalUserDelete({ email: oldEmail });\n}\n", + "language": "deno" + } + }, + "fieldType": "any" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "h": 1, + "w": 3, + "x": 0, + "y": 13, + "id": "v", + "max": { + "h": 100, + "w": 3 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "12": { + "h": 1, + "w": 12, + "x": 0, + "y": 13, + "id": "v", + "max": { + "h": 100, + "w": 12 + }, + "min": { + "h": 1, + "w": 1 + }, + "fixed": true, + "draggable": true, + "resizable": true, + "customDragger": false, + "customResizer": false + }, + "id": "v", + "data": { + "id": "v", + "card": false, + "type": "textcomponent", + "softWrap": false, + "configuration": { + "style": { + "type": "static", + "value": "Subtitle", + "fieldType": "select", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + }, + "extraStyle": { + "type": "static", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"", + "fieldType": "text" + } + }, + "componentInput": { + "eval": "Setup Hub Sync", + "type": "template", + "value": "Hello ${ctx.username}", + "fieldType": "template" + }, + "verticalAlignment": "center", + "horizontalAlignment": "center" + } + }, + { + "3": { + "fixed": false, + "resizable": true, + "draggable": true, + "customDragger": false, + "customResizer": false, + "x": 0, + "y": 5, + "min": { + "w": 1, + "h": 1 + }, + "max": { + "w": 3, + "h": 100 + }, + "w": 1, + "h": 1 + }, + "12": { + "fixed": false, + "resizable": true, + "draggable": true, + "customDragger": false, + "customResizer": false, + "x": 1, + "y": 7, + "min": { + "w": 1, + "h": 1 + }, + "max": { + "w": 12, + "h": 100 + }, + "w": 4, + "h": 1, + "id": "w" + }, + "data": { + "softWrap": false, + "horizontalAlignment": "left", + "verticalAlignment": "center", + "id": "w", + "type": "textcomponent", + "componentInput": { + "type": "template", + "fieldType": "template", + "value": "Hello ${ctx.username}", + "eval": "${ctx.username}" + }, + "configuration": { + "style": { + "fieldType": "select", + "type": "static", + "onlyStatic": true, + "optionValuesKey": "textStyleOptions", + "value": "Body" + }, + "extraStyle": { + "type": "static", + "fieldType": "text", + "value": "", + "tooltip": "CSS rules like \"color: blue;\"" + }, + "copyButton": { + "type": "static", + "value": false, + "fieldType": "boolean", + "onlyStatic": true + } + }, + "card": false + }, + "id": "w" + } + ], + "fullscreen": false, + "hiddenInlineScripts": [], + "unusedInlineScripts": [] +}') RETURNING id) +UPDATE app SET versions = ARRAY((select id from _insert)), policy = '{ "execution_mode": "viewer", "triggerables": {} }' + WHERE workspace_id = 'admins' AND path = 'g/all/setup_app'; diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 1ab3e38d1a..26755e60ed 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.62.0 + version: 1.63.1 title: Windmill API contact: diff --git a/backend/windmill-api/src/oauth2.rs b/backend/windmill-api/src/oauth2.rs index 6bc4b5b8e5..6fd91c950a 100644 --- a/backend/windmill-api/src/oauth2.rs +++ b/backend/windmill-api/src/oauth2.rs @@ -1127,7 +1127,7 @@ fn set_cookie(state: &State, cookies: Cookies, is_secure: bool) { let csrf = state.to_base64(); let mut cookie = Cookie::new("csrf", csrf); cookie.set_secure(is_secure); - cookie.set_same_site(cookie::SameSite::Lax); + cookie.set_same_site(Some(cookie::SameSite::Lax)); cookie.set_http_only(true); cookie.set_path("/"); cookies.add(cookie); diff --git a/cli/main.ts b/cli/main.ts index 5f4bdff3fb..4fc7755f77 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -13,7 +13,7 @@ import sync from "./sync.ts"; import { tryResolveVersion } from "./context.ts"; import { GlobalOptions } from "./types.ts"; -const VERSION = "v1.62.0"; +const VERSION = "v1.63.1"; let command: any = new Command() .name("wmill") diff --git a/frontend/package-lock.json b/frontend/package-lock.json index f586ba6546..1c3a5db00e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "windmill", - "version": "1.62.0", + "version": "1.63.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "windmill", - "version": "1.62.0", + "version": "1.63.1", "dependencies": { "@fortawesome/free-brands-svg-icons": "^6.2.1", "@fortawesome/free-solid-svg-icons": "^6.2.1", diff --git a/frontend/package.json b/frontend/package.json index 5f64426bd9..c2b980cb3c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "windmill", - "version": "1.62.0", + "version": "1.63.1", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/lsp/Pipfile b/lsp/Pipfile index 01e3fd44a7..5e2a0496c8 100644 --- a/lsp/Pipfile +++ b/lsp/Pipfile @@ -4,8 +4,8 @@ verify_ssl = true name = "pypi" [packages] -wmill = ">=1.62.0" -wmill_pg = ">=1.62.0" +wmill = ">=1.63.1" +wmill_pg = ">=1.63.1" sendgrid = "*" mysql-connector-python = "*" pymongo = "*" diff --git a/openflow.openapi.yaml b/openflow.openapi.yaml index 601c25ca9a..d6cfbc9596 100644 --- a/openflow.openapi.yaml +++ b/openflow.openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: - version: 1.62.0 + version: 1.63.1 title: OpenFlow Spec contact: name: Ruben Fiszel diff --git a/python-client/wmill/pyproject.toml b/python-client/wmill/pyproject.toml index 1b72a9e4bd..0920e8e7a8 100644 --- a/python-client/wmill/pyproject.toml +++ b/python-client/wmill/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wmill" -version = "1.62.0" +version = "1.63.1" description = "A client library for accessing Windmill server wrapping the Windmill client API" license = "Apache-2.0" homepage = "https://windmill.dev" @@ -16,7 +16,7 @@ include = ["wmill/py.typed"] [tool.poetry.dependencies] python = "^3.7" -windmill-api = "^1.62.0" +windmill-api = "^1.63.1" [build-system] requires = ["poetry>=1.0.2", "poetry-dynamic-versioning"] diff --git a/python-client/wmill_pg/pyproject.toml b/python-client/wmill_pg/pyproject.toml index 4e292a51b3..550bf2da5e 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.62.0" +version = "1.63.1" description = "An extension client for the wmill client library focused on pg" license = "Apache-2.0" homepage = "https://windmill.dev" diff --git a/version.txt b/version.txt index af92bdd9f5..4fc2594760 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.63.0 +1.63.1