Skip to content

Commit 225026f

Browse files
committed
add some labels and minor fixes
1 parent 46d6573 commit 225026f

File tree

9 files changed

+20
-17
lines changed

9 files changed

+20
-17
lines changed

modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ CREATE DATABASE `perennial-flowers`;
1818
----
1919
////
2020

21-
Aliases in composite databases cannot be assigned a default Cypher version.
22-
They always get the default from the composite database.
21+
[NOTE]
22+
====
23+
Starting with Neo4j 2025.06, a database can be assigned a default Cypher version.
24+
However, aliases in composite databases cannot be assigned a default Cypher version.
25+
They always get the Cypher version of the composite database.
26+
====
2327

2428
[[manage-aliases-composite-databases-list]]
2529
== List database aliases in composite databases

modules/ROOT/pages/database-administration/aliases/manage-aliases-standard-databases.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ It can be used for:
4141
* Connecting to a database of a remote Neo4j DBMS
4242
* `USE` clauses
4343
* Setting a user's home database and defining the access privileges
44-
* Setting a default Cypher version for queries to the remote database.
44+
* label:new[Introduced in 2025.06] Setting a default Cypher version for queries to the remote database.
4545
+
4646
Remote database aliases require configuration to safely connect to the remote target, which is described in xref::database-administration/aliases/remote-database-alias-configuration.adoc[Connecting remote databases].
4747
It is not possible to impersonate a user on the remote database or to execute an administration command on the remote database via a remote database alias.
@@ -469,6 +469,7 @@ SHOW ALIAS `remote-with-driver-settings` FOR DATABASE YIELD *
469469
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
470470
----
471471

472+
[role=label--new-2025.06]
472473
==== Set a default Cypher version for remote database aliases
473474

474475
You can set a default Cypher version for remote database aliases using the `DEFAULT LANGUAGE` clause of the `CREATE ALIAS` or `ALTER ALIAS` commands.
@@ -624,6 +625,7 @@ ALTER ALIAS `movie scripts` SET DATABASE
624625
DRIVER {}
625626
----
626627

628+
[role=label--new-2025.06]
627629
=== Alter the default Cypher version of a remote database alias
628630

629631
You can alter the default Cypher version of a remote database alias using the `DEFAULT LANGUAGE` clause of the `ALTER ALIAS` command.

modules/ROOT/pages/database-administration/composite-databases/alter-composite-databases.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SET DEFAULT LANGUAGE CYPHER {5\|25}
2121
----
2222
|===
2323

24+
[role=label--new-2025.06]
2425
== Change the default Cypher version of a composite database
2526

2627
You can change the default Cypher version of an existing composite database using the `ALTER DATABASE` command with the `SET DEFAULT LANGUAGE` clause.

modules/ROOT/pages/database-administration/composite-databases/create-composite-databases.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The behavior of `IF NOT EXISTS` and `OR REPLACE` apply to both standard and comp
9393
The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used together.
9494
====
9595

96-
[role=new-2025.06]
96+
[role=label--new-2025.06]
9797
[[composite-databases-default-language]]
9898
== Set the default Cypher version for a composite database
9999

modules/ROOT/pages/database-administration/standard-databases/alter-databases.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ include::partial$/view-cypher-version.adoc[]
151151
|===
152152
| name | defaultLanguage
153153

154-
| "actors" | "CYPHER 5"
154+
| "actors" | "CYPHER 25"
155155
| "movies" | "CYPHER 25"
156156
| "neo4j" | "CYPHER 25"
157157
| "system" | "CYPHER 25"

modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ The behavior of `IF NOT EXISTS` and `OR REPLACE` apply to both standard and comp
365365
The `IF NOT EXISTS` and `OR REPLACE` parts of these commands cannot be used together.
366366
====
367367

368-
[role=new-2025.06]
368+
[role=label--new-2025.06]
369369
== Create a database with `DEFAULT LANGUAGE`
370370

371371
You can set the default Cypher version for a database when creating it.
@@ -374,7 +374,7 @@ For example:
374374

375375
[source, cypher]
376376
----
377-
CREATE DATABASE actors DEFAULT LANGUAGE CYPHER 5
377+
CREATE DATABASE actors DEFAULT LANGUAGE CYPHER 25
378378
----
379379
This command creates a database named `actors` with the default Cypher version set to 5.
380380

@@ -385,7 +385,7 @@ include::partial$/view-cypher-version.adoc[]
385385
|===
386386
| name | defaultLanguage
387387

388-
| "actors" | "CYPHER 5"
388+
| "actors" | "CYPHER 25"
389389
| "movies" | "CYPHER 5"
390390
| "neo4j" | "CYPHER 25"
391391
| "system" | "CYPHER 25"

modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ It is also possible to use `SKIP` and `LIMIT` to paginate the results.
429429
+--------------------------------------------+
430430
----
431431

432+
[role=label--new-2025.06]
432433
== Show the default Cypher version of a database
433434

434435
include::partial$/view-cypher-version.adoc[]

modules/ROOT/pages/database-administration/syntax.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,7 @@ The most common are parts of the command that are optional or that can have mult
88
The syntax summaries on this page have examples for both Cypher 5 and Cypher 25 when available.
99
These summaries use some special characters to indicate such variations.
1010

11-
== Cypher® versions
12-
13-
Starting from Neo4j 2025.06, Cypher language introduces a new version Cypher 25.
14-
Cypher 5 will continue to be the default version for all newly-created databases, however, new features will be added only to Cypher 25.
15-
For more information about the Cypher versioning, see link:{neo4j-docs-base-uri}/cypher-manual/25/queries/select-version/[Cypher Manual -> Select Cypher version].
16-
17-
You can specify the version of Cypher in which you want to run your queries (Cypher 5 or Cypher 25) by configuring a default Cypher version for the whole DBMS, per database, or by setting it on a per-query basis.
18-
For details, see the xref:configuration/cypher-version-configuration.adoc[].
11+
include::partial$/cypher-versions.adoc[]
1912

2013
[[administration-syntax-reading]]
2114
== Reading the administration commands syntax

modules/ROOT/pages/introduction.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ For more information about what data is collected, see link:https://neo4j.com/do
283283
====
284284

285285
[[versioning]]
286-
== Versioning
286+
== Neo4j server versions
287287

288288
2025.01.0 introduces a new calendar versioning (CalVer) for the Neo4j server instead of the previously used semantic versioning (SemVer).
289289
The new versioning format, *YYYY.MM.Patch*, is based on the year and month of the release, for example, 2025.01.0, 2025.02.0, and so on.
@@ -293,6 +293,8 @@ Some of the releases will be designated as long-term support (LTS) releases.
293293

294294
link:{aura-uri}[Neo4j Aura] always uses the latest version of the Neo4j server.
295295

296+
include::partial$/cypher-versions.adoc[]
297+
296298
== Operations Manual versioning
297299

298300
The Operations Manual is versioned according to the calendar version of the Neo4j server.

0 commit comments

Comments
 (0)