🚀 Features
Introduced new metric which tracks query planning time
We've introduced a apollo_router_query_planning_time
histogram which captures time spent in the query planning phase. This is documented along with our other metrics in the documentation.
🐛 Fixes
Small gzip'd responses no longer cause a panic
A regression introduced in v1.17.0 — again related to compression — has been resolved. This occurred when small responses used invalid buffer management, causing a panic.
HTTP status codes are now returned in SubrequestHttpError
as intended
When contextually available, the HTTP status code is included within SubrequestHttpError
. This provides plugins the ability to access the status code directly. Previously, only string parsing of the reason
could be used to determine the status code.
This corrects a previous contribution which added the status code, but neglected to serialize it properly into the extensions
in the response which are made available to plugins. Thank you to the same contributor for the correction!
By @scottdouglas1989 in #3005
📚 Documentation
Indicate that apollo_router_cache_size
is a count of cache entries
This follows-up PR #2607 which added apollo_router_cache_size
. It adds apollo_router_cache_size
to the documentation and indicates that this is the number of cache entries (that is, a count).