Skip to content

v1.2.0

Choose a tag to compare

@mxcd mxcd released this 31 Oct 00:06
· 4 commits to main since this release
42c7c99

Moves the library to github.com/govengers/wide-event-logger v1. Upgrade the logger together with auth; see docs/migration.md (D62). The GitHub wiki now mirrors the docs of every release.

Breaking changes

  • ginadapter / wide events: Observe and Require record on events of github.com/govengers/wide-event-logger v1 instead of github.com/mxcd/go-wide-event-logger v0.3.x. Mount the logger's v1 gin middleware; with the old middleware the code still compiles, but nothing is recorded.
  • ginadapter: RedactQuery takes the v1 *wideevent.Event and is a deprecated no-op: the v1 middleware redacts every query value itself unless the parameter is in Options.QueryAllowlist.
  • forwardauth image events: duration replaces response.latency and response.latency_ms; name is http.request; response.gin_errors is a list; request.id is generated when X-Request-ID is missing or invalid and echoed in the response header; method, host, path and client IP are capped at 32, 256, 2048 and 64 bytes. Adjust dashboards and alerts that read the old fields.

Changed

  • forwardauth records only service.version and forward.* itself; the logger records and caps the request fields, and each field is emitted once.
  • The wiki is published by CI for every newest stable release from that release's docs/wiki (D63).

Image: ghcr.io/govengers/forwardauth:1.2.0.