Skip to content

Commit 69a4d10

Browse files
add missing 25 changes
1 parent 9c57b8e commit 69a4d10

File tree

4 files changed

+44
-20
lines changed

4 files changed

+44
-20
lines changed

modules/ROOT/pages/appendix/gql-conformance/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:description: Overview of Cypher's conformance to GQL.
22
= GQL conformance
33

4-
*Last updated*: 2 June 2025 +
4+
*Last updated*: 18 June 2025 +
55
*Neo4j version*: 2025.06
66

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

modules/ROOT/pages/appendix/gql-conformance/supported-mandatory.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,8 @@ In Cypher, `trim()` removes any whitespace character.
211211
| 21.1
212212
| Names and variables
213213
| xref:syntax/index.adoc[]
214-
| Cypher supports GQL’s lexical elements, with the following caveats:
214+
| Cypher supports GQL’s lexical elements, with the following caveat:
215215

216-
* GQL allows for extended parameter identifiers.
217-
For example: `RETURN $0hello` is allowed in GQL but not Cypher.
218216
* GQL allows identifiers that are not variables to be delimited with both backticks and quotes.
219217
Cypher only allows backticks.
220218
For example: `MATCH (n) RETURN n."a prop"` is allowed in GQL but not Cypher.

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

Lines changed: 41 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ label:removed[]
3838
RETURN 1 as my\u0085identifier
3939
----
4040
a|
41-
The Unicode character \`\u0085` has been removed for unescaped identifiers and is now considered a whitespace character.
41+
The Unicode character `\u0085` has been removed for unescaped identifiers and is now considered a whitespace character.
4242
To continue using it, escape the identifier by adding backticks around it.
4343
This applies to all unescaped identifiers in Cypher, such as label expressions, properties, variable names, or parameters.
4444
In the given example, the quoted identifier would be \`my�identifier`.
@@ -51,23 +51,23 @@ label:removed[]
5151
RETURN 1 as my$Identifier
5252
----
5353
a|
54-
The character with the Unicode representation \`\u0024` has been removed for unescaped identifiers. To continue using it, escape the identifier by adding backticks around the identifier.
54+
The character with the Unicode representation `\u0024` has been removed for unescaped identifiers. To continue using it, escape the identifier by adding backticks (++``++) around the identifier.
5555
This applies to all unescaped identifiers in Cypher, such as label expressions, properties, variable names, or parameters. In the given example, the quoted identifier would be \`my$identifier`.
5656

