Skip to content

Commit 9a6d50c

Browse files
committed
(semver-major) Bump to ArangoDB 3.0 as default
1 parent 78a8290 commit 9a6d50c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The driver is being tested with ArangoDB 2.6, 2.7, 2.8 and the nightly developme
1414

1515
As of version 4.0.0 of this driver, a minified standalone browser bundle is also available.
1616

17-
**Upgrade note**: If you want to use arangojs with ArangoDB 3.0 or greater remember to set the appropriate `arangoVersion` option (`30000` for version 3.0.0). The current default value is `203000` (indicating compatibility with version 2.3.0).
17+
**Upgrade note**: If you want to use arangojs with ArangoDB 2.8 or earlier remember to set the appropriate `arangoVersion` option (`20800` for version 2.8.0). The current default value is `30000` (indicating compatibility with version 3.0.0).
1818

1919
# Install
2020

@@ -281,7 +281,7 @@ If *config* is a string, it will be interpreted as *config.url*.
281281

282282
Name of the active database.
283283

284-
* **arangoVersion**: `number` (Default: `20300`)
284+
* **arangoVersion**: `number` (Default: `30000`)
285285

286286
Value of the `x-arango-version` header.
287287

src/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class Connection {
119119
Connection.defaults = {
120120
url: 'http://localhost:8529',
121121
databaseName: '_system',
122-
arangoVersion: 20300
122+
arangoVersion: 30000
123123
}
124124

125125
Connection.agentDefaults = {

0 commit comments

Comments
 (0)