Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[0.9.2] - 2022-05-20
❗ BREAKING ❗
Simplify Context::upsert() PR #1073
Removes the
default
parameter and requires inserted values to implementDefault
.🚀 Features
DIY docker images PR #1106
The build_docker_image.sh script is now provided as a working example of how to build docker images from our GH release tarballs or from a commit hash/tag against the router repo.
🐛 Fixes
Return top
__typename
field when it's not an introspection query PR #1102When
__typename
is used at the top of the query in combination with other fields it was not returned in the output.Fix the installation and releasing script for Windows PR #1098
Do not put .exe for Windows in the name of the tarball when releasing new version
Aggregate usage reports in streaming and set the timeout to 5 seconds PR #1066
The metrics plugin was allocating chunks of usage reports to aggregate them right after, this was replaced by a streaming loop. The interval for sending the reports to spaceport was reduced from 10s to 5s.
Put back the ability to use environment variable expansion for telemetry endpoints PR #1092
Adds the ability to use environment variable expansion for the configuration of agent/collector endpoint for Jaeger, OTLP, Datadog.
Fix the introspection query detection PR #1100
Fix the introspection query detection, for example if you only have
__typename
in the query then it's an introspection query, if it's used with other fields (not prefixed by__
) then it's not an introspection query.🛠 Maintenance
Add well known query to
PluginTestHarness
PR #1114Add
call_canned
onPluginTestHarness
. It performs a well known query that will generate a valid response.Remove the batching and timeout from spaceport PR #1080
apollo-router is already handling report aggregation and sends the
report every 5s. Now spaceport will put the incoming reports in a
bounded queue and send them in order, with backpressure.
📚 Documentation
Add CORS documentation (PR #1044)
We've updated the CORS documentation to reflect the recent CORS and CSRF updates.