From 65a9db02b9f636cfce12d92a081229e33c33ca7f Mon Sep 17 00:00:00 2001 From: Yohe-Am <56622350+Yohe-Am@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:08:31 +0300 Subject: [PATCH] chore(release): prepare 0.4.9-rc2 (#829) - Fix the minor issues with rc1 - Bump to rc2 --- .github/workflows/release.yml | 4 ++-- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- 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 ++-- pyproject.toml | 2 +- src/meta-lsp/LICENSE.md | 2 +- src/meta-lsp/logo.png | 2 +- src/meta-lsp/package.json | 2 +- src/meta-lsp/ts-language-server/package.json | 2 +- .../vscode-metatype-support/package.json | 2 +- src/pyrt_wit_wire/pyproject.toml | 2 +- src/typegate/src/runtimes/wit_wire/mod.ts | 2 +- src/typegraph/core/Cargo.toml | 2 +- src/typegraph/core/src/global_store.rs | 2 +- src/typegraph/deno/deno.json | 2 +- src/typegraph/python/pyproject.toml | 2 +- src/typegraph/python/typegraph/__init__.py | 2 +- src/xtask/Cargo.toml | 2 +- tests/metagen/__snapshots__/metagen_test.ts.snap | 4 ++-- tests/runtimes/wasm_reflected/rust/Cargo.toml | 2 +- tools/Cross.toml | 2 +- tools/consts.ts | 2 +- 26 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af2f6674d7..97bd088c41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -208,7 +208,7 @@ jobs: - uses: svenstaro/upload-release-action@v2 with: tag: ${{ steps.latest-tag.outputs.tag }} - file: "typegraph/python/dist/*" + file: "src/typegraph/python/dist/*" file_glob: true overwrite: ${{ inputs.ovewriteArtifacts }} @@ -323,7 +323,7 @@ jobs: - uses: svenstaro/upload-release-action@v2 with: tag: ${{ steps.latest-tag.outputs.tag }} - file: "meta-lsp/*.vsix" + file: "src/meta-lsp/*.vsix" file_glob: true overwrite: ${{ inputs.ovewriteArtifacts }} diff --git a/Cargo.lock b/Cargo.lock index 34dd44b8f4..bb4c512421 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1530,7 +1530,7 @@ dependencies = [ [[package]] name = "common" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "anyhow", "async-trait", @@ -6672,7 +6672,7 @@ dependencies = [ [[package]] name = "meta-cli" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "actix", "assert_cmd", @@ -6739,7 +6739,7 @@ dependencies = [ [[package]] name = "metagen" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "color-eyre", "common", @@ -7066,7 +7066,7 @@ dependencies = [ [[package]] name = "mt_deno" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "anyhow", "deno", @@ -12454,7 +12454,7 @@ dependencies = [ [[package]] name = "typegate" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "colored", "env_logger 0.11.0", @@ -12467,7 +12467,7 @@ dependencies = [ [[package]] name = "typegate_engine" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "anyhow", "base64 0.22.1", @@ -12507,7 +12507,7 @@ dependencies = [ [[package]] name = "typegraph_core" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "anyhow", "color-eyre", @@ -14229,7 +14229,7 @@ checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" [[package]] name = "xtask" -version = "0.4.9-rc1" +version = "0.4.9-rc2" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index e60c9e9d69..813ec09861 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ exclude = [ ] [workspace.package] -version = "0.4.9-rc1" +version = "0.4.9-rc2" edition = "2021" [workspace.dependencies] diff --git a/examples/templates/deno/compose.yml b/examples/templates/deno/compose.yml index b4db28f4d4..90863d7b5a 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.9-rc1 + image: ghcr.io/metatypedev/typegate:v0.4.9-rc2 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/compose.yml b/examples/templates/node/compose.yml index b4db28f4d4..90863d7b5a 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.9-rc1 + image: ghcr.io/metatypedev/typegate:v0.4.9-rc2 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/package.json b/examples/templates/node/package.json index 390bec807e..9c6327ab33 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.9-rc1" + "@typegraph/sdk": "^0.4.9-rc2" }, "devDependencies": { "tsx": "^3.13.0", diff --git a/examples/templates/python/compose.yml b/examples/templates/python/compose.yml index b4db28f4d4..90863d7b5a 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.9-rc1 + image: ghcr.io/metatypedev/typegate:v0.4.9-rc2 restart: always ports: - "7890:7890" diff --git a/examples/templates/python/pyproject.toml b/examples/templates/python/pyproject.toml index b761d4df39..fb63ab12f5 100644 --- a/examples/templates/python/pyproject.toml +++ b/examples/templates/python/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "example" -version = "0.4.9-rc1" +version = "0.4.9-rc2" description = "" authors = [] [tool.poetry.dependencies] python = ">=3.8,<4.0" -typegraph = "0.4.9-rc1" +typegraph = "0.4.9-rc2" [build-system] requires = ["poetry-core"] diff --git a/pyproject.toml b/pyproject.toml index dd8caf00b7..965b1a2eba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ [tool.poetry] name = "metatype" -version = "0.4.9-rc1" +version = "0.4.9-rc2" description = "" authors = [] diff --git a/src/meta-lsp/LICENSE.md b/src/meta-lsp/LICENSE.md index 7eabdb1c27..f0608a63ae 120000 --- a/src/meta-lsp/LICENSE.md +++ b/src/meta-lsp/LICENSE.md @@ -1 +1 @@ -../LICENSE.md \ No newline at end of file +../../LICENSE.md \ No newline at end of file diff --git a/src/meta-lsp/logo.png b/src/meta-lsp/logo.png index 58a13548a7..5d761e3e8b 120000 --- a/src/meta-lsp/logo.png +++ b/src/meta-lsp/logo.png @@ -1 +1 @@ -../website/static/images/logo.png \ No newline at end of file +../../docs/metatype.dev/static/images/logo.png \ No newline at end of file diff --git a/src/meta-lsp/package.json b/src/meta-lsp/package.json index 22567e47fa..41329abd6c 100644 --- a/src/meta-lsp/package.json +++ b/src/meta-lsp/package.json @@ -4,7 +4,7 @@ "description": "VSCode extension for Metatype support", "icon": "logo.png", "author": "Metatype Team", - "version": "0.4.9-rc1", + "version": "0.4.9-rc2", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/meta-lsp/ts-language-server/package.json b/src/meta-lsp/ts-language-server/package.json index b7d9dfeef7..4a33da98a9 100644 --- a/src/meta-lsp/ts-language-server/package.json +++ b/src/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.9-rc1", + "version": "0.4.9-rc2", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/meta-lsp/vscode-metatype-support/package.json b/src/meta-lsp/vscode-metatype-support/package.json index 89488f5a81..2de4921803 100644 --- a/src/meta-lsp/vscode-metatype-support/package.json +++ b/src/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.9-rc1", + "version": "0.4.9-rc2", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/pyrt_wit_wire/pyproject.toml b/src/pyrt_wit_wire/pyproject.toml index 3b8d4438dc..f54f38b794 100644 --- a/src/pyrt_wit_wire/pyproject.toml +++ b/src/pyrt_wit_wire/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyrt_wit_wire" -version = "0.4.9-rc1" +version = "0.4.9-rc2" description = "Wasm component implementing the PythonRuntime host using wit_wire protocol." license = "Elastic-2.0" readme = "README.md" diff --git a/src/typegate/src/runtimes/wit_wire/mod.ts b/src/typegate/src/runtimes/wit_wire/mod.ts index 7b9c65fb6e..ea665fd1d9 100644 --- a/src/typegate/src/runtimes/wit_wire/mod.ts +++ b/src/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.9-rc1"; +const METATYPE_VERSION = "0.4.9-rc2"; export class WitWireMessenger { static async init( diff --git a/src/typegraph/core/Cargo.toml b/src/typegraph/core/Cargo.toml index c5fbb0b703..e87d66d8bb 100644 --- a/src/typegraph/core/Cargo.toml +++ b/src/typegraph/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph_core" -version = "0.4.9-rc1" +version = "0.4.9-rc2" edition = "2021" [lib] diff --git a/src/typegraph/core/src/global_store.rs b/src/typegraph/core/src/global_store.rs index 46afe457e2..f051f29ea4 100644 --- a/src/typegraph/core/src/global_store.rs +++ b/src/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.9-rc1".to_owned(); + pub static SDK_VERSION: String = "0.4.9-rc2".to_owned(); } fn with_store T>(f: F) -> T { diff --git a/src/typegraph/deno/deno.json b/src/typegraph/deno/deno.json index d8836a0ba7..3f4f2c3c43 100644 --- a/src/typegraph/deno/deno.json +++ b/src/typegraph/deno/deno.json @@ -1,6 +1,6 @@ { "name": "@typegraph/sdk", - "version": "0.4.9-rc1", + "version": "0.4.9-rc2", "publish": { "exclude": [ "!src/gen", diff --git a/src/typegraph/python/pyproject.toml b/src/typegraph/python/pyproject.toml index c1c827138c..8df42aaf96 100644 --- a/src/typegraph/python/pyproject.toml +++ b/src/typegraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "typegraph" -version = "0.4.9-rc1" +version = "0.4.9-rc2" 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/src/typegraph/python/typegraph/__init__.py b/src/typegraph/python/typegraph/__init__.py index 5de5616489..58a6fc06a9 100644 --- a/src/typegraph/python/typegraph/__init__.py +++ b/src/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.9-rc1" +version = "0.4.9-rc2" diff --git a/src/xtask/Cargo.toml b/src/xtask/Cargo.toml index 6c2c197412..678d3be2ac 100644 --- a/src/xtask/Cargo.toml +++ b/src/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.4.9-rc1" +version = "0.4.9-rc2" edition = "2021" # this allows us to exclude the rust files diff --git a/tests/metagen/__snapshots__/metagen_test.ts.snap b/tests/metagen/__snapshots__/metagen_test.ts.snap index 2dd1aa6c39..01cab546bd 100644 --- a/tests/metagen/__snapshots__/metagen_test.ts.snap +++ b/tests/metagen/__snapshots__/metagen_test.ts.snap @@ -540,7 +540,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.4.9-rc1"; + static MT_VERSION: &str = "0.4.9-rc2"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } @@ -1365,7 +1365,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.4.9-rc1"; + static MT_VERSION: &str = "0.4.9-rc2"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } diff --git a/tests/runtimes/wasm_reflected/rust/Cargo.toml b/tests/runtimes/wasm_reflected/rust/Cargo.toml index 22c2297163..d1f453f863 100644 --- a/tests/runtimes/wasm_reflected/rust/Cargo.toml +++ b/tests/runtimes/wasm_reflected/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust" -version = "0.4.9-rc1" +version = "0.4.9-rc2" edition = "2021" [lib] diff --git a/tools/Cross.toml b/tools/Cross.toml index 730a06fa78..be79a9b54a 100644 --- a/tools/Cross.toml +++ b/tools/Cross.toml @@ -1,3 +1,3 @@ [build] -dockerfile = "./dev/cross.Dockerfile" +dockerfile = "./tools/cross.Dockerfile" env.passthrough = ["DENO_SKIP_CROSS_BUILD_CHECK", "OCI", "CI"] diff --git a/tools/consts.ts b/tools/consts.ts index b17b69c4bd..b1702aebc2 100644 --- a/tools/consts.ts +++ b/tools/consts.ts @@ -1,7 +1,7 @@ // Copyright Metatype OÜ, licensed under the Elastic License 2.0. // SPDX-License-Identifier: Elastic-2.0 -export const METATYPE_VERSION = "0.4.9-rc1"; +export const METATYPE_VERSION = "0.4.9-rc2"; export const PUBLISHED_VERSION = "0.4.8"; export const GHJK_VERSION = "v0.2.1"; export const GHJK_ACTION_VERSION = "318209a9d215f70716a4ac89dbeb9653a2deb8bc";