Skip to content

Commit

Permalink
Bump node/arangodb versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma4345 committed Jul 26, 2022
1 parent f002f15 commit b66d9dc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v1
with:
node-version: ">= 12"
node-version: ">= 16"

- uses: actions/checkout@v2

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12, 14, 16]
arangodb-version: [3.7, 3.8]
node-version: [14, 16, 18]
arangodb-version: [3.8, 3.9]

container:
image: node:${{ matrix.node-version }}
Expand All @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: apt-get update && apt-get install jq -y
- run: npm install -g npm@7
- run: npm install -g npm@8
- run: npm install
- run: npm test
env:
Expand All @@ -40,7 +40,7 @@ jobs:

strategy:
matrix:
arangodb-version: [3.7, 3.8]
arangodb-version: [3.8, 3.9]

container:
image: buildkite/puppeteer:latest
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ This driver uses semantic versioning:
Previously arangojs would use `localhost` which on some systems resolves to
the IPv6 address `::1` instead, resulting in confusing connection errors.

- Removed Node.js 10 support
- Removed Node.js 10 and Node.js 12 support

With Node.js 10 moving from its LTS phase into maintenance, arangojs will no
longer support this version of Node.js going forward.
With Node.js 10 and 12 having reached their end of life, arangojs will no
longer support these versions of Node.js going forward.

- Removed Internet Explorer support

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "arangojs",
"version": "7.8.0",
"engines": {
"node": ">=12"
"node": ">=14"
},
"license": "Apache-2.0",
"description": "The official ArangoDB JavaScript driver.",
Expand Down Expand Up @@ -93,7 +93,7 @@
"semver": "^7.3.5",
"source-map-support": "^0.5.19",
"typedoc": "^0.22.17",
"typescript": "^4.7.2",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.6.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export type Config = {
* Depending on this value certain methods may become unavailable or change
* their behavior to remain compatible with different versions of ArangoDB.
*
* Default: `30800`
* Default: `30900`
*/
arangoVersion?: number;
/**
Expand Down Expand Up @@ -491,7 +491,7 @@ export class Connection {
protected _activeTasks: number = 0;
protected _agent?: any;
protected _agentOptions: { [key: string]: any };
protected _arangoVersion: number = 30800;
protected _arangoVersion: number = 30900;
protected _headers: Headers;
protected _loadBalancingStrategy: LoadBalancingStrategy;
protected _useFailOver: boolean;
Expand Down

0 comments on commit b66d9dc

Please sign in to comment.