diff --git a/CHANGELOG.md b/CHANGELOG.md index 48139e6b..fb758fbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Upgrade the native kernel backend to 1.5.0. + - Avoid intermediate decimal strings when materializing Arrow DECIMAL values with safe unscaled integers, on both backends. - Reduce Arrow row materialization overhead on both backends by reading vectors directly and resolving scalar conversions once per batch. Object and array row values are unchanged. - The Thrift token federation exchange (`enableTokenFederation`) now goes through the connection's agent, so `proxy`, `checkServerCertificate`, `customCaCert` and `clientCert`/`clientKey` apply to it. Previously it connected directly with Node's default agent, so behind a required proxy the exchange failed and the driver fell back to the original token. (#611) diff --git a/KERNEL_REV b/KERNEL_REV index 18337b65..2add322e 100644 --- a/KERNEL_REV +++ b/KERNEL_REV @@ -1 +1 @@ -dac32e2bf44468bdab06747dad4f289d1c0a18bd +5c3a909771f749174567af074bfe18c24a335f5c diff --git a/native/kernel/README.md b/native/kernel/README.md index 9bc463eb..bf7f4c7f 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.4.0`) and declared in the driver's `optionalDependencies`, pinned to +> `1.5.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 6902ddee..187ff3b3 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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.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.5.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.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.`) + if (bindingPackageVersion !== '1.5.0') { + throw new Error(`WASI binding package version mismatch, expected 1.5.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 211af6e7..1177e6a3 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.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", + "@databricks/databricks-sql-kernel-darwin-arm64": "1.5.0", + "@databricks/databricks-sql-kernel-darwin-x64": "1.5.0", + "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.5.0", + "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.5.0", + "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.5.0", + "@databricks/databricks-sql-kernel-linux-x64-musl": "1.5.0", + "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.5.0", + "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.5.0", "lz4-napi": "^2.9.0" } }, @@ -647,9 +647,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-darwin-arm64": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.5.0.tgz", + "integrity": "sha512-NV4RceFfoQoxbUPnFffaHJxOkbgE9kLnJdDHBNls/FKhwT1W7FIKA0Lg+WKYqhTJG0UZqTTNQa99DbCQBtwKFg==", "cpu": [ "arm64" ], @@ -663,9 +663,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-darwin-x64": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.5.0.tgz", + "integrity": "sha512-tZ43N8xbd0tGQk/2IXjIeij1R50yUuM0Uo13zMQS27IFof4O1rGGvELQUaPMSc8S4StvOA+SdQUIPjjpyf2NIQ==", "cpu": [ "x64" ], @@ -679,9 +679,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-arm64-gnu": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.5.0.tgz", + "integrity": "sha512-km3YnzStkG1WdEseI01vQuc0LRFRYrkBOgztPbRb4OLdL78vsUesAez44h+V52GoWySl0If/oCivW/1qghWczQ==", "cpu": [ "arm64" ], @@ -695,9 +695,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-arm64-musl": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.5.0.tgz", + "integrity": "sha512-OeUojg+/5tOqaBu9CEH1USTEtvMxOzbcTGRj0RYc52FJFj8hLUhIJW4M+7fcznribtcXUSdmWRPYikVZwpIq4g==", "cpu": [ "arm64" ], @@ -711,9 +711,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-x64-gnu": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.5.0.tgz", + "integrity": "sha512-EOt3dWwdE2NaKlXYQtWDRtxYV3yJO8lfyGHVsmzC+nkB1hz7dZCyFkvU9lU1XQb1H23DmXg2Rsm5ybuxrQH7vA==", "cpu": [ "x64" ], @@ -727,9 +727,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-linux-x64-musl": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.5.0.tgz", + "integrity": "sha512-ilxEiHKYPfWfVRY/w26SFax6z7xQI0FzJ3tTDOvUd81vsNtLXj62VlNfk2C3E6JZF1Hf6y3GAdfouQS7HGmOGA==", "cpu": [ "x64" ], @@ -743,9 +743,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-win32-arm64-msvc": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.5.0.tgz", + "integrity": "sha512-lMk4+0mG9iewKahx6hQXGmCXO3zJaHypuPOVSrstz6Aaxf1eT6vCKbbs4fIWHO/5KYdaLnJb9X9eygXYxQf+6w==", "cpu": [ "arm64" ], @@ -759,9 +759,9 @@ } }, "node_modules/@databricks/databricks-sql-kernel-win32-x64-msvc": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.5.0.tgz", + "integrity": "sha512-9ufdpq0v2W7nbIl7gH/j1eNoDMQyWoZH4UxomMgnv507c5aeAhEmJQRZ0qlu9GppxJYSCwwCSRlng1Ljtca0Fw==", "cpu": [ "x64" ], @@ -7247,51 +7247,51 @@ } }, "@databricks/databricks-sql-kernel-darwin-arm64": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-arm64/-/databricks-sql-kernel-darwin-arm64-1.5.0.tgz", + "integrity": "sha512-NV4RceFfoQoxbUPnFffaHJxOkbgE9kLnJdDHBNls/FKhwT1W7FIKA0Lg+WKYqhTJG0UZqTTNQa99DbCQBtwKFg==", "optional": true }, "@databricks/databricks-sql-kernel-darwin-x64": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-darwin-x64/-/databricks-sql-kernel-darwin-x64-1.5.0.tgz", + "integrity": "sha512-tZ43N8xbd0tGQk/2IXjIeij1R50yUuM0Uo13zMQS27IFof4O1rGGvELQUaPMSc8S4StvOA+SdQUIPjjpyf2NIQ==", "optional": true }, "@databricks/databricks-sql-kernel-linux-arm64-gnu": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-gnu/-/databricks-sql-kernel-linux-arm64-gnu-1.5.0.tgz", + "integrity": "sha512-km3YnzStkG1WdEseI01vQuc0LRFRYrkBOgztPbRb4OLdL78vsUesAez44h+V52GoWySl0If/oCivW/1qghWczQ==", "optional": true }, "@databricks/databricks-sql-kernel-linux-arm64-musl": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-arm64-musl/-/databricks-sql-kernel-linux-arm64-musl-1.5.0.tgz", + "integrity": "sha512-OeUojg+/5tOqaBu9CEH1USTEtvMxOzbcTGRj0RYc52FJFj8hLUhIJW4M+7fcznribtcXUSdmWRPYikVZwpIq4g==", "optional": true }, "@databricks/databricks-sql-kernel-linux-x64-gnu": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-gnu/-/databricks-sql-kernel-linux-x64-gnu-1.5.0.tgz", + "integrity": "sha512-EOt3dWwdE2NaKlXYQtWDRtxYV3yJO8lfyGHVsmzC+nkB1hz7dZCyFkvU9lU1XQb1H23DmXg2Rsm5ybuxrQH7vA==", "optional": true }, "@databricks/databricks-sql-kernel-linux-x64-musl": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-linux-x64-musl/-/databricks-sql-kernel-linux-x64-musl-1.5.0.tgz", + "integrity": "sha512-ilxEiHKYPfWfVRY/w26SFax6z7xQI0FzJ3tTDOvUd81vsNtLXj62VlNfk2C3E6JZF1Hf6y3GAdfouQS7HGmOGA==", "optional": true }, "@databricks/databricks-sql-kernel-win32-arm64-msvc": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-arm64-msvc/-/databricks-sql-kernel-win32-arm64-msvc-1.5.0.tgz", + "integrity": "sha512-lMk4+0mG9iewKahx6hQXGmCXO3zJaHypuPOVSrstz6Aaxf1eT6vCKbbs4fIWHO/5KYdaLnJb9X9eygXYxQf+6w==", "optional": true }, "@databricks/databricks-sql-kernel-win32-x64-msvc": { - "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@databricks/databricks-sql-kernel-win32-x64-msvc/-/databricks-sql-kernel-win32-x64-msvc-1.5.0.tgz", + "integrity": "sha512-9ufdpq0v2W7nbIl7gH/j1eNoDMQyWoZH4UxomMgnv507c5aeAhEmJQRZ0qlu9GppxJYSCwwCSRlng1Ljtca0Fw==", "optional": true }, "@eslint-community/eslint-utils": { diff --git a/package.json b/package.json index 24077e02..f60f2c16 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.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" + "@databricks/databricks-sql-kernel-linux-x64-gnu": "1.5.0", + "@databricks/databricks-sql-kernel-linux-arm64-gnu": "1.5.0", + "@databricks/databricks-sql-kernel-linux-x64-musl": "1.5.0", + "@databricks/databricks-sql-kernel-linux-arm64-musl": "1.5.0", + "@databricks/databricks-sql-kernel-darwin-x64": "1.5.0", + "@databricks/databricks-sql-kernel-darwin-arm64": "1.5.0", + "@databricks/databricks-sql-kernel-win32-x64-msvc": "1.5.0", + "@databricks/databricks-sql-kernel-win32-arm64-msvc": "1.5.0" }, "overrides": { "basic-ftp": "^6.2.1",