diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b0bdf61..aa2df30c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. +## [5.13.1] + +* **New Features** + * [CLIENT-3127] - Added client.ExistsWithMetadata. + * [CLIENT-3153] - Added support for Node.js 23. + +* **Bug Fixes** + * [CLIENT-3107] - Map read and List read operations no longer throw a type error when using EXISTS, ORDERED_MAP, or UNORDERED_MAP return types. + * [CLIENT-3145] - Fixed issue with BatchResult not returning inDoubt status to the user. + +* **Improvements** + * [CLIENT-3061] - Revamped typescript support by improving description file with tighter definitions and documentation. + * [CLIENT-3149] - Fixed import conflicts with third party packages in typescript description file. + * [CLIENT-3149] - Improved typescript description file compilation. + * [CLIENT-3151] - Converted API documentation to TypeDoc documentation. + ## [5.12.1] * **Breaking Changes** diff --git a/package.json b/package.json index fdcdb78c..d5f2d12f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aerospike", - "version": "5.13.0", + "version": "5.13.1", "description": "Aerospike Client Library", "keywords": [ "aerospike", @@ -106,6 +106,7 @@ "scripts/", "src/", "test/", + "ts-test/", "typings/" ] } diff --git a/scripts/prebuiltBinding.js b/scripts/prebuiltBinding.js index 29f80fc1..5d0061b4 100644 --- a/scripts/prebuiltBinding.js +++ b/scripts/prebuiltBinding.js @@ -12,49 +12,47 @@ const rm = util.promisify(fs.rm) if (platform === 'darwin') { console.log('Darwin binaries') - rm('lib/binding/node-v131-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v127-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v115-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v108-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-win32-x64', { recursive: true, force: true }) if (arch === 'x64') { - rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) } else { - rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) } - await rm('lib/binding/glibc@3', { recursive: true, force: true }) - await rm('lib/binding/glibc@1', { recursive: true, force: true }) + await rm('lib/binding/glibc@2.35', { recursive: true, force: true }) + await rm('lib/binding/glibc@2.31', { recursive: true, force: true }) } else if (platform === 'win32') { console.log('Windows binaries') - rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) - await rm('lib/binding/glibc@3', { recursive: true, force: true }) - await rm('lib/binding/glibc@1', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/glibc@2.35', { recursive: true, force: true }) + await rm('lib/binding/glibc@2.31', { recursive: true, force: true }) } else { console.log('Linux binaries') - rm('lib/binding/node-v131-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v127-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v115-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v108-win32-x64', { recursive: true, force: true }) - rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) - rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) - rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-win32-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v115-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v108-darwin-arm64', { recursive: true, force: true }) + await rm('lib/binding/node-v131-darwin-x64', { recursive: true, force: true }) + await rm('lib/binding/node-v127-darwin-x64', { recursive: true, force: true }) await rm('lib/binding/node-v115-darwin-x64', { recursive: true, force: true }) await rm('lib/binding/node-v108-darwin-x64', { recursive: true, force: true }) @@ -62,17 +60,16 @@ const rm = util.promisify(fs.rm) const version = Number(output.stdout) let glibc - if (version < 2.39) { - if (version < 2.35) { - glibc = '2.31' - } else { - glibc = '2.35' - } + + if (version < 2.35) { + glibc = '2.31' } else { - glibc = '2.39' + glibc = '2.35' } + console.log('GLIBC version: ' + glibc) console.log('ARCH: ' + arch) + if (arch === 'x64') { await rename('lib/binding/glibc@' + glibc + '/node-v131-linux-x64', 'lib/binding/node-v131-linux-x64') await rename('lib/binding/glibc@' + glibc + '/node-v127-linux-x64', 'lib/binding/node-v127-linux-x64') @@ -86,6 +83,5 @@ const rm = util.promisify(fs.rm) } await rm('lib/binding/glibc@2.31', { recursive: true, force: true }) await rm('lib/binding/glibc@2.35', { recursive: true, force: true }) - await rm('lib/binding/glibc@2.39', { recursive: true, force: true }) } })()