Commit cd2c147
authored
chore(release): router crates and artifacts (#688)
> [!IMPORTANT]
> Merging this pull request will create these releases
# executor 6.3.5 (2026-01-22)
## Fixes
### New Query Complexity Configuration in `hive-router` and
`hive-router-config`
We have introduced a new configuration module for query complexity in
the Hive Router.
This includes new validation rules to enforce maximum query depth,
maximum number of directives in the incoming GraphQL operation, helping
to prevent overly complex queries that could impact performance.
## Max Depth
By default, it is disabled, but you can enable and configure it in your
router configuration as follows:
```yaml
limits:
max_depth:
n: 10 # Set the maximum allowed depth for queries
```
This configuration allows you to set a maximum depth for incoming
GraphQL queries, enhancing the robustness of your API by mitigating the
risk of deep-nested queries.
## Max Directives
You can also limit the number of directives in incoming GraphQL
operations. This is also disabled by default. You can enable and
configure it as follows:
```yaml
limits:
max_directives:
n: 5 # Set the maximum allowed number of directives
```
This configuration helps to prevent excessive use of directives in
queries, which can lead to performance issues.
## Max Tokens
Additionally, we have introduced a new configuration option to limit the
maximum number of tokens in incoming GraphQL operations. This feature is
designed to prevent excessively large queries that could impact server
performance.
By default, this limit is disabled. You can enable and configure it in
your router configuration as follows:
```yaml
limits:
max_tokens:
n: 1000 # Set the maximum allowed number of tokens
```
This configuration allows you to set a maximum token count for incoming
GraphQL queries, helping to ensure that queries remain manageable and do
not overwhelm the server.
With these new configurations, you can better manage the complexity of
incoming GraphQL queries and ensure the stability and performance of
your API.
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
# query-planner 2.1.7 (2026-01-22)
## Fixes
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
# config 0.0.18 (2026-01-22)
## Features
### New Query Complexity Configuration in `hive-router` and
`hive-router-config`
We have introduced a new configuration module for query complexity in
the Hive Router.
This includes new validation rules to enforce maximum query depth,
maximum number of directives in the incoming GraphQL operation, helping
to prevent overly complex queries that could impact performance.
## Max Depth
By default, it is disabled, but you can enable and configure it in your
router configuration as follows:
```yaml
limits:
max_depth:
n: 10 # Set the maximum allowed depth for queries
```
This configuration allows you to set a maximum depth for incoming
GraphQL queries, enhancing the robustness of your API by mitigating the
risk of deep-nested queries.
## Max Directives
You can also limit the number of directives in incoming GraphQL
operations. This is also disabled by default. You can enable and
configure it as follows:
```yaml
limits:
max_directives:
n: 5 # Set the maximum allowed number of directives
```
This configuration helps to prevent excessive use of directives in
queries, which can lead to performance issues.
## Max Tokens
Additionally, we have introduced a new configuration option to limit the
maximum number of tokens in incoming GraphQL operations. This feature is
designed to prevent excessively large queries that could impact server
performance.
By default, this limit is disabled. You can enable and configure it in
your router configuration as follows:
```yaml
limits:
max_tokens:
n: 1000 # Set the maximum allowed number of tokens
```
This configuration allows you to set a maximum token count for incoming
GraphQL queries, helping to ensure that queries remain manageable and do
not overwhelm the server.
With these new configurations, you can better manage the complexity of
incoming GraphQL queries and ensure the stability and performance of
your API.
# hive-console-sdk 0.3.4 (2026-01-22)
## Fixes
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
# node-addon 0.0.11 (2026-01-22)
## Fixes
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
# graphql-tools 0.5.0 (2026-01-22)
## Breaking Changes
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
# internal 0.0.7 (2026-01-22)
## Fixes
### New Query Complexity Configuration in `hive-router` and
`hive-router-config`
We have introduced a new configuration module for query complexity in
the Hive Router.
This includes new validation rules to enforce maximum query depth,
maximum number of directives in the incoming GraphQL operation, helping
to prevent overly complex queries that could impact performance.
## Max Depth
By default, it is disabled, but you can enable and configure it in your
router configuration as follows:
```yaml
limits:
max_depth:
n: 10 # Set the maximum allowed depth for queries
```
This configuration allows you to set a maximum depth for incoming
GraphQL queries, enhancing the robustness of your API by mitigating the
risk of deep-nested queries.
## Max Directives
You can also limit the number of directives in incoming GraphQL
operations. This is also disabled by default. You can enable and
configure it as follows:
```yaml
limits:
max_directives:
n: 5 # Set the maximum allowed number of directives
```
This configuration helps to prevent excessive use of directives in
queries, which can lead to performance issues.
## Max Tokens
Additionally, we have introduced a new configuration option to limit the
maximum number of tokens in incoming GraphQL operations. This feature is
designed to prevent excessively large queries that could impact server
performance.
By default, this limit is disabled. You can enable and configure it in
your router configuration as follows:
```yaml
limits:
max_tokens:
n: 1000 # Set the maximum allowed number of tokens
```
This configuration allows you to set a maximum token count for incoming
GraphQL queries, helping to ensure that queries remain manageable and do
not overwhelm the server.
With these new configurations, you can better manage the complexity of
incoming GraphQL queries and ensure the stability and performance of
your API.
# router 0.0.33 (2026-01-22)
## Features
- Query Complexity: Max Depth, Max Directives, Max Tokens (#623)
- Enable/Disable Introspection with `introspection` (#655)
### New Query Complexity Configuration in `hive-router` and
`hive-router-config`
We have introduced a new configuration module for query complexity in
the Hive Router.
This includes new validation rules to enforce maximum query depth,
maximum number of directives in the incoming GraphQL operation, helping
to prevent overly complex queries that could impact performance.
## Max Depth
By default, it is disabled, but you can enable and configure it in your
router configuration as follows:
```yaml
limits:
max_depth:
n: 10 # Set the maximum allowed depth for queries
```
This configuration allows you to set a maximum depth for incoming
GraphQL queries, enhancing the robustness of your API by mitigating the
risk of deep-nested queries.
## Max Directives
You can also limit the number of directives in incoming GraphQL
operations. This is also disabled by default. You can enable and
configure it as follows:
```yaml
limits:
max_directives:
n: 5 # Set the maximum allowed number of directives
```
This configuration helps to prevent excessive use of directives in
queries, which can lead to performance issues.
## Max Tokens
Additionally, we have introduced a new configuration option to limit the
maximum number of tokens in incoming GraphQL operations. This feature is
designed to prevent excessively large queries that could impact server
performance.
By default, this limit is disabled. You can enable and configure it in
your router configuration as follows:
```yaml
limits:
max_tokens:
n: 1000 # Set the maximum allowed number of tokens
```
This configuration allows you to set a maximum token count for incoming
GraphQL queries, helping to ensure that queries remain manageable and do
not overwhelm the server.
With these new configurations, you can better manage the complexity of
incoming GraphQL queries and ensure the stability and performance of
your API.
### Refactor Router Initialization Error Handling in `hive-router`
- New `RouterInitError` enum to represent initialization errors in the
Hive Router.
- `router_entrypoint` now returns `Result<(), RouterInitError>` instead
of a boxed dynamic error(`Box<dyn std::error::Error>`), providing more
specific error handling during router initialization.
## Fixes
- Expose query plan with option "dry-run" wont execute the query plan
### Refactor Parse Error Handling in `graphql-tools`
Breaking;
- `ParseError(String)` is now `ParseError(InternalError<'static>)`.
- - So that the internals of the error can be better structured and more
informative, such as including line and column information.
- `ParseError`s are no longer prefixed with "query parse error: " in
their Display implementation.
Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>1 parent b9e1e67 commit cd2c147
File tree
22 files changed
+300
-110
lines changed- .changeset
- bin/router
- lib
- executor
- graphql-tools
- hive-console-sdk
- internal
- node-addon
- query-planner
- router-config
22 files changed
+300
-110
lines changedLines changed: 0 additions & 5 deletions
This file was deleted.
This file was deleted.
This file was deleted.
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 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
119 | 188 | | |
120 | 189 | | |
121 | 190 | | |
| |||
| 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 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| 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 | + | |
| 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 | + | |
| 152 | + | |
| 153 | + | |
97 | 154 | | |
98 | 155 | | |
99 | 156 | | |
| |||
| 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 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | 13 | | |
3 | 14 | | |
| |||
0 commit comments