Skip to content

Commit c2adb5c

Browse files
AlexicaWrightrecrwplaygem-neo4jLojjssherfert
authored
5.x cherry pick dev (#46)
Co-authored-by: Neil Dewhurst <[email protected]> Co-authored-by: Gem Lamont <[email protected]> Co-authored-by: Louise Söderström <[email protected]> Co-authored-by: Satia Herfert <[email protected]> Co-authored-by: Reneta Popova <[email protected]>
1 parent e313b9e commit c2adb5c

File tree

7 files changed

+6083
-857
lines changed

7 files changed

+6083
-857
lines changed

antora.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ nav:
77
asciidoc:
88
attributes:
99
page-origin-private: false
10-
neo4j-version: '5.5'
11-
neo4j-version-exact: '5.5.0'
12-
neo4j-buildnumber: '5.5'
10+
neo4j-version: '5.6'
11+
neo4j-version-exact: '5.6.0'
12+
neo4j-buildnumber: '5.6'

modules/ROOT/pages/changelogs.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,23 @@
33

44
== Neo4j 5.5
55

6-
76
**New:**
87

98
[source, status codes, role="noheader"]
109
-----
1110
Neo.ClientNotification.Statement.RepeatedRelationshipReference
1211
-----
1312

13+
== Neo4j 5.4
14+
15+
16+
**New:**
17+
18+
[source, status codes, role="noheader"]
19+
-----
20+
Neo.ClientNotification.Statement.UnsatisfiableRelationshipTypeExpression
21+
-----
22+
1423
== Neo4j 5.0
1524

1625
**New:**

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,41 @@ RETURN 'val' as one, 'val' as two
947947
----
948948
====
949949
950+
.Using id() function
951+
====
952+
Query::
953+
+
954+
[source,cypher]
955+
----
956+
MATCH (a)
957+
RETURN id(a)
958+
----
959+
Description of the returned code::
960+
The query used a deprecated function. ('id' is no longer supported)
961+
Suggestions for improvement::
962+
Use the function `elementId()` instead.
963+
+
964+
[source,cypher]
965+
----
966+
MATCH (a)
967+
RETURN elementId(a)
968+
----
969+
====
970+
971+
.Using Cypher query option connectComponentsPlanner
972+
====
973+
Query::
974+
+
975+
[source,cypher]
976+
----
977+
CYPHER connectComponentsPlanner=greedy MATCH (a), (b) RETURN *
978+
----
979+
Description of the returned code::
980+
The Cypher query option `connectComponentsPlanner` is deprecated and will be removed without a replacement.
981+
The product's default behavior of using a cost-based IDP search algorithm when combining sub-plans will be kept.
982+
For more information, see link:https://neo4j.com/docs/cypher-manual/current/query-tuning/query-options/#cypher-planner[Cypher manual -> Cypher planner].
983+
====
984+
950985
[#_neo_clientnotification_request_deprecatedformat]
951986
=== Neo.ClientNotification.Request.DeprecatedFormat
952987
@@ -1071,6 +1106,40 @@ m|WARNING
10711106
m|GENERIC
10721107
|===
10731108
1109+
[#_neo_clientnotification_statement_unsatisfiablerelationshiptypeexpression]
1110+
=== Neo.ClientNotification.Statement.UnsatisfiableRelationshipTypeExpression (when run on version 5.4 or newer)
1111+
1112+
.When is this notification returned?
1113+
[TIP]
1114+
====
1115+
When matching on a relationship type expression that can never be satisfied, for example asking for zero, more than one or contradictory types.
1116+
====
1117+
1118+
.Notification category details
1119+
[cols="<1s,<4"]
1120+
|===
1121+
|Code
1122+
m|Neo.ClientNotification.Statement.UnsatisfiableRelationshipTypeExpression
1123+
|Title
1124+
a|The query contains a relationship type expression that cannot be satisfied.
1125+
|Severity
1126+
m|WARNING
1127+
|Category
1128+
m|GENERIC
1129+
|===
1130+
1131+
.Matching on a relationship type expression that can never be satisfied
1132+
====
1133+
Query::
1134+
+
1135+
[source,cypher]
1136+
----
1137+
MATCH ()-[r:R1&R2]->() RETURN r
1138+
----
1139+
Description of the returned code::
1140+
Relationship type expression cannot possibly be satisfied. (`R1&R2` can never be fulfilled by any relationship. Relationships must have exactly one type.)
1141+
====
1142+
10741143
[#_neo_clientnotification_statement_repeatedrelationshipreference]
10751144
=== Neo.ClientNotification.Statement.RepeatedRelationshipReference (when run on version 5.5 or newer)
10761145
@@ -1087,7 +1156,7 @@ m|WARNING
10871156
m|GENERIC
10881157
|===
10891158
1090-
.Binding a relationship variable more than once.
1159+
.Binding a relationship variable more than once
10911160
====
10921161
Query::
10931162
+

0 commit comments

Comments
 (0)