Skip to content

Commit 6752ba2

Browse files
committed
chore(release): prepare 0.4.0
1 parent 50b064b commit 6752ba2

File tree

28 files changed

+321
-319
lines changed

28 files changed

+321
-319
lines changed

Cargo.lock

Lines changed: 288 additions & 289 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = [
1515
"libs/pyrt_wit_wire",
1616
]
1717
[workspace.package]
18-
version = "0.3.7-0"
18+
version = "0.4.0"
1919
edition = "2021"
2020

2121
[workspace.dependencies]

dev/lock.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ dev:
5757
(ARG DENO_VERSION=).*(): DENO_VERSION
5858
(ARG RUST_VERSION=).*(): RUST_VERSION
5959
(ARG GHJK_VERSION=).*(): GHJK_VERSION
60+
typegate/src/runtimes/wit_wire/mod.ts:
61+
(const METATYPE_VERSION = ").*(";): METATYPE_VERSION
6062
typegate/src/typegraph/versions.ts:
6163
(const typegraphVersion = ").*(";): TYPEGRAPH_VERSION
6264
typegraph/core/src/typegraph.rs:
@@ -96,7 +98,7 @@ dev:
9698
WASMTIME_VERSION: 20.0.0
9799
TYPEGRAPH_VERSION: 0.0.3
98100
PRISMA_VERSION: 5.5.2
99-
METATYPE_VERSION: 0.3.7-0
101+
METATYPE_VERSION: 0.4.0
100102
PUBLISHED_VERSION: 0.3.6
101103
WASM_OPT_VERSION: 0.116.0
102104
MOLD_VERSION: v2.4.0

examples/templates/deno/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
typegate:
3-
image: ghcr.io/metatypedev/typegate:v0.3.7-0
3+
image: ghcr.io/metatypedev/typegate:v0.4.0
44
restart: always
55
ports:
66
- "7890:7890"

examples/templates/node/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
typegate:
3-
image: ghcr.io/metatypedev/typegate:v0.3.7-0
3+
image: ghcr.io/metatypedev/typegate:v0.4.0
44
restart: always
55
ports:
66
- "7890:7890"

examples/templates/python/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
typegate:
3-
image: ghcr.io/metatypedev/typegate:v0.3.7-0
3+
image: ghcr.io/metatypedev/typegate:v0.4.0
44
restart: always
55
ports:
66
- "7890:7890"

examples/templates/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tool.poetry]
22
name = "example"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
description = ""
55
authors = []
66

77
[tool.poetry.dependencies]
88
python = ">=3.8,<4.0"
9-
typegraph = "0.3.7-0"
9+
typegraph = "0.4.0"
1010

1111
[build-system]
1212
requires = ["poetry-core"]

ghjk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const CMAKE_VERSION = "3.28.0-rc6";
1717
const CARGO_INSTA_VERSION = "1.33.0";
1818
const NODE_VERSION = "20.8.0";
1919
const TEMPORAL_VERSION = "0.10.7";
20-
const METATYPE_VERSION = "0.3.7-0";
20+
const METATYPE_VERSION = "0.4.0";
2121

