diff --git a/antora.yml b/antora.yml index 3c7aa133b..fb7835145 100644 --- a/antora.yml +++ b/antora.yml @@ -6,4 +6,4 @@ nav: - modules/ROOT/content-nav.adoc asciidoc: attributes: - neo4j-version: '2025.03' + neo4j-version: '2025.04' diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 22c228ff5..91dec0ae9 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -16,6 +16,35 @@ 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-2025.04]] +== Neo4j 2025.04 + +=== New features + +[cols="2", options="header"] +|=== +| Feature +| Details + +a| +label:functionality[] +label:new[] +[source, cypher, role=noheader] +---- +GRANT READ {*} ON GRAPH * FOR ()-[r]-() WHERE r.securityLevel > 3 TO regularUsers +---- +[source, cypher, role=noheader] +---- +GRANT TRAVERSE ON GRAPH * FOR ()-[r:KNOWS]-() WHERE r.classification IS NULL TO regularUsers +---- +[source, cypher, role=noheader] +---- +DENY MATCH {*} ON GRAPH * FOR ()-[r]-() WHERE r.classification <> 'UNCLASSIFIED' TO regularUsers +---- +| Property-based access control for relationships is now supported in Enterprise Edition. +For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/authentication-authorization/property-based-access-control[Property-based access control]. +|=== + [[cypher-deprecations-additions-removals-2025.03]] == Neo4j 2025.03 diff --git a/modules/ROOT/pages/subqueries/call-subquery.adoc b/modules/ROOT/pages/subqueries/call-subquery.adoc index 6b4b3747f..f3bdf049c 100644 --- a/modules/ROOT/pages/subqueries/call-subquery.adoc +++ b/modules/ROOT/pages/subqueries/call-subquery.adoc @@ -335,8 +335,8 @@ To return imported variables they must be renamed. [source,cypher,role=test-fail] ---- MATCH (t:Team) -CALL (t) { - RETURN t +CALL () { + RETURN 1 AS t } RETURN t ----