From 5a38dca6eb37f9919b31f372d2bd4db042b4cdaf Mon Sep 17 00:00:00 2001 From: "cynic-releaser[bot]" <166170668+cynic-releaser[bot]@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:12:43 +0000 Subject: [PATCH] chore: release --- CHANGELOG.md | 12 ++++++++++++ Cargo.lock | 18 +++++++++--------- Cargo.toml | 6 +++--- cynic-cli/Cargo.toml | 6 +++--- cynic-introspection/Cargo.toml | 6 +++--- cynic-parser-deser-macros/Cargo.toml | 2 +- cynic-parser-deser/Cargo.toml | 2 +- cynic-parser/CHANGELOG.md | 14 ++++++++++++++ cynic-parser/Cargo.toml | 2 +- cynic-proc-macros/Cargo.toml | 2 +- cynic/Cargo.toml | 2 +- schemas/github/Cargo.toml | 2 +- 12 files changed, 50 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0a4a612..89be825a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,18 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html ## Unreleased - xxxx-xx-xx +## v4.0.0 - 2025-01-16 + +### New Features + +- directive support ([#900](https://github.com/obmarg/cynic/pull/900)) + +### Changes + +- parse schema with cynic_parser in querygen ([#1124](https://github.com/obmarg/cynic/pull/1124)) +- update Cargo.lock dependencies +- remove reliance on hosted swapi ([#1119](https://github.com/obmarg/cynic/pull/1119)) + ### Changes - Bumped the MSRV to 1.80 diff --git a/Cargo.lock b/Cargo.lock index 293afe6b..40b12c2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1197,7 +1197,7 @@ dependencies = [ [[package]] name = "cynic" -version = "3.9.1" +version = "4.0.0" dependencies = [ "assert_matches", "chrono", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "cynic-cli" -version = "3.9.1" +version = "4.0.0" dependencies = [ "clap", "colored", @@ -1234,7 +1234,7 @@ dependencies = [ [[package]] name = "cynic-codegen" -version = "3.9.1" +version = "4.0.0" dependencies = [ "assert_matches", "cynic-parser", @@ -1271,7 +1271,7 @@ dependencies = [ [[package]] name = "cynic-introspection" -version = "3.9.1" +version = "4.0.0" dependencies = [ "assert_matches", "cynic", @@ -1288,7 +1288,7 @@ dependencies = [ [[package]] name = "cynic-parser" -version = "0.8.7" +version = "0.9.0" dependencies = [ "apollo-parser", "ariadne", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "cynic-parser-deser" -version = "0.8.7" +version = "0.9.0" dependencies = [ "cynic-parser", "cynic-parser-deser-macros", @@ -1314,7 +1314,7 @@ dependencies = [ [[package]] name = "cynic-parser-deser-macros" -version = "0.8.7" +version = "0.9.0" dependencies = [ "proc-macro2", "quote", @@ -1323,7 +1323,7 @@ dependencies = [ [[package]] name = "cynic-proc-macros" -version = "3.9.1" +version = "4.0.0" dependencies = [ "cynic-codegen", "darling", @@ -1333,7 +1333,7 @@ dependencies = [ [[package]] name = "cynic-querygen" -version = "3.9.1" +version = "4.0.0" dependencies = [ "Inflector", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index 0faa80cc..585d5727 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,12 +36,12 @@ edition = "2021" homepage = "https://cynic-rs.dev" repository = "https://github.com/obmarg/cynic" license = "MPL-2.0" -version = "3.9.1" +version = "4.0.0" rust-version = "1.80" [workspace.dependencies] -cynic-parser = { path = "cynic-parser", version = "0.8.7" } -cynic-parser-deser-macros = { path = "cynic-parser-deser-macros", version = "0.8.7" } +cynic-parser = { path = "cynic-parser", version = "0.9.0" } +cynic-parser-deser-macros = { path = "cynic-parser-deser-macros", version = "0.9.0" } darling = "0.20" graphql-mocks.path = "graphql-mocks" rstest = "0.23" diff --git a/cynic-cli/Cargo.toml b/cynic-cli/Cargo.toml index 59dce912..807def42 100644 --- a/cynic-cli/Cargo.toml +++ b/cynic-cli/Cargo.toml @@ -21,9 +21,9 @@ path = "src/main.rs" [dependencies] clap = { version = "4", features = ["derive"] } colored = "2" -cynic = { path = "../cynic", version = "3.9.1", features = ["http-reqwest-blocking"] } -cynic-introspection = { path = "../cynic-introspection", version = "3.9.1" } -cynic-querygen = { path = "../cynic-querygen", version = "3.9.1" } +cynic = { path = "../cynic", version = "4.0.0", features = ["http-reqwest-blocking"] } +cynic-introspection = { path = "../cynic-introspection", version = "4.0.0" } +cynic-querygen = { path = "../cynic-querygen", version = "4.0.0" } reqwest = { version = "0.12", features = ["blocking"] } thiserror = "1" diff --git a/cynic-introspection/Cargo.toml b/cynic-introspection/Cargo.toml index ccef4996..165ed5f9 100644 --- a/cynic-introspection/Cargo.toml +++ b/cynic-introspection/Cargo.toml @@ -23,7 +23,7 @@ thiserror = "1" [dependencies.cynic] path = "../cynic" -version = "3" +version = "4" [dev-dependencies] assert_matches = "1.4" @@ -36,9 +36,9 @@ serde_json = "1" [dev-dependencies.cynic] path = "../cynic" -version = "3" +version = "4" features = ["http-reqwest-blocking"] [build-dependencies.cynic-codegen] path = "../cynic-codegen" -version = "3" +version = "4" diff --git a/cynic-parser-deser-macros/Cargo.toml b/cynic-parser-deser-macros/Cargo.toml index 8f6adb99..a4fd84a7 100644 --- a/cynic-parser-deser-macros/Cargo.toml +++ b/cynic-parser-deser-macros/Cargo.toml @@ -4,7 +4,7 @@ description = "Macros for cynic-parser-deser" keywords = ["graphql", "parser", "deserialization"] readme = "README.md" -version = "0.8.7" +version = "0.9.0" homepage = "https://docs.rs/cynic-parser-deser" documentation = "https://docs.rs/cynic-parser-deser" diff --git a/cynic-parser-deser/Cargo.toml b/cynic-parser-deser/Cargo.toml index 64a0a53f..43b2d2ef 100644 --- a/cynic-parser-deser/Cargo.toml +++ b/cynic-parser-deser/Cargo.toml @@ -4,7 +4,7 @@ description = "Deserialization for cynic-parser Values" keywords = ["graphql", "parser", "deserialization"] readme = "README.md" -version = "0.8.7" +version = "0.9.0" homepage = "https://docs.rs/cynic-parser-deser" documentation = "https://docs.rs/cynic-parser-deser" diff --git a/cynic-parser/CHANGELOG.md b/cynic-parser/CHANGELOG.md index 05c0f362..ec538287 100644 --- a/cynic-parser/CHANGELOG.md +++ b/cynic-parser/CHANGELOG.md @@ -9,6 +9,20 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html ## Unreleased - xxxx-xx-xx +## v0.9.0 - 2025-01-16 + +### Breaking Changes + +- [**breaking**] better errors on empty graphql documents ([#1117](https://github.com/obmarg/cynic/pull/1117)) + +### New Features + +- directive support ([#900](https://github.com/obmarg/cynic/pull/900)) + +### Changes + +- parse schema with cynic_parser in querygen ([#1124](https://github.com/obmarg/cynic/pull/1124)) + ### Breaking Changes - `Error::span` now returns an `Option` instead of a `Span` diff --git a/cynic-parser/Cargo.toml b/cynic-parser/Cargo.toml index f31d91b1..05dc90fe 100644 --- a/cynic-parser/Cargo.toml +++ b/cynic-parser/Cargo.toml @@ -4,7 +4,7 @@ description = "A fast, correct and easy to use GraphQL parser" keywords = ["graphql", "parser", "api"] readme = "README.md" -version = "0.8.7" +version = "0.9.0" homepage = "https://docs.rs/cynic-parser" documentation = "https://docs.rs/cynic-parser" diff --git a/cynic-proc-macros/Cargo.toml b/cynic-proc-macros/Cargo.toml index e81826a4..e5a3ea35 100644 --- a/cynic-proc-macros/Cargo.toml +++ b/cynic-proc-macros/Cargo.toml @@ -22,7 +22,7 @@ directives = [] proc-macro = true [dependencies] -cynic-codegen = { path = "../cynic-codegen", version = "3.9.1" } +cynic-codegen = { path = "../cynic-codegen", version = "4.0.0" } darling.workspace = true quote = "1" syn.workspace = true diff --git a/cynic/Cargo.toml b/cynic/Cargo.toml index 8fa286d9..48212cb0 100644 --- a/cynic/Cargo.toml +++ b/cynic/Cargo.toml @@ -25,7 +25,7 @@ rkyv = ["cynic-proc-macros/rkyv"] directives = ["cynic-proc-macros/directives"] [dependencies] -cynic-proc-macros = { path = "../cynic-proc-macros", version = "3.9.1" } +cynic-proc-macros = { path = "../cynic-proc-macros", version = "4.0.0" } ref-cast = "1.0.15" serde = { version = "1.0.136", features = [ "derive" ] } serde_json = { version = "1.0", optional = true } diff --git a/schemas/github/Cargo.toml b/schemas/github/Cargo.toml index c3ed9fe6..d1f5e03c 100644 --- a/schemas/github/Cargo.toml +++ b/schemas/github/Cargo.toml @@ -8,4 +8,4 @@ publish = false [dependencies] chrono = { version = "0.4", features = ["serde"] } -cynic = { path = "../../cynic", version = "3.9.1" } +cynic = { path = "../../cynic", version = "4.0.0" }