Commit 5a19ac5
authored
chore(release): router crates and artifacts (#588)
> [!IMPORTANT]
> Merging this pull request will create these releases
# router 0.0.21 (2025-11-28)
## Features
- Subgraph Timeout Configuration (#541)
### Subgraph Request Timeout Feature
Adds support for configurable subgraph request timeouts via the
`traffic_shaping` configuration. The `request_timeout` option allows you
to specify the maximum time the router will wait for a response from a
subgraph before timing out the request. You can set a static timeout
(e.g., `30s`) globally or per-subgraph, or use dynamic timeouts with VRL
expressions to vary timeout values based on request characteristics.
This helps protect your router from hanging requests and enables
fine-grained control over how long requests to different subgraphs
should be allowed to run.
### Rename `original_url` variable to `default` in subgraph URL override
expressions.
This change aligns the variable naming with other configuration
expressions, such as timeout configuration.
When using expressions to override subgraph URLs, use `.default` to
refer to the original URL defined in the subgraph definition.
Example:
```yaml
url:
expression: |
if .request.headers."x-region" == "us-east" {
"https://products-us-east.example.com/graphql"
} else {
.default
}
```
## Fixes
- support `@include` and `@skip` in initial fetch node (#591)
- Fixed an issue where `@skip` and `@include` directives were
incorrectly removed from the initial Fetch of the Query Plan.
# node-addon 0.0.5 (2025-11-28)
## Fixes
- support `@include` and `@skip` in initial fetch node (#591)
- Fixed an issue where `@skip` and `@include` directives were
incorrectly removed from the initial Fetch of the Query Plan.
# query-planner 2.1.1 (2025-11-28)
## Fixes
- support `@include` and `@skip` in initial fetch node (#591)
- Fixed an issue where `@skip` and `@include` directives were
incorrectly removed from the initial Fetch of the Query Plan.
# config 0.0.13 (2025-11-28)
## Features
### Subgraph Request Timeout Feature
Adds support for configurable subgraph request timeouts via the
`traffic_shaping` configuration. The `request_timeout` option allows you
to specify the maximum time the router will wait for a response from a
subgraph before timing out the request. You can set a static timeout
(e.g., `30s`) globally or per-subgraph, or use dynamic timeouts with VRL
expressions to vary timeout values based on request characteristics.
This helps protect your router from hanging requests and enables
fine-grained control over how long requests to different subgraphs
should be allowed to run.
### Rename `original_url` variable to `default` in subgraph URL override
expressions.
This change aligns the variable naming with other configuration
expressions, such as timeout configuration.
When using expressions to override subgraph URLs, use `.default` to
refer to the original URL defined in the subgraph definition.
Example:
```yaml
url:
expression: |
if .request.headers."x-region" == "us-east" {
"https://products-us-east.example.com/graphql"
} else {
.default
}
```
## Fixes
- support `@include` and `@skip` in initial fetch node (#591)
# executor 6.2.0 (2025-11-28)
## Features
### Subgraph Request Timeout Feature
Adds support for configurable subgraph request timeouts via the
`traffic_shaping` configuration. The `request_timeout` option allows you
to specify the maximum time the router will wait for a response from a
subgraph before timing out the request. You can set a static timeout
(e.g., `30s`) globally or per-subgraph, or use dynamic timeouts with VRL
expressions to vary timeout values based on request characteristics.
This helps protect your router from hanging requests and enables
fine-grained control over how long requests to different subgraphs
should be allowed to run.
### Rename `original_url` variable to `default` in subgraph URL override
expressions.
This change aligns the variable naming with other configuration
expressions, such as timeout configuration.
When using expressions to override subgraph URLs, use `.default` to
refer to the original URL defined in the subgraph definition.
Example:
```yaml
url:
expression: |
if .request.headers."x-region" == "us-east" {
"https://products-us-east.example.com/graphql"
} else {
.default
}
```
## Fixes
- support `@include` and `@skip` in initial fetch node (#591)
Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>1 parent 4eaf9ec commit 5a19ac5
File tree
16 files changed
+125
-57
lines changed- .changeset
- bin/router
- lib
- executor
- node-addon
- query-planner
- router-config
16 files changed
+125
-57
lines changedThis file was deleted.
This file was deleted.
Lines changed: 0 additions & 23 deletions
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
119 | 152 | | |
120 | 153 | | |
121 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
97 | 127 | | |
98 | 128 | | |
99 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
2 | 9 | | |
3 | 10 | | |
4 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments