Skip to content

Commit 480be09

Browse files
chore(release): router crates and artifacts
1 parent 9c068a3 commit 480be09

20 files changed

Lines changed: 107 additions & 51 deletions

File tree

.changeset/graphql-analysis-hook.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/more_operation_validations.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apollo-router-workspace/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apollo-router-workspace/bin/router/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path = "src/lib.rs"
1818

1919
[dependencies]
2020
apollo-router = { version = "^2.0.0" }
21-
hive-console-sdk = { version = "0.3.17", path = "../../../lib/hive-console-sdk"}
21+
hive-console-sdk = { version = "0.3.18", path = "../../../lib/hive-console-sdk"}
2222
sha2 = { version = "0.10.8", features = ["std"] }
2323
anyhow = "1"
2424
tracing = "0.1"

bin/router/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
116116
### Other
117117

118118
- *(deps)* update release-plz/action action to v0.5.113 ([#389](https://github.com/graphql-hive/router/pull/389))
119+
## 0.0.84 (2026-07-20)
120+
121+
### Fixes
122+
123+
#### Add an `on_graphql_analysis` plugin hook with safe operation filtering
124+
125+
Plugin authors can now inspect and filter operation fields after normalization and immediately before query planning. Fields can be kept or nulled with a GraphQL error while the router consistently updates the operation and response projection plan, making the hook suitable for authorization, rate limiting, progressive overrides, and similar policies.
126+
127+
#### Improve GraphQL operation validation
128+
129+
- **Faster validation (2-3x):** rules now share a single `OperationVisitor` pass over the operation document instead of each rule visiting it independently.
130+
- **New `UniqueInputFieldNames` rule:** input object fields are now kept as a list rather than a map, so duplicate fields are no longer silently deduplicated before validation. A query like `{ field(input: { value: 1, value: 2 }) }` is now correctly rejected.
131+
- **Fixed `VariablesInAllowedPosition`:** now accounts for default values on variables, field arguments, and input object fields. Nullable variables used in a non-null argument that defines a default are no longer incorrectly rejected.
132+
119133
## 0.0.83 (2026-07-13)
120134

121135
### Fixes

bin/router/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hive-router"
3-
version = "0.0.83"
3+
version = "0.0.84"
44
edition = "2021"
55
description = "GraphQL router/gateway for Federation"
66
license = "MIT"
@@ -23,12 +23,12 @@ testing = []
2323
graphiql = []
2424

2525
[dependencies]
26-
hive-router-query-planner = { path = "../../lib/query-planner", version = "2.10.9" }
27-
hive-router-plan-executor = { path = "../../lib/executor", version = "6.22.1" }
26+
hive-router-query-planner = { path = "../../lib/query-planner", version = "2.10.10" }
27+
hive-router-plan-executor = { path = "../../lib/executor", version = "6.23.0" }
2828
hive-router-config = { path = "../../lib/router-config", version = "0.1.7" }
29-
hive-router-internal = { path = "../../lib/internal", version = "0.0.36" }
30-
hive-console-sdk = { path = "../../lib/hive-console-sdk", version = "0.3.17" }
31-
graphql-tools = { path = "../../lib/graphql-tools", version = "0.5.6" }
29+
hive-router-internal = { path = "../../lib/internal", version = "0.0.37" }
30+
hive-console-sdk = { path = "../../lib/hive-console-sdk", version = "0.3.18" }
31+
graphql-tools = { path = "../../lib/graphql-tools", version = "0.5.7" }
3232

3333
tokio = { workspace = true }
3434
futures = { workspace = true }

lib/executor/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9494
### Other
9595

9696
- *(deps)* update release-plz/action action to v0.5.113 ([#389](https://github.com/graphql-hive/router/pull/389))
97+
## 6.23.0 (2026-07-20)
98+
99+
### Features
100+
101+
#### Add an `on_graphql_analysis` plugin hook with safe operation filtering
102+
103+
Plugin authors can now inspect and filter operation fields after normalization and immediately before query planning. Fields can be kept or nulled with a GraphQL error while the router consistently updates the operation and response projection plan, making the hook suitable for authorization, rate limiting, progressive overrides, and similar policies.
104+
105+
### Fixes
106+
107+
#### Improve GraphQL operation validation
108+
109+
- **Faster validation (2-3x):** rules now share a single `OperationVisitor` pass over the operation document instead of each rule visiting it independently.
110+
- **New `UniqueInputFieldNames` rule:** input object fields are now kept as a list rather than a map, so duplicate fields are no longer silently deduplicated before validation. A query like `{ field(input: { value: 1, value: 2 }) }` is now correctly rejected.
111+
- **Fixed `VariablesInAllowedPosition`:** now accounts for default values on variables, field arguments, and input object fields. Nullable variables used in a non-null argument that defines a default are no longer incorrectly rejected.
112+
97113
## 6.22.1 (2026-07-13)
98114

99115
### Fixes

lib/executor/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hive-router-plan-executor"
3-
version = "6.22.1"
3+
version = "6.23.0"
44
edition = "2021"
55
description = "GraphQL query planner executor for Federation specification"
66
license = "MIT"
@@ -15,10 +15,10 @@ authors = ["The Guild"]
1515
doctest = false
1616

1717
[dependencies]
18-
hive-router-query-planner = { path = "../query-planner", version = "2.10.9" }
18+
hive-router-query-planner = { path = "../query-planner", version = "2.10.10" }
1919
hive-router-config = { path = "../router-config", version = "0.1.7" }
20-
hive-router-internal = { path = "../internal", version = "0.0.36" }
21-
graphql-tools = { path = "../graphql-tools", version = "0.5.6" }
20+
hive-router-internal = { path = "../internal", version = "0.0.37" }
21+
graphql-tools = { path = "../graphql-tools", version = "0.5.7" }
2222
hive-console-sdk = { path = "../hive-console-sdk", version = "0.3.8" }
2323

2424
async-trait = { workspace = true }

lib/graphql-tools/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.5.7 (2026-07-20)
2+
3+
### Fixes
4+
5+
#### Improve GraphQL operation validation
6+
7+
- **Faster validation (2-3x):** rules now share a single `OperationVisitor` pass over the operation document instead of each rule visiting it independently.
8+
- **New `UniqueInputFieldNames` rule:** input object fields are now kept as a list rather than a map, so duplicate fields are no longer silently deduplicated before validation. A query like `{ field(input: { value: 1, value: 2 }) }` is now correctly rejected.
9+
- **Fixed `VariablesInAllowedPosition`:** now accounts for default values on variables, field arguments, and input object fields. Nullable variables used in a non-null argument that defines a default are no longer incorrectly rejected.
10+
111
## 0.5.6 (2026-06-30)
212

313
### Fixes

0 commit comments

Comments
 (0)