Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
neo4j-version: '2025.04'
neo4j-version: '2025.06'
2 changes: 1 addition & 1 deletion modules/ROOT/pages/appendix/gql-conformance/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
= GQL conformance

*Last updated*: 4 March 2025 +
*Neo4j version*: 2025.04
*Neo4j version*: 2025.06

GQL is the new link:https://www.iso.org/home.html[ISO] International Standard query language for graph databases.

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/filter.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= FILTER
:description: Information about Cypher's `FILTER` clause.
:table-caption!:
:page-role: new-2025.04
:page-role: new-2025.06

`FILTER` is used to add filters to queries, similar to Cypher's xref:clauses/where.adoc[`WHERE`].
Unlike `WHERE`, `FILTER` is not a subclause, which means it can be used independently of the xref:clauses/match.adoc[`MATCH`], xref:clauses/optional-match.adoc[`OPTIONAL MATCH`], and xref:clauses/with.adoc[`WITH`] clauses, but not within them.
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/clauses/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This set is refined and augmented by subsequent parts of the query.

m| xref::clauses/filter.adoc[FILTER]
| Adds filters to queries.
label:new[Introduced in Neo4j 2025.04]
label:new[Introduced in Neo4j 2025.06]

m| xref::clauses/match.adoc[MATCH]
| Specify the patterns to search for in the database.
Expand All @@ -45,7 +45,7 @@ m| xref::clauses/finish.adoc[FINISH]

m| xref::clauses/let.adoc[LET]
| Binds values to variables.
label:new[Introduced in Neo4j 2025.04]
label:new[Introduced in Neo4j 2025.06]

m| xref::clauses/return.adoc[RETURN ... [AS]]
| Defines what to include in the query result set.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/let.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= LET
:description: Information about Cypher's `LET` clause.
:table-caption!:
:page-role: new-2025.04
:page-role: new-2025.06

`LET` binds expressions to variables.
For queries involving several chained expressions, it can be a more succinct and readable alternative to xref:clauses/with.adoc[`WITH`].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/load-csv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ In the file `companies.csv`, some rows do not specify values for some columns.
The examples show several options of how to handle `null` values.

[NOTE]
The queries in this example use xref:clauses/filter.adoc#filter-with-where[`FILTER`] (introduced in Neo4j 2025.04) as a replacement for `WITH * WHERE <predicate>`.
The queries in this example use xref:clauses/filter.adoc#filter-with-where[`FILTER`] (introduced in Neo4j 2025.06) as a replacement for `WITH * WHERE <predicate>`.

