From 3090e0add5504ed31df74c32c2bda203793a890a Mon Sep 17 00:00:00 2001 From: Surma Date: Tue, 26 Mar 2024 13:25:49 +0000 Subject: [PATCH] Prepare v0.14 (#478) * Prepare v0.14 * Update CHANGELOG * Update update date * Fix new clippy warning --- CHANGELOG.md | 6 ++++++ graphql_client/Cargo.toml | 4 ++-- graphql_client_cli/Cargo.toml | 6 +++--- graphql_client_codegen/Cargo.toml | 2 +- graphql_client_codegen/src/query.rs | 1 + graphql_query_derive/Cargo.toml | 4 ++-- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d1cd02..c12aff5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.14.0 - 2024-03-26 + +- Add support for GraphQL’s `extend type` directive +- Add support for `graphqls://` schema +- Expose `generate_module_token_stream_from_string` to allow custom macro wrappers + ## 0.13.0 - 2023-05-25 - Add support for `@oneOf` diff --git a/graphql_client/Cargo.toml b/graphql_client/Cargo.toml index ab797f78..76a57b7f 100644 --- a/graphql_client/Cargo.toml +++ b/graphql_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graphql_client" -version = "0.13.0" +version = "0.14.0" authors = ["Tom Houlé "] description = "Typed GraphQL requests and responses" repository = "https://github.com/graphql-rust/graphql-client" @@ -19,7 +19,7 @@ serde = { version = "^1.0.78", features = ["derive"] } serde_json = "1.0" # Optional dependencies -graphql_query_derive = { path = "../graphql_query_derive", version = "0.13.0", optional = true } +graphql_query_derive = { path = "../graphql_query_derive", version = "0.14.0", optional = true } reqwest-crate = { package = "reqwest", version = "^0.11", features = ["json"], default-features = false, optional = true } [features] diff --git a/graphql_client_cli/Cargo.toml b/graphql_client_cli/Cargo.toml index 0f0800cd..caee4ffb 100644 --- a/graphql_client_cli/Cargo.toml +++ b/graphql_client_cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "graphql_client_cli" description = "The CLI for graphql-client" -version = "0.13.0" +version = "0.14.0" authors = ["Tom Houlé "] license = "Apache-2.0 OR MIT" repository = "https://github.com/graphql-rust/graphql-client" @@ -13,8 +13,8 @@ path = "src/main.rs" [dependencies] reqwest = { version = "^0.11", features = ["json", "blocking"] } -graphql_client = { version = "0.13.0", path = "../graphql_client", default-features = false, features = ["graphql_query_derive", "reqwest-blocking"] } -graphql_client_codegen = { path = "../graphql_client_codegen/", version = "0.13.0" } +graphql_client = { version = "0.14.0", path = "../graphql_client", default-features = false, features = ["graphql_query_derive", "reqwest-blocking"] } +graphql_client_codegen = { path = "../graphql_client_codegen/", version = "0.14.0" } clap = { version = "^3.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] } serde_json = "^1.0" diff --git a/graphql_client_codegen/Cargo.toml b/graphql_client_codegen/Cargo.toml index 4e11cdd7..a8d03e77 100644 --- a/graphql_client_codegen/Cargo.toml +++ b/graphql_client_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graphql_client_codegen" -version = "0.13.0" +version = "0.14.0" authors = ["Tom Houlé "] description = "Utility crate for graphql_client" license = "Apache-2.0 OR MIT" diff --git a/graphql_client_codegen/src/query.rs b/graphql_client_codegen/src/query.rs index cb6695ef..bb2b6318 100644 --- a/graphql_client_codegen/src/query.rs +++ b/graphql_client_codegen/src/query.rs @@ -56,6 +56,7 @@ impl OperationId { #[derive(Debug, Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] pub(crate) struct ResolvedFragmentId(u32); +#[allow(dead_code)] #[derive(Debug, Clone, Copy)] pub(crate) struct VariableId(u32); diff --git a/graphql_query_derive/Cargo.toml b/graphql_query_derive/Cargo.toml index 5e263899..11f6e6fd 100644 --- a/graphql_query_derive/Cargo.toml +++ b/graphql_query_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graphql_query_derive" -version = "0.13.0" +version = "0.14.0" authors = ["Tom Houlé "] description = "Utility crate for graphql_client" license = "Apache-2.0 OR MIT" @@ -13,4 +13,4 @@ proc-macro = true [dependencies] syn = { version = "^1.0", features = ["extra-traits"] } proc-macro2 = { version = "^1.0", features = [] } -graphql_client_codegen = { path = "../graphql_client_codegen/", version = "0.13.0" } +graphql_client_codegen = { path = "../graphql_client_codegen/", version = "0.14.0" }