From 542f125cb0e823190ebfd661bd27bee51c599ab4 Mon Sep 17 00:00:00 2001 From: Cathleen Yan <58714163+cathleeny@users.noreply.github.com> Date: Wed, 4 Nov 2026 19:54:10 +0000 Subject: [PATCH] chore: upgrade SQL kernel to 1.4.0 Co-authored-by: Isaac Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com> --- CHANGELOG.md | 1 + KERNEL_REV | 2 +- native/kernel/README.md | 2 +- native/kernel/index.js | 108 +++++++++++++++++++------------------- package-lock.json | 112 ++++++++++++++++++++-------------------- package.json | 16 +++--- 6 files changed, 121 insertions(+), 120 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50850674..0ec48dbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Upgrade the native kernel backend to 1.4.0. - **Breaking:** require Node.js versions containing the CVE-2026-111497 Brotli decoder fix: 22.23.4+, 24.22.1+, or 26.12.1+. Node.js 20, 23, and 25 are no longer supported because those end-of-life lines have no fix. - Return empty results with the standard schema from Thrift `getPrimaryKeys()` when a catalog, schema, or table is missing, instead of throwing. (#553) diff --git a/KERNEL_REV b/KERNEL_REV index 15647484..7538a248 100644 --- a/KERNEL_REV +++ b/KERNEL_REV @@ -1 +1 @@ -b5e545adf70cb6fc7e9911e3d38fabd12f140f71 +c58f62c95f3651488f6270c0b45686614486d351 diff --git a/native/kernel/README.md b/native/kernel/README.md index 0ddda73a..9bc463eb 100644 --- a/native/kernel/README.md +++ b/native/kernel/README.md @@ -62,7 +62,7 @@ platform — each containing a single `.node` binary. `native/kernel/index.js` `process.platform` / `process.arch` at load time. > **Status:** the per-platform packages are published on npm (kernel -> `1.3.0`) and declared in the driver's `optionalDependencies`, pinned to +> `1.4.0`) and declared in the driver's `optionalDependencies`, pinned to > that exact version. `npm install` resolves only the package matching the > consumer's `process.platform` / `process.arch`; the others are skipped > (that is what `optionalDependencies` tolerates), so installing on an diff --git a/native/kernel/index.js b/native/kernel/index.js index 7e821a0e..6902ddee 100644 --- a/native/kernel/index.js +++ b/native/kernel/index.js @@ -77,8 +77,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-android-arm64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-android-arm64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -93,8 +93,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-android-arm-eabi') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -114,8 +114,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-win32-x64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -130,8 +130,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-win32-x64-msvc') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -147,8 +147,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-win32-ia32-msvc') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -163,8 +163,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-win32-arm64-msvc') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -182,8 +182,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-darwin-universal') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-darwin-universal/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -198,8 +198,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-darwin-x64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-darwin-x64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -214,8 +214,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-darwin-arm64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-darwin-arm64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -234,8 +234,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-freebsd-x64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-freebsd-x64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -250,8 +250,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-freebsd-arm64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -271,8 +271,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-x64-musl') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -287,8 +287,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-x64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -305,8 +305,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-arm64-musl') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -321,8 +321,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-arm64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -339,8 +339,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-arm-musleabihf') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -355,8 +355,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-arm-gnueabihf') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -373,8 +373,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-loong64-musl') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -389,8 +389,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-loong64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -407,8 +407,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-riscv64-musl') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -423,8 +423,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-riscv64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -440,8 +440,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-ppc64-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -456,8 +456,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-linux-s390x-gnu') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -476,8 +476,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-openharmony-arm64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -492,8 +492,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-openharmony-x64') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-openharmony-x64/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -508,8 +508,8 @@ function requireNative() { try { const binding = require('@databricks/databricks-sql-kernel-openharmony-arm') const bindingPackageVersion = require('@databricks/databricks-sql-kernel-openharmony-arm/package.json').version - if (bindingPackageVersion !== '1.3.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -648,8 +648,8 @@ if (!nativeBinding || forceWasi) { if (!candidateFailed) { if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { const bindingPackageVersion = require('@databricks/databricks-sql-kernel-wasm32-wasi/package.json').version - if (bindingPackageVersion !== '1.3.0') { - throw new Error(`WASI binding package version mismatch, expected 1.3.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.4.0') { + throw new Error(`WASI binding package version mismatch, expected 1.4.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } } wasiBinding = require('@databricks/databricks-sql-kernel-wasm32-wasi') diff --git a/package-lock.json b/package-lock.json index 614e18c4..914103c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,14 +53,14 @@ "node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1" }, "optionalDependencies": { - "@databricks/databricks-sql-kernel-darwin-arm64": "1.3.0", - "@databricks/databricks-sql-kernel-darwin-x64": "1.3.0", - "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.3.0", - "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.3.0", - "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.3.0", - "@databricks/databricks-sql-kernel-linux-x64-musl": "1.3.0", - "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.3.0", - "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.3.0", + "@databricks/databricks-sql-kernel-darwin-arm64": "1.4.0", + "@databricks/databricks-sql-kernel-darwin-x64": "1.4.0", + "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.4.0", + "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.4.0", + "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.4.0", + "@databricks/databricks-sql-kernel-linux-x64-musl": "1.4.0", + "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.4.0", + "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.4.0", "lz4-napi": "^2.9.0" } }, @@ -647,9 +647,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-darwin-arm64": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.3.0.tgz", - "integrity": "sha512-0oXTBrjakFnUZ/ohBrLZdZWojwV125RbzuIDibcfNXnZOzA+EnhtLsgveNnkJoABQzAaHqvXcuLiuX67E7Ivag==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.4.0.tgz", + "integrity": "sha512-AV5oK6jUDw01FLZHmBy18udZtB5B0aW0JrCmi1x+XshumXTEa+sI18Z4CP7dSS1I3+aNvZVEJNhaxPzRkYEhqQ==", "cpu": [ "arm64" ], @@ -663,9 +663,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-darwin-x64": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.3.0.tgz", - "integrity": "sha512-QDxiMluC4WS/L7EI8TlkP8GT0Nj/q+YmFFt7D/8aaN53LuGkZoyvjeS2z+dB2YxkStHsqXky4nt1babKvrQh7A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.4.0.tgz", + "integrity": "sha512-mwVSC/mn12X7sefK42lsvbCmsCVh0t5se6RciBe7y17440wAgzseEu/H2BahSAl97KrDmQodec3nnJfmAaP6XA==", "cpu": [ "x64" ], @@ -679,9 +679,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-arm64-gnu": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.3.0.tgz", - "integrity": "sha512-JA7fRhcIdyoIGbDOAz3f6zRVJL9cIY2L3SdhyIn2LhbxNfbgLKqR6bXlyir67EgrrqP8ynWaFdzXJ6y9BJQXVw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.4.0.tgz", + "integrity": "sha512-vYry295QIALSO/U6znBJOQj38H0I5lpSdWcP2yAcXXNG83Eewaux4OgaqJHLgeknOsomNH5Q6nsXBOz0GOCV2g==", "cpu": [ "arm64" ], @@ -695,9 +695,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-arm64-musl": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.3.0.tgz", - "integrity": "sha512-OUkAIwm5MEjniOZasAhFXl9qNi6yzN4Uboam5c26gz9SenLjVooJH0KgL6rEpWOW27a6WsAOxKDBX2Nz8/9Z2w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.4.0.tgz", + "integrity": "sha512-tpfCDBTw+dfYsNA83TV6BXDLPoq/a+7e7Ond3gp1HqfnCNRnr9+Mgf5S8ddTtZj01ieh07EXlEntGq3UGR2rCw==", "cpu": [ "arm64" ], @@ -711,9 +711,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-x64-gnu": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.3.0.tgz", - "integrity": "sha512-fE8kh7axe7DiRn5bilVlq2YmY98pYicjGTD2ZBTYDyoR5kO9mpDHg4smeVTf40k5hS1AthRkZEgThKRNZD75yQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.4.0.tgz", + "integrity": "sha512-60tLq4aIV/Ota0fqZiOP1uNQOoS5IGi/fDtbzs7YUlM4w9Ttrv8DRKKlAag+sPcqa24DB+2XA8SQqe6KJaXYew==", "cpu": [ "x64" ], @@ -727,9 +727,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-x64-musl": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.3.0.tgz", - "integrity": "sha512-y3W6t9Biy+eYLn8O0EYWrBgnZ33SufcMbfO7s1qoOf8vClXLVBYdnSZBhKS8qUX2CYzmQQWxuXVOz3VPrLCzzw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.4.0.tgz", + "integrity": "sha512-AwoFIIOeIhQFRAVMHczBAJkzBzmHIwL5kzo5/n2+A3pl1MF1SDxBKcWJHFM3/jcbdC62Xzlca1r8Xp+8S2tKFw==", "cpu": [ "x64" ], @@ -743,9 +743,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-win32-arm64-msvc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.3.0.tgz", - "integrity": "sha512-eeTZcNHMdWEtFKAzydWIt4bilN3ZNf3k7hDI5Y7i3wPLzMlEfSm2tGvtLUgFLslIaEb09YneFmCi2OiefSItSw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.4.0.tgz", + "integrity": "sha512-qubbX9u/HrXyde3iO8fFsQ3lJ2JLQUshvA2Ac3TpaC3Tx0TNiE2gVTwxD8NzT5JOSAWnxLD+ph6tY+QAb0Kbjg==", "cpu": [ "arm64" ], @@ -759,9 +759,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-win32-x64-msvc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.3.0.tgz", - "integrity": "sha512-XZ4mfcUrwb8WbON3tCItqXDxlrk3yJmBUE5QJFAKGd/Zuc9eIo4NixT4+0PhnUQWDYnUSf2Ec1E997rYs/7/MQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.4.0.tgz", + "integrity": "sha512-Z/n28mvtf8OU/WyzNk0IykO7ertSeJVaPkyd+M+EI049TAB5p7/W8bZp/BMzfXEEaDy5t1O9/KX45VSm0DiglA==", "cpu": [ "x64" ], @@ -7257,51 +7257,51 @@ } }, "@databricks/databricks-sql-kernel-darwin-arm64": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.3.0.tgz", - "integrity": "sha512-0oXTBrjakFnUZ/ohBrLZdZWojwV125RbzuIDibcfNXnZOzA+EnhtLsgveNnkJoABQzAaHqvXcuLiuX67E7Ivag==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.4.0.tgz", + "integrity": "sha512-AV5oK6jUDw01FLZHmBy18udZtB5B0aW0JrCmi1x+XshumXTEa+sI18Z4CP7dSS1I3+aNvZVEJNhaxPzRkYEhqQ==", "optional": true }, "@databricks/databricks-sql-kernel-darwin-x64": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.3.0.tgz", - "integrity": "sha512-QDxiMluC4WS/L7EI8TlkP8GT0Nj/q+YmFFt7D/8aaN53LuGkZoyvjeS2z+dB2YxkStHsqXky4nt1babKvrQh7A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.4.0.tgz", + "integrity": "sha512-mwVSC/mn12X7sefK42lsvbCmsCVh0t5se6RciBe7y17440wAgzseEu/H2BahSAl97KrDmQodec3nnJfmAaP6XA==", "optional": true }, "@databricks/databricks-sql-kernel-linux-arm64-gnu": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.3.0.tgz", - "integrity": "sha512-JA7fRhcIdyoIGbDOAz3f6zRVJL9cIY2L3SdhyIn2LhbxNfbgLKqR6bXlyir67EgrrqP8ynWaFdzXJ6y9BJQXVw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.4.0.tgz", + "integrity": "sha512-vYry295QIALSO/U6znBJOQj38H0I5lpSdWcP2yAcXXNG83Eewaux4OgaqJHLgeknOsomNH5Q6nsXBOz0GOCV2g==", "optional": true }, "@databricks/databricks-sql-kernel-linux-arm64-musl": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.3.0.tgz", - "integrity": "sha512-OUkAIwm5MEjniOZasAhFXl9qNi6yzN4Uboam5c26gz9SenLjVooJH0KgL6rEpWOW27a6WsAOxKDBX2Nz8/9Z2w==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.4.0.tgz", + "integrity": "sha512-tpfCDBTw+dfYsNA83TV6BXDLPoq/a+7e7Ond3gp1HqfnCNRnr9+Mgf5S8ddTtZj01ieh07EXlEntGq3UGR2rCw==", "optional": true }, "@databricks/databricks-sql-kernel-linux-x64-gnu": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.3.0.tgz", - "integrity": "sha512-fE8kh7axe7DiRn5bilVlq2YmY98pYicjGTD2ZBTYDyoR5kO9mpDHg4smeVTf40k5hS1AthRkZEgThKRNZD75yQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.4.0.tgz", + "integrity": "sha512-60tLq4aIV/Ota0fqZiOP1uNQOoS5IGi/fDtbzs7YUlM4w9Ttrv8DRKKlAag+sPcqa24DB+2XA8SQqe6KJaXYew==", "optional": true }, "@databricks/databricks-sql-kernel-linux-x64-musl": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.3.0.tgz", - "integrity": "sha512-y3W6t9Biy+eYLn8O0EYWrBgnZ33SufcMbfO7s1qoOf8vClXLVBYdnSZBhKS8qUX2CYzmQQWxuXVOz3VPrLCzzw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.4.0.tgz", + "integrity": "sha512-AwoFIIOeIhQFRAVMHczBAJkzBzmHIwL5kzo5/n2+A3pl1MF1SDxBKcWJHFM3/jcbdC62Xzlca1r8Xp+8S2tKFw==", "optional": true }, "@databricks/databricks-sql-kernel-win32-arm64-msvc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.3.0.tgz", - "integrity": "sha512-eeTZcNHMdWEtFKAzydWIt4bilN3ZNf3k7hDI5Y7i3wPLzMlEfSm2tGvtLUgFLslIaEb09YneFmCi2OiefSItSw==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.4.0.tgz", + "integrity": "sha512-qubbX9u/HrXyde3iO8fFsQ3lJ2JLQUshvA2Ac3TpaC3Tx0TNiE2gVTwxD8NzT5JOSAWnxLD+ph6tY+QAb0Kbjg==", "optional": true }, "@databricks/databricks-sql-kernel-win32-x64-msvc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.3.0.tgz", - "integrity": "sha512-XZ4mfcUrwb8WbON3tCItqXDxlrk3yJmBUE5QJFAKGd/Zuc9eIo4NixT4+0PhnUQWDYnUSf2Ec1E997rYs/7/MQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.4.0.tgz", + "integrity": "sha512-Z/n28mvtf8OU/WyzNk0IykO7ertSeJVaPkyd+M+EI049TAB5p7/W8bZp/BMzfXEEaDy5t1O9/KX45VSm0DiglA==", "optional": true }, "@eslint-community/eslint-utils": { diff --git a/package.json b/package.json index 6d6455df..c83d271e 100644 --- a/package.json +++ b/package.json @@ -92,14 +92,14 @@ }, "optionalDependencies": { "lz4-napi": "^2.9.0", - "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.3.0", - "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.3.0", - "@databricks/databricks-sql-kernel-linux-x64-musl": "1.3.0", - "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.3.0", - "@databricks/databricks-sql-kernel-darwin-x64": "1.3.0", - "@databricks/databricks-sql-kernel-darwin-arm64": "1.3.0", - "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.3.0", - "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.3.0" + "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.4.0", + "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.4.0", + "@databricks/databricks-sql-kernel-linux-x64-musl": "1.4.0", + "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.4.0", + "@databricks/databricks-sql-kernel-darwin-x64": "1.4.0", + "@databricks/databricks-sql-kernel-darwin-arm64": "1.4.0", + "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.4.0", + "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.4.0" }, "overrides": { "basic-ftp": "^6.2.1",