From 5d1798c6f736b1a4967db5908a51530329c320aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 24 Apr 2025 11:48:39 +0200 Subject: [PATCH 1/2] deps: update apollo-compiler --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 88768b0d2de..1f4b374e1c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,9 +162,9 @@ checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" [[package]] name = "apollo-compiler" -version = "1.27.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb8a0d8a54b31d8a9efcc25d4be3d949d823e8105a710861d6d4a4ef811b5f2" +checksum = "b3eb9f97e5cc573361cdeb65204fbb7c459c9a9d5a6bec48ee37355c642a06ad" dependencies = [ "ahash", "apollo-parser", @@ -173,7 +173,7 @@ dependencies = [ "rowan", "serde", "serde_json_bytes", - "thiserror 1.0.69", + "thiserror 2.0.10", "triomphe", "typed-arena", ] diff --git a/Cargo.toml b/Cargo.toml index 86d38b1b725..eba725b7b5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ debug = 1 # Dependencies used in more than one place are specified here in order to keep versions in sync: # https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table [workspace.dependencies] -apollo-compiler = "1.27.0" +apollo-compiler = "1.28.0" apollo-parser = "0.8.4" apollo-smith = "0.15.0" async-trait = "0.1.77" From 5c39377e923b25ec31b2b58706ee9bdec52aa183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 24 Apr 2025 12:14:23 +0200 Subject: [PATCH 2/2] changeset --- .changesets/maint_renee_apollo_compiler_1_28.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changesets/maint_renee_apollo_compiler_1_28.md diff --git a/.changesets/maint_renee_apollo_compiler_1_28.md b/.changesets/maint_renee_apollo_compiler_1_28.md new file mode 100644 index 00000000000..a6f57fc3cf1 --- /dev/null +++ b/.changesets/maint_renee_apollo_compiler_1_28.md @@ -0,0 +1,5 @@ +### Reject `@skip`/`@include` on subscription root fields in validation ([PR #7338](https://github.com/apollographql/router/pull/7338)) + +This implements a [GraphQL spec RFC](https://github.com/graphql/graphql-spec/pull/860), rejecting subscriptions in validation that can be invalid during execution. + +By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/7338 \ No newline at end of file