01 |THE MILESTONE
3.0 was the foundation.
3.1 is the production line.
Three months after 3.0 went GA, SurrealDB 3.1 lands as the first minor in the 3.x series. The catalog and on-disk layouts are unchanged from 3.0.x, so existing deployments roll forward in place. What changes is the operational surface around the database: stability, security hardening, observability, and the day-two tooling that enterprise teams expect from a database they are betting their architecture on.
02 |WHAT 3.1 DELIVERS
A balance sheet for production
3.1 is deliberately a stability release on top of the 3.0 line. The headline numbers below are taken directly from the 3.1.0 release notes and describe the work that landed across the 3.1 series.
10
Highlight features
From DiskANN and the MCP server to a unified observability pipeline, Surrealism async functions, and durable distributed index builds.
46
Broader improvements
Performance, RocksDB tuning, SDK surface, GraphQL overhaul, scan path optimisations, and operational defaults.
108
Bug fixes
Across the query engine, planner, indexes, storage, RPC, transactions, auth, events, and logging.
22
Security fixes
A combination of issues reported by external researchers and findings from SurrealDB's internal security review process.
03 |VECTOR SEARCH AT SCALE
DiskANN, for vectors that no
longer fit in memory
DiskANN now ships as a second approximate nearest neighbour index alongside HNSW, under the same <|K, EF|> operator. HNSW remains the right choice when the working set fits comfortably in memory and recall is the binding constraint. DiskANN is purpose built for the workloads where it does not: large agent corpora, billion scale retrieval, and long lived production indexes that have to grow without rebuilding the host.
DEFINE INDEX
pts_idx ON pts FIELDS embedding DISKANN DIMENSION 768
KNN OPERATOR
<|K, EF|>
in-memory
Recall first
larger than memory
Scale first
- Both DiskANN and HNSW gain F16, U8, and I8 element types, plus inner product and cosine normalised distance metrics.
- The warm lookup path is rewritten end to end. HNSW inherits the same caches and benefits from the change at no migration cost.
- Concurrent builds and KNN queries are safe at release. A freshly defined index is immediately usable.
04 |OPERATIONAL MATURITY
Day two is now a first class concern
The observability surface, the retry budgets, the shutdown sequence, and the audit pipeline in 3.1 are designed for the people who run SurrealDB in production. Three signals on one OpenTelemetry pipeline. Trace context that survives every transport. Retry behaviour you can reason about under load.
05 |SECURITY AND COMPLIANCE
A larger security section than usual, on purpose
3.1 closes a notably larger batch of security issues than previous releases. The increase is driven by a deliberate investment in internal security review, including LLM assisted review in line with wider industry practice. Most issues are reachable only by an authenticated caller with existing privileges, but every fix in this release ships enabled by default with no configuration required.
06 |A NEW RELEASE PROCESS
Closing security issues faster, on the same cadence
Starting with 3.1, day to day development moves to a private repository. The public surrealdb/surrealdb repo remains the source of truth for releases, issues, and the source code that users read. The week between release and public sync gives the team a private window to triage and ship a fix before the underlying issue becomes visible. This is the same model used by most database and infrastructure projects at comparable scale.
- Issues, pull requests, and discussions continue on the public repo and are watched daily.
- Security reports route through the public GitHub Security Advisory flow or security@surrealdb.com.
- Public commits arrive as batched updates around each release rather than a continuous stream.
07 |EVERYTHING NEW
The broader 3.1 surface
Beyond the operational and security work, 3.1 introduces an MCP server, a GraphQL overhaul, expanded ALTER coverage, durable distributed index build coordination, predicate prefilter and scan path performance work, memory optimisations on the value layer, and async functions in Surrealism plugins.
08 |TALK TO US
See SurrealDB 3.1 in your stack
Book a walkthrough with our team. We will pressure test 3.1 against your production workload, scope a proof of concept, and map the migration path from 3.0 or 2.x.
- A production readiness review covering observability, audit, and operational defaults
- Vector workload sizing across HNSW and DiskANN for your corpus and recall targets
- Compliance walkthrough across SOC 2, ISO 27001, FIPS, and the regulated deployment options
- A migration plan from 3.0 or 2.x, with the breaking changes applied to your stack
FREQUENTLY ASKED QUESTIONS