Skip to content

Commit

Permalink
prepare for version 0.5.0-rc.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Nov 26, 2024
1 parent 2ebce45 commit ba81db2
Show file tree
Hide file tree
Showing 22 changed files with 100 additions and 36 deletions.
18 changes: 9 additions & 9 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 @@ -22,7 +22,7 @@ exclude = [
]

[workspace.package]
version = "0.5.0-rc.6"
version = "0.5.0-rc.7"
edition = "2021"

[workspace.dependencies]
Expand Down
64 changes: 64 additions & 0 deletions deno.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/templates/deno/api/example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Policy, t, typegraph } from "jsr:@typegraph/[email protected].6/index.ts";
import { PythonRuntime } from "jsr:@typegraph/[email protected].6/runtimes/python.ts";
import { DenoRuntime } from "jsr:@typegraph/[email protected].6/runtimes/deno.ts";
import { Policy, t, typegraph } from "jsr:@typegraph/[email protected].7/index.ts";
import { PythonRuntime } from "jsr:@typegraph/[email protected].7/runtimes/python.ts";
import { DenoRuntime } from "jsr:@typegraph/[email protected].7/runtimes/deno.ts";

await typegraph("example", (g) => {
const pub = Policy.public();
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.5.0-rc.6
image: ghcr.io/metatypedev/typegate:v0.5.0-rc.7
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.5.0-rc.6
image: ghcr.io/metatypedev/typegate:v0.5.0-rc.7
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.5.0-rc.6"
"@typegraph/sdk": "^0.5.0-rc.7"
},
"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.5.0-rc.6
image: ghcr.io/metatypedev/typegate:v0.5.0-rc.7
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.5.0-rc.6"
version = "0.5.0-rc.7"
description = ""
authors = []

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
typegraph = "0.5.0-rc.6"
typegraph = "0.5.0-rc.7"

[build-system]
requires = ["poetry-core"]
Expand Down
6 changes: 3 additions & 3 deletions import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@std/path": "jsr:@std/path@^1.0.2",
"@std/path/": "jsr:/@std/path@^1.0.2/",
"@std/uuid": "jsr:@std/uuid@^1.0.1",
"aws-sdk/client-s3": "https://esm.sh/@aws-sdk/client-s3@3.626.0?pin=v135",
"aws-sdk/lib-storage": "https://esm.sh/@aws-sdk/lib-storage@3.626.0?pin=v135",
"aws-sdk/s3-request-presigner": "https://esm.sh/@aws-sdk/s3-request-presigner@3.645.0?pin=v135",
"aws-sdk/client-s3": "https://esm.sh/@aws-sdk/client-s3@3.700.0?pin=v135",
"aws-sdk/lib-storage": "https://esm.sh/@aws-sdk/lib-storage@3.700.0?pin=v135",
"aws-sdk/s3-request-presigner": "https://esm.sh/@aws-sdk/s3-request-presigner@3.700.0?pin=v135",
"dispose": "https://deno.land/x/[email protected]/mod.ts",
"graphql": "npm:[email protected]",
"jwt": "https://deno.land/x/[email protected]/mod.ts",
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.5.0-rc.6"
version = "0.5.0-rc.7"
description = ""
authors = []

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.5.0-rc.6"
version = "0.5.0-rc.7"
description = "Wasm component implementing the PythonRuntime host using wit_wire protocol."
license = "MPL-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.5.0-rc.6";
const METATYPE_VERSION = "0.5.0-rc.7";

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.5.0-rc.6"
version = "0.5.0-rc.7"
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 @@ -107,7 +107,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.5.0-rc.6".to_owned();
pub static SDK_VERSION: String = "0.5.0-rc.7".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.5.0-rc.6",
"version": "0.5.0-rc.7",
"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.5.0-rc.6"
version = "0.5.0-rc.7"
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.5.0-rc.6"
version = "0.5.0-rc.7"
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.5.0-rc.6"
version = "0.5.0-rc.7"
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 @@ -454,7 +454,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.5.0-rc.6";
static MT_VERSION: &str = "0.5.0-rc.7";
if args.metatype_version != MT_VERSION {
return Err(InitError::VersionMismatch(MT_VERSION.into()));
}
Expand Down Expand Up @@ -1257,7 +1257,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.5.0-rc.6";
static MT_VERSION: &str = "0.5.0-rc.7";
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.5.0-rc.6"
version = "0.5.0-rc.7"
edition = "2021"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions tools/consts.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright Metatype OÜ, licensed under the Mozilla Public License Version 2.0.
// SPDX-License-Identifier: MPL-2.0

export const METATYPE_VERSION = "0.5.0-rc.6";
export const PUBLISHED_VERSION = "0.5.0-rc.5";
export const METATYPE_VERSION = "0.5.0-rc.7";
export const PUBLISHED_VERSION = "0.5.0-rc.6";
export const GHJK_VERSION = "v0.2.1";
export const GHJK_ACTION_VERSION = "318209a9d215f70716a4ac89dbeb9653a2deb8bc";
export const RUST_VERSION = "1.80.1";
Expand Down

0 comments on commit ba81db2

Please sign in to comment.