Skip to content

Commit ba5060a

Browse files
Merge pull request #621 from aerospike/stage
Nodejs-Release-5.12.1
2 parents 53cce86 + bcc1273 commit ba5060a

File tree

19 files changed

+579
-458
lines changed

19 files changed

+579
-458
lines changed

.appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
image:
2-
- Visual Studio 2017
32
- Visual Studio 2019
3+
- Visual Studio 2022
44
platform: x64
55
environment:
66
matrix:
7-
- nodejs_version: "19"
87
- nodejs_version: "18"
9-
- nodejs_version: "16"
8+
- nodejs_version: "20"
9+
- nodejs_version: "22"
1010

1111
install:
1212
- ps: Install-Product node $env:nodejs_version $env:platform

.github/workflows/build-bindings.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
nodejs: [
9595
["v108", 18],
9696
["v115", 20],
97-
["v120", 21]
97+
["v127", 22]
9898
]
9999
platform: [
100100
"x86_64",
@@ -166,7 +166,7 @@ jobs:
166166
id: runcmd
167167
with:
168168
arch: aarch64
169-
distro: ubuntu22.04
169+
distro: ubuntu-22.04
170170

171171
# Set an output parameter `uname` for use in subsequent steps
172172
run: |
@@ -175,7 +175,7 @@ jobs:
175175
./scripts/build-c-client.sh
176176
wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash;
177177
source ~/.bashrc;
178-
nvm i 20
178+
nvm i 22
179179
npm install
180180
181181
- name: Build client x64
@@ -215,9 +215,9 @@ jobs:
215215
nodejs: [
216216
["v108", 18],
217217
["v115", 20],
218-
["v120", 21]
218+
["v127", 22]
219219
]
220-
runs-on: macos-latest
220+
runs-on: macos-13
221221
steps:
222222
- name: Show job status for commit
223223
uses: myrotvorets/[email protected]
@@ -301,7 +301,7 @@ jobs:
301301
# nodejs-version: [
302302
# ["v108", "18"],
303303
# ["v115", "20"],
304-
# ["v120", "21"],
304+
# ["v127", 22]
305305
# ]
306306
# fail-fast: false
307307
# steps:
@@ -413,7 +413,7 @@ jobs:
413413
# context: "Build bindings (${{ matrix.nodejs-version[0] }}-macosx_arm64)"
414414

415415
test-npm-install:
416-
runs-on: ubuntu-latest
416+
runs-on: ubuntu-22.04
417417
needs: [manylinux, macOS-x86]
418418
steps:
419419
- uses: actions/checkout@v2
@@ -430,16 +430,22 @@ jobs:
430430
- name: Modify the package.json
431431
run: |
432432
sudo npm install -g json
433-
json -I -f package.json -e "this.scripts.install=\"npm-run-all removeExtraBinaries build\""
434433
434+
435+
- name: Modify the package.json
436+
run: |
437+
sudo npm install -g json
438+
json -I -f package.json -e "this.scripts.install=\"npm-run-all removeExtraBinaries build\""
439+
435440
- name: Run tests
436441
run: |
437442
mkdir -p testDir
438443
cd testDir
444+
pwd
439445
sudo npm install ..
440446
441447
test-yarn-install:
442-
runs-on: ubuntu-latest
448+
runs-on: ubuntu-22.04
443449
needs: [manylinux, macOS-x86]
444450
steps:
445451
- uses: actions/checkout@v2
@@ -467,7 +473,7 @@ jobs:
467473
yarn add link:..
468474
469475
test-pnpm-install:
470-
runs-on: ubuntu-latest
476+
runs-on: ubuntu-22.04
471477
needs: [manylinux, macOS-x86]
472478
steps:
473479
- uses: actions/checkout@v2
@@ -524,7 +530,7 @@ jobs:
524530
bun link aerospike
525531
526532
test-typescript-install:
527-
runs-on: ubuntu-latest
533+
runs-on: ubuntu-22.04
528534
needs: [manylinux, macOS-x86]
529535
steps:
530536
- uses: actions/checkout@v2

.github/workflows/combine-bindings/action.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ runs:
2626

2727
# - uses: actions/download-artifact@v4
2828
# with:
29-
# name: v120-macosx_aarch64.build
29+
# name: v127-macosx_aarch64.build
3030

3131
- uses: actions/download-artifact@v4
3232
with:
33-
name: v120-macosx_x86_64.build
33+
name: v127-macosx_x86_64.build
3434

3535
- uses: actions/download-artifact@v4
3636
with:
@@ -50,32 +50,31 @@ runs:
5050

5151
- uses: actions/download-artifact@v4
5252
with:
53-
name: v120-manylinux_x86_64.build
53+
name: v127-manylinux_x86_64.build
5454

5555
# - uses: actions/download-artifact@v4
5656
# with:
57-
# name: v120-manylinux_aarch64.build
57+
# name: v127-manylinux_aarch64.build
5858

5959
- name: Install client
6060
shell: bash
6161
run: |
62-
mkdir -p lib/binding/node-v108-darwin-arm64 lib/binding/node-v115-darwin-arm64 lib/binding/node-v120-darwin-arm64
63-
mkdir -p lib/binding/openssl@3/node-v108-linux-arm64 lib/binding/openssl@3/node-v115-linux-arm64 lib/binding/openssl@3/node-v120-linux-arm64
64-
mkdir -p lib/binding/openssl@1/node-v108-linux-arm64 lib/binding/openssl@1/node-v115-linux-arm64 lib/binding/openssl@1/node-v120-linux-arm64
65-
mkdir -p lib/binding/openssl@1/node-v108-linux-x64 lib/binding/openssl@1/node-v115-linux-x64 lib/binding/openssl@1/node-v120-linux-x64
66-
cp -r node-v108-linux-x64 lib/binding/openssl@3/node-v108-linux-x64
67-
cp -r node-v115-linux-x64 lib/binding/openssl@3/node-v115-linux-x64
68-
cp -r node-v120-linux-x64 lib/binding/openssl@3/node-v120-linux-x64
62+
mkdir -p lib/binding/node-v108-darwin-arm64 lib/binding/node-v115-darwin-arm64 lib/binding/node-v127-darwin-arm64
63+
mkdir -p lib/binding/[email protected]/node-v108-linux-arm64 lib/binding/[email protected]/node-v115-linux-arm64 lib/binding/[email protected]/node-v127-linux-arm64
64+
mkdir -p lib/binding/[email protected]/node-v108-linux-arm64 lib/binding/[email protected]/node-v115-linux-arm64 lib/binding/[email protected]/node-v127-linux-arm64
65+
mkdir -p lib/binding/[email protected]/node-v108-linux-arm64 lib/binding/[email protected]/node-v115-linux-arm64 lib/binding/[email protected]/node-v127-linux-arm64
66+
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
67+
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
68+
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
69+
cp -r node-v108-linux-x64 lib/binding/[email protected]/
70+
cp -r node-v115-linux-x64 lib/binding/[email protected]/
71+
cp -r node-v127-linux-x64 lib/binding/[email protected]/
6972
cp -r node-v108-darwin-x64 lib/binding/node-v108-darwin-x64
7073
cp -r node-v115-darwin-x64 lib/binding/node-v115-darwin-x64
71-
cp -r node-v120-darwin-x64 lib/binding/node-v120-darwin-x64
72-
74+
cp -r node-v127-darwin-x64 lib/binding/node-v127-darwin-x64
7375
# cp -r node-v108-linux-arm64 lib/binding/node-v108-linux-arm64
7476
# cp -r node-v115-linux-arm64 lib/binding/node-v115-linux-arm64
75-
# cp -r node-v120-linux-arm64 lib/binding/node-v120-linux-arm64
77+
# cp -r node-v127-linux-arm64 lib/binding/node-v127-linux-arm64
7678
# cp -r node-v108-darwin-arm64 lib/binding/node-v108-darwin-arm64
7779
# cp -r node-v115-darwin-arm64 lib/binding/node-v115-darwin-arm64
78-
# cp -r node-v120-darwin-arm64 lib/binding/node-v120-darwin-arm64
79-
80-
81-
80+
# cp -r node-v127-darwin-arm64 lib/binding/node-v127-darwin-arm64

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
nodejs-version: ["18", "20", "21"]
43+
nodejs-version: ["18", "20", "22"]
4444
fail-fast: false
4545
steps:
4646
- uses: actions/checkout@v4
@@ -170,7 +170,7 @@ jobs:
170170
node-version: [
171171
"18",
172172
"20",
173-
"21"
173+
"22"
174174
]
175175
fail-fast: false
176176

@@ -201,8 +201,8 @@ jobs:
201201
cp -r node-v108-linux-x64 lib/binding/node-v108-linux-x64
202202
elif [ "${{ matrix.node-version }}" = "20" ]; then
203203
cp -r node-v115-linux-x64 lib/binding/node-v115-linux-x64
204-
elif [ "${{ matrix.node-version }}" = "21" ]; then
205-
cp -r node-v120-linux-x64 lib/binding/node-v120-linux-x64
204+
elif [ "${{ matrix.node-version }}" = "22" ]; then
205+
cp -r node-v127-linux-x64 lib/binding/node-v127-linux-x64
206206
fi
207207
208208
- if: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}
@@ -265,7 +265,7 @@ jobs:
265265
run: sleep 3
266266

