Skip to content

v0.0.61

Choose a tag to compare

@github-actions github-actions released this 02 May 01:40
· 278 commits to main since this release
fix: scope API key to /api/ routes; always log API requests

API_KEY was applied globally via r.Use(), blocking the web browser UI
(which never sends X-Api-Key). The middleware now only enforces the key
on paths starting with /api/ — web UI routes remain accessible from the
browser without any header.

GinMiddleware updated:
- All /api/ requests are now logged at Info level regardless of status,
  so every Android/API client call appears in the server log
- 4xx responses log at Warn, 5xx at Error (unchanged)
- User-Agent is included in /api/ log lines to distinguish client types
- Successful web UI page loads stay silent at Info level (debug only)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>