✨ Features
-
Apollo Studio Explorer landing page (PR #526)
We've replaced the redirect to Apollo Studio with a statically rendered landing page. This supersedes the previous redirect approach was merely introduced as a short-cut. The experience now duplicates the user-experience which exists in Apollo Gateway today.
It is also possible to save the redirect preference and make the behavior sticky for future visits. As a bonus, this also resolves the failure to preserve the correct HTTP scheme (e.g.,
https://
) in the event that the Apollo Router was operating behind a TLS-terminating proxy, since the redirect is now handled client-side.Overall, this should be a more durable and more transparent experience for the user.
-
Display Apollo Router version on startup (PR #543)
The Apollo Router displays its version on startup from now on, which will come in handy when debugging/observing how your application behaves.
🐛 Fixes
-
Passing a
--supergraph
file supersedes Managed Federation (PR #535)The
--supergraph
flag will no longer be silently ignored when the Supergraph is already being provided through Managed Federation (i.e., when theAPOLLO_KEY
andAPOLLO_GRAPH_REF
environment variables are set). This allows temporarily overriding the Supergraph schema that is fetched from Apollo Studio's Uplink endpoint, while still reporting metrics to Apollo Studio reporting ingress. -
Anonymous operation names are now empty in tracing (PR #525)
When GraphQL operation names are not necessary to execute an operation (i.e., when there is only a single operation in a GraphQL document) and the GraphQL operation is not named (i.e., it is anonymous), the
operation_name
attribute on the trace spans that are associated with the request will no longer contain a single hyphen character (-
) but will instead be an empty string. This matches the way that these operations are represented during the GraphQL operation's life-cycle as well. -
Resolved missing documentation in Apollo Explorer (PR #540)
We've resolved a scenario that prevented Apollo Explorer from displaying documentation by adding support for a new introspection query which also queries for deprecation (i.e.,
includeDeprecated
) oninput
arguments.