Deprecations, additions and compatibility
Cypher® is a graph query language that is constantly evolving. New features are added to the language continuously, and occasionally, some features become deprecated and are subsequently removed.
This section list all of the features that have been removed, deprecated, added, or extended in different Cypher versions. Replacement syntax for deprecated and removed features are also indicated.
Version 4.4
Deprecated features
Feature | Details |
---|---|
Functionality Deprecated
|
Implied grouping keys are deprecated. Only expressions that do not contain aggregations are still considered grouping keys. In expressions that contain aggregations, the leaves must be either:
|
Syntax Deprecated
|
Replaced by:
|
Syntax Deprecated
|
|
Syntax Deprecated
|
Replaced by:
|
Functionality Deprecated
|
B-tree indexes are deprecated, partially replaced for now, and will be fully replaced in 5.0 by future indexes. In 4.4, b-tree indexes are still the correct alternative to use. B-tree indexes used for string queries are replaced by:
B-tree indexes used for spatial queries will be replaced by:
B-tree indexes used for general queries or property value types will be replaced by:
These new indexes may be combined for multiple use cases. |
Functionality Deprecated
|
|
Functionality Deprecated
|
B-tree indexes are deprecated, partially replaced for now, and will be fully replaced in 5.0 by future indexes. In 4.4, b-tree indexes are still the correct alternative to use. Replaced by the new and future index types:
|
Functionality Deprecated
|
B-tree indexes are deprecated. Replaced by:
|
Functionality Deprecated
|
Node key and uniqueness constraints with b-tree options are deprecated and will be replaced in 5.0 by range options, see range indexes. In 4.4, the b-tree index-backed constraints are still the correct alternative to use. Will be replaced by:
Constraints used for string properties will also require an additional text index to cover the string queries properly. Constraints used for point properties will also require an additional point index to cover the spatial queries properly, see point indexes. |
Functionality Deprecated
|
Replaced by:
|
Functionality Deprecated
|
The ability to use the Instead use:
|
Procedure Deprecated
|
Replaced by:
|
Procedure Deprecated
|
Replaced by:
|
Procedure Deprecated
|
Replaced by:
|
Procedure Deprecated
|
Replaced by:
|
New features
Feature | Details |
---|---|
Functionality New
|
New clause for evaluating a subquery in separate transactions.
Typically used when modifying or importing large amounts of data.
See |
Syntax New
|
New syntax for creating constraints, applicable to all constraint types. |
Functionality New
|
Unique property constraints now allow multiple properties, ensuring that the combination of property values are unique. |
Functionality New Deprecated
|
Unique property constraints now allow multiple properties. Replaced by:
|
Syntax New
|
Existence constraints now allow an |
Functionality New
|
Token lookup indexes now allow an |
Functionality New
|
Allows creating text indexes on nodes or relationships with a particular label or relationship type, and property combination. They can be dropped by using their name. |
Functionality New
|
FUTURE INDEX: Allows creating range indexes on nodes or relationships with a particular label or relationship type, and properties combination. They can be dropped by using their name. |
Functionality New
|
FUTURE CONSTRAINT: Allows creating node key and uniqueness constraints backed by range indexes by providing the range index provider in the |
Functionality New
|
FUTURE INDEX: Allows creating point indexes on nodes or relationships with a particular label or relationship type, and property combination. They can be dropped by using their name. |
Syntax
New
|
New privilege that allows a user to assume privileges of another one. |
Functionality New
|
List transactions on the current server. The |
Functionality New
|
Terminate transactions on the current server. The |
Functionality New
|
New Cypher command for modifying a database by changing its access mode. |
Functionality New New privilege:
|
New privilege that allows a user to modify databases. |
Functionality New New privilege:
|
New privilege that allows a user to modify database access mode. |
Functionality New
|
New Cypher command for creating an alias for a database name. Remote aliases are only supported from version 4.4.8. |
Functionality New
|
New Cypher command for creating or replacing an alias for a database name. Remote aliases are only supported from version 4.4.8. |
Functionality New
|
New Cypher command for altering an alias. Remote aliases are only supported from version 4.4.8. |
Functionality New
|
New Cypher command for dropping a database alias. |
Functionality New
|
New Cypher command for listing database aliases. Only supported since version 4.4.8. |
Functionality New New privilege:
|
New privilege that allows a user to create, modify, delete and list aliases. Only supported since version 4.4.8. |
Functionality New New privilege:
|
New privilege that allows a user to create aliases. Only supported since version 4.4.8. |
Functionality New New privilege:
|
New privilege that allows a user to modify aliases. Only supported since version 4.4.8. |
Functionality New New privilege:
|
New privilege that allows a user to delete aliases. Only supported since version 4.4.8. |
Functionality New New privilege:
|
New privilege that allows a user to show aliases. Only supported since version 4.4.8. |