From 0b49a10b4157b0ee967f49052f792d1b41c10e4b Mon Sep 17 00:00:00 2001 From: Natoandro Date: Fri, 15 Mar 2024 02:10:58 +0300 Subject: [PATCH] chore: Prepare release v0.3.6 (#626) Prepare release v0.3.6 #### Motivation and context _N/A_ #### Migration notes _N/A_ ### Checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --- Cargo.lock | 165 +++++++++++------- Cargo.toml | 2 +- dev-tools/package.json | 2 +- dev-tools/ts-language-server/package.json | 2 +- .../vscode-metatype-support/package.json | 2 +- dev/lock.yml | 2 +- examples/templates/deno/compose.yml | 2 +- examples/templates/node/compose.yml | 2 +- examples/templates/python/compose.yml | 2 +- examples/templates/python/pyproject.toml | 4 +- libs/common/Cargo.toml | 2 +- libs/typescript/Cargo.toml | 2 +- libs/xtask/Cargo.toml | 2 +- meta-cli/Cargo.toml | 2 +- meta-cli/src/cli/upgrade.rs | 2 +- pyproject.toml | 2 +- typegate/src/typegraphs/typegate.json | 133 ++++++++------ .../tests/runtimes/wasmedge/rust/Cargo.toml | 2 +- typegraph/core/Cargo.toml | 2 +- typegraph/node/package.json | 2 +- typegraph/node/sdk/package.json | 2 +- typegraph/python/pyproject.toml | 2 +- typegraph/python/typegraph/__init__.py | 2 +- 23 files changed, 205 insertions(+), 137 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a34549e023..8da715a49f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -303,9 +303,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.80" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" +checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" dependencies = [ "backtrace", ] @@ -461,9 +461,9 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" dependencies = [ "async-lock 3.3.0", "cfg-if", @@ -544,7 +544,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.3.1", + "async-io 2.3.2", "async-lock 2.8.0", "atomic-waker", "cfg-if", @@ -787,13 +787,22 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64-simd" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "781dd20c3aff0bd194fe7d2a977dd92f21c173891f3a03b677359e5fa457e5d5" +dependencies = [ + "simd-abstraction", +] + [[package]] name = "base64-simd" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195" dependencies = [ - "outref", + "outref 0.5.1", "vsimd", ] @@ -1057,9 +1066,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.15.3" +version = "3.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" +checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" dependencies = [ "allocator-api2", ] @@ -1088,9 +1097,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.14.3" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" [[package]] name = "byteorder" @@ -1142,9 +1151,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ba8f7aaa012f30d5b2861462f6708eccd49c3c39863fe083a308035f63d723" +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" dependencies = [ "jobserver", "libc", @@ -1173,9 +1182,9 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chrono" -version = "0.4.34" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" +checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1368,7 +1377,7 @@ dependencies = [ [[package]] name = "common" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "anyhow", "async-trait", @@ -1383,7 +1392,7 @@ dependencies = [ "schemars", "serde 1.0.197", "serde_json", - "serde_with 3.6.1", + "serde_with 3.7.0", "tar", ] @@ -1686,11 +1695,11 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.4.2" +version = "3.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" +checksum = "672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345" dependencies = [ - "nix 0.27.1", + "nix 0.28.0", "windows-sys 0.52.0", ] @@ -2161,7 +2170,7 @@ dependencies = [ "serde_json", "serde_v8", "smallvec", - "sourcemap 7.0.1", + "sourcemap 7.1.1", "static_assertions", "tokio", "url", @@ -2769,7 +2778,7 @@ version = "0.170.0" source = "git+https://github.com/metatypedev/deno?branch=v1.41.0-embeddable#2fa9bab20155ccd7f90e13d4b44e277457b86699" dependencies = [ "async-trait", - "base64-simd", + "base64-simd 0.8.0", "bytes", "deno_core", "encoding_rs", @@ -3562,9 +3571,9 @@ dependencies = [ [[package]] name = "erased-serde" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388979d208a049ffdfb22fa33b9c81942215b940910bccfe258caeb25d125cb3" +checksum = "2b73807008a3c7f171cc40312f37d95ef0396e048b5848d775f54b1a4dd4a0d3" dependencies = [ "serde 1.0.197", ] @@ -4735,12 +4744,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" dependencies = [ "bytes", - "futures-util", + "futures-core", "http 1.1.0", "http-body 1.0.0", "pin-project-lite", @@ -5355,7 +5364,7 @@ dependencies = [ "serde_yaml", "tempfile", "tokio", - "toml 0.8.10", + "toml 0.8.11", "url", ] @@ -5839,7 +5848,7 @@ dependencies = [ [[package]] name = "meta-cli" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "actix", "anyhow", @@ -6185,7 +6194,7 @@ dependencies = [ [[package]] name = "mt_deno" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "anyhow", "deno", @@ -6385,6 +6394,18 @@ dependencies = [ "libc", ] +[[package]] +name = "nix" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" +dependencies = [ + "bitflags 2.4.2", + "cfg-if", + "cfg_aliases", + "libc", +] + [[package]] name = "nom" version = "5.1.3" @@ -6690,9 +6711,9 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "open" -version = "5.1.1" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b3fbb0d52bf0cbb5225ba3d2c303aa136031d43abff98284332a9981ecddec" +checksum = "449f0ff855d85ddbf1edd5b646d65249ead3f5e422aaa86b7d2d0b049b103e32" dependencies = [ "is-wsl", "libc", @@ -6877,13 +6898,13 @@ checksum = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063" [[package]] name = "os_info" -version = "3.7.0" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +checksum = "52a07930afc1bd77ac9e1101dc18d3fc4986c6568e939c31d1c26657eb0ccbf5" dependencies = [ "log", "serde 1.0.197", - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -6896,6 +6917,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "outref" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f222829ae9293e33a9f5e9f440c6760a3d450a64affe1846486b140db81c1f4" + [[package]] name = "outref" version = "0.5.1" @@ -7623,9 +7650,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -9209,9 +9236,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.6.1" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d167997bd841ec232f5b2b8e0e26606df2e7caa4c31b95ea9ca52b200bd270" +checksum = "ee80b0e361bbf88fd2f6e242ccd19cfda072cb0faa6ae694ecee08199938569a" dependencies = [ "base64 0.21.7", "chrono", @@ -9221,7 +9248,7 @@ dependencies = [ "serde 1.0.197", "serde_derive", "serde_json", - "serde_with_macros 3.6.1", + "serde_with_macros 3.7.0", "time", ] @@ -9239,9 +9266,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.6.1" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865f9743393e638991566a8b7a479043c2c8da94a33e0a31f18214c9cae0a64d" +checksum = "6561dc161a9224638a31d876ccdfefbc1df91d3f3a8342eddb35f055d48c7655" dependencies = [ "darling 0.20.8", "proc-macro2", @@ -9399,6 +9426,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "simd-abstraction" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cadb29c57caadc51ff8346233b5cec1d240b68ce55cf1afc764818791876987" +dependencies = [ + "outref 0.1.0", +] + [[package]] name = "simd-adler32" version = "0.3.7" @@ -9534,17 +9570,18 @@ dependencies = [ [[package]] name = "sourcemap" -version = "7.0.1" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10da010a590ed2fa9ca8467b00ce7e9c5a8017742c0c09c45450efc172208c4b" +checksum = "e7768edd06c02535e0d50653968f46e1e0d3aa54742190d35dd9466f59de9c71" dependencies = [ + "base64-simd 0.7.0", "data-encoding", "debugid", "if_chain", "rustc_version 0.2.3", "serde 1.0.197", "serde_json", - "unicode-id", + "unicode-id-start", "url", ] @@ -10592,18 +10629,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", @@ -10900,14 +10937,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" +checksum = "af06656561d28735e9c1cd63dfd57132c8155426aa6af24f36a00a351f88c48e" dependencies = [ "serde 1.0.197", "serde_spanned", "toml_datetime", - "toml_edit 0.22.6", + "toml_edit 0.22.7", ] [[package]] @@ -10932,9 +10969,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.6" +version = "0.22.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" +checksum = "18769cd1cec395d70860ceb4d932812a0b4d06b1a4bb336745a4d21b9496e992" dependencies = [ "indexmap 2.2.5", "serde 1.0.197", @@ -11292,7 +11329,7 @@ dependencies = [ [[package]] name = "typegate" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "colored", "env_logger", @@ -11305,7 +11342,7 @@ dependencies = [ [[package]] name = "typegate_engine" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "anyhow", "base64 0.21.7", @@ -11347,7 +11384,7 @@ dependencies = [ [[package]] name = "typegraph_core" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "common", "enum_dispatch", @@ -11376,7 +11413,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typescript" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "anyhow", "dprint-plugin-typescript", @@ -11396,7 +11433,7 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "661d18414ec032a49ece2d56eee03636e43c4e8d577047ab334c0ba892e29aaf" dependencies = [ - "erased-serde 0.4.3", + "erased-serde 0.4.4", "inventory", "once_cell", "serde 1.0.197", @@ -11531,6 +11568,12 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1b6def86329695390197b82c1e244a54a131ceb66c996f2088a3876e2ae083f" +[[package]] +name = "unicode-id-start" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8f73150333cb58412db36f2aca8f2875b013049705cc77b94ded70a1ab1f5da" + [[package]] name = "unicode-ident" version = "1.0.12" @@ -12204,9 +12247,9 @@ dependencies = [ [[package]] name = "whoami" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fec781d48b41f8163426ed18e8fc2864c12937df9ce54c88ede7bd47270893e" +checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9" dependencies = [ "redox_syscall 0.4.1", "wasite", @@ -12613,7 +12656,7 @@ checksum = "0fcb9cbac069e033553e8bb871be2fbdffcab578eb25bd0f7c508cedc6dcd75a" [[package]] name = "xtask" -version = "0.3.6-0" +version = "0.3.6" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index a374f3802a..94afbf89ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ "typegraph/core", ] [workspace.package] -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [workspace.dependencies] diff --git a/dev-tools/package.json b/dev-tools/package.json index b03eb25aeb..0546e01058 100644 --- a/dev-tools/package.json +++ b/dev-tools/package.json @@ -4,7 +4,7 @@ "description": "VSCode extension for Metatype support", "icon": "logo.png", "author": "Metatype Team", - "version": "0.3.6-0", + "version": "0.3.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/dev-tools/ts-language-server/package.json b/dev-tools/ts-language-server/package.json index 6fb3b9a51b..2edb18048b 100644 --- a/dev-tools/ts-language-server/package.json +++ b/dev-tools/ts-language-server/package.json @@ -2,7 +2,7 @@ "name": "typegraph-ts-server", "description": "TypeScript language server for TypeGraph", "author": "Metatype Team", - "version": "0.3.6-0", + "version": "0.3.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/dev-tools/vscode-metatype-support/package.json b/dev-tools/vscode-metatype-support/package.json index 5a3c15f9f6..ff98f49e38 100644 --- a/dev-tools/vscode-metatype-support/package.json +++ b/dev-tools/vscode-metatype-support/package.json @@ -2,7 +2,7 @@ "name": "vscode-metatype-support", "description": "VSCode extension for Metatype support", "author": "Metatype Team", - "version": "0.3.6-0", + "version": "0.3.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/dev/lock.yml b/dev/lock.yml index cb5ef4ca39..6af6d77280 100644 --- a/dev/lock.yml +++ b/dev/lock.yml @@ -92,7 +92,7 @@ dev: WASMEDGE_VERSION: 0.13.5 TYPEGRAPH_VERSION: 0.0.3 PRISMA_VERSION: 5.5.2 - METATYPE_VERSION: 0.3.6-0 + METATYPE_VERSION: 0.3.6 PUBLISHED_VERSION: 0.3.4 WASM_OPT_VERSION: 0.116.0 MOLD_VERSION: v2.4.0 diff --git a/examples/templates/deno/compose.yml b/examples/templates/deno/compose.yml index cd6cba7395..269c09a618 100644 --- a/examples/templates/deno/compose.yml +++ b/examples/templates/deno/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.3.6-0 + image: ghcr.io/metatypedev/typegate:v0.3.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/compose.yml b/examples/templates/node/compose.yml index cd6cba7395..269c09a618 100644 --- a/examples/templates/node/compose.yml +++ b/examples/templates/node/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.3.6-0 + image: ghcr.io/metatypedev/typegate:v0.3.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/python/compose.yml b/examples/templates/python/compose.yml index cd6cba7395..269c09a618 100644 --- a/examples/templates/python/compose.yml +++ b/examples/templates/python/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.3.6-0 + image: ghcr.io/metatypedev/typegate:v0.3.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/python/pyproject.toml b/examples/templates/python/pyproject.toml index e2e1539cf8..ebe05a85bd 100644 --- a/examples/templates/python/pyproject.toml +++ b/examples/templates/python/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "example" -version = "0.3.6-0" +version = "0.3.6" description = "" authors = [] [tool.poetry.dependencies] python = ">=3.8,<4.0" -typegraph = "0.3.6-0" +typegraph = "0.3.6" [build-system] requires = ["poetry-core"] diff --git a/libs/common/Cargo.toml b/libs/common/Cargo.toml index 14385045dc..c396e137da 100644 --- a/libs/common/Cargo.toml +++ b/libs/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "common" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [dependencies] diff --git a/libs/typescript/Cargo.toml b/libs/typescript/Cargo.toml index cdf918e9cb..e3308e4976 100644 --- a/libs/typescript/Cargo.toml +++ b/libs/typescript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typescript" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [dependencies] diff --git a/libs/xtask/Cargo.toml b/libs/xtask/Cargo.toml index b197379d98..9ca9f4fe50 100644 --- a/libs/xtask/Cargo.toml +++ b/libs/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [dependencies] diff --git a/meta-cli/Cargo.toml b/meta-cli/Cargo.toml index 32596caf9d..d13ef5188a 100644 --- a/meta-cli/Cargo.toml +++ b/meta-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "meta-cli" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" description = "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are." diff --git a/meta-cli/src/cli/upgrade.rs b/meta-cli/src/cli/upgrade.rs index 67cb1b3c0c..5db58b47db 100644 --- a/meta-cli/src/cli/upgrade.rs +++ b/meta-cli/src/cli/upgrade.rs @@ -63,7 +63,7 @@ pub async fn upgrade_check() -> Result<()> { let config_path = GlobalConfig::default_path()?; let mut local_config = GlobalConfig::load(&config_path).await?; - if local_config.update_check + Duration::days(1) < Utc::now() { + if local_config.update_check + Duration::try_days(1).unwrap() < Utc::now() { let current_version = build::PKG_VERSION; let latest = tokio::task::spawn_blocking(move || { let update = Update::configure() diff --git a/pyproject.toml b/pyproject.toml index c2601229c1..e36e96fa0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "metatype" -version = "0.3.6-0" +version = "0.3.6" description = "" authors = [] diff --git a/typegate/src/typegraphs/typegate.json b/typegate/src/typegraphs/typegate.json index 72545c14ae..f874f39ddc 100644 --- a/typegate/src/typegraphs/typegate.json +++ b/typegate/src/typegraphs/typegate.json @@ -12,10 +12,10 @@ "typegraphs": 1, "typegraph": 7, "addTypegraph": 13, - "removeTypegraphs": 22, - "argInfoByPath": 26, - "findAvailableOperations": 41, - "findPrismaModels": 48 + "removeTypegraphs": 23, + "argInfoByPath": 27, + "findAvailableOperations": 42, + "findPrismaModels": 50 }, "required": [ "typegraphs", @@ -211,8 +211,8 @@ "properties": { "name": 9, "messages": 17, - "migrations": 19, - "failure": 21 + "migrations": 20, + "failure": 22 }, "required": [] }, @@ -233,11 +233,24 @@ "config": {}, "as_id": false, "properties": { - "type": 9, + "type": 19, "text": 9 }, "required": [] }, + { + "type": "string", + "title": "string_70", + "runtime": 1, + "policies": [], + "enum": [ + "\"info\"", + "\"warning\"", + "\"error\"" + ], + "config": {}, + "as_id": false + }, { "type": "list", "title": "list_77", @@ -245,7 +258,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 20 + "items": 21 }, { "type": "object", @@ -279,8 +292,8 @@ ], "config": {}, "as_id": false, - "input": 23, - "output": 25, + "input": 24, + "output": 26, "materializer": 5, "rate_weight": null, "rate_calls": true @@ -293,7 +306,7 @@ "config": {}, "as_id": false, "properties": { - "names": 24 + "names": 25 }, "required": [] }, @@ -323,8 +336,8 @@ ], "config": {}, "as_id": false, - "input": 27, - "output": 29, + "input": 28, + "output": 30, "materializer": 6, "rate_weight": null, "rate_calls": true @@ -340,7 +353,7 @@ "typegraph": 9, "queryType": 9, "fn": 9, - "argPaths": 28 + "argPaths": 29 }, "required": [] }, @@ -351,7 +364,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 24 + "items": 25 }, { "type": "list", @@ -360,7 +373,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 30 + "items": 31 }, { "type": "object", @@ -370,17 +383,17 @@ "config": {}, "as_id": false, "properties": { - "optional": 31, - "as_id": 31, + "optional": 32, + "as_id": 32, "title": 5, "type": 5, - "enum": 32, + "enum": 33, "runtime": 5, - "config": 35, - "default": 35, - "format": 36, - "policies": 37, - "fields": 38 + "config": 36, + "default": 36, + "format": 37, + "policies": 38, + "fields": 39 }, "required": [] }, @@ -399,7 +412,7 @@ "policies": [], "config": {}, "as_id": false, - "item": 33, + "item": 34, "default_value": null }, { @@ -409,7 +422,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 34 + "items": 35 }, { "type": "string", @@ -427,7 +440,7 @@ "policies": [], "config": {}, "as_id": false, - "item": 34, + "item": 35, "default_value": null }, { @@ -456,7 +469,7 @@ "policies": [], "config": {}, "as_id": false, - "item": 39, + "item": 40, "default_value": null }, { @@ -466,7 +479,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 40 + "items": 41 }, { "type": "object", @@ -476,8 +489,8 @@ "config": {}, "as_id": false, "properties": { - "subPath": 24, - "termNode": 30 + "subPath": 25, + "termNode": 31 }, "required": [] }, @@ -490,8 +503,8 @@ ], "config": {}, "as_id": false, - "input": 42, - "output": 43, + "input": 43, + "output": 44, "materializer": 7, "rate_weight": null, "rate_calls": true @@ -515,7 +528,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 44 + "items": 45 }, { "type": "object", @@ -526,13 +539,25 @@ "as_id": false, "properties": { "name": 5, - "type": 5, - "inputs": 45, - "output": 30, - "outputItem": 47 + "type": 46, + "inputs": 47, + "output": 31, + "outputItem": 49 }, "required": [] }, + { + "type": "string", + "title": "string_39", + "runtime": 1, + "policies": [], + "enum": [ + "\"query\"", + "\"mutation\"" + ], + "config": {}, + "as_id": false + }, { "type": "list", "title": "list_40", @@ -540,7 +565,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 46 + "items": 48 }, { "type": "object", @@ -551,7 +576,7 @@ "as_id": false, "properties": { "name": 5, - "type": 30 + "type": 31 }, "required": [] }, @@ -562,7 +587,7 @@ "policies": [], "config": {}, "as_id": false, - "item": 30, + "item": 31, "default_value": null }, { @@ -574,8 +599,8 @@ ], "config": {}, "as_id": false, - "input": 42, - "output": 49, + "input": 43, + "output": 51, "materializer": 8, "rate_weight": null, "rate_calls": true @@ -587,7 +612,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 50 + "items": 52 }, { "type": "object", @@ -599,7 +624,7 @@ "properties": { "name": 5, "runtime": 5, - "fields": 51 + "fields": 53 }, "required": [] }, @@ -610,7 +635,7 @@ "policies": [], "config": {}, "as_id": false, - "items": 52 + "items": 54 }, { "type": "object", @@ -621,7 +646,7 @@ "as_id": false, "properties": { "name": 5, - "type": 53 + "type": 55 }, "required": [] }, @@ -633,16 +658,16 @@ "config": {}, "as_id": false, "properties": { - "optional": 31, - "as_id": 31, + "optional": 32, + "as_id": 32, "title": 5, "type": 5, - "enum": 32, + "enum": 33, "runtime": 5, - "config": 35, - "default": 35, - "format": 36, - "policies": 37 + "config": 36, + "default": 36, + "format": 37, + "policies": 38 }, "required": [] } diff --git a/typegate/tests/runtimes/wasmedge/rust/Cargo.toml b/typegate/tests/runtimes/wasmedge/rust/Cargo.toml index 244c065ded..9ff46ca5d3 100644 --- a/typegate/tests/runtimes/wasmedge/rust/Cargo.toml +++ b/typegate/tests/runtimes/wasmedge/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [lib] diff --git a/typegraph/core/Cargo.toml b/typegraph/core/Cargo.toml index 8e0658f80b..957297b041 100644 --- a/typegraph/core/Cargo.toml +++ b/typegraph/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph_core" -version = "0.3.6-0" +version = "0.3.6" edition = "2021" [lib] diff --git a/typegraph/node/package.json b/typegraph/node/package.json index 06d7311b47..7b45087eb2 100644 --- a/typegraph/node/package.json +++ b/typegraph/node/package.json @@ -1,6 +1,6 @@ { "name": "metatype", - "version": "0.3.6-0", + "version": "0.3.6", "description": "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are.", "scripts": { "sdk-build": "cd sdk && pnpm run build", diff --git a/typegraph/node/sdk/package.json b/typegraph/node/sdk/package.json index ee4b3e47b7..2cf1e45d90 100644 --- a/typegraph/node/sdk/package.json +++ b/typegraph/node/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@typegraph/sdk", - "version": "0.3.6-0", + "version": "0.3.6", "description": "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are.", "type": "module", "scripts": { diff --git a/typegraph/python/pyproject.toml b/typegraph/python/pyproject.toml index 34d757557e..5f6124811b 100644 --- a/typegraph/python/pyproject.toml +++ b/typegraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "typegraph" -version = "0.3.6-0" +version = "0.3.6" description = "Declarative API development platform. Build serverless backends with zero-trust and less code, no matter where and how your (legacy) systems are." authors = ["Metatype Contributors "] license = "MPL-2.0" diff --git a/typegraph/python/typegraph/__init__.py b/typegraph/python/typegraph/__init__.py index f530d97fe2..73d37343ad 100644 --- a/typegraph/python/typegraph/__init__.py +++ b/typegraph/python/typegraph/__init__.py @@ -5,4 +5,4 @@ from typegraph.policy import Policy # noqa from typegraph import effects as fx # noqa -version = "0.3.6-0" +version = "0.3.6"