2222
const installs = {
2323
python: ports.cpy_bs({ version: PYTHON_VERSION, releaseTag: "20240224" }),

libs/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "common"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
[dependencies]

libs/metagen/src/mdk_rust/static/mdk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Router {
5858
}
5959

6060
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
61-
static MT_VERSION: &str = "0.3.7-0";
61+
static MT_VERSION: &str = "__METATYPE_VERSION__";
6262
if args.metatype_version != MT_VERSION {
6363
return Err(InitError::VersionMismatch(MT_VERSION.into()));
6464
}

libs/metagen/tests/mat_rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "mat_rust"
33
edition = "2021"
4-
version = "0.3.7-0"
4+
version = "0.4.0"
55

66
[workspace]
77
members = ["gen"]

libs/pyrt_wit_wire/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyrt_wit_wire"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
description = "Wasm component implementing the PythonRuntime host using wit_wire protocol."
55
license = "Elastic-2.0"
66
readme = "README.md"

libs/typescript/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "typescript"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
[dependencies]

libs/xtask/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xtask"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
[dependencies]

meta-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "meta-cli"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
description = "Declarative API development platform. Build backend components with WASM/Typescript/Python, no matter where and how your (legacy) systems are."

meta-lsp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "VSCode extension for Metatype support",
55
"icon": "logo.png",
66
"author": "Metatype Team",
7-
"version": "0.3.7-0",
7+
"version": "0.4.0",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/metatypedev/metatype"

meta-lsp/ts-language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typegraph-ts-server",
33
"description": "TypeScript language server for TypeGraph",
44
"author": "Metatype Team",
5-
"version": "0.3.7-0",
5+
"version": "0.4.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/metatypedev/metatype"

meta-lsp/vscode-metatype-support/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-metatype-support",
33
"description": "VSCode extension for Metatype support",
44
"author": "Metatype Team",
5-
"version": "0.3.7-0",
5+
"version": "0.4.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/metatypedev/metatype"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "metatype"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
description = ""
55
authors = []
66

typegate/import_map.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"outdent": "https://deno.land/x/[email protected]/mod.ts",
2424
"json-schema-faker": "npm:[email protected]",
2525
"ajv": "https://esm.sh/[email protected]?pin=v131",
26-
"@typegraph/sdk": "npm:@typegraph/sdk@0.3.7-0",
27-
"@typegraph/sdk/": "npm:/@typegraph/sdk@0.3.7-0/",
26+
"@typegraph/sdk": "npm:@typegraph/sdk@0.4.0",
27+
"@typegraph/sdk/": "npm:/@typegraph/sdk@0.4.0/",
2828
"@typegate/": "./src/",
2929
"test-utils/": "./tests/utils/",
3030
"dax": "https://deno.land/x/[email protected]/mod.ts",

typegate/src/runtimes/wit_wire/mod.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import type { WitWireMatInfo } from "../../../engine/runtime.js";
55
import { ResolverArgs } from "../../types.ts";
66

7+
const METATYPE_VERSION = "0.4.0";
8+
79
export class WitWireMessenger {
810
static async init(
911
componentPath: string,
@@ -13,8 +15,7 @@ export class WitWireMessenger {
1315
try {
1416
const _res = await Meta.wit_wire.init(componentPath, instanceId, {
1517
expected_ops: ops,
16-
// FIXME: source actual version
17-
metatype_version: "0.3.7-0",
18+
metatype_version: METATYPE_VERSION,
1819
});
1920
return new WitWireMessenger(instanceId, componentPath, ops);
2021
} catch (err) {

typegate/tests/runtimes/wasm_reflected/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
[lib]

typegraph/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "typegraph_core"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
edition = "2021"
55

66
[lib]

typegraph/core/src/global_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const PREDEFINED_DENO_FUNCTIONS: &[&str] = &["identity", "true"];
106106

107107
thread_local! {
108108
pub static STORE: RefCell<Store> = RefCell::new(Store::new());
109-
pub static SDK_VERSION: String = "0.3.7-0".to_owned();
109+
pub static SDK_VERSION: String = "0.4.0".to_owned();
110110
}
111111

112112
fn with_store<T, F: FnOnce(&Store) -> T>(f: F) -> T {

typegraph/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metatype",
3-
"version": "0.3.7-0",
3+
"version": "0.4.0",
44
"description": "Declarative API development platform. Build backend components with WASM/Typescript/Python, no matter where and how your (legacy) systems are.",
55
"scripts": {
66
"sdk-build": "cd sdk && pnpm run build",

typegraph/node/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typegraph/sdk",
3-
"version": "0.3.7-0",
3+
"version": "0.4.0",
44
"description": "Declarative API development platform. Build backend components with WASM/Typescript/Python, no matter where and how your (legacy) systems are.",
55
"type": "module",
66
"main": "index.js",

typegraph/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "typegraph"
3-
version = "0.3.7-0"
3+
version = "0.4.0"
44
description = "Declarative API development platform. Build backend components with WASM/Typescript/Python, no matter where and how your (legacy) systems are."
55
authors = ["Metatype Contributors <[email protected]>"]
66
license = "MPL-2.0"

typegraph/python/typegraph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from typegraph.policy import Policy # noqa
66
from typegraph import effects as fx # noqa
77

8-
version = "0.3.7-0"
8+
version = "0.4.0"

0 commit comments

Comments
 (0)