Skip to content

Commit 42c989b

Browse files
NataliaIvakinarenetapopovaLojjsrecrwplay
authored
5.23 Release. New GQLStatusObject API (neo4j#168)
Co-authored-by: Reneta Popova <[email protected]> Co-authored-by: Louise Berglund <[email protected]> Co-authored-by: Neil Dewhurst <[email protected]>
1 parent 9ee684f commit 42c989b

File tree

10 files changed

+2802
-510
lines changed

10 files changed

+2802
-510
lines changed

.github/workflows/docs-pr-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- "dev"
88
- "5.x"
99
- "4.[0-9]"
10+
- "gql-notifications"
1011

1112
jobs:
1213

.github/workflows/docs-teardown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- "dev"
88
- "5.x"
99
- "4.[0-9]"
10+
- "gql-notifications"
1011
types:
1112
- closed
1213

antora.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ nav:
77
asciidoc:
88
attributes:
99
page-origin-private: false
10-
neo4j-version: '5.22'
11-
neo4j-version-exact: '5.22.0'
12-
neo4j-buildnumber: '5.22'
10+
neo4j-version: '5.23'
11+
neo4j-version-exact: '5.23.0'
12+
neo4j-buildnumber: '5.23'

modules/ROOT/content-nav.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
* xref:index.adoc[]
2-
** xref:errors/index.adoc[]
3-
*** xref:errors/all-errors.adoc[]
4-
** xref:notifications/index.adoc[]
5-
*** xref:notifications/all-notifications.adoc[]
6-
** xref:changelogs.adoc[]
2+
* xref:errors/index.adoc[]
3+
** xref:errors/all-errors.adoc[]
4+
* xref:notifications/index.adoc[]
5+
** xref:notifications/all-notifications.adoc[]
6+
* xref:changelogs.adoc[]
77
88

modules/ROOT/pages/changelogs.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
:description: This page lists all changes to status codes per Neo4j version.
22
= Changes to status codes per Neo4j version
33

4+
== Neo4j 5.23
5+
6+
From version 5.23, Neo4j has a new GqlStatusObject API in addition to the existing Notification API.
7+
8+
The GqlStatusObject API provides information about the status of a Cypher query or command execution in compliance with the GQL standard.
9+
It includes GQLSTATUS code, StatusDescription, and DiagnosticRecord.
10+
For more information, see xref:notifications/index.adoc#gqlstatus-notification-object[GQL-status notification object].
11+
412
== Neo4j 5.17
513

614
**New:**

modules/ROOT/pages/errors/all-errors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
[[neo4j-errors]]
5-
= List of all error codes
5+
= List of all server error codes
66

77
This page contains lists of all Neo4j errors, grouped by type.
88

modules/ROOT/pages/errors/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:description: The Neo4j error codes for Neo4j version {neo4j-version}.
22

3-
[[notifications]]
4-
= Error codes
3+
[[error-codes]]
4+
= Server errors
55

66
Error codes are Neo4j status codes returned by the server when the execution of a query fails.
77
They always have the severity level `ERROR`.

modules/ROOT/pages/index.adoc

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1+
2+
[[status-codes]]
3+
ifdef::backend-pdf[]
4+
= Neo4j 5 Status Codes
5+
endif::[]
6+
ifndef::backend-pdf[]
7+
= Introduction
8+
endif::[]
19
:description: The Neo4j status codes for Neo4j version {neo4j-version}.
210
:neo4j-buildnumber: {neo4j-version}
3-
[[status-codes]]
4-
= Neo4j Status Codes v5
11+
512

613
This document details all status codes that a Neo4j DBMS may return to indicate the outcome of a request.
714

15+
816
== Format
917

1018
Each Neo4j status code follows the same format:
@@ -14,6 +22,7 @@ Each Neo4j status code follows the same format:
1422
Neo.[Type].[SubType].[Name]
1523
-----
1624

25+
1726
== Types of Neo4j status codes
1827

1928
The fact that a Neo4j status code is returned by the server does not always mean there is a fatal error.
@@ -46,6 +55,14 @@ The type of the status code determines the effect on the transaction.
4655

4756
|===
4857

58+
[NOTE]
59+
====
60+
From version 5.23, Neo4j has a new GqlStatusObject API in addition to the existing Notification API.
61+
62+
The GqlStatusObject API provides information about the status of a Cypher query or command execution in compliance with the GQL standard.
63+
It includes GQLSTATUS code, StatusDescription, and DiagnosticRecord.
64+
For more information, see xref:notifications/index.adoc#gqlstatus-notification-object[GQL-status notification object].
65+
====
4966

5067
ifndef::backend-pdf[]
5168
License: link:{common-license-page-uri}[Creative Commons 4.0]

0 commit comments

Comments
 (0)