Skip to content

v0.0.5

Choose a tag to compare

@baladithyab baladithyab released this 12 Feb 22:33
· 241 commits to main since this release

What's New

Centralized Redis Pool (redis_pool.py)

  • Shared Redis client builder reading REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, REDIS_SSL env vars centrally
  • All Redis consumers (health, quota, MCP, cache, conversation affinity) now use the shared pool
  • Health check distinguishes Redis authentication failures from connectivity issues

Leader-Gated Migrations (migrations.py)

  • prisma db push gated behind ROUTEIQ_LEADER_MIGRATIONS env var
  • In HA mode, only the elected leader runs migrations; non-leaders wait via asyncio.Event
  • Integrated into startup sequence

API Key Prefix Support (auth.py)

  • sk-riq-* key prefix via ROUTEIQ_KEY_PREFIX env var (default: sk-riq-)
  • Accepts both prefixed and unprefixed keys for backward compatibility

Documentation

  • .env.example updated with 7 new sections covering all previously undocumented env vars (SSRF, Redis advanced, cache plugin, routing telemetry, circuit breakers, key prefix, leader migrations)

Container Image

ghcr.io/baladithyab/routeiq:0.0.5

Multi-arch: linux/amd64 + linux/arm64

Stats

  • 18 files changed, +1,641 / -45 lines
  • 2,001 unit tests passing
  • 66 new tests (16 redis_pool + 26 migrations + 24 auth prefix)