Skip to content

HeliosProxy v0.4.0 Release Notes

HeliosProxy v0.4.0 Release Notes

HeliosProxy v0.4.0 expands the proxy from a connection router into a programmable PostgreSQL data plane. The release adds 22 modules, bringing the platform to 46 feature modules across routing, plugin execution, admin operations, and companion infrastructure.

Highlights

  • In-process anomaly detection for rate spikes, credential-stuffing bursts, SQL-injection patterns, and novel query shapes.
  • Edge mode with local cache, home-proxy invalidation, and bounded-staleness reads for geo-distributed deployments.
  • Stateful WebAssembly plugins through namespaced host KV imports.
  • Host-provided SHA-256 and optional Ed25519 plugin signature verification.
  • Portable .tar.gz plugin artifacts with manifest, WASM module, and optional signature sidecar.
  • RouteResult::Block for clean route-hook rejection over PostgreSQL wire errors.
  • Embedded admin Web UI and expanded admin REST API.
  • Kubernetes Operator, Terraform provider, and Pulumi provider companion projects.

New Core Modules

ModuleCapability
Anomaly DetectionRecords rate spikes, credential abuse, SQL-injection signals, and novel query fingerprints.
Edge / Geo ProxyProvides local cache at edges with home-proxy table invalidation.
Plugin Host KVAdds env.kv_get, env.kv_set, and env.kv_delete for plugin-local persistent state.
Plugin Host CryptoAdds env.sha256_hex backed by the host runtime.
Plugin SignaturesVerifies loaded plugins against an Ed25519 trust root.
Plugin OCI ArtifactsLoads packaged plugin artifacts containing manifest, WASM, and optional signature.
Route BlockingLets route hooks reject a query with a clear PostgreSQL error response.
Plugin Trust Root ConfigAdds [plugins].trust_root to require signed plugins in production.

First-Party Plugins

PluginPurpose
cost-governorPer-tenant query cost budgets using minute, hour, and day windows.
ai-classifierTags likely LLM-generated SQL for downstream policy plugins.
token-budgetApplies per-agent and per-model token budgets to AI traffic.
llm-guardrailBlocks high-risk SQL patterns from AI-tagged traffic.
pgvector-routerRoutes top-K vector queries to a vector-optimized node.
column-maskRewrites selected columns through masking functions based on role.
audit-chainMaintains a tamper-evident hash chain of query audit records.
residency-routerRoutes or blocks requests based on user data-residency policy.

Admin And Operations

The admin surface now exposes both a browser UI and JSON endpoints for topology, plugins, anomalies, edge mode, chaos overrides, shadow execution, and replay. The same API shape supports human operators and automation.

Companion Projects

ProjectPurpose
Kubernetes OperatorCRDs for HeliosProxy, PoolProfile, RoutingRule, AuditPolicy, and TenantQuota.
Terraform ProviderInfrastructure-as-code resources mirroring the operator CRDs.
Pulumi ProviderPulumi resource bindings generated through the Terraform provider bridge.
helios-plugin CLIPacks, inspects, signs, and verifies portable WASM plugin artifacts.

Compatibility

HeliosProxy v0.4.0 keeps the PostgreSQL-wire-compatible proxy model and remains compatible with PostgreSQL 12+ backends and PostgreSQL-wire-compatible services. Existing v0.3 connection-routing deployments can upgrade incrementally and enable the new modules through configuration.