From 765dd0f2b06bbd506f66c969c24bc30536ab9c0e Mon Sep 17 00:00:00 2001 From: Gemma Lamont Date: Tue, 15 Oct 2024 08:26:57 +0200 Subject: [PATCH 1/2] Document change in behaviour for db.schema.nodeTypeProperties() and db.schema.relTypeProperties() --- ...ions-additions-removals-compatibility.adoc | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 2aef91c68..f6b6c66af 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -16,6 +16,29 @@ New features are added to the language continuously, and occasionally, some feat This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions. Replacement syntax for deprecated and removed features are also indicated. +[[cypher-deprecations-additions-removals-5.26]] +== Neo4j 5.26 + +=== Deprecated features + +[cols="2", options="header"] +|=== +| Feature +| Details + +a| +label:functionality[] +label:deprecated[] +[source, cypher, role="noheader"] +---- +CALL db.schema.nodeTypeProperties() YIELD propertyTypes RETURN propertyTypes; +CALL db.schema.relTypeProperties() YIELD propertyTypes RETURN propertyTypes; +---- +a| +The column `propertyTypes` currently produces a list of strings representing the possible Java types the given property has, in an upcoming major release it will instead represent the possible Cypher Types the given property has. +For all available Cypher types, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms]. +|=== + [[cypher-deprecations-additions-removals-5.24]] == Neo4j 5.24 From 4319aace2698c15c3fe18910fde1188907e49d6d Mon Sep 17 00:00:00 2001 From: Gem Lamont <106068376+gem-neo4j@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:40:55 +0200 Subject: [PATCH 2/2] Update modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jens Pryce-Ã…klundh <112686610+JPryce-Aklundh@users.noreply.github.com> --- .../pages/deprecations-additions-removals-compatibility.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index f6b6c66af..732eff3e9 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -35,7 +35,8 @@ CALL db.schema.nodeTypeProperties() YIELD propertyTypes RETURN propertyTypes; CALL db.schema.relTypeProperties() YIELD propertyTypes RETURN propertyTypes; ---- a| -The column `propertyTypes` currently produces a list of strings representing the possible Java types the given property has, in an upcoming major release it will instead represent the possible Cypher Types the given property has. +The column `propertyTypes` currently returned by the procedures link:{neo4j-docs-base-uri}/operations-manual/{page-version}/procedures/#procedure_db_schema_nodetypeproperties[`db.schema.nodeTypeProperties()`] and link:{neo4j-docs-base-uri}/operations-manual/{page-version}/procedures/#procedure_db_schema_reltypeproperties[`db.schema.relTypeProperties()`] produces a list of strings representing the potential Java types for a given property. +In an upcoming major release of Neo4j, this will be updated to represent the possible Cypher types for that property instead. For all available Cypher types, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms]. |===