From 9eb2265b214fef08c2a4999754ba6bc7f102addc Mon Sep 17 00:00:00 2001 From: David Oliver Date: Mon, 21 Nov 2022 11:32:39 +0000 Subject: [PATCH] Add deprecation for duplicated variable length relationships in 5.2 --- ...ions-additions-removals-compatibility.adoc | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index cbfe9834f..8ad1e454b 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -13,6 +13,33 @@ Replacement syntax for deprecated and removed features are also indicated. [[cypher-deprecations-additions-removals-5.2]] == Version 5.2 +=== Deprecated features + +[cols="2", options="header"] +|=== +| Feature +| Details + +a| +label:syntax[] +label:deprecated[] +[source, cypher, role="noheader"] +---- +MATCH ()-[r*]-()-[r*]-() +---- +---- +MATCH p = ()-[r*]-(), q = ()-[r*]-() +---- + +---- +MATCH ()-[r*]-() MATCH ()-[r*]-() +---- +a| + +The use of the same relationship variable for multiple variable length relationships is deprecated. + +|=== + === Updated features [cols="2", options="header"] @@ -73,7 +100,7 @@ CREATE TEXT INDEX ... OPTIONS {indexProvider: `text-2.0`} ---- a| -A new text index provider is available, `text-2.0`. +A new text index provider is available, `text-2.0`. This is also the default provider if none is given. |===