Compare commits

..

1 Commits

Author SHA1 Message Date
Diego Rodrigues de Sa e Souza 46a532540c chore(release): v3.5.7 (#1091)
Build Electron Desktop App / Validate version (push) Failing after 35s
Build Electron Desktop App / Build Electron (macos-arm64) (push) Has been skipped
Build Electron Desktop App / Build Electron (linux) (push) Has been skipped
Build Electron Desktop App / Build Electron (macos-intel) (push) Has been skipped
Build Electron Desktop App / Build Electron (windows) (push) Has been skipped
Build Electron Desktop App / Create Release (push) Has been skipped
Build Electron Desktop App / Publish to npm (push) Has been skipped
Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
2026-04-09 17:33:30 -03:00
6 changed files with 23 additions and 6 deletions
+8
View File
@@ -4,6 +4,14 @@
---
## [3.5.7] — 2026-04-09
### 🐛 Bug Fixes & Security
- **Turbopack Standalone Chunks:** Fixed a critical bug in `scripts/prepublish.mjs` where Turbopack chunks missing from the `.next/standalone` trace resulted in a `500 ChunkLoadError` (e.g., `_not-found` page crash) during production deployments via NPM or Docker. Standalone chunks are now explicitly copied and correctly stripped of Turbopack hashes.
---
## [3.5.6] — 2026-04-09
### ✨ New Features
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "omniroute-desktop",
"version": "3.5.6",
"version": "3.5.7",
"description": "OmniRoute Desktop Application",
"main": "main.js",
"author": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@omniroute/open-sse",
"version": "3.5.6",
"version": "3.5.7",
"description": "Express SSE sidecar for OmniRoute — handles streaming, protocol translation, and provider orchestration",
"type": "module",
"main": "index.js",
+3 -3
View File
@@ -1,12 +1,12 @@
{
"name": "omniroute",
"version": "3.5.6",
"version": "3.5.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "omniroute",
"version": "3.5.6",
"version": "3.5.7",
"hasInstallScript": true,
"license": "MIT",
"workspaces": [
@@ -20989,7 +20989,7 @@
},
"open-sse": {
"name": "@omniroute/open-sse",
"version": "3.5.5"
"version": "3.5.6"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "omniroute",
"version": "3.5.6",
"version": "3.5.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": {
+9
View File
@@ -110,6 +110,15 @@ console.log(" 📋 Copying standalone build to app/...");
mkdirSync(APP_DIR, { recursive: true });
cpSync(standaloneDir, APP_DIR, { recursive: true });
// ── Next.js Turbopack Standalone Tracer Fix ───────────────
// Workaround for Next.js 15+ standalone mode missing Turbopack chunks
const staticChunksSrc = join(ROOT, ".next", "server", "chunks");
const staticChunksDest = join(APP_DIR, ".next", "server", "chunks");
if (existsSync(staticChunksSrc)) {
console.log(" 📋 Patching standalone build with missing Turbopack chunks...");
cpSync(staticChunksSrc, staticChunksDest, { recursive: true, force: false });
}
// ── Step 5.5: Sanitize hardcoded build-machine paths ───────
// Next.js standalone bakes absolute build-time paths into server.js and
// required-server-files.json (outputFileTracingRoot, appDir, turbopack root).