github apollographql/router v1.41.1

latest releases: v1.56.0-rc.0, v1.52.2-rc.0, v1.55.1-rc.1...
6 months ago

Note

v1.41.1 replaces a failed publish of v1.41.0. The version number had to be moved from v1.41.0 to v1.41.1, but the release is otherwise the same. Apologies for the confusion!

🚀 Features

Entity caching: Add tracing spans around Redis interactions (PR #4667)

This adds cache_lookup and cache_store spans to traces which show Redis calls related to our recently announced entity caching feature. This also changes the behavior slightly so that storing in Redis does not stop the execution of the rest of the query.

By @Geal in #4667

Use Gzip compression when downloading Persisted Query manifests (PR #4622)

Router will now request Gzip compression when downloading Persisted Query manifests for improved network efficiency.

By @glasser in #4622

Redis: add a fail open option (Issue #4334)

This option configures the Router's behavior in case it cannot connect to Redis:

  • By default, the router will start and all requests will be handled in a degraded state.
  • Alternatively, this option can be configured to prevent the router from starting if it can't connect to Redis.

By @Geal in #4534

🐛 Fixes

Default header now correctly set when experimental_response_trace_id is enabled (Issue #4699)

When configuring the experimental_response_trace_id without an explicit header it now correctly takes the default one apollo-trace-id.

Example of configuration:

telemetry:
  exporters:
    tracing:
      experimental_response_trace_id:
        enabled: true

By @bnjjj in #4702

Don't miss a new router release

NewReleases is sending notifications on new releases.