Skip to content

ypollak2/llm-router

v5.3.2 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

Published 1mo LLM Frameworks
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-routing anthropic claude claude-code cost-optimization gemini
+7 more
litellm llm llm-router mcp-server model-router ollama openai

Summary

AI summary

Comprehensive v5.3 audit demo added with 16 new validation tests.

Full changelog

Ruff Linting Cleanup

Fixed 14 ruff linting violations from refactoring fallout:

  • Removed unused imports across hook_client, service, service_manager, and test files
  • Eliminated unused variable assignments
  • Code now passes uvx ruff check src/ tests/ with 0 errors

New: Comprehensive v5.3 Audit Demo

Created tests/test_demo_v53.py with 16 tests validating core v5.3 features:

Demo 3a — Heuristic Classifier (5 tests)

Fast local classification without HTTP, covering infrastructure, query, code, analysis, and generation detection

Demo 3b — Sidecar Service HTTP API (5 tests)

FastAPI service endpoints validation: /health readiness and /classify routing decisions

Demo 3c — Enforce-Route Observation Mode (3 tests)

Validates enforce-route hook documentation and core tool protection design

Demo 3d — Correlation ID Propagation (3 tests)

Tests correlation ID generation and response structure integration

Release Scripts

Added scripts/audit_demo.sh — automated verification script that:

  • Runs ruff linting checks
  • Executes the full demo test suite
  • Runs critical path regression tests
  • Outputs release-ready summary

Quality Metrics

  • All 913 tests passing (including 16 new demo tests)
  • Ruff fully clean across src/ and tests/
  • Full backward compatibility maintained

Upgrade

```bash
pip install --upgrade claude-code-llm-router && llm-router install
```

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track ypollak2/llm-router

Get notified when new releases ship.

Sign up free

About ypollak2/llm-router

Subscription-aware LLM router for Claude Code. Routes tasks to 20+ providers (OpenAI, Gemini, Groq, Ollama, Codex) based on complexity classification, Claude subscription pressure, and cost. Free tasks stay on Claude subscription; expensive tasks fall back to the cheapest capable model. Includes 30 MCP tools, 6 auto-routing hooks, semantic dedup cache, prompt caching, daily spend cap, and a live web dashboard.

All releases →

Related context

Earlier breaking changes

  • v9.2.0 Changes auto‑route directive from advisory "DO NOT SKIP" to hard constraint with explicit blocked tools list.
  • v9.2.0 Breaks permanent downgrade of enforcement after first Edit/Write; v13 now requires per‑turn routing.

Beta — feedback welcome: [email protected]