Skip to content

Conversation

@nadja-muller
Copy link
Contributor

Comment on lines 749 to 760
| In xref:clauses/use.adoc[`USE`] clauses, databases and aliases with unquoted `.` are deprecated in versions 5.26 to 2025.05 unless the `.` is used to indicate that the database or alias belongs to a composite database.

However, starting from version 2025.06, this deprecation has been withdrawn, and replaced by two new deprecations.
The reason for this change is that the previous quoting rules have been found inconsistent and ambiguous, and will be improved starting from Cypher 25.
For more information, see:

* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[removed support for quoted name parts in graph references]

* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[update to graph functions]

* xref::values-and-types/graph-references.adoc#rules[graph reference rules]

Copy link
Collaborator

@JPryce-Aklundh JPryce-Aklundh Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| In xref:clauses/use.adoc[`USE`] clauses, databases and aliases with unquoted `.` are deprecated in versions 5.26 to 2025.05 unless the `.` is used to indicate that the database or alias belongs to a composite database.
However, starting from version 2025.06, this deprecation has been withdrawn, and replaced by two new deprecations.
The reason for this change is that the previous quoting rules have been found inconsistent and ambiguous, and will be improved starting from Cypher 25.
For more information, see:
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[removed support for quoted name parts in graph references]
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[update to graph functions]
* xref::values-and-types/graph-references.adoc#rules[graph reference rules]
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.
However, this deprecation was withdrawn in Neo4j 2025.06, and replaced by the following updates in Cypher 25:
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[Removed support for quoted name parts in graph references]
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[Update to graph functions]
This because the previous quoting rules were inconsistent and ambiguous.
The rules are clarified and improved in Cypher 25.
For more information, see:
* xref::values-and-types/graph-references.adoc#rules[Graph reference rules]

Comment on lines 3379 to 3388
Creating a database with dots in the name has been deprecated in versions 5.26 to 2025.05.
However, starting from version 2025.06, this deprecation has been withdrawn, and replaced by two new deprecations.
The reason for this change is that the previous quoting rules have been found inconsistent and ambiguous, and will be improved starting from Cypher 25.
For more information, see:

[source, cypher, role="noheader"]
----
CREATE DATABASE `databaseName.withDot` ...
----
* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[removed support for quoted name parts in graph references]

* xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[update to graph functions]

* xref::values-and-types/graph-references.adoc#rules[graph reference rules]
Copy link
Collaborator

@JPryce-Aklundh JPryce-Aklundh Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a database with . characters was deprecated in 5.0.
However, this deprecation was withdrawn in 2025.06, and replaced by the following updates in Cypher 25:

  • xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_removed_name_parts_quoting[Removed support for quoted name parts in graph references]
  • xref::deprecations-additions-removals-compatibility.adoc#_graph_reference_updated_graph_by_name_quotes[Update to graph functions]

This because the previous quoting rules were inconsistent and ambiguous.
The rules are clarified and improved in Cypher 25.
For more information, see:

  • xref::values-and-types/graph-references.adoc#rules[Graph reference rules]

For example, `USE `my.db`` is valid.
| In xref:clauses/use.adoc[`USE`] clauses, databases and aliases with unquoted `.` are deprecated in versions 5.26 to 2025.05 unless the `.` is used to indicate that the database or alias belongs to a composite database.

However, starting from version 2025.06, this deprecation has been withdrawn, and replaced by two new deprecations.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the links point to a change marked as a deprecation

@neo4j-docops-agent
Copy link
Collaborator

neo4j-docops-agent commented Jun 24, 2025

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@JPryce-Aklundh JPryce-Aklundh merged commit 17d3ce3 into dev Jun 24, 2025
5 checks passed
@JPryce-Aklundh JPryce-Aklundh deleted the update-deprecations-graph-references-5x branch June 24, 2025 10:30
JPryce-Aklundh added a commit that referenced this pull request Jun 24, 2025
JPryce-Aklundh added a commit that referenced this pull request Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants