SurrealDB 2.2: Benchmarking, graph path algorithms and foreign key constraints
Blog post from SurrealDB
In 2025, SurrealDB is focusing on enhancing performance, stability, and features, following a year of foundational development with releases such as Surrealist and SurrealDB 2.0. The latest release includes improved benchmarking to evaluate the database's performance against other databases, significant upgrades in testing strategies for their query language SurrealQL, and the addition of graph path algorithms for better data handling. Notably, experimental features like record references introduce referential integrity similar to SQL's foreign key constraints, allowing more sophisticated data relationships. Other enhancements include better HTTP error messages, new environment variables for monitoring, optimized WebSocket implementation, and a new function to check object emptiness. The updates are aimed at improving developer experience and system efficiency, with comprehensive release notes available for further details and community feedback encouraged.