What's New & Upgrading to v0.7.8
Stravia v0.7.8 replaces the single outbound proxy configuration with a named proxy list and per-consumer proxy_mode selection (migration 0060), links the official plugin marketplace source to Release / Beta product update channels, adapts Desktop native window materials to the host OS build, reduces steady-state memory and SQLite cache footprint, and ships routing, WebUI, and vendor plugin fixes accumulated across v0.7.7 and v0.7.8.
Key changes in v0.7.8 vs. v0.7.6 (including v0.7.7)
| Area | Change in v0.7.7–v0.7.8 | Impact |
|---|---|---|
Named Outbound Proxies & proxy_mode (0060) | Replaces single outbound_proxy ({url, bypass, force_http1}) with a named list {"proxies": [{"id", "name", "url"}]} supporting http://, https://, socks5://, and socks5h://. Replaces providers.use_proxy, web_providers.use_proxy, OAuth use_proxy, and update_use_proxy with proxy_mode ("none", "system", or "<proxy_id>"). Adds GET /api/v1/settings/outbound-proxy/system and POST /api/v1/settings/outbound-proxy/probe (10-domain AI exit IP probe) plus delete-in-use protection. | Breaking for admin API callers and legacy proxy bypass rules: bypass and force_http1 are removed; legacy keys (update_use_proxy, proxy_enabled, proxy_url, proxy_bypass, proxy_force_http1) are rejected. Migration 0060_proxy_list_and_selection.sql moves a non-empty legacy URL to proxy id "default", maps use_proxy = true to "default" (or "system" when URL was empty), keeps use_proxy = false as "none", and defaults newly created connections to "system" (Desktop = OS proxy, Server = process proxy env vars, direct if unset). |
Update Channels & Marketplace Sync (v0.7.7–v0.7.8) | Adds Release / Beta product update channel switching (PUT /api/v1/updates/channel) persisted across upgrades; switching back to Release clears cached prerelease metadata and staged prerelease downloads. The official plugin marketplace source (Stravia-AI/StraviaPlatform) now automatically follows the active product update channel instead of an independent prerelease toggle. | Prerelease builds default to Beta until switched; switching channels immediately aligns both product updates and official plugin catalog visibility. |
OS-Aware Desktop Window Materials (v0.7.8) | Desktop selects native window materials based on OS build: native Mica on Windows 11 (build >= 22000), Opaque on Windows 10 (or unknown builds) and Linux, and Sidebar vibrancy on macOS; injects window.__STRAVIA_WINDOW_MATERIAL__ before parse. Fixes Desktop external-access port rebinding with retry/rollback and fixes Linux ARM64 AppImage packaging. | Prevents unreadable transparent/broken chrome on Windows 10 while keeping native vibrancy on Windows 11 and macOS. |
Memory, SQLite & Write-Path Efficiency (v0.7.7–v0.7.8) | Linux Server uses mimalloc (override, MIMALLOC_PURGE_DELAY=0 default); SQLite per-connection page cache drops from 16 MiB to 8 MiB (128 MiB mmap_size, synchronous=FULL preserved); observation events and history index writes batch more aggressively with lower memory overhead. | Lower steady-state RSS on Desktop and Server without weakening SQLite durability. |
Routing, Observations & Vendor Fixes (v0.7.7–v0.7.8) | Fixes model route purpose eligibility so trait tags (image_input, reasoning, structured_output, upstream path) never mask inference or web_search eligibility; fixes Antigravity nullable/nested MCP tool-schema projection (avoiding upstream 400s) and multi-user-item first-turn requestId detection; updates OpenCode Zen (/inference/openai/v1) and OpenCode Go (/inference/go/openai/v1) endpoints; fixes /logs live error window upper bound, tab navigation races, and full visible output aggregation. | Refresh standalone Wasm vendor plugins to v0.7.8 (host_version_req >=0.7.8) to pick up Antigravity and other plugin fixes. |
WebUI Navigation, Settings Groups & About (v0.7.7) | Reorganizes /settings into General, Network, Data, Account, and Advanced groups; persists active tabs in URL query params across /settings, /connect, /logs, /providers/[id], /vendor-plugins, and /reversible-redaction; expands Settings → General → About with documentation, Bilibili, QQ group (1125500160), and WeChat Official Account links. | Deep links and browser Back/Forward preserve exact tab state. |
Earlier v0.7.6 & 0.6.x–0.7.5 changes (cross-version upgrades)
| Area | Change | Impact |
|---|---|---|
Thinking-Level Convergence (0059, v0.7.6) | Converges internal IR, route mappings, vendor plugins, and WebUI onto canonical effort controls (Effort and Hidden only). | Breaking for legacy clients: Inbound Anthropic thinking.type = "enabled" / non-null thinking.budget_tokens and Gemini non-null thinkingConfig.thinkingBudget return HTTP 400. Generation prefix namespace bumps to stravia-generation-history-v6:. |
Web Provider Externalization (0058, v0.7.6) | Removes built-in LocalWeb Chromium runtime (/api/v1/web-access/browser, STRAVIA_CHROME_PATH, NixOS browserPackage) and hardcoded local/exa/zhipu adapters; Web Providers are injected via GatewayBuilder::web_provider_factory and discovered via GET /api/v1/web-provider-kinds. | External Search Routes (web_search: DeepSeek, Codex, Antigravity) remain built in; migration 0058 deletes web-provider-local and keeps legacy non-local rows visible as Not installed. |
| Platform Task Model, Connect MCP Tab & DeepSeek Harness (v0.7.6) | Adds GET/PUT /api/v1/platform-llm (auto Console Chat titles), /connect MCP tab, and $DSH_HOME/cordis.patch.yml generation (openai-responses). | Opt-in under Settings → General → Platform tasks; re-apply DeepSeek Harness config if upgrading from ≤ v0.7.5. |
Route Purpose, Transparent Injections & Credential Protection (0032–0042, 0055, 0057, v0.6.x–v0.7.5) | Single route purpose (inference, image_generation, web_search), transparent_injections[] (including history_recall), spend_limit, Responses V2 compaction_trigger, HTTP/WS compression, nested StraviaRead.body, and 461 Betterleaks rules (Kingfisher removed). | /v1/responses/compact, /v1/embeddings, Anthropic remote compaction, legacy inject_* fields, and flat StraviaRead args are removed/rejected; 0055 cleans legacy retired/empty-attribution credential mappings. |
Pre-upgrade checklist
- Stop Stravia and back up
<data-dir>(db/gateway.db,server.toml,plugins/,artifacts/), any external PostgreSQL database, and any external S3 bucket. - Audit outbound proxy usage before
0060: Note any hosts previously listed inoutbound_proxy.bypass(removed in v0.7.8) and update any automation scripts that read/writeoutbound_proxy,update_use_proxy, oruse_proxyto use the named proxy list andproxy_mode(none,system, or<proxy_id>). - Verify PostgreSQL Redis config: Ensure
[cache] redis_urlis already present inserver.tomlbefore starting v0.7.8 against PostgreSQL. - Refresh all standalone Wasm vendor plugins: Update installed standalone plugins to v0.7.8 from System → Vendor plugins after upgrading the host.
- If upgrading from v0.7.5 or earlier: Migrate downstream Anthropic/Gemini clients off legacy
budget_tokens/thinkingBudgetparameters, and allow headroom for migrations0032–0042,0055,0057–0060plushistory_indexrebuild progress. - Update old Desktop installations (
≤ 0.6.2) manually: Install thev0.7.8Desktop package directly so the updater supports the 6-platform release manifest. - Post-upgrade sanity check: Confirm
/readyzreturns200, inspect Settings → Network → Proxy (run Probe IP if desired) and per-providerproxy_mode, verify Settings → General → Updates channel (Releasevs.Beta), and confirm routes under Models.