Skip to content

v0.6.0

Choose a tag to compare

@garyblankenship garyblankenship released this 31 Mar 17:54
· 53 commits to main since this release

What's New

New Packages

  • gokart/fs — Atomic file writes (temp + rename), platform-aware config dir resolution via os.UserConfigDir(), and read-or-create helper
  • gokart/kv — Expanded Redis data structure operations (hash, sorted set, set, list, counters) wrapping *redis.Client from the cache package

Web Middleware

  • Health checksHealthHandler and ReadyHandler run dependency checks in parallel with panic recovery, returning ok/degraded/unhealthy statuses
  • Rate limiting — Per-IP token bucket rate limiter with configurable RPS/burst and Retry-After headers
  • Auth middlewareAPIKeyAuth (X-API-Key header or api_key query param) and BearerAuth (Authorization header) with context enrichment callbacks

CLI Scaffolder

  • Redis integrationgokart new --redis scaffolds Redis cache wiring; gokart add redis surgically adds it to existing projects

Dependency Updates

  • chi/v5 v5.2.3 → v5.2.5
  • a-h/templ v0.3.977 → v0.3.1001
  • go-playground/validator v10.30.1 → v10.30.2
  • go-redis v9.17.2 → v9.18.0