Skip to content

Commit 12eff22

Browse files
update removals & deprecations for graph references (#1315)
see also: neo4j/docs-status-codes#340 --------- Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent 9685a57 commit 12eff22

File tree

1 file changed

+34
-8
lines changed

1 file changed

+34
-8
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ CREATE DATABASE db OPTIONS { existingDataSeedInstance: ... }
5151
| The option `existingDataSeedInstance` is removed from the `CREATE DATABASE` `OPTIONS` map and replaced by `existingDataSeedServer`.
5252
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/create-databases/#manage-databases-create-database-options[Operations Manual -> Database administration -> Create databases].
5353

54+
a|
55+
[#_graph_reference_removed_name_parts_quoting]
56+
label:functionality[]
57+
label:removed[]
58+
[source, cypher, role=noheader]
59+
----
60+
CREATE ALIAS composite.`1` FOR DATABASE neo4j
61+
----
62+
[source, cypher, role=noheader]
63+
----
64+
USE composite.`1`
65+
----
66+
| Graph references with separately backticked name parts have been removed. Use parameters or backtick the entire name, e.g. `USE `composite.1``
67+
5468

5569
a|
5670
label:functionality[]
@@ -278,6 +292,7 @@ Several xref:clauses/transaction-clauses.adoc#query-listing-transactions[`SHOW
278292
* The current query-related columns — `currentQuery`, `currentQueryId`, `parameters`, `planner`, `runtime`, `indexes`, `currentQueryStartTime`, `currentQueryElapsedTime`, `currentQueryCpuTime`, `currentQueryIdleTime`, and `currentQueryStatus` — now return `null` when no query is executing.
279293

280294
a|
295+
[#_graph_reference_updated_graph_by_name_quotes]
281296
label:functionality[]
282297
label:updated[]
283298
[source, cypher, role="noheader"]
@@ -732,9 +747,16 @@ label:deprecated[]
732747
USE my.db ...
733748
734749
----
735-
| In xref:clauses/use.adoc[`USE`] clauses, databases and aliases with unquoted `.` are deprecated unless the `.` is used to indicate that the database or alias belongs to a composite database.
736-
Names containing `.` should be quoted using backticks.
737-
For example, `USE `my.db`` is valid.
750+
a| The use of unquoted `.` characters in xref:clauses/use.adoc[`USE`] clauses when specifying databases and aliases was deprecated in 5.26, except when `.` indicated that the database or alias belonged to a composite database.
751+
However, this deprecation was withdrawn in Neo4j 2025.06, and replaced by the following updates in Cypher 25:
752+
753+
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[Removed support for quoted name parts in graph references]
754+
755+
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[Update to graph functions]
756+
757+
This is because the previous quoting rules were inconsistent and ambiguous.
758+
The rules are clarified and improved in Cypher 25.
759+
For more information, see xref::values-and-types/graph-references.adoc#rules[Graph reference rules]
738760

739761
|===
740762

@@ -3353,12 +3375,16 @@ label:deprecated[]
33533375
CREATE DATABASE databaseName.withDot ...
33543376
----
33553377
a|
3356-
Creating a database with dots in the name has been deprecated, instead quote the database name using backticks:
3378+
Creating a database with . characters was deprecated in 5.0.
3379+
However, this deprecation was withdrawn in 2025.06, and replaced by the following updates in Cypher 25:
33573380

3358-
[source, cypher, role="noheader"]
3359-
----
3360-
CREATE DATABASE `databaseName.withDot` ...
3361-
----
3381+
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[Removed support for quoted name parts in graph references]
3382+
3383+
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[Update to graph functions]
3384+
3385+
This is because the previous quoting rules were inconsistent and ambiguous.
3386+
The rules are clarified and improved in Cypher 25.
3387+
For more information, see xref::values-and-types/graph-references.adoc#rules[Graph reference rules]
33623388

33633389
a|
33643390
[[cypher-5_0-d_4]]

0 commit comments

Comments
 (0)