Warning!
This release has a couple of major bugs.
Please use preview.6
🚀 Features
Helm chart for the router PR #861
Helm support provided by @damienpontifex.
Line precise error reporting PR #830
The router will make a best effort to give line precise error reporting if the configuration was invalid.
1. /telemetry/tracing/trace_config/sampler
telemetry:
tracing:
trace_config:
service_name: router3
sampler: "0.3"
^----- "0.3" is not valid under any of the given schemas
Install experience PR #820
Added an install script that will automatically download and unzip the router into the local directory.
For more info see the quickstart documentation.
🐛 Fixes
Fix concurrent query planning #846
The query planner has been reworked to make sure concurrent plan requests will be dispatched to the relevant requester.
Do not hang when tracing provider was not set as global #849
The telemetry plugin will now Drop cleanly when the Router service stack fails to build.
Propagate error extensions originating from subgraphs PR #839
Extensions are now propagated following the configuration of the include_subgraph_error
plugin.
Telemetry configuration PR #830
Jaeger and Zipkin telemetry config produced JSON schema that was invalid.
Return a better error when introspection is disabled PR #751
Instead of returning an error coming from the query planner, we are now returning a proper error explaining that the introspection has been disabled.
Add operation name to subquery fetches PR #840
If present in the query plan fetch node, the operation name will be added to sub-fetches.
Remove trailing slash from Datadog agent endpoint URL PR #863
Due to the way the endpoint URL is constructed in opentelemetry-datadog, we cannot set the agent endpoint to a URL with a trailing slash.
🛠 Maintenance
Configuration files validated PR #830
Router configuration files within the project are now largely validated via unit test.
Switch web server framework from warp
to axum
PR #751
The router is now running by default with an axum web server instead of warp
.
Improve the way we handle Request with axum PR #845 PR #877
Take advantages of new extractors given by axum
.