Release v1.27.0
This release focuses on significant architectural improvements for performance
and robustness, including full context propagation for database operations and
dependency injection in background tasks.
Changed
- Refactor the scheduler and vulnerability jobs to use explicit database
dependency injection instead of global state, improving testability and
architectural decoupling. - Update all controller database operations to be context-aware, using
QueryContext,QueryRowContext, andBeginTxto ensure request-scoped
cancellation and prevent database connection pool exhaustion. - Bump github.com/lib/pq from 1.12.1 to 1.12.3 by @dependabot[bot] in #115
- Bump github.com/coreos/go-oidc/v3 from 3.17.0 to 3.18.0 by @dependabot[bot] in #116
- Bump github.com/tavsec/gin-healthcheck from 1.7.14 to 1.7.15 by @dependabot[bot] in #117
Fixed
- Prevent goroutine leaks in API key middleware by implementing bounded timeouts
usingcontext.WithTimeoutfor asynchronouslast_used_atupdates. - Improve panic recovery in asset deletion by logging the affected machine ID
context before re-panicking to Gin's middleware. - Fix test suite compatibility by updating function signatures in all existing
test files to match the new context-aware and dependency-injected
architecture.
Full Changelog: v1.26.1...v1.27.0