From 3df1e6252f94e76a80fa6a4386ad05258d86cbc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e?= Date: Wed, 31 Jul 2024 10:49:02 +0200 Subject: [PATCH] apollo-compiler@1.0.0-beta.20 (#891) * apollo-compiler@1.0.0-beta.20 * Update crates/apollo-compiler/CHANGELOG.md Co-authored-by: Iryna Shestak --------- Co-authored-by: Iryna Shestak --- crates/apollo-compiler/CHANGELOG.md | 15 +++++++++++++++ crates/apollo-compiler/Cargo.toml | 2 +- crates/apollo-compiler/README.md | 2 +- crates/apollo-smith/Cargo.toml | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/crates/apollo-compiler/CHANGELOG.md b/crates/apollo-compiler/CHANGELOG.md index ea05c21fe..13d851444 100644 --- a/crates/apollo-compiler/CHANGELOG.md +++ b/crates/apollo-compiler/CHANGELOG.md @@ -17,6 +17,21 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## Maintenance ## Documentation--> +# [1.0.0-beta.20](https://crates.io/crates/apollo-compiler/1.0.0-beta.20) - 2024-07-30 + +## Fixes + +- **Fix variable validation in operation directives - [goto-bus-stop] in [pull/888].** + * `query ($var: Int) @directive(arg: $var)` is now accepted - it used to raise an unused variable error for `$var`. + +## Maintenance + +- **Make unused variable validation more efficient - [goto-bus-stop] in [pull/887].** + +[goto-bus-stop]: https://github.com/goto-bus-stop +[pull/887]: https://github.com/apollographql/apollo-rs/pull/887 +[pull/888]: https://github.com/apollographql/apollo-rs/pull/888 + # [1.0.0-beta.19](https://crates.io/crates/apollo-compiler/1.0.0-beta.19) - 2024-07-19 ## BREAKING diff --git a/crates/apollo-compiler/Cargo.toml b/crates/apollo-compiler/Cargo.toml index 068bd0c6b..9b2d1149a 100644 --- a/crates/apollo-compiler/Cargo.toml +++ b/crates/apollo-compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "apollo-compiler" -version = "1.0.0-beta.19" # When bumping, also update README.md +version = "1.0.0-beta.20" # When bumping, also update README.md authors = ["Irina Shestak "] license = "MIT OR Apache-2.0" repository = "https://github.com/apollographql/apollo-rs" diff --git a/crates/apollo-compiler/README.md b/crates/apollo-compiler/README.md index 6db4318fa..993fd1a44 100644 --- a/crates/apollo-compiler/README.md +++ b/crates/apollo-compiler/README.md @@ -40,7 +40,7 @@ Or add this to your `Cargo.toml` for a manual installation: # Just an example, change to the necessary package version. # Using an exact dependency is recommended for beta versions [dependencies] -apollo-compiler = "=1.0.0-beta.19" +apollo-compiler = "=1.0.0-beta.20" ``` ## Rust versions diff --git a/crates/apollo-smith/Cargo.toml b/crates/apollo-smith/Cargo.toml index fb6d66e71..64bf9f63e 100644 --- a/crates/apollo-smith/Cargo.toml +++ b/crates/apollo-smith/Cargo.toml @@ -22,7 +22,7 @@ categories = [ ] [dependencies] -apollo-compiler = { path = "../apollo-compiler", version = "=1.0.0-beta.19" } +apollo-compiler = { path = "../apollo-compiler", version = "=1.0.0-beta.20" } apollo-parser = { path = "../apollo-parser", version = "0.8.0" } arbitrary = { version = "1.3.0", features = ["derive"] } indexmap = "2.0.0"