You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/queries/select-version.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ In the releases following Neo4j 2026.06, features will only be added to Cypher 2
21
21
*Any new Cypher features introduced in Neo4j 2025.06 or later will be exclusively added to Cypher 25.*
22
22
23
23
Users running Neo4j version 2025.06 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
24
-
If so, Neo4j will use Cypher as it existed at the time of the Neo4j 2025.05 release, the release in which Cypher 5 was frozen.
25
-
*No new features will be added to Cypher 5* (only performance enhancements and eventual bug fixes may be included in server releases following Neo4j 2025.05).
24
+
If so, Neo4j will use Cypher 5 as it existed at the time of the Neo4j 2025.06 release (the release in which Cypher 5 was frozen).
25
+
*No new features will be added to Cypher 5* (only performance enhancements and eventual bug fixes may be included in server releases following Neo4j 2025.06).
26
26
For information about Cypher 5, see the link:https://neo4j.com/docs/cypher-manual/5/introduction/[Cypher 5 Manual].
27
27
28
28
[NOTE]
@@ -49,7 +49,7 @@ Setting the default language requires the link:{neo4j-docs-base-uri}/operations-
49
49
.Cypher 25
50
50
[source,cypher]
51
51
----
52
-
CREATE DATABASE my_new_database DEFAULT LANGUAGE CYPHER 25
CREATE DATABASE my_database DEFAULT LANGUAGE CYPHER 5
63
+
CREATE DATABASE movies DEFAULT LANGUAGE CYPHER 5
64
64
----
65
65
66
66
======
@@ -80,7 +80,7 @@ Altering the default language requires the link:{neo4j-docs-base-uri}/operations
80
80
.Cypher 25
81
81
[source,cypher]
82
82
----
83
-
ALTER DATABASE my_database SET DEFAULT LANGUAGE CYPHER 25
83
+
ALTER DATABASE movies SET DEFAULT LANGUAGE CYPHER 25
84
84
----
85
85
86
86
======
@@ -91,16 +91,16 @@ ALTER DATABASE my_database SET DEFAULT LANGUAGE CYPHER 25
91
91
.Cypher 5
92
92
[source,cypher]
93
93
----
94
-
ALTER DATABASE my_new_database SET DEFAULT LANGUAGE CYPHER 5
94
+
ALTER DATABASE actors SET DEFAULT LANGUAGE CYPHER 5
95
95
----
96
96
97
97
======
98
98
=====
99
99
100
100
Selecting `CYPHER 25` ensures that all queries run on that database will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.06 or later (unless a query is prepended with xref:selection-query-cypher-version[`CYPHER 5`], which overrides this default).
101
101
102
-
Selecting `CYPHER 5` as the default database language ensures that all queries run on that database uses the language as it existed at the time of the Neo4j 2025.05 release (unless a query is prepended with xref:selection-query-cypher-version[`CYPHER 25`], which overrides this default).
103
-
Any changes introduced after the 2025.05 release will not affect the semantics of the query.
102
+
Selecting `CYPHER 5` as the default database language ensures that all queries run on that database uses the language as it existed at the time of the Neo4j 2025.06 release (unless a query is prepended with xref:selection-query-cypher-version[`CYPHER 25`], which overrides this default).
103
+
Any changes introduced after the 2025.06 release will not affect the semantics of the query.
104
104
105
105
For information about how to set a default language for local and remote database aliases, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/[The Operations Manual -> Managing database aliases for standard databases] and link:{neo4j-docs-base-uri}/operations-manual/current/database-administration//aliases/manage-aliases-composite-databases/[Managing database aliases in composite databases].
106
106
@@ -208,8 +208,8 @@ SET n = r
208
208
209
209
Selecting `CYPHER 25` ensures that the query will be executed using the language as it exists in the version of Neo4j that the database is currently running, provided it is on Neo4j 2025.06 or later.
210
210
211
-
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 2025.05 release.
212
-
Any changes introduced after the 2025.05 release will not affect the query.
211
+
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 2025.06 release.
212
+
Any changes introduced after the 2025.06 release will not affect the query.
213
213
214
214
[[procedures-and-functions]]
215
215
=== Procedures and functions
@@ -219,7 +219,7 @@ Therefore, procedures and functions in Neo4j 2025.06+ and APOC 2025.06+ (both of
219
219
220
220
For example, APOC 2025.06 removed Cypher 25 support of the procedure `apoc.create.uuids()`, meaning it is not available to queries running Cypher 25.
221
221
However, it can still be used on APOC 2025.06 if queries are prepended with `CYPHER 5`, or if the database’s default version is set to `CYPHER 5`.
222
-
In this case, Neo4j will use APOC and Cypher as they existed at the time of the 2025.05 release.
222
+
In this case, Neo4j will use APOC and Cypher 5 as they existed at the time of the 2025.06 release.
223
223
224
224
.Using a procedure removed in Cypher 25 with APOC 2025.06+
0 commit comments