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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ Starting in 2025, the Neo4j server transitioned to a calendar-based versioning s
11
11
This means Neo4j will no longer use its previous semantic versioning and release pattern (e.g., 5.25, 5.26).
12
12
Instead, releases from 2025 onwards will follow a *YYYY.MM* format, beginning with version 2025.01 released in January 2025, followed by 2025.02 released in February 2025, and so on.
13
13
14
-
Cypher 25 is introduced alongside Neo4j 2025.01 and is the default language for databases running version 2025.01 later.
15
-
However, users running Neo4j version 2025.01 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
14
+
Cypher 25 is introduced alongside Neo4j 2025.02 and is the default language for databases running version 2025.02 or later.
15
+
However, users running Neo4j version 2025.02 or later can choose to run their queries using the previous version of Cypher: Cypher 5.
16
16
If so, Neo4j will use Cypher as it existed at the time of the Neo4j 5.26 long-term support release.
17
17
18
18
For information about updates to Cypher in different Neo4j versions, see xref:deprecations-additions-removals-compatibility.adoc[].
@@ -23,9 +23,9 @@ For information about Cypher 5, see the link:https://neo4j.com/docs/cypher-manua
23
23
To select the Cypher version of a query, prepend it with `CYPHER <language version>`.
24
24
25
25
Selecting `CYPHER 5` ensures that the query will be executed using the language as it existed at the time of the Neo4j 5.26 long-term support release.
26
-
Any changes introduced in Neo4j 2025.01 or later will not affect the query.
26
+
Any changes introduced in Neo4j 2025.02 or later will not affect the query.
27
27
28
-
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.01 or later.
28
+
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.02 or later.
29
29
30
30
Below are two examples showing the two versions of Cypher behaving differently.
31
31
@@ -119,7 +119,7 @@ RETURN n.name
119
119
120
120
== Select the default Cypher version when creating a database
121
121
122
-
Databases created on Neo4j 2025.01 or later will have Cypher 25 as their default language.
122
+
Databases created on Neo4j 2025.02 or later will have Cypher 25 as their default language.
123
123
This is true for the link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-administration/#manage-database-systems[system, standard, and composite] Neo4j databases.
124
124
125
125
To select a different default Cypher version for a database, add `DEFAULT LANGUAGE <language version>` to the link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-administration/standard-databases/create-databases/[`CREATE DATABASE`] statement.
@@ -129,15 +129,15 @@ This can be done on any Neo4j database.
129
129
Selecting a default Cypher version on a database requires the `SET DEFAULT LANGUAGE` privilege.
130
130
131
131
Selecting `CYPHER 5` as the default database language ensures that every query run on that database uses the language as it existed at the time of the Neo4j 5.26 long-term support release.
132
-
Any changes introduced in Neo4j 2025.01 or later will not affect the query.
132
+
Any changes introduced in Neo4j 2025.02 or later will not affect the query.
133
133
134
134
.Create a database with Cypher 5 as the default language
135
135
[source, cypher]
136
136
----
137
137
CREATE DATABASE my_database DEFAULT LANGUAGE CYPHER 5
138
138
----
139
139
140
-
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.01 or later.
140
+
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.02 or later.
141
141
142
142
.Create a database with Cypher 25 as the default language
0 commit comments