From e4b57d39d37f26bd9fc791a5ffcefc1ef3f2e4a0 Mon Sep 17 00:00:00 2001 From: Yohe-Am <56622350+Yohe-Am@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:29:49 +0300 Subject: [PATCH] chore: bump to 0.4.7-0 (#805) - Bump version to 0.4.7-0 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- dev/consts.ts | 4 ++-- examples/templates/deno/api/example.ts | 6 +++--- examples/templates/deno/compose.yml | 2 +- examples/templates/node/compose.yml | 2 +- examples/templates/node/package.json | 2 +- examples/templates/python/compose.yml | 2 +- examples/templates/python/pyproject.toml | 4 ++-- libs/common/Cargo.toml | 2 +- libs/metagen/tests/mat_rust/Cargo.toml | 2 +- libs/pyrt_wit_wire/pyproject.toml | 2 +- libs/xtask/Cargo.toml | 2 +- meta-cli/Cargo.toml | 2 +- meta-lsp/package.json | 2 +- meta-lsp/ts-language-server/package.json | 2 +- meta-lsp/vscode-metatype-support/package.json | 2 +- pyproject.toml | 2 +- typegate/src/runtimes/wit_wire/mod.ts | 2 +- .../metagen/__snapshots__/metagen_test.ts.snap | 4 ++-- .../runtimes/wasm_reflected/rust/Cargo.toml | 2 +- typegraph/core/Cargo.toml | 2 +- typegraph/core/src/global_store.rs | 2 +- typegraph/deno/sdk/jsr.json | 2 +- typegraph/python/pyproject.toml | 2 +- typegraph/python/typegraph/__init__.py | 2 +- 26 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60cc799f54..461d6f495f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1713,7 +1713,7 @@ dependencies = [ [[package]] name = "common" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "anyhow", "async-trait", @@ -6725,7 +6725,7 @@ dependencies = [ [[package]] name = "meta-cli" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "actix", "actix-web", @@ -6792,7 +6792,7 @@ dependencies = [ [[package]] name = "metagen" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "color-eyre", "common", @@ -7119,7 +7119,7 @@ dependencies = [ [[package]] name = "mt_deno" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "anyhow", "deno", @@ -12416,7 +12416,7 @@ dependencies = [ [[package]] name = "typegate" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "colored", "env_logger 0.11.0", @@ -12429,7 +12429,7 @@ dependencies = [ [[package]] name = "typegate_engine" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "anyhow", "base64 0.22.1", @@ -12469,7 +12469,7 @@ dependencies = [ [[package]] name = "typegraph_core" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "anyhow", "color-eyre", @@ -14204,7 +14204,7 @@ checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" [[package]] name = "xtask" -version = "0.4.6" +version = "0.4.7-0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 428819814e..5881a0765f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ exclude = [ "libs/pyrt_wit_wire", ] [workspace.package] -version = "0.4.6" +version = "0.4.7-0" edition = "2021" [workspace.dependencies] diff --git a/dev/consts.ts b/dev/consts.ts index 0db35a9a65..79509c5f81 100644 --- a/dev/consts.ts +++ b/dev/consts.ts @@ -1,8 +1,8 @@ // Copyright Metatype OÜ, licensed under the Elastic License 2.0. // SPDX-License-Identifier: Elastic-2.0 -export const METATYPE_VERSION = "0.4.6"; -export const PUBLISHED_VERSION = "0.4.5"; +export const METATYPE_VERSION = "0.4.7-0"; +export const PUBLISHED_VERSION = "0.4.6"; export const GHJK_VERSION = "b702292"; export const GHJK_ACTION_VERSION = "318209a9d215f70716a4ac89dbeb9653a2deb8bc"; export const RUST_VERSION = "1.79.0"; diff --git a/examples/templates/deno/api/example.ts b/examples/templates/deno/api/example.ts index 8095b13988..505212df22 100644 --- a/examples/templates/deno/api/example.ts +++ b/examples/templates/deno/api/example.ts @@ -1,6 +1,6 @@ -import { Policy, t, typegraph } from "npm:@typegraph/sdk@0.4.5/index"; -import { PythonRuntime } from "npm:@typegraph/sdk@0.4.5/runtimes/python"; -import { DenoRuntime } from "npm:@typegraph/sdk@0.4.5/runtimes/deno"; +import { Policy, t, typegraph } from "npm:@typegraph/sdk@0.4.6/index"; +import { PythonRuntime } from "npm:@typegraph/sdk@0.4.6/runtimes/python"; +import { DenoRuntime } from "npm:@typegraph/sdk@0.4.6/runtimes/deno"; await typegraph("example", (g) => { const pub = Policy.public(); diff --git a/examples/templates/deno/compose.yml b/examples/templates/deno/compose.yml index f63e3bbdc0..448a6af683 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.4.6 + image: ghcr.io/metatypedev/typegate:v0.4.7-0 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/compose.yml b/examples/templates/node/compose.yml index f63e3bbdc0..448a6af683 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.4.6 + image: ghcr.io/metatypedev/typegate:v0.4.7-0 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/package.json b/examples/templates/node/package.json index 9035718de4..190744805d 100644 --- a/examples/templates/node/package.json +++ b/examples/templates/node/package.json @@ -6,7 +6,7 @@ "dev": "MCLI_LOADER_CMD='npm x tsx' meta dev" }, "dependencies": { - "@typegraph/sdk": "^0.4.6" + "@typegraph/sdk": "^0.4.7-0" }, "devDependencies": { "tsx": "^3.13.0", diff --git a/examples/templates/python/compose.yml b/examples/templates/python/compose.yml index f63e3bbdc0..448a6af683 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.4.6 + image: ghcr.io/metatypedev/typegate:v0.4.7-0 restart: always ports: - "7890:7890" diff --git a/examples/templates/python/pyproject.toml b/examples/templates/python/pyproject.toml index 2005eb0f77..1c6d42e23a 100644 --- a/examples/templates/python/pyproject.toml +++ b/examples/templates/python/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "example" -version = "0.4.6" +version = "0.4.7-0" description = "" authors = [] [tool.poetry.dependencies] python = ">=3.8,<4.0" -typegraph = "0.4.6" +typegraph = "0.4.7-0" [build-system] requires = ["poetry-core"] diff --git a/libs/common/Cargo.toml b/libs/common/Cargo.toml index 161b6a07ef..3fd8cfc30e 100644 --- a/libs/common/Cargo.toml +++ b/libs/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "common" -version = "0.4.6" +version = "0.4.7-0" edition = "2021" [dependencies] diff --git a/libs/metagen/tests/mat_rust/Cargo.toml b/libs/metagen/tests/mat_rust/Cargo.toml index 1bf34c376b..7db18a1fc6 100644 --- a/libs/metagen/tests/mat_rust/Cargo.toml +++ b/libs/metagen/tests/mat_rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mat_rust" edition = "2021" -version = "0.4.6" +version = "0.4.7-0" [workspace] members = ["gen"] diff --git a/libs/pyrt_wit_wire/pyproject.toml b/libs/pyrt_wit_wire/pyproject.toml index 0435584e4f..55c7e587e2 100644 --- a/libs/pyrt_wit_wire/pyproject.toml +++ b/libs/pyrt_wit_wire/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyrt_wit_wire" -version = "0.4.6" +version = "0.4.7-0" description = "Wasm component implementing the PythonRuntime host using wit_wire protocol." license = "Elastic-2.0" readme = "README.md" diff --git a/libs/xtask/Cargo.toml b/libs/xtask/Cargo.toml index 67e609185d..7cde4799d5 100644 --- a/libs/xtask/Cargo.toml +++ b/libs/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.4.6" +version = "0.4.7-0" edition = "2021" [dependencies] diff --git a/meta-cli/Cargo.toml b/meta-cli/Cargo.toml index 49116e2d37..ef8b91a822 100644 --- a/meta-cli/Cargo.toml +++ b/meta-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "meta-cli" -version = "0.4.6" +version = "0.4.7-0" edition = "2021" description = "Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are." diff --git a/meta-lsp/package.json b/meta-lsp/package.json index 29bc099eba..6fb3c973ea 100644 --- a/meta-lsp/package.json +++ b/meta-lsp/package.json @@ -4,7 +4,7 @@ "description": "VSCode extension for Metatype support", "icon": "logo.png", "author": "Metatype Team", - "version": "0.4.6", + "version": "0.4.7-0", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/meta-lsp/ts-language-server/package.json b/meta-lsp/ts-language-server/package.json index e7e1d941f4..c71544bd36 100644 --- a/meta-lsp/ts-language-server/package.json +++ b/meta-lsp/ts-language-server/package.json @@ -2,7 +2,7 @@ "name": "typegraph-ts-server", "description": "TypeScript language server for TypeGraph", "author": "Metatype Team", - "version": "0.4.6", + "version": "0.4.7-0", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/meta-lsp/vscode-metatype-support/package.json b/meta-lsp/vscode-metatype-support/package.json index 88095b07b9..7d33ce9a4b 100644 --- a/meta-lsp/vscode-metatype-support/package.json +++ b/meta-lsp/vscode-metatype-support/package.json @@ -2,7 +2,7 @@ "name": "vscode-metatype-support", "description": "VSCode extension for Metatype support", "author": "Metatype Team", - "version": "0.4.6", + "version": "0.4.7-0", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/pyproject.toml b/pyproject.toml index 8d84907735..8e7eca8320 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "metatype" -version = "0.4.6" +version = "0.4.7-0" description = "" authors = [] diff --git a/typegate/src/runtimes/wit_wire/mod.ts b/typegate/src/runtimes/wit_wire/mod.ts index 2253810f66..88dd94307a 100644 --- a/typegate/src/runtimes/wit_wire/mod.ts +++ b/typegate/src/runtimes/wit_wire/mod.ts @@ -9,7 +9,7 @@ import { getLogger } from "../../log.ts"; const logger = getLogger(import.meta); -const METATYPE_VERSION = "0.4.6"; +const METATYPE_VERSION = "0.4.7-0"; export class WitWireMessenger { static async init( diff --git a/typegate/tests/metagen/__snapshots__/metagen_test.ts.snap b/typegate/tests/metagen/__snapshots__/metagen_test.ts.snap index aaf795b28e..9dac552764 100644 --- a/typegate/tests/metagen/__snapshots__/metagen_test.ts.snap +++ b/typegate/tests/metagen/__snapshots__/metagen_test.ts.snap @@ -362,7 +362,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.4.6"; + static MT_VERSION: &str = "0.4.7-0"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } @@ -1106,7 +1106,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.4.6"; + static MT_VERSION: &str = "0.4.7-0"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } diff --git a/typegate/tests/runtimes/wasm_reflected/rust/Cargo.toml b/typegate/tests/runtimes/wasm_reflected/rust/Cargo.toml index e7842fe3ef..11f7ebbd17 100644 --- a/typegate/tests/runtimes/wasm_reflected/rust/Cargo.toml +++ b/typegate/tests/runtimes/wasm_reflected/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust" -version = "0.4.6" +version = "0.4.7-0" edition = "2021" [lib] diff --git a/typegraph/core/Cargo.toml b/typegraph/core/Cargo.toml index 513869af1d..5a7a506b31 100644 --- a/typegraph/core/Cargo.toml +++ b/typegraph/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph_core" -version = "0.4.6" +version = "0.4.7-0" edition = "2021" [lib] diff --git a/typegraph/core/src/global_store.rs b/typegraph/core/src/global_store.rs index a44b5ba081..0049d8fe4a 100644 --- a/typegraph/core/src/global_store.rs +++ b/typegraph/core/src/global_store.rs @@ -102,7 +102,7 @@ const PREDEFINED_DENO_FUNCTIONS: &[&str] = &["identity", "true"]; thread_local! { pub static STORE: RefCell = RefCell::new(Store::new()); - pub static SDK_VERSION: String = "0.4.6".to_owned(); + pub static SDK_VERSION: String = "0.4.7-0".to_owned(); } fn with_store T>(f: F) -> T { diff --git a/typegraph/deno/sdk/jsr.json b/typegraph/deno/sdk/jsr.json index 86c33cd151..8a58d0f80d 100644 --- a/typegraph/deno/sdk/jsr.json +++ b/typegraph/deno/sdk/jsr.json @@ -1,6 +1,6 @@ { "name": "@typegraph/sdk", - "version": "0.4.6", + "version": "0.4.7-0", "publish": { "exclude": [ "!src/gen", diff --git a/typegraph/python/pyproject.toml b/typegraph/python/pyproject.toml index 8331c710af..1dbed7fe9c 100644 --- a/typegraph/python/pyproject.toml +++ b/typegraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "typegraph" -version = "0.4.6" +version = "0.4.7-0" description = "Declarative API development platform. Build backend components with WASM, Typescript and Python, 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 5e7b022166..9d9abfb606 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.4.6" +version = "0.4.7-0"