From fb87df14fd6fbf7a6510c150521739692c56326a Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sat, 7 Mar 2026 06:58:07 -0300 Subject: [PATCH] =?UTF-8?q?feat(release):=20v2.0.7=20=E2=80=94=20custom=20?= =?UTF-8?q?image=20model=20routing=20+=20Codex=20OAuth=20workspace=20isola?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 23 +++++++++++++++++++++++ package.json | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88f5c4f2cf..bc865c6804 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [2.0.7] — 2026-03-07 + +> ### 🐛 Bug Fixes — Custom Image Models + Codex OAuth Workspace Isolation + +### 🐛 Bug Fixes + +- **#232 — Custom Gemini image models fail on `/v1/images/generations`** — Custom models tagged with `supportedEndpoints: ["images"]` appeared in the model listing (GET) but were rejected by the POST handler. `parseImageModel()` only checked the built-in `IMAGE_PROVIDERS` registry. Fix: added a custom model DB fallback for models with the `images` endpoint tag. PR #237 +- **#236 — Codex OAuth overwrites existing connection when same email added to another workspace** — The OAuth callback route had 3 upsert blocks matching connections by email-only, bypassing the workspace-aware logic in `createProviderConnection()`. When the same email authenticated to a new workspace, the existing connection's `workspaceId` was silently overwritten. Fix: for Codex, the match now also checks `providerSpecificData.workspaceId`, allowing separate connections per workspace. PR #237 + +### 📁 Files Changed + +| File | Change | +| ------------------------------------------------ | ---------------------------------------------------- | +| `src/app/api/v1/images/generations/route.ts` | Custom model DB fallback in POST handler | +| `src/app/api/oauth/[provider]/[action]/route.ts` | Workspace-aware Codex matching in 3 upsert locations | + +### ⏭️ Issues Triaged + +- **#234** — Playground feature request — Acknowledged, added to roadmap +- **#235** — ACP support feature request — Acknowledged, added to roadmap + +--- + ## [2.0.6] — 2026-03-07 > ### 🐛 Bug Fix — Custom Model API Format Routing diff --git a/package.json b/package.json index 524dc14acd..96ab17cd29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "omniroute", - "version": "2.0.6", + "version": "2.0.7", "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": {