Skip to content

Commit

Permalink
chore: bump to v0.4.9 (#831)
Browse files Browse the repository at this point in the history
- Bump version to v0.4.9
- Fix issue with cross config context
  • Loading branch information
Yohe-Am authored Sep 2, 2024
1 parent 65a9db0 commit 7a221f6
Show file tree
Hide file tree
Showing 24 changed files with 34 additions and 33 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = [
]

[workspace.package]
version = "0.4.9-rc2"
version = "0.4.9"
edition = "2021"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/deno/compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
typegate:
image: ghcr.io/metatypedev/typegate:v0.4.9-rc2
image: ghcr.io/metatypedev/typegate:v0.4.9
restart: always
ports:
- "7890:7890"
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/node/compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
typegate:
image: ghcr.io/metatypedev/typegate:v0.4.9-rc2
image: ghcr.io/metatypedev/typegate:v0.4.9
restart: always
ports:
- "7890:7890"
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "MCLI_LOADER_CMD='npm x tsx' meta dev"
},
"dependencies": {
"@typegraph/sdk": "^0.4.9-rc2"
"@typegraph/sdk": "^0.4.9"
},
"devDependencies": {
"tsx": "^3.13.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/python/compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
typegate:
image: ghcr.io/metatypedev/typegate:v0.4.9-rc2
image: ghcr.io/metatypedev/typegate:v0.4.9
restart: always
ports:
- "7890:7890"
Expand Down
4 changes: 2 additions & 2 deletions examples/templates/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "example"
version = "0.4.9-rc2"
version = "0.4.9"
description = ""
authors = []

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
typegraph = "0.4.9-rc2"
typegraph = "0.4.9"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[tool.poetry]
name = "metatype"
version = "0.4.9-rc2"
version = "0.4.9"
description = ""
authors = []

Expand Down
2 changes: 1 addition & 1 deletion src/meta-lsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "VSCode extension for Metatype support",
"icon": "logo.png",
"author": "Metatype Team",
"version": "0.4.9-rc2",
"version": "0.4.9",
"repository": {
"type": "git",
"url": "https://github.com/metatypedev/metatype"
Expand Down
2 changes: 1 addition & 1 deletion src/meta-lsp/ts-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "typegraph-ts-server",
"description": "TypeScript language server for TypeGraph",
"author": "Metatype Team",
"version": "0.4.9-rc2",
"version": "0.4.9",
"repository": {
"type": "git",
"url": "https://github.com/metatypedev/metatype"
Expand Down
2 changes: 1 addition & 1 deletion src/meta-lsp/vscode-metatype-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-metatype-support",
"description": "VSCode extension for Metatype support",
"author": "Metatype Team",
"version": "0.4.9-rc2",
"version": "0.4.9",
"repository": {
"type": "git",
"url": "https://github.com/metatypedev/metatype"
Expand Down
2 changes: 1 addition & 1 deletion src/pyrt_wit_wire/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyrt_wit_wire"
version = "0.4.9-rc2"
version = "0.4.9"
description = "Wasm component implementing the PythonRuntime host using wit_wire protocol."
license = "Elastic-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/typegate/src/runtimes/wit_wire/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getLogger } from "../../log.ts";

const logger = getLogger(import.meta);

const METATYPE_VERSION = "0.4.9-rc2";
const METATYPE_VERSION = "0.4.9";

export class WitWireMessenger {
static async init(
Expand Down
2 changes: 1 addition & 1 deletion src/typegraph/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typegraph_core"
version = "0.4.9-rc2"
version = "0.4.9"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion src/typegraph/core/src/global_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const PREDEFINED_DENO_FUNCTIONS: &[&str] = &["identity", "true"];

thread_local! {
pub static STORE: RefCell<Store> = RefCell::new(Store::new());
pub static SDK_VERSION: String = "0.4.9-rc2".to_owned();
pub static SDK_VERSION: String = "0.4.9".to_owned();
}

fn with_store<T, F: FnOnce(&Store) -> T>(f: F) -> T {
Expand Down
2 changes: 1 addition & 1 deletion src/typegraph/deno/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typegraph/sdk",
"version": "0.4.9-rc2",
"version": "0.4.9",
"publish": {
"exclude": [
"!src/gen",
Expand Down
2 changes: 1 addition & 1 deletion src/typegraph/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "typegraph"
version = "0.4.9-rc2"
version = "0.4.9"
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 <[email protected]>"]
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/typegraph/python/typegraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from typegraph.policy import Policy # noqa
from typegraph import effects as fx # noqa

version = "0.4.9-rc2"
version = "0.4.9"
2 changes: 1 addition & 1 deletion src/xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xtask"
version = "0.4.9-rc2"
version = "0.4.9"
edition = "2021"

# this allows us to exclude the rust files
Expand Down
4 changes: 2 additions & 2 deletions tests/metagen/__snapshots__/metagen_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.4.9-rc2";
static MT_VERSION: &str = "0.4.9";
if args.metatype_version != MT_VERSION {
return Err(InitError::VersionMismatch(MT_VERSION.into()));
}
Expand Down Expand Up @@ -1365,7 +1365,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.4.9-rc2";
static MT_VERSION: &str = "0.4.9";
if args.metatype_version != MT_VERSION {
return Err(InitError::VersionMismatch(MT_VERSION.into()));
}
Expand Down
2 changes: 1 addition & 1 deletion tests/runtimes/wasm_reflected/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust"
version = "0.4.9-rc2"
version = "0.4.9"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions tools/Cross.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[build]
dockerfile = "./tools/cross.Dockerfile"
context = ".."
env.passthrough = ["DENO_SKIP_CROSS_BUILD_CHECK", "OCI", "CI"]
2 changes: 1 addition & 1 deletion tools/consts.ts
Original file line number Diff line number Diff line change
@@ -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-rc2";
export const METATYPE_VERSION = "0.4.9";
export const PUBLISHED_VERSION = "0.4.8";
export const GHJK_VERSION = "v0.2.1";
export const GHJK_ACTION_VERSION = "318209a9d215f70716a4ac89dbeb9653a2deb8bc";
Expand Down
4 changes: 2 additions & 2 deletions tools/cross.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ RUN curl -fsSL https://raw.github.com/metatypedev/ghjk/$GHJK_VERSION/install.sh

WORKDIR /app

COPY tools/*.ts tools/
COPY tools/ tools/
COPY ghjk.ts .
# mold breaks builds for aarch64 linux
# we don't use the oci env since mold breaks builds for aarch64 linux
ENV GHJK_ENV=_rust
RUN ghjk envs cook
ENV BASH_ENV=$GHJK_SHARE_DIR/env.sh
Expand Down

0 comments on commit 7a221f6

Please sign in to comment.