Skip to content

Commit c84ac08

Browse files
chore(release): router crates and artifacts (#1417)
1 parent fae74ea commit c84ac08

12 files changed

Lines changed: 142 additions & 59 deletions

File tree

.changeset/fix-jwt-audience-validation.md

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

.changeset/from-env-config-values.md

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

.changeset/track-subgraph-call-durations.md

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

Cargo.lock

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

bin/router/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,43 @@ 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.1.2 (2026-08-18)
120+
121+
### Features
122+
123+
#### Track per-subgraph call durations on the request summary
124+
125+
The request summary now tracks `subgraph_calls_duration`, a map of subgraph name to the durations of every call made to it during the request.
126+
127+
This is available to custom plugins via `get_current_summary()`, alongside the existing subgraph tracking fields.
128+
129+
### Fixes
130+
131+
#### Fix JWT audience validation rejecting tokens when `audiences` is not configured.
132+
133+
Previously, any token containing an `aud` claim was rejected with a 403 error even though audience validation is documented to be skipped when `audiences` is left empty.
134+
135+
#### Support `{ from_env: "VAR" }` for any primitive config value
136+
137+
Any primitive field in the router config (strings, numbers, booleans, and the existing "either/or" fields like retry toggles or single-or-multiple lists) can now be set from an environment variable instead of a literal value:
138+
139+
```yaml
140+
http:
141+
port:
142+
from_env: PORT
143+
```
144+
145+
If the referenced environment variable is not set, the field falls back to its default (or fails validation as usual for required fields), and a warning is logged once the router's logger has started up.
146+
147+
You may also add an inline fallback can also be given with `default`, which is used instead of the field's own default when the environment variable is unset:
148+
149+
```yaml
150+
http:
151+
port:
152+
from_env: PORT
153+
default: 4000
154+
```
155+
119156
## 0.1.1 (2026-08-16)
120157

121158
### Features

bin/router/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"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
description = "GraphQL router/gateway for Federation"
66
license = "MIT"
@@ -24,9 +24,9 @@ graphiql = []
2424

2525
[dependencies]
2626
hive-router-query-planner = { path = "../../lib/query-planner", version = "2.10.11" }
27-
hive-router-plan-executor = { path = "../../lib/executor", version = "9.0.0" }
28-
hive-router-config = { path = "../../lib/router-config", version = "0.1.13" }
29-
hive-router-internal = { path = "../../lib/internal", version = "0.1.1" }
27+
hive-router-plan-executor = { path = "../../lib/executor", version = "9.1.0" }
28+
hive-router-config = { path = "../../lib/router-config", version = "0.1.14" }
29+
hive-router-internal = { path = "../../lib/internal", version = "0.1.2" }
3030
hive-console-sdk = { path = "../../lib/hive-console-sdk", version = "0.3.20" }
3131
graphql-tools = { path = "../../lib/graphql-tools", version = "0.5.8" }
3232

lib/executor/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,39 @@ 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+
## 9.1.0 (2026-08-18)
98+
99+
### Features
100+
101+
#### Track per-subgraph call durations on the request summary
102+
103+
The request summary now tracks `subgraph_calls_duration`, a map of subgraph name to the durations of every call made to it during the request.
104+
105+
This is available to custom plugins via `get_current_summary()`, alongside the existing subgraph tracking fields.
106+
107+
### Fixes
108+
109+
#### Support `{ from_env: "VAR" }` for any primitive config value
110+
111+
Any primitive field in the router config (strings, numbers, booleans, and the existing "either/or" fields like retry toggles or single-or-multiple lists) can now be set from an environment variable instead of a literal value:
112+
113+
```yaml
114+
http:
115+
port:
116+
from_env: PORT
117+
```
118+
119+
If the referenced environment variable is not set, the field falls back to its default (or fails validation as usual for required fields), and a warning is logged once the router's logger has started up.
120+
121+
You may also add an inline fallback can also be given with `default`, which is used instead of the field's own default when the environment variable is unset:
122+
123+
```yaml
124+
http:
125+
port:
126+
from_env: PORT
127+
default: 4000
128+
```
129+
97130
## 9.0.0 (2026-08-16)
98131

99132
### Breaking Changes

lib/executor/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hive-router-plan-executor"
3-
version = "9.0.0"
3+
version = "9.1.0"
44
edition = "2021"
55
description = "GraphQL query planner executor for Federation specification"
66
license = "MIT"
@@ -16,8 +16,8 @@ doctest = false
1616

1717
[dependencies]
1818
hive-router-query-planner = { path = "../query-planner", version = "2.10.11" }
19-
hive-router-config = { path = "../router-config", version = "0.1.13" }
20-
hive-router-internal = { path = "../internal", version = "0.1.1" }
19+
hive-router-config = { path = "../router-config", version = "0.1.14" }
20+
hive-router-internal = { path = "../internal", version = "0.1.2" }
2121
graphql-tools = { path = "../graphql-tools", version = "0.5.8" }
2222
hive-console-sdk = { path = "../hive-console-sdk", version = "0.3.8" }
2323

lib/internal/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## 0.1.2 (2026-08-18)
2+
3+
### Features
4+
5+
#### Track per-subgraph call durations on the request summary
6+
7+
The request summary now tracks `subgraph_calls_duration`, a map of subgraph name to the durations of every call made to it during the request.
8+
9+
This is available to custom plugins via `get_current_summary()`, alongside the existing subgraph tracking fields.
10+
11+
### Fixes
12+
13+
#### Support `{ from_env: "VAR" }` for any primitive config value
14+
15+
Any primitive field in the router config (strings, numbers, booleans, and the existing "either/or" fields like retry toggles or single-or-multiple lists) can now be set from an environment variable instead of a literal value:
16+
17+
```yaml
18+
http:
19+
port:
20+
from_env: PORT
21+
```
22+
23+
If the referenced environment variable is not set, the field falls back to its default (or fails validation as usual for required fields), and a warning is logged once the router's logger has started up.
24+
25+
You may also add an inline fallback can also be given with `default`, which is used instead of the field's own default when the environment variable is unset:
26+
27+
```yaml
28+
http:
29+
port:
30+
from_env: PORT
31+
default: 4000
32+
```
33+
134
## 0.1.1 (2026-08-16)
235

336
### Fixes

lib/internal/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hive-router-internal"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
description = "GraphQL Hive Router internal crate"
66
license = "MIT"
@@ -15,7 +15,7 @@ authors = ["The Guild"]
1515
noop_otlp_exporter = []
1616

1717
[dependencies]
18-
hive-router-config = { path = "../router-config", version = "0.1.13" }
18+
hive-router-config = { path = "../router-config", version = "0.1.14" }
1919
hive-console-sdk = { path = "../hive-console-sdk", version = "0.3.8" }
2020

2121
sonic-rs = { workspace = true }

0 commit comments

Comments
 (0)