Skip to content

Commit c0c0947

Browse files
Update changelog and corresponding pages (#265)
Based on the PR #263
1 parent 94788d4 commit c0c0947

File tree

3 files changed

+118
-16
lines changed

3 files changed

+118
-16
lines changed

modules/ROOT/pages/changelogs.adoc

Lines changed: 75 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
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.26
5+
6+
**New:**
7+
8+
[options="header", cols="<1m,<1"]
9+
|===
10+
| GQLSTATUS
11+
| Neo4j code
12+
| 01N72
13+
| Neo.ClientNotification.Statement.InsecureProtocol
14+
| 42I50
15+
| Neo.ClientError.Schema.TokenLengthError
16+
|===
17+
18+
Starting from 5.26, Neo4j errors sent over drivers include new fields,
19+
such as GQLSTATUS code, StatusDescription, and DiagnosticRecord.
20+
For more information, see xref:errors/index.adoc#gqlstatus-error-object[GQL-status error object].
21+
22+
423
== Neo4j 5.25
524

625
Starting from 5.25, the query log includes the GQL error information under the JSON object `errorInfo`.
@@ -10,14 +29,23 @@ For more information, see link:https://neo4j.com/docs/operations-manual/current/
1029

1130
**New:**
1231

13-
[source, status codes, role="noheader"]
14-
-----
15-
Neo.ClientNotification.Statement.RedundantOptionalProcedure
16-
Neo.ClientNotification.Statement.RedundantOptionalSubquery
17-
Neo.ClientNotification.Security.AuthProviderNotDefined
18-
Neo.ClientNotification.Security.ExternalAuthNotEnabled
19-
Neo.ClientNotification.Statement.AggregationSkippedNull
20-
-----
32+
[options="header", cols="<1m,<1"]
33+
|===
34+
| GQLSTATUS
35+
| Neo4j code
36+
| 00N72
37+
| Neo.ClientNotification.Security.AuthProviderNotDefined
38+
| 01G11
39+
| Neo.ClientNotification.Statement.AggregationSkippedNull
40+
| 01N71
41+
| Neo.ClientNotification.Security.ExternalAuthNotEnabled
42+
| 03N61
43+
| Neo.ClientNotification.Statement.RedundantOptionalProcedure
44+
| 03N62
45+
| Neo.ClientNotification.Statement.RedundantOptionalSubquery
46+
| N/A
47+
| Neo.TransientError.Invalid.ResourceExhaustion
48+
|===
2149

2250
== Neo4j 5.23
2351

@@ -36,6 +64,7 @@ For more information, see xref:notifications/index.adoc#gqlstatus-notification-o
3664
Neo.ClientNotification.Cluster.RequestedTopologyMatchedCurrentTopology
3765
Neo.ClientNotification.Schema.IndexOrConstraintAlreadyExists
3866
Neo.ClientNotification.Schema.IndexOrConstraintDoesNotExist
67+
Neo.ClientError.Statement.InvalidTargetDatabaseError
3968
-----
4069

4170
== Neo4j 5.15
@@ -68,12 +97,23 @@ The usage of `Neo.ClientNotification.Statement.RuntimeExperimental` has been rem
6897
[source, status codes, role="noheader"]
6998
-----
7099
Neo.ClientNotification.Cluster.ServerAlreadyEnabled
100+
Neo.ClientNotification.Cluster.ServerAlreadyCordoned
71101
Neo.ClientError.ChangeDataCapture.InvalidIdentifier
72102
Neo.TransientError.ChangeDataCapture.FutureIdentifier
73103
Neo.DatabaseError.ChangeDataCapture.Disabled
74104
Neo.DatabaseError.ChangeDataCapture.ScanFailure
75105
-----
76106

107+
== Neo4j 5.10
108+
109+
**New:**
110+
111+
[source, status codes, role="noheader"]
112+
-----
113+
Neo.TransientError.Transaction.QueryExecutionFailedOnTransaction
114+
-----
115+
116+
77117
== Neo4j 5.9
78118

79119
**New:**
@@ -84,13 +124,27 @@ Neo.ClientNotification.Security.CommandHasNoEffect
84124
Neo.ClientNotification.Security.ImpossibleRevokeCommand
85125
-----
86126

127+
== Neo4j 5.7
128+
129+
**New:**
130+
131+
[source, status codes, role="noheader"]
132+
-----
133+
Neo.ClientError.Transacton.TransactionTimedOutClientConfiguration
134+
Neo.ClientError.Routing.DbmsInPanic
135+
Neo.ClientError.Routing.RoutingFailed
136+
-----
137+
138+
87139
== Neo4j 5.5
88140

89141
**New:**
90142

91143
[source, status codes, role="noheader"]
92144
-----
93145
Neo.ClientNotification.Statement.RepeatedRelationshipReference
146+
Neo.ClientError.Statement.RemoteExecutionClientError
147+
Neo.TransientError.Statement.RemoteExecutionTransientError
94148
-----
95149

96150
== Neo4j 5.4
@@ -103,6 +157,17 @@ Neo.ClientNotification.Statement.RepeatedRelationshipReference
103157
Neo.ClientNotification.Statement.UnsatisfiableRelationshipTypeExpression
104158
-----
105159

160+
161+
== Neo4j 5.3
162+
163+
**New:**
164+
165+
[source, status codes, role="noheader"]
166+
-----
167+
Neo.DatabaseError.Transaction.TransactionTerminationFailed
168+
-----
169+
170+
106171
== Neo4j 5.0
107172

108173
**New:**
@@ -152,6 +217,8 @@ Neo.ClientNotification.Statement.UnboundedVariableLengthPatternWarning
152217
-----
153218
Neo.ClientError.Statement.UnsupportedAdministrationCommand
154219
Neo.DatabaseError.Transaction.LinkedTransactionError
220+
Neo.TransientError.Transaction.LeaderSwitch
221+
Neo.ClientError.Database.IllegalAliasChain
155222
-----
156223

157224

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ If you want to drop the index, you must also drop the constraint.
145145
| Neo.ClientError.Schema.RepeatedRelationshipTypeInSchema
146146
| Unable to create an index or a constraint because the schema had a repeated relationship type.
147147

148+
| Neo.ClientError.Schema.TokenLengthError
149+
| A token name, such as a label, relationship type or property key is too long
150+
148151
| Neo.ClientError.Schema.TokenNameError
149152
|
150153
An invalid name is used for a token (label, relationship type, property key).
@@ -188,6 +191,9 @@ Please reconnect.
188191
| Neo.ClientError.Statement.ExternalResourceFailed
189192
| Access to an external resource failed.
190193

194+
| Neo.ClientError.Statement.InvalidTargetDatabaseError
195+
| The specified database is not a valid target for this command.
196+
191197
| Neo.ClientError.Statement.NotSystemDatabaseError
192198
| This is an administration command and it should be executed against the `system` database.
193199

@@ -319,6 +325,10 @@ You could try increasing the stack size; for example to set the stack size to `2
319325
There is not enough memory to perform the current task.
320326
Please try increasing `server.memory.off_heap.transaction_max_size` in the Neo4j configuration file (normally in _conf/neo4j.conf_ or, if you are using Neo4j Desktop, found through the user interface), and then restart the database.
321327

328+
| Neo.TransientError.Invalid.ResourceExhaustion
329+
| The server has rejected this request as a resource is exhausted at the moment.
330+
You can retry at a later time. For further details see server logs.
331+
322332
| Neo.TransientError.Request.NoThreadsAvailable
323333
|
324334
There are no available threads to serve this request at the moment.

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

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ The query contains an aggregation function that skips null values.
12191219
=====
12201220

12211221
[#_unsupported_notifications]
1222-
== `UNSUPPORTED` category
1222+
== `UNSUPPORTED` notifications
12231223

12241224
Unsupported notifications are returned when the query or command is trying to use features that are not supported by the current system or using experimental features that should not be used in production.
12251225

@@ -2710,7 +2710,7 @@ m|WARNING
27102710
|===
27112711

27122712
[#_security_notifications]
2713-
== `SECURITY` category
2713+
== `SECURITY` notifications
27142714

27152715
Security notifications indicate that the result of the query or command might have a potential security issue.
27162716
Verify that this is the intended behavior of your query or command.
@@ -3362,7 +3362,7 @@ Use `DATABASE *` without the parameter to revoke the privilege on all databases.
33623362
=====
33633363

33643364
[#_neo_clientnotification_security_authprovidernotdefined]
3365-
=== AuthProviderNotDefined
3365+
=== The auth provider is not defined
33663366

33673367
.Notification details
33683368
[cols="<1s,<4"]
@@ -3478,7 +3478,7 @@ If it is correct, make sure to add it as a known auth provider in one or both of
34783478

34793479

34803480
[#_neo_clientnotification_security_externalauthnotenabled]
3481-
=== ExternalAuthNotEnabled
3481+
=== External auth for user is not enabled
34823482

34833483
.Notification details
34843484
[cols="<1s,<4"]
@@ -3581,9 +3581,34 @@ Until enabled, the new external auth will be ignored, and current external auth
35813581
======
35823582
=====
35833583

3584+
[role=label--new-5.26]
3585+
=== Query uses an insecure protocol
3586+
3587+
3588+
.Notification details
3589+
[cols="<1s,<4"]
3590+
|===
3591+
|Neo4j code
3592+
m|Neo.ClientNotification.Statement.InsecureProtocol
3593+
|Title
3594+
a|Query uses an insecure protocol
3595+
|Description
3596+
a|The query uses an insecure protocol. Please consider using 'https' instead.
3597+
|Category
3598+
m|SECURITY
3599+
|GQLSTATUS code
3600+
m|01N72
3601+
|Status description
3602+
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
3603+
|Classification
3604+
m|SECURITY
3605+
|SeverityLevel
3606+
m|WARNING
3607+
|===
3608+
35843609

35853610
[#_topology_notifications]
3586-
== `TOPOLOGY` category
3611+
== `TOPOLOGY` notifications
35873612

35883613
Topology notifications provide additional information related to managing databases and servers.
35893614

@@ -3940,7 +3965,7 @@ The requested topology matched the current topology. No allocations were changed
39403965
=====
39413966

39423967
[#_schema_notifications]
3943-
== `SCHEMA` category
3968+
== `SCHEMA` notifications
39443969

39453970
Schema notifications provide additional information related to indexes and constraints.
39463971

@@ -4660,7 +4685,7 @@ m|WARNING
46604685

46614686
When matching on a relationship type expression that can never be satisfied, for example asking for zero, more than one or contradictory types.
46624687

4663-
.Notification category details
4688+
.Notification details
46644689
[cols="<1s,<4"]
46654690
|===
46664691
|Neo4j code
@@ -4719,7 +4744,7 @@ Relationship type expression cannot possibly be satisfied. (`R1&R2` can never be
47194744
[#_neo_clientnotification_statement_repeatedrelationshipreference]
47204745
=== Repeated relationship reference
47214746

4722-
.Notification category details
4747+
.Notification details
47234748
[cols="<1s,<4"]
47244749
|===
47254750
|Neo4j code

0 commit comments

Comments
 (0)