.companies.csv
[source, csv, filename="companies.csv"]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/return.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ The `Movie` node `'Man of Tai Chi'` is returned by the query, but only once (wit
d|Rows: 1
|===

[role=label--new-2025.05]
[role=label--new-2025.06]
[[return-all-results]]
== RETURN ALL

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/with.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ ORDER BY discountRates
1+d|Rows: 5
|===

[role=label--new-2025.05]
[role=label--new-2025.06]
[[with-all-results]]
== Explicitly project values

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@

Cypher is a language that is constantly evolving.
New features are added to the language continuously, and occasionally, some features become deprecated and are subsequently removed.
All changes to Cypher are introduced in Neo4j versions.

This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
This section lists all of the features that have been removed, deprecated, added, or extended in different versions of Neo4j.
Replacement syntax for deprecated and removed features are also indicated.

[[cypher-deprecations-additions-removals-2025.04]]
== Neo4j 2025.04
[IMPORTANT]
Cypher 25 was introduced in Neo4j 2025.06 and can only be used on Neo4j 2025.06+ databases.
Features removed in Cypher 25 are still available on Neo4j 2025.06+ databases either by prepending a query with `CYPHER 5` or by having Cypher 5 as the default language for the database.

=== Removed features
[[cypher-deprecations-additions-removals-2025.06]]
== Neo4j 2025.06

=== Removed in Cypher 25
[cols="2", options="header"]
|===
| Feature
Expand Down Expand Up @@ -97,7 +102,7 @@ Errors have replaced notifications for impossible link:{neo4j-docs-base-uri}/ope
|===


=== Updated features
=== Updated in Cypher 25

[cols="2", options="header"]
|===
Expand Down Expand Up @@ -198,7 +203,7 @@ RETURN count(p) AS count

|===

=== New features
=== New in Cypher 25

[cols="2", options="header"]
|===
Expand Down
8 changes: 4 additions & 4 deletions modules/ROOT/pages/functions/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ All trigonometric functions operate on radians, unless otherwise specified.
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cosh[`cosh()`]
| `cosh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic cosine of a `FLOAT`.
label:new[Introduced in 2025.04]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-cot[`cot()`]
| `cot(input :: FLOAT) :: FLOAT`
Expand All @@ -322,7 +322,7 @@ label:new[Introduced in 2025.04]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-coth[`coth()`]
| `coth(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic cotangent of a `FLOAT`.
label:new[Introduced in 2025.04]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-degrees[`degrees()`]
| `degrees(input :: FLOAT) :: FLOAT`
Expand All @@ -347,7 +347,7 @@ label:new[Introduced in 2025.04]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-sinh[`sinh()`]
| `sinh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic sine of a `FLOAT`.
label:new[Introduced in 2025.04]
label:new[Introduced in 2025.06]

1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tan[`tan()`]
| `tan(input :: FLOAT) :: FLOAT`
Expand All @@ -356,7 +356,7 @@ label:new[Introduced in 2025.04]
1.1+| xref::functions/mathematical-trigonometric.adoc#functions-tanh[`tanh()`]
| `tanh(input :: FLOAT) :: FLOAT`
| Returns the hyperbolic tangent of a `FLOAT`.
label:new[Introduced in 2025.04]
label:new[Introduced in 2025.06]

|===

Expand Down
8 changes: 4 additions & 4 deletions modules/ROOT/pages/functions/mathematical-trigonometric.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The cosine of `0.5` is returned.

======

[role=label--new-2025.04]
[role=label--new-2025.06]
[[functions-cosh]]
== cosh()

Expand Down Expand Up @@ -327,7 +327,7 @@ The cotangent of `0.5` is returned.
======


[role=label--new-2025.04]
[role=label--new-2025.06]
[[functions-coth]]
== coth()

Expand Down Expand Up @@ -629,7 +629,7 @@ The sine of `0.5` is returned.
======


[role=label--new-2025.04]
[role=label--new-2025.06]
[[functions-sinh]]
== sinh()

Expand Down Expand Up @@ -723,7 +723,7 @@ The tangent of `0.5` is returned.



[role=label--new-2025.04]
[role=label--new-2025.06]
[[functions-tanh]]
== tanh()

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/patterns/shortest-paths.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CREATE (asc)-[:LINK {distance: 7.25}]->(cnm),
(wof)-[:LINK {distance: 0.65}]->(wos)
----

The paths matched by a xref:patterns/fixed-length-patterns.adoc#path-patterns[path pattern] can be restricted to only the shortest (by number of hops) by including the keyword `SHORTEST k`, where `k` is the number of paths to match, and can be either an `INTEGER` literal or, as of Neo4j 2025.04, a parameter which resolves to an `INTEGER`.
The paths matched by a xref:patterns/fixed-length-patterns.adoc#path-patterns[path pattern] can be restricted to only the shortest (by number of hops) by including the keyword `SHORTEST k`, where `k` is the number of paths to match, and can be either an `INTEGER` literal or, as of Neo4j 2025.06, a parameter which resolves to an `INTEGER`.
For example, the following example uses `SHORTEST 1` to return the length of the shortest path between `Worcester Shrub Hill` and `Bromsgrove`:

.Query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ORDER BY count

For more information, see xref:subqueries/call-subquery.adoc#call-post-union[`CALL` subqueries -> Post-union processing].

[role=label--new-2025.04]
[role=label--new-2025.06]
[[combining-union-and-union-all]]
== Combining UNION and UNION ALL

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Conditional queries (`WHEN`)
:description: Information about how to use `WHEN` to construct conditional queries in Cypher.
:page-role: new-2025.04
:page-role: new-2025.06

`WHEN`, together with `THEN` and `ELSE`, enables different branches of a query to execute based on certain conditions.
In this way, it performs similar a control-flow mechanism to the `IF` statement in other programming languages.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries/composed-queries/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ As such, `UNION` and `WHEN` manage in different ways the execution flow and logi
For more information, see:

* xref:queries/composed-queries/combined-queries.adoc[]
* xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.04]
* xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.06]
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ It also discusses how to compose combined queries using `UNION` and conditional
* xref:queries/basic.adoc[]
* xref:queries/composed-queries/index.adoc[]
** xref:queries/composed-queries/combined-queries.adoc[]
** xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.04]
** xref:queries/composed-queries/conditional-queries.adoc[] label:new[Introduced in Neo4j 2025.06]
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/call-subquery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Now all `Player` nodes, regardless of whether they have any `PLAYS_FOR` relation

====

[role=label--new-2025.04]
[role=label--new-2025.06]
[[conditional-call]]
== Conditional `CALL` subqueries

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/collect.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ RETURN person.name as name, COLLECT {
2+d|Rows: 3
|===

[role=label--new-2025.04]
[role=label--new-2025.06]
[[conditional-collect]]
== Conditional `COLLECT` subquery

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/count.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RETURN person.name AS name
1+d|Rows: 1
|===

[role=label--new-2025.04]
[role=label--new-2025.06]
[[conditional-count]]
== Conditional `COUNT` subquery

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/subqueries/existential.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RETURN person.name AS name
1+d|Rows: 1
|===

[role=label--new-2025.04]
[role=label--new-2025.06]
[[conditional-exists]]
== Conditional `EXISTS` subqueries

Expand Down