Changes to procedures in Neo4j 5.x

The page contains lists of introduced, deprecated, and removed procedures in Neo4j 5.x.

Introduced procedures

In Neo4j 5.x, the following procedures were introduced. For detailed information, go to the Operations manual → Procedures.

See procedures introduced in Neo4j 5.x.
Name Community Edition Enterprise Edition Comment

db.cdc.current()

No

Yes

Introduced in 5.17

db.cdc.earliest()

Yes

Yes

Introduced in 5.17

db.cdc.query()

No

Yes

Introduced in 5.17

dbms.cluster.moveToNextDiscoveryVersion()

No

Yes

Introduced in 5.26 Admin Only

dbms.cluster.deallocateDatabaseFromServer()

No

Yes

Introduced in 5.23

dbms.cluster.deallocateDatabaseFromServers()

No

Yes

Introduced in 5.23

dbms.cluster.deallocateNumberOfDatabases()

No

Yes

Introduced in 5.23

dbms.cluster.reallocateDatabase()

No

Yes

Introduced in 5.23

dbms.cluster.reallocateNumberOfDatabases()

No

Yes

Introduced in 5.23

dbms.cluster.recreateDatabase()

No

Yes

Introduced in 5.24

dbms.cluster.secondaryReplicationDisable()

No

Yes

Introduced in 5.6 Admin Only

dbms.cluster.showParallelDiscoveryState()

No

Yes

Introduced in 5.22 Admin Only

dbms.cluster.statusCheck()

No

Yes

Introduced in 5.24 Admin Only

dbms.cluster.switchDiscoveryServiceVersion()

No

Yes

Introduced in 5.22 Admin Only

db.create.setNodeVectorProperty

Yes

Yes

Introduced in 5.13 Beta

db.create.setRelationshipVectorProperty()

Yes

Yes

Introduced in 5.18 Beta

db.index.vector.queryNodes()

Yes

Yes

Introduced in 5.18

db.index.vector.queryRelationships()

Yes

Yes

Introduced in 5.18

genai.vector.encodeBatch()

Yes

Yes

Introduced in 5.17

genai.vector.listEncodingProviders()

Yes

Yes

Introduced in 5.19

Deprecated procedures

For more details on deprecated procedures, refer to the Operations manual → Procedures.

See procedures deprecated in Neo4j 5.x.
Name Community Edition Enterprise Edition Comment

cdc.current()

No

Yes

Introduced in 5.13 Beta Deprecated in 5.17 Replaced by: db.cdc.current()

cdc.earliest()

No

Yes

Introduced in 5.13 Beta Deprecated in 5.17 Replaced by: db.cdc.earliest()

cdc.query()

No

Yes

Introduced in 5.13 Beta Admin Only Deprecated in 5.17 Replaced by: db.cdc.query()

db.create.setVectorProperty()

Yes

Yes

Introduced in 5.11 Beta Deprecated in 5.13 Replaced by: db.create.setNodeVectorProperty()

dbms.cluster.readReplicaToggle()

No

Yes

Admin Only Deprecated in 5.6.
Replaced by: dbms.cluster.secondaryReplicationDisable().

dbms.cluster.routing.getRoutingTable()

Yes

Yes

Deprecated in 5.21.
Replaced by: dbms.routing.getRoutingTable().

dbms.cluster.uncordonServer()

No

Yes

Deprecated in 5.23.
Before Neo4j 5.23, the procedure can be run only with the Admin privileges.
Replaced by ENABLE SERVER.

dbms.setDatabaseAllocator()

No

Yes

Admin Only Deprecated in 5.23

dbms.upgrade()

Yes

Yes

Admin Only Deprecated in 5.9

dbms.upgradeStatus()

Yes

Yes

Admin Only Deprecated in 5.9

db.index.vector.createNodeIndex()

Removed procedures

See Neo4j 4.4 procedures removed in 5.0 and replaced by the Cypher commands
Name Community Edition Enterprise Edition Comment

db.createNodeKey()

No

Yes

Removed Replaced by OPTIONS of the CREATE CONSTRAINT ... IS NODE KEY command.

db.constraints()

Yes

Yes

Removed Replaced by SHOW CONSTRAINTS.

db.createUniquePropertyConstraint()

Yes

Yes

Removed Replaced by OPTIONS of the CREATE CONSTRAINT ... IS UNIQUE command.

db.createIndex()

Yes

Yes

Removed Replaced by OPTIONS of the CREATE INDEX command.

db.indexes()

Yes

Yes

Removed Replaced by SHOW INDEXES.

db.indexDetails()

Yes

Yes

Removed Replaced by SHOW INDEXES YIELD *.

db.schemaStatements()

Yes

Yes

Removed Replaced by SHOW INDEXES YIELD * and SHOW CONSTRAINTS YIELD *.

dbms.procedures()

Yes

Yes

Removed Replaced by SHOW PROCEDURES.

dbms.functions()

Yes

Yes

Removed Replaced by SHOW FUNCTIONS.

dbms.killQueries()

Yes

Yes

Removed Replaced by TERMINATE TRANSACTIONS.

dbms.killQuery()

Yes

Yes

Removed Replaced by TERMINATE TRANSACTIONS.

dbms.killTransaction()

Yes

Yes

Removed Replaced by TERMINATE TRANSACTIONS.

dbms.killTransactions()

Yes

Yes

Removed Replaced by TERMINATE TRANSACTIONS.

dbms.listQueries()

Yes

Yes

Removed Replaced by SHOW TRANSACTIONS.

dbms.listTransactions()

Yes

Yes

Removed Replaced by SHOW TRANSACTIONS.

dbms.security.createUser()

Yes

Yes

Removed Replaced by CREATE USER.

dbms.security.deleteUser()

Yes

Yes

Removed Replaced by DROP USER.

dbms.security.suspendUser()

No

Yes

Removed Replaced by ALTER USER.

dbms.security.activateUser()

No

Yes

Removed Replaced by ALTER USER.

dbms.security.changeUserPassword()

No

Yes

Removed Replaced by ALTER USER.

dbms.security.changePassword()

Yes

Yes

Removed Replaced by ALTER CURRENT USER SET PASSWORD.

dbms.security.createRole()

No

Yes

Removed Replaced by CREATE ROLE.

dbms.security.deleteRole()

No

Yes

Removed Replaced by DROP ROLE.

dbms.security.addRoleToUser()

No

Yes

Removed Replaced by GRANT ROLE.

dbms.security.removeRoleFromUser()

No

Yes

Removed Replaced by REVOKE ROLE.

dbms.security.listUsers()

Yes

Yes

Removed Replaced by SHOW USERS.

dbms.security.listRolesForUser()

No

Yes

Removed Replaced by SHOW USERS.

dbms.security.listRoles()

No

Yes

Removed Replaced by SHOW ROLES.

dbms.security.listUsersForRole()

No

Yes

Removed Replaced by SHOW ROLES WITH USERS.

db.index.fulltext.createNodeIndex()

Yes

Yes

Removed Replaced by CREATE FULLTEXT INDEX …​.

db.index.fulltext.createRelationshipIndex()

Yes

Yes

Removed Replaced by CREATE FULLTEXT INDEX …​.

db.index.fulltext.drop()

Yes

Yes

Removed Replaced by DROP INDEX …​.