Skip to content

Commit eaef69a

Browse files
authored
Change Neo4j version references to 5.0 (#48)
1 parent b0cf36c commit eaef69a

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

modules/ROOT/pages/actions/handling-errors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If errors occur while executing statements, the server will roll back the transa
1414

1515
In this example, we send an invalid statement to the server in order to demonstrate error handling.
1616

17-
For more information on the status codes, see xref:4.4@status-codes:ROOT:index.adoc[Neo4j Status Codes].
17+
For more information on the status codes, see xref:5.0@status-codes:ROOT:index.adoc[Neo4j Status Codes].
1818

1919
_Example request_
2020

modules/ROOT/pages/discovery.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The HTTP API uses the port `7474` for HTTP and the port `7473` for HTTPS.
77

88
[TIP]
99
====
10-
See the xref:4.4@operations-manual:ROOT:configuration/ports/index.adoc[Operations Manual -> Ports] for an overview of the Neo4j-specific ports.
10+
See the xref:5.0@operations-manual:ROOT:configuration/ports/index.adoc[Operations Manual -> Ports] for an overview of the Neo4j-specific ports.
1111
====
1212

1313

@@ -35,7 +35,7 @@ Content-Type: application/json
3535
"bolt_direct": "bolt://localhost:7687",
3636
"bolt_routing": "neo4j://localhost:7687",
3737
"transaction": "http://localhost:7474/db/{databaseName}/tx",
38-
"neo4j_version": "4.4.0",
38+
"neo4j_version": "5.0.0",
3939
"neo4j_edition": "enterprise"
4040
}
4141
-----

modules/ROOT/pages/introduction.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Each HTTP request can include a list of statements, and for convenience you can
99

1010
The server guards against orphaned transactions by using a timeout.
1111
If there are no requests for a given transaction within the timeout period, the server will roll it back.
12-
You can configure the timeout in the server configuration, by setting xref:4.4@operations-manual:ROOT:reference/configuration-settings/index.adoc#config_dbms.rest.transaction.idle_timeout[Operations Manual -> Configuration settings `dbms.rest.transaction.idle_timeout`] to the number of seconds before timeout.
12+
You can configure the timeout in the server configuration, by setting xref:5.0@operations-manual:ROOT:reference/configuration-settings/index.adoc#config_dbms.rest.transaction.idle_timeout[Operations Manual -> Configuration settings `dbms.rest.transaction.idle_timeout`] to the number of seconds before timeout.
1313
The default timeout is `60` seconds.
1414

1515
Responses from the HTTP API can be transmitted as JSON streams, resulting in better performance and lower memory overhead on the server side.
@@ -18,7 +18,7 @@ To use streaming, supply the header `X-Stream: true` with each request.
1818
[NOTE]
1919
====
2020
* Literal line breaks are not allowed inside Cypher statements.
21-
* Cypher queries with `USING PERIODIC COMMIT` (see xref:4.4@cypher-manual:ROOT:query-tuning/using/index.adoc#query-using-periodic-commit-hint[Cypher Manual -> `PERIODIC COMMIT` query hint]) may only be executed when creating a new transaction and immediately committing it with a single HTTP request (see xref::/actions/begin-and-commit-a-transaction-in-one-request.adoc[Begin and commit a transaction in one request] for how to do that).
21+
* Cypher queries with `USING PERIODIC COMMIT` (see xref:5.0@cypher-manual:ROOT:query-tuning/using/index.adoc#query-using-periodic-commit-hint[Cypher Manual -> `PERIODIC COMMIT` query hint]) may only be executed when creating a new transaction and immediately committing it with a single HTTP request (see xref::/actions/begin-and-commit-a-transaction-in-one-request.adoc[Begin and commit a transaction in one request] for how to do that).
2222
* When a request fails the transaction will be rolled back.
2323
By checking the result for the presence/absence of the `transaction` key you can figure out if the transaction is still open.
2424
====
@@ -27,6 +27,6 @@ By checking the result for the presence/absence of the `transaction` key you can
2727
====
2828
In order to speed up queries in repeated scenarios, try not to use literals but replace them with parameters wherever possible.
2929
This will let the server cache query plans.
30-
See xref:4.4@cypher-manual:ROOT:syntax/parameters/index.adoc#cypher-parameters[Cypher Manual -> Parameters] for more information.
30+
See xref:5.0@cypher-manual:ROOT:syntax/parameters/index.adoc#cypher-parameters[Cypher Manual -> Parameters] for more information.
3131
====
3232

modules/ROOT/pages/security/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[[http-api-security]]
44
= Authentication and authorization
55

6-
Authentication and authorization are enabled by default in Neo4j (refer to xref:4.4@operations-manual:ROOT:authentication-authorization/index.adoc#auth[Operations Manual -> Authentication and authorization]).
6+
Authentication and authorization are enabled by default in Neo4j (refer to xref:5.0@operations-manual:ROOT:authentication-authorization/index.adoc#auth[Operations Manual -> Authentication and authorization]).
77
With authentication and authorization enabled, requests to the HTTP API must be authorized using the username and password of a valid user.
88

99

publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ site:
66
content:
77
sources:
88
- url: ./
9-
branches: ['3.5','4.0','4.1','4.2','4.3','4.4','dev']
9+
branches: ['3.5','4.0','4.1','4.2','4.3','4.4','5.0']
1010
edit_url: https://github.com/neo4j/docs-http-api/tree/{refname}/{path}
1111
exclude:
1212
- '!**/_includes/*'
@@ -24,7 +24,7 @@ urls:
2424
antora:
2525
extensions:
2626
- require: "@neo4j-antora/antora-modify-sitemaps"
27-
sitemap_version: '4.4'
27+
sitemap_version: '5.0'
2828
sitemap_loc_version: 'current'
2929
move_sitemaps_to_components: true
3030

0 commit comments

Comments
 (0)