Skip to content

Releases: databricks/databricks-sql-nodejs

1.16.0

15 Jun 13:29
1e892cf

Choose a tag to compare

  • New: optional kernel backend (useKernel: true). Adds an alternative connection path backed by the native @databricks/databricks-sql-kernel client (a Rust core exposed via napi-rs), shipped as prebuilt per-platform packages (linux x64/arm64 gnu+musl, macOS x64/arm64, Windows x64/arm64) pulled in automatically as optional dependencies. The kernel talks to Databricks over the SEA (Statement Execution API) HTTP transport — not Thrift — with CloudFetch and inline-Arrow result fetching, through the same DBSQLClient surface. Supports PAT and OAuth (M2M/U2M) auth. Requires Node >= 18; on older Node the binding is not loaded and useKernel: true raises a clear error directing you to the Thrift backend. The default backend remains Thrift — opt in per connection. (#378, #380, #409, #410, #411, #412, #416, #428, #434 by @msrathore-db)
  • Kernel backend behavior is aligned with Thrift so application code works the same either way: named/positional query parameters, metadata calls, TLS/mTLS with a custom CA, custom headers and user-agent, HTTP/SOCKS proxy and socket timeout, configurable retry/backoff, session query tags, async submit + cancel(), operation id/schema, and INTERVAL/type parity. Kernel logs surface through the same DBSQLLogger sink. (#417, #420, #421, #426, #430, #431 by @msrathore-db)
  • Make retry-policy knobs (max attempts, min/max backoff, overall timeout) configurable via connect() for both backends (#433 by @msrathore-db)
  • Retry transient network errors and fix a CloudFetch prefetch promise-rejection leak (#424 by @msrathore-db)
  • Telemetry: emit sql_operation, auth_type, and driver_connection_params (#396 by @samikshya-db)

1.16.0-rc.1

11 Jun 14:36
e448f94

Choose a tag to compare

1.16.0-rc.1 Pre-release
Pre-release

::warning::No changelog entry found for version '1.16.0-rc.1' in CHANGELOG.md
Release 1.16.0-rc.1

1.15.0

26 May 07:45
e200a1b

Choose a tag to compare

  • Add SPOG routing support: parse ?o=<workspaceId> from httpPath and inject x-databricks-org-id on Thrift, telemetry, and feature-flag requests. Expose customHeaders on ConnectionOptions for caller-supplied headers (#391 by @samikshya-db)
  • Telemetry: enable by default with feature-flag-controlled priority, and fix final-flush dropping on client.close() due to a close-ordering bug (#327, #391 by @samikshya-db)
  • Fix Azure AD OAuth: tenant-aware discovery URL and correct scope resource (#363 by @msrathore-db)
  • Fix: use a valid SPDX license identifier in package.json (#389 by @sreekanth-db)

1.14.0

08 May 04:44
f05f8a9

Choose a tag to compare

  • Add statement-level query tag support (#366 by @sreekanth-db)
  • Add AI coding agent detection to User-Agent header (#333 by @vikrantpuppala)
  • Internal: telemetry infrastructure improvements — circuit breaker, feature flag cache, telemetry client management (off by default) (#325, #326, #362)

1.13.0

02 Mar 18:28
775e642

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.12.0...1.13.0

1.12.0

18 Sep 11:09
3f2eec1

Choose a tag to compare

What's Changed

Full Changelog: 1.11.0...1.12.0

1.11.0

19 May 18:12
57e07c1

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.10.0...1.11.0

1.10.0

12 Mar 16:45
6d6dd8b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.9.0...1.10.0

1.9.0

16 Dec 19:38
b755e62

Choose a tag to compare

What's Changed

Full Changelog: 1.8.4...1.9.0

1.8.4

19 Apr 17:02
1e4b730

Choose a tag to compare

  • Fix: proxy agent unintentionally overwrites protocol in URL (#241)
  • Improve Array.at/TypedArray.at polyfill (#242 by @barelyhuman)
  • UC Volume ingestion: stream files instead of loading them into memory (#247)
  • UC Volume ingestion: improve behavior on SQL REMOVE (#249)
  • Expose session and query ID (#250)
  • Make lz4 module optional so package manager can skip it when cannot install (#246)

Full diff: 1.8.3...1.8.4