Skip to content

Release v1.0.0-beta.6: New CLI REPL, env var configs

Release

Aug 13, 20221 min read

Tobie Morgan Hitchcock

Tobie Morgan Hitchcock

Show all postsRelease v1.0.0-beta.6: New CLI REPL, env var configs

SurrealDB's latest beta version 1.0-beta.6 is now live, with a large number of bug and correctness fixes.

  • Add command-line SurrealQL REPL for quick querying of a database

  • Log username at server startup when root authentication is enabled

  • Enable SurrealDB server to be configured using environment variables

  • Implement config definition key and value caching within a transaction

  • Add array::sort functions for sorting of arrays and array fields

  • Ensure an error is returned when selecting from a non-existent table in strict mode

  • Allow polymorphic remote record constraints in DEFINE FIELD statements

  • Fix bug with SQL export, where DEFINE INDEX statements were not exported

  • Fix bug where multi-yield path expressions with multiple alias outputs were returning nested arrays

  • Fix bug where aliased field was not output when fetching a multi-yield expressions with a final alias yield

Our newsletter
Get tutorials, AI agent recipes, webinars, and early product updates in your inbox every two weeks

SurrealDB now supports the ability to start a command-line REPL to query a local or remote database from the terminal.

user@localhost % surreal sql --conn http://localhost:8000 --user root --pass root --ns test --db test

/releases

Related posts

Our newsletter

Get tutorials, AI agent recipes, webinars, and early product updates in your inbox every two weeks

SurrealDB

The context and memory layer for AI agents

Database. Graphs, vectors, documents and relational data in one engine, in a single ACID transaction.
Agent Memory. Connects and retrieves context wherever your data lives, every fact carrying its source.
Cloud. Fully managed, in the cloud provider and region you choose.

Explore with AI

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom