---
title: "Release v1.0.0-beta.6: New CLI REPL, env var configs"
description: "Add CLI SurrealQL REPL, log username at startup, allow env var configs for SurrealDB server, config definition key and value caching within a transaction."
url: https://surrealdb.com/blog/release-v1-0-0-beta-6
date: 2022-08-13
authors: "Tobie Morgan Hitchcock"
---

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

![Release v1.0.0-beta.6: New CLI REPL, env var configs](https://cdn.surrealdb.com/cl93uia03ggs73c8trsg.auto)

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

## Changes

- 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

## SurrealDB REPL

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

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

/releases
