Skip to content

Commit 245bf18

Browse files
committed
cip-190 deprecations
1 parent ea86dc9 commit 245bf18

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,78 @@ New features are added to the language continuously, and occasionally, some feat
1616
This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
1717
Replacement syntax for deprecated and removed features are also indicated.
1818

19+
[[cypher-deprecations-additions-removals-5.26]]
20+
== Neo4j 5.26
21+
22+
=== Deprecated features
23+
24+
[cols="2", options="header"]
25+
|===
26+
| Feature
27+
| Details
28+
29+
a|
30+
label:functionality[]
31+
label:deprecated[]
32+
[source, cypher, role="noheader"]
33+
----
34+
MATCH (where {...})
35+
----
36+
----
37+
MATCH (...)-[where {...}]->()
38+
----
39+
| The unescaped variable named `where` or `WHERE` (or in any other casing) in a node pattern or a relationship pattern if directly followed by a property key-value expression only is deprecated. Use backticks to escape the variable name: `MATCH (++`where`++ { ... })` or `MATCH (...)-[++`where`++ { ... }]->()`.
40+
41+
a|
42+
label:functionality[]
43+
label:deprecated[]
44+
[source, cypher, role="noheader"]
45+
----
46+
... + n:A
47+
----
48+
----
49+
... + n:A&B
50+
----
51+
----
52+
... + n:A&B\|C
53+
----
54+
| The unparenthesized label expression predicate as right-hand side operand of `\+` is deprecated. Parenthesize the label expression predicate on the right-hand side of `+`: `... + (n:A)`.
55+
56+
a|
57+
label:functionality[]
58+
label:deprecated[]
59+
[source, cypher, role="noheader"]
60+
----
61+
CASE x ... WHEN is :: STRING THEN ... END
62+
----
63+
| The type predicate expression on an unescaped variable named `is` or `IS` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`is`++ :: STRING THEN ... END`
64+
65+
a|
66+
label:functionality[]
67+
label:deprecated[]
68+
[source, cypher, role="noheader"]
69+
----
70+
CASE x ... WHEN contains + 1 THEN ... END
71+
----
72+
----
73+
CASE x ... WHEN contains - 1 THEN ... END
74+
----
75+
| The addition or subtraction on an unescaped variable named `contains` or `CONTAINS` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`contains`++ + 1 THEN ... END` or `CASE x ... WHEN ++`contains`++ - 1 THEN ... END`
76+
77+
a|
78+
label:functionality[]
79+
label:deprecated[]
80+
[source, cypher, role="noheader"]
81+
----
82+
CASE x ... WHEN in[1] THEN ... END
83+
----
84+
----
85+
CASE x ... WHEN in["abc"] THEN ... END
86+
----
87+
| The `[]` operator on an unescaped variable named `in` or `IN` (or in any other casing) as a when operand of a simple `CASE` is deprecated. Use backticks to escape the variable name: `CASE x ... WHEN ++`in`++[1] THEN ... END` or `CASE x ... WHEN ++`contains`++["abc"] THEN ... END`
88+
|===
89+
90+
1991
[[cypher-deprecations-additions-removals-5.25]]
2092
== Neo4j 5.25
2193

0 commit comments

Comments
 (0)