diff --git a/TypeDBConsole.java b/TypeDBConsole.java index 05602a7c..527a74f4 100644 --- a/TypeDBConsole.java +++ b/TypeDBConsole.java @@ -228,7 +228,7 @@ private Completers.TreeCompleter getCompleter(TypeDBClient client) { .forEach(name -> candidates.add(new Candidate(name))); Completer userNameCompleter = (reader, line, candidates) -> { client.asCluster().users().all().stream() - .map(User::name) + .map(User::username) // "admin" user is excluded as it can't be deleted .filter(name -> name.startsWith(line.word()) && !"admin".equals(name)) .forEach(name -> candidates.add(new Candidate(name))); @@ -461,7 +461,7 @@ private boolean runUserList(TypeDBClient client) { } TypeDBClient.Cluster clientCluster = client.asCluster(); if (clientCluster.users().all().size() > 0) - clientCluster.users().all().forEach(user -> printer.info(user.name())); + clientCluster.users().all().forEach(user -> printer.info(user.username())); else printer.info("No users are present on the server."); return true; } catch (TypeDBClientException e) { diff --git a/VERSION b/VERSION index f90b1afc..197c4d5c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.2 +2.4.0 diff --git a/dependencies/vaticle/artifacts.bzl b/dependencies/vaticle/artifacts.bzl index 8c4e5bf8..4a2bedd3 100644 --- a/dependencies/vaticle/artifacts.bzl +++ b/dependencies/vaticle/artifacts.bzl @@ -25,5 +25,5 @@ def vaticle_typedb_artifact(): artifact_name = "typedb-server-linux-{version}.tar.gz", tag_source = deployment["artifact.release"], commit_source = deployment["artifact.snapshot"], - commit = "7dea3d4a6254a8965cc5f9b0d55e094098f7c38c", + commit = "6ed020e52fe379d1100f64511805ed344c7a68db", ) diff --git a/dependencies/vaticle/repositories.bzl b/dependencies/vaticle/repositories.bzl index 9221e52b..102d94f6 100644 --- a/dependencies/vaticle/repositories.bzl +++ b/dependencies/vaticle/repositories.bzl @@ -21,7 +21,7 @@ def vaticle_dependencies(): git_repository( name = "vaticle_dependencies", remote = "https://github.com/vaticle/dependencies", - commit = "7fcd2236cc964d6a87b3aef53b9b528ca9ec9da7", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies + commit = "69d1fb1f0398b285b51b46391c5b2de45b13789b", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies ) def vaticle_typedb_common(): @@ -35,5 +35,5 @@ def vaticle_typedb_client_java(): git_repository( name = "vaticle_typedb_client_java", remote = "https://github.com/vaticle/typedb-client-java", - tag = "2.3.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_client_java + tag = "2.4.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_client_java )