5757
The following Unicode Characters are removed in identifiers:
58-
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005', '\u0006', '\u0007',
59-
'\u0008', '\u000E', '\u000F', '\u0010', '\u0011', '\u0012', '\u0013', '\u0014',
60-
'\u0015', '\u0016', '\u0017', '\u0018', '\u0019', '\u001A', '\u001B', '\u007F',
61-
'\u0080', '\u0081', '\u0082', '\u0083', '\u0084', '\u0086', '\u0087', '\u0088',
62-
'\u0089', '\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F', '\u0090',
63-
'\u0091', '\u0092', '\u0093', '\u0094', '\u0095', '\u0096', '\u0097', '\u0098',
64-
'\u0099', '\u009A', '\u009B', '\u009C', '\u009D', '\u009E', '\u009F', '\u0024',
65-
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00AD', '\u0600', '\u0601', '\u0602',
66-
'\u0603', '\u0604', '\u0605', '\u061C', '\u06DD', '\u070F', '\u08E2', '\u180E',
67-
'\u200B', '\u200C', '\u200D', '\u200E', '\u200F', '\u202A', '\u202B', '\u202C',
68-
'\u202D', '\u202E', '\u2060', '\u2061', '\u2062', '\u2063', '\u2064', '\u2066',
69-
'\u2067', '\u2068', '\u2069', '\u206A', '\u206B', '\u206C', '\u206D', '\u206E',
70-
'\u206F', '\u2E2F', '\uFEFF', '\uFFF9', '\uFFFA', '\uFFFB'
58+
`\u0000`, `\u0001`, `\u0002`, `\u0003`, `\u0004`, `\u0005`, `\u0006`, `\u0007`,
59+
`\u0008`, `\u000E`, `\u000F`, `\u0010`, `\u0011`, `\u0012`, `\u0013`, `\u0014`,
60+
`\u0015`, `\u0016`, `\u0017`, `\u0018`, `\u0019`, `\u001A`, `\u001B`, `\u007F`,
61+
`\u0080`, `\u0081`, `\u0082`, `\u0083`, `\u0084`, `\u0086`, `\u0087`, `\u0088`,
62+
`\u0089`, `\u008A`, `\u008B`, `\u008C`, `\u008D`, `\u008E`, `\u008F`, `\u0090`,
63+
`\u0091`, `\u0092`, `\u0093`, `\u0094`, `\u0095`, `\u0096`, `\u0097`, `\u0098`,
64+
`\u0099`, `\u009A`, `\u009B`, `\u009C`, `\u009D`, `\u009E`, `\u009F`, `\u0024`,
65+
`\u00A2`, `\u00A3`, `\u00A4`, `\u00A5`, `\u00AD`, `\u0600`, `\u0601`, `\u0602`,
66+
`\u0603`, `\u0604`, `\u0605`, `\u061C`, `\u06DD`, `\u070F`, `\u08E2`, `\u180E`,
67+
`\u200B`, `\u200C`, `\u200D`, `\u200E`, `\u200F`, `\u202A`, `\u202B`, `\u202C`,
68+
`\u202D`, `\u202E`, `\u2060`, `\u2061`, `\u2062`, `\u2063`, `\u2064`, `\u2066`,
69+
`\u2067`, `\u2068`, `\u2069`, `\u206A`, `\u206B`, `\u206C`, `\u206D`, `\u206E`,
70+
`\u206F`, `\u2E2F`, `\uFEFF`, `\uFFF9`, `\uFFFA`, `\uFFFB`
7171

7272
a|
7373
label:functionality[]
@@ -136,6 +136,22 @@ dbms.upgradeStatus()
136136
a| These procedures have been removed from Cypher 25.
137137
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/[Operations Manual -> Procedures].
138138

139+
a|
140+
label:functionality[]
141+
label:removed[]
142+
[source, cypher, role="noheader"]
143+
----
144+
WITH 1 AS g
145+
RETURN COLLECT {
146+
UNWIND [1,2,3] AS x
147+
WITH * WHERE x < 0
148+
WITH COUNT(*) AS agg
149+
RETURN agg + g
150+
} AS x
151+
----
152+
153+
a| The xref:subqueries/collect.adoc[`COLLECT`], xref:subqueries/count.adoc[`COUNT`], and xref:subqueries/existential.adoc[`EXISTS`] subquery expressions no longer use imported variables as grouping variables in aggregations.
154+
139155
|===
140156

141157

@@ -166,6 +182,16 @@ MATCH SHORTEST $param GROUPS (:A)-[:R]->{0,10}(:B)
166182

167183
a| Parameters can now be used in xref:patterns/shortest-paths.adoc[`SHORTEST` and `ANY` path patterns].
168184

185+
a|
186+
label:functionality[]
187+
label:updated[]
188+
[source, cypher, role="noheader"]
189+
----
190+
RETURN $0hello
191+
----
192+
193+
a| Cypher 25 supports parameters that can start with extended identifier characters, in line with the xref:appendix/gql-conformance/index.adoc[GQL] standard.
194+
169195
a|
170196
label:functionality[]
171197
label:updated[]

modules/ROOT/pages/syntax/parameters.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Parameters cannot be used for the following constructs, as these form part of th
2626
* Relationship types; `MATCH (n)-[:$param]->(m)` is invalid.
2727
* Node labels; `MATCH (n:$param)` is invalid.
2828

29-
Parameters may consist of letters and numbers, and any combination of these, but cannot start with a number or a currency symbol.
29+
Parameters may consist of letters and numbers, and any combination of these, and can start with any of xref:appendix/gql-conformance/index.adoc[GQL's] extended character identifiers.
3030

3131
Setting parameters when running a query is dependent on the client environment.
3232
For example:

0 commit comments

Comments
 (0)