Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
chore(release): v2.9.0 — cross-platform machineId, per-key rate limits, streaming cache, Alibaba DashScope, search analytics, ZWS v5, 8 issues closed
diegosouzapwc74ed29739a1
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 393d819e2c..b851653963 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,41 @@---+## [2.9.0] — 2026-03-20++> Sprint: Cross-platform machineId fix, per-API-key rate limits, streaming context cache, Alibaba DashScope, search analytics, ZWS v5, and 8 issues closed.++### ✨ New Features++- **feat(search)**: Search Analytics tab in `/dashboard/analytics` — provider breakdown, cache hit rate, cost tracking. New API: `GET /api/v1/search/analytics` (#feat/search-provider-routing)+- **feat(provider)**: Alibaba Cloud DashScope added with custom endpoint path validation — configurable `chatPath` and `modelsPath` per node (#feat/custom-endpoint-paths)+- **feat(api)**: Per-API-key request-count limits — `max_requests_per_day` and `max_requests_per_minute` columns with in-memory sliding-window enforcement returning HTTP 429 (#452)+- **feat(dev)**: ZWS v5 — HMR leak fix (485 DB connections → 1), memory 2.4GB → 195MB, `globalThis` singletons, Edge Runtime warning fix (@zhangqiang8vip)++### 🐛 Bug Fixes++- **fix(#506)**: Cross-platform `machineId` — `getMachineIdRaw()` rewritten with try/catch waterfall (Windows REG.exe → macOS ioreg → Linux file read → hostname → `os.hostname()`). Eliminates `process.platform` branching that Next.js bundler dead-code-eliminated, fixing `'head' is not recognized` on Windows. Also fixes #466.+- **fix(#493)**: Custom provider model naming — removed incorrect prefix stripping in `DefaultExecutor.transformRequest()` that mangled org-scoped model IDs like `zai-org/GLM-5-FP8`.+- **fix(#490)**: Streaming + context cache protection — `TransformStream` intercepts SSE to inject `<omniModel>` tag before `[DONE]` marker, enabling context cache protection for streaming responses.+- **fix(#458)**: Combo schema validation — `system_message`, `tool_filter_regex`, `context_cache_protection` fields now pass Zod validation on save.+- **fix(#487)**: KIRO MITM card cleanup — removed ZWS_README, generified `AntigravityToolCard` to use dynamic tool metadata.++### 🧪 Tests++- Added Anthropic-format tools filter unit tests (PR #397) — 8 regression tests for `tool.name` without `.function` wrapper+- Test suite: **821 tests, 0 failures** (up from 813)++### 📋 Issues Closed (8)++- **#506** — Windows machineId `head` not recognized (fixed)+- **#493** — Custom provider model naming (fixed)+- **#490** — Streaming context cache (fixed)+- **#452** — Per-API-key request limits (implemented)+- **#466** — Windows login failure (same root cause as #506)+- **#504** — MITM inactive (expected behavior)+- **#462** — Gemini CLI PSA (resolved)+- **#434** — Electron app crash (duplicate of #402)+## [2.8.9] — 2026-03-20> Sprint: Merge community PRs, fix KIRO MITM card, dependency updates.diff --git a/docs/openapi.yaml b/docs/openapi.yamlindex f3ae86c2e6..c600c1709f 100644--- a/docs/openapi.yaml+++ b/docs/openapi.yaml@@ -1,7 +1,7 @@openapi: 3.1.0info:title: OmniRoute API- version: 2.8.9+ version: 2.9.0description: |OmniRoute is a local-first AI API proxy router. It provides an OpenAI-compatibleendpoint that routes requests to multiple AI providers with load balancing,diff --git a/package-lock.json b/package-lock.jsonindex 72c2ad6ecc..835b1c1e02 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "omniroute",- "version": "2.8.9",+ "version": "2.9.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "omniroute",- "version": "2.8.9",+ "version": "2.9.0","hasInstallScript": true,"license": "MIT","workspaces": [diff --git a/package.json b/package.jsonindex 9136519c25..12b03c3f55 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "omniroute",- "version": "2.8.9",+ "version": "2.9.0","description": "Smart AI Router with auto fallback — route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.","type": "module","bin": {