From 7d58d0ed0871e1d5225c2f4a29db2290dcf92903 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:35:47 -0500 Subject: [PATCH] Publish Trustfall 0.8.0 in Rust and 0.2.0 in Python. (#700) Includes: - Fix for incorrect type coercion / filtering inside `@optional` that didn't exist. - Breaking changes to the representation of exposed Rust error types. - Lots of small improvements to the quality of diagnostic messages for various kinds of incorrect queries. - Maintenance release of trustfall_stubgen, to update to the new major Trustfall library dependency version. --- Cargo.lock | 8 ++++---- pytrustfall/Cargo.toml | 2 +- trustfall/Cargo.toml | 4 ++-- trustfall_core/Cargo.toml | 2 +- trustfall_stubgen/Cargo.toml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d3abcd3b..34623be1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2002,7 +2002,7 @@ dependencies = [ [[package]] name = "pytrustfall" -version = "0.1.7" +version = "0.2.0" dependencies = [ "async-graphql-parser", "async-graphql-value", @@ -3442,7 +3442,7 @@ dependencies = [ [[package]] name = "trustfall" -version = "0.7.1" +version = "0.8.0" dependencies = [ "anyhow", "csv", @@ -3461,7 +3461,7 @@ dependencies = [ [[package]] name = "trustfall_core" -version = "0.7.1" +version = "0.8.0" dependencies = [ "async-graphql-parser", "async-graphql-value", @@ -3503,7 +3503,7 @@ dependencies = [ [[package]] name = "trustfall_stubgen" -version = "0.4.1" +version = "0.5.0" dependencies = [ "anyhow", "async-graphql-parser", diff --git a/pytrustfall/Cargo.toml b/pytrustfall/Cargo.toml index 54506e16..bf41bd5b 100644 --- a/pytrustfall/Cargo.toml +++ b/pytrustfall/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pytrustfall" -version = "0.1.7" +version = "0.2.0" rust-version.workspace = true edition.workspace = true authors.workspace = true diff --git a/trustfall/Cargo.toml b/trustfall/Cargo.toml index abf732c0..55754350 100644 --- a/trustfall/Cargo.toml +++ b/trustfall/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trustfall" -version = "0.7.1" +version = "0.8.0" license = "Apache-2.0" description = "The trustfall query engine, empowering you to query everything." repository = "https://github.com/obi1kenobi/trustfall" @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] anyhow = { workspace = true } -trustfall_core = { version = "=0.7.1", path = "../trustfall_core" } +trustfall_core = { version = "=0.8.0", path = "../trustfall_core" } trustfall_derive = { version = "=0.3.1", path = "../trustfall_derive" } [dev-dependencies] # including examples dependencies diff --git a/trustfall_core/Cargo.toml b/trustfall_core/Cargo.toml index e3cda9fa..99283769 100644 --- a/trustfall_core/Cargo.toml +++ b/trustfall_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trustfall_core" -version = "0.7.1" +version = "0.8.0" license = "Apache-2.0" description = "The trustfall query engine, empowering you to query everything." repository = "https://github.com/obi1kenobi/trustfall" diff --git a/trustfall_stubgen/Cargo.toml b/trustfall_stubgen/Cargo.toml index 514b027d..88f42cad 100644 --- a/trustfall_stubgen/Cargo.toml +++ b/trustfall_stubgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trustfall_stubgen" -version = "0.4.1" +version = "0.5.0" license = "Apache-2.0" description = "Generate a Trustfall adapter stub for a given schema." repository = "https://github.com/obi1kenobi/trustfall" @@ -23,7 +23,7 @@ cli = ["dep:clap"] quote = { workspace = true } syn = { workspace = true } proc-macro2 = { workspace = true } -trustfall = { path = "../trustfall", version = "0.7.0" } +trustfall = { path = "../trustfall", version = "0.8.0" } maplit = { workspace = true } async-graphql-parser = { workspace = true } async-graphql-value = { workspace = true }