github apollographql/router v1.42.0

latest releases: v1.47.0, v1.47.0-rc.0, v1.46.0...
2 months ago

🚀 Features

Add headers to the JWKS download request (Issue #4651)

The router supports the new authentication.router.jwt.jwks.headers option for setting static headers on HTTP requests to download a JWKS from an identity provider.

For details, see the JWKS configuration option.

By @Geal in #4688

Support loading JWT from other sources (PR #4711)

The router supports the new authentication.router.jwt.sources option. It enables cookies as an alternative source for tokens and allows multiple alternative sources.

For details, see the sources configuration option.

By @Geal in #4711

🐛 Fixes

Attach dd.trace_id to JSON formatted log messages (PR #4764)

To enable correlation between DataDog tracing and logs, dd.trace_id must appear as a span attribute on the root of each JSON formatted log message.
Once you configure the dd.trace_id attribute in router.yaml, it will automatically be extracted from the root span and attached to the logs:

telemetry:
  instrumentation:
    spans:
      mode: spec_compliant
      router:
        attributes:
          dd.trace_id: true

By @BrynCooke in #4764

Don't miss a new router release

NewReleases is sending notifications on new releases.