v1.7.0
Release Date: 2026-11-14
Theme: Security & SSRF Remediations, Pure-SDK Parity, Operator Web UI Wiring, Helm Chart & Automated Release Packaging
Security & SSRF Defense-in-Depth
- Canonical Provider
BaseURL& Preflight SSRF Enforcement (internal/adapter/,internal/server/): Added canonicalValidateAndResolveBaseURLacross native adapters (openai,anthropic,mistral,ollama,gemini,azure),openaicompatprofiles (ProfileRegistry+resolveEndpointBase), and admin credential creation/rotation/validation handlers. Restricted private-network preflight probes toplatform_admin, and hardened GeminiisVertexExpressKeyto parsed hostname equality. - Isolated Untrusted Media Fetch Policy (
internal/adapter/media.go): AddedDefaultPublicMediaPolicyandFetchRemoteDataURIWithPolicy, isolating end-userimage_urlanddocument.urlfetches onollamaandvertexbehind strict public-HTTPSmediaPolicy/mediaClientinstances (AllowPrivateNetworks: false,AllowInsecureHTTP: false). - Response, Header & Concurrency Hardening (
internal/server/,internal/auth/,internal/logger/): Emitted strictContent-Security-Policy: default-src 'none'; frame-ancestors 'none'on non-UI routes, validated/v1/audio/speechContent-Type, sanitizedX-Request-Idand fallbackContent-Type, scopedsha256.Sum256JWT signature checks strictly toRS256/ES256, warned on shortauth.default_virtual_key(< 32 chars), streamed multipart image uploads viaio.Copy, and fixed a response-marshal race inhandleCreateBatch.
Go SDK (pkg/gateway), Contracts & Streaming Telemetry
- WebSocket Realtime & Pure-SDK Modality Wrappers (
pkg/gateway/): AddedConnectRealtime(*RealtimeSessionwithSendEvent,ReadEvent, andClose),WithHTTPClient, and zero-internal-import typed SDK methods (CreateEmbedding,CreateRerank,CreateModeration,CreateResponse,StreamResponse,CreateImage,CreateSpeech,TranscribeAudio, andGetSpendSummary). See the Go SDK API Reference. /v1+/admin/v1Spec Parity & Streaming Headers (cmd/specgen/,internal/server/): Updatedcmd/specgento verify both/v1and/admin/v1route parity (63Unified OpenAPI paths), emittedX-Gateway-ProviderandX-Gateway-Modelbefore the first SSE chunk on streaming chat completions, and exposedX-Gateway-*telemetry headers via CORSAccess-Control-Expose-Headers.- Multi-Replica HA & Tri-State Serialization (
internal/auth/,internal/storage/,internal/server/): Preserved 3-state allowlists (null= Inherit vs[]= Deny All) across Redis L2IdentityContext,Team/VirtualKeyJSON responses, andoptionalStringSlicepatch decoding (PATCH/PUThandlers), and ensuredPostgresRepositorymutations andTEXT[] NOT NULLbindings stay coherent across multi-replica pods.
Routing & Operator Web UI (web/, internal/ui/)
- 6th Load-Balancing Strategy (
round-robin) (internal/domain/,internal/router/): Addeddomain.StrategyRoundRobin("round-robin") with per-ModelGroupIDatomic rotation inLoadBalancer.selectRoundRobin. See Routing & Load Balancing. - Control-Plane Contract Alignment: Synced TypeScript models and views with
spent_micros, 7 user/key roles (platform_adminthroughservice_account/viewer), explicit 3-stateInherit | Deny All | Custom Listallowlist controls,round-robinrouting strategy, Pricing History modal, full Guardrails controls (mode,scan_all_roles, toxicity filter, content categories),MCPTool.input_schema, OAuth2/static_headersMCP config,none | static | vault_jwtA2A auth, inlinevalid: falsecredential validation errors, URL-encoded admin queries, and<ScopedRoleNotice>403handling across all 16sanitizeRuntimeConfigsections. - SSE Playground & Nested SPA Assets: Fixed SSE
event: errordetection and EOF decoder flushing, dynamically populated Playground model aliases from unlocked admin endpoints, removed empty assistant error placeholders, and switched favicon/logo assets to/ui/*paths within the<= 420 KB/<= 125 KBgzip bundle budget.
Database Migrations (0013–0015) & Release Packaging
- Migration
0013_user_limits_and_spend_indexes: Adds per-userrpm_limit,tpm_limit,max_concurrent_requests,max_budget_micros,spent_micros,budget_reset_period, andbudget_reset_atcolumns tousers, plus(org_id, team_id)and(org_id, user_id)indexes onspend_logs. - Migration
0014_budget_reset_outbox_user_scope: Expandsbudget_reset_outbox_scope_checktoCHECK (scope IN ('org', 'team', 'user', 'key')). - Migration
0015_team_org_concurrency: Addsmax_concurrent_requeststoorganizationsandteams. - Helm Chart & Automated Release Packaging (
deployments/helm/goroute/,.github/workflows/release.yml,Makefile): Addedmake release-assetsfor cross-platform archives (darwin/linux/windows,amd64/arm64),checksums.txt, Helm.tgz(goroutechart0.2.0/appVersion: 1.7.0), and Kubernetes bundle archives alongside multi-archghcr.io/goroute-ai/ai-gateway-gopublishing with full OCI image labels. See Helm Chart Deployment.