267267
- name: Run tests
268-
run: npm run test
268+
run: npm run test -- --t 20000
269269

270270
test-ee:
271271
runs-on: ubuntu-latest

.github/workflows/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
node-version: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
3232
- 18.x
3333
- 20.x
34-
- 21.x
34+
- 22.x
3535
continue-on-error: true
3636
name: Node ${{ matrix.node-version }} tester
3737
steps:

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
# Changelog
22

33
All notable changes to this project will be documented in this file.
4+
5+
## [5.12.1]
6+
7+
* **Breaking Changes**
8+
* [CLIENT-2984] - Dropped support for Node.js 21.
9+
10+
* **New Features**
11+
* [CLIENT-2976] - Added support for Ubuntu 24.04.
12+
* [CLIENT-2977] - Added support for Node.js 22.
13+
* **Bug Fixes**
14+
* [CLIENT-2975] - Fixed issue with TLS pending buffer calculation in as_uv_tls_try_send_pending().
15+
16+
## [5.12.0]
17+
18+
* **New Features**
19+
* [CLIENT-2822] - Added the queryDuration enumeration to the policy module. The following values are supported:
20+
* Aerospike.policy.queryDuration.LONG
21+
* Aerospike.policy.queryDuration.SHORT
22+
* Aerospike.policy.queryDuration.LONG_RELAX_AP
23+
* [CLIENT-2822] - Added expectedDuration member to QueryPolicy. Use the queryDuration enumeration when setting expectedDuration.
24+
* [CLIENT-2829] - Added support for readTouchTtlPercent for the following policies:
25+
* ReadPolicy
26+
* OperatePolicy
27+
* BatchPolicy
28+
* BatchReadPolicy
29+
30+
## [5.11.0]
31+
32+
* **New Features**
33+
* [CLIENT-2770] - Added support for persistent list indexes.
34+
* [CLIENT-2774] - Added 'ttl' property to 'batchWrite' policy.
35+
* [CLIENT-2793] - Added support for the batchParentWrite policy in the client config policy.
36+
* [CLIENT-2795] - Added the 'create' method for the 'aerospike/list' module.
37+
38+
* **Bug Fixes**
39+
* [CLIENT-2773] - Added missing error codes to status.js.
40+
* [CLIENT-2794] - Fixed typescript compiler errors.
41+
* [CLIENT-2781] - Batch repeat flag is no longer set on batch writes when the 'sendKey' policy is true.
42+
443
## [5.10.0]
544

645
* **New Features**

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
The Aerospike Node.js client is a Node.js add-on module, written using V8.
1313

14-
The client is compatible with Node.js 20 (Upcoming LTS) and 18 (LTS).
14+
The client is compatible with Node.js 22, (Upcoming LTS), Node.js 20 (LTS),and 18 (LTS).
1515
It supports the following operating systems:
1616
- RHEL 8/9
1717
- Debian 11
1818
- Amazon Linux 2023
19-
- Ubuntu 20.04/22.04 (Focal Fossa, Jammy Jellyfish)
19+
- Ubuntu 20.04/22.04/24.04 (Focal Fossa, Jammy Jellyfish, Noble Numbat)
2020
- Many Linux distributions compatible with one of the above OS releases.
2121
- macOS 12/13/14
2222

incompatible.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Backward Incompatible API Changes
22

33
All notable changes to this project will be documented in this file.
4+
5+
## [5.12.1]
6+
### Client no longer supports Node.js version 21
7+
8+
## [5.9.0]
9+
10+
### Client no longer supports Red Hat Enterprise Linux 7
11+
### Client no longer supports Amazon Linux 2
12+
### Client no longer supports Oracle Linux 7
13+
### Client no longer supports CentOS 7
14+
### Client no longer supports Debian 10
15+
### Client no longer supports macOS 11
16+
417
## [5.8.0]
518

619
### Client no longer supports Node.js version 19

0 commit comments

Comments
 (0)