Skip to content

Releases

v1.5.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 23 Nov 16:05
5c3a909

Python

Added

  • ExecutedAsyncStatement.num_modified_rows and
    AsyncStatementReader.num_modified_rows expose cached affected-row counts
    without polling or consuming results.

Changed

  • Buffered fetches, EOF reads and closing drained result handles avoid
    unnecessary Tokio runtime entry and GIL release/reacquisition.
  • Reuse successful async completion responses to avoid redundant status
    requests, and avoid redundant telemetry flush tasks during event bursts.

Updated

  • Bundle the kernel's Arrow and Quinn dependency security updates.

Fixed

  • Closing sessions releases transport and OAuth resources, fixing a leak of
    four file descriptors per closed Python session.
  • A failed OAuth token request fails session creation immediately without a
    duplicate authentication attempt.
  • CloudFetch prefetch continues across page boundaries, preserves complete
    ordered results and responds to cancellation. Nonblocking reads yield on
    lock contention.
  • Fetch all pages of inline Arrow results when CloudFetch is disabled on a
    warehouse that supports paged inline delivery.
  • Directly completed statements expose affected-row counts without consuming
    the fetched counter row.
  • TLS certificate verification errors fail immediately with their underlying
    cause; CloudFetch errors and debug logs omit presigned URL query strings.

Node.js

Changed

  • Reuse successful async completion responses to avoid redundant status
    requests, and avoid redundant telemetry flush tasks during event bursts.

Updated

  • Bundle the kernel's Arrow and Quinn dependency security updates.

Fixed

  • AsyncStatement.close() releases its canceller and result streams without
    waiting for garbage collection, allowing the shared telemetry client and
    its settings to be released. Fetching from an AsyncResultHandle after
    close returns InvalidStatementHandle, unless a fetch was already using
    the stream when close ran.
  • Closing connections releases their transport and OAuth resources.
  • A failed OAuth token request fails connection creation immediately without
    a duplicate authentication attempt.
  • CloudFetch prefetch continues across page boundaries, preserves complete
    ordered results and responds to cancellation. Nonblocking reads yield on
    lock contention.
  • Fetch all pages of inline Arrow results when CloudFetch is disabled on a
    warehouse that supports paged inline delivery.
  • Directly completed statements expose affected-row counts without consuming
    the fetched counter row.
  • TLS certificate verification errors fail immediately with their underlying
    cause; CloudFetch errors and debug logs omit presigned URL query strings.

v1.4.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 04 Nov 00:13
c58f62c

Python

Added

  • ExecutedAsyncStatement.reader() returns an independent
    AsyncStatementReader for status and result reads with the source
    handle's session routing.

Changed

  • Sessions open through the warehouse sessions URL and keep Lakehouse
    Real-Time session affinity for statements they own. Asynchronous
    execution on Real-Time works through the original session and statement
    handle; cross-session polling and fetching are not supported.

Updated

  • Bundle the kernel's ctutils 0.4.4 security update.

Fixed

  • Telemetry from statements and result streams that outlive their Session
    is flushed instead of dropped, and Session.close() waits for a telemetry
    flush only when it closes the last open session for its host.

Node.js

Changed

  • Connections open through the warehouse sessions URL and keep Lakehouse
    Real-Time session affinity for statements they own.

Updated

  • Bundle the kernel's ctutils 0.4.4 security update.

Fixed

  • Telemetry from statements and result streams that outlive their
    Connection is flushed instead of dropped, and Connection.close() waits
    for a telemetry flush only when it closes the last open connection for its
    host.

v1.3.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 24 Oct 00:35
d72c264

Python

Updated

  • Bundle the kernel's TLS and runtime dependency security updates.

Fixed

  • Preserve manifest column nullability in empty-result PyArrow schemas when
    no Arrow schema is supplied.

Node.js

Updated

  • Bundle the kernel's TLS and runtime dependency security updates.

Fixed

  • Preserve manifest column nullability in empty-result Arrow schemas when
    no Arrow schema is supplied.

v1.2.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 19 Oct 20:30
39ba84f

Python

Added

  • The default-enabled Session(..., enable_geospatial_support=...) argument
    selects native SRID+WKB Arrow results when enabled and WKT / EWKT strings
    when disabled.
  • Session(..., sea_response_compression_enabled=...) opts back into HTTP
    compression for bandwidth-constrained SEA connections.

Changed

  • An omitted telemetry_enabled allows workspace feature-flag enablement;
    an explicit True or False still takes precedence.

Fixed

  • Fixed an intermittent hang in Session.close() or handle cleanup when a
    runtime worker was forwarding a log record to Python logging during
    runtime shutdown.

Node.js

Added

  • The default-enabled ConnectionOptions.enableGeoSpatialSupport option
    selects native SRID+WKB Arrow results when enabled and WKT / EWKT strings
    when disabled.
  • ConnectionOptions.seaResponseCompressionEnabled opts back into HTTP
    compression for bandwidth-constrained SEA connections.

Changed

  • An omitted telemetryEnabled allows workspace feature-flag enablement;
    an explicit true or false still takes precedence.

Fixed

  • getCrossReference allows the foreign-key side to be omitted, returning an
    empty result without issuing a server statement.
  • getPrimaryKeys accepts null or undefined catalog and schema values, resolving
    them from the current session, and preserves explicit empty names.
  • listFunctions accepts an empty catalog and forwards it to native
    GetFunctions for Thrift-compatible behavior.

v1.1.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 23 Sep 17:58
41a1ee5

Python

Added

  • Session(..., max_connections=...) configures idle HTTP connections per
    host.

Node.js

No Node.js-binding-specific changes.

v1.0.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 31 Aug 22:10
36e14e8

Python

Fixed

  • ExecutedAsyncStatement.close() now finalizes async statement telemetry in
    partial-fetch flows.

Node.js

Fixed

  • AsyncStatement.close() now finalizes async statement telemetry in
    partial-fetch flows.

v0.3.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 28 Aug 22:53
46fffe9

Added

  • Session(..., token_cache_enabled=..., token_cache_passphrase=...) controls
    the encrypted U2M disk cache.
  • Session(..., request_timeout_secs=...) configures the per-request timeout;
    unset or 0 keeps the kernel default.
  • telemetry_circuit_breaker_enabled, telemetry_circuit_breaker_threshold,
    and telemetry_circuit_breaker_timeout_ms configure telemetry failure
    isolation.

Fixed

  • Empty catalog filters for list_schemas() and list_columns() return empty
    results instead of InvalidArgument.
  • Explicit synchronous statement close finalizes telemetry after partial
    result consumption.

v0.2.0

Choose a tag to compare

@peco-release-bot peco-release-bot released this 10 Jun 11:27
0d46716

Beta release of the Databricks SQL Kernel (Node.js binding).
Ships on npm as @databricks/databricks-sql-kernel@0.2.0 (umbrella

  • 8 platform packages). Intended for downstream-driver adoption in
    @databricks/sql's kernel-backed path.

Added

  • Connection.executeStatementDirect(sql, options?) — exposes the
    kernel's directResults execute_direct, returning
    Either<Statement, AsyncStatement> (terminal Statement for a
    fast query, or an AsyncStatement poll/cancel handle for a slow
    one). Consumed by the Node.js driver's default sync path.

Updated

  • Removed ExecuteOptions.queryTimeoutSecs: it threaded onto the
    now-removed kernel query_timeout_secs, which abused the SEA
    wait_timeout inline-hold window rather than being a real
    statement timeout.

v0.1.4

Choose a tag to compare

@peco-release-bot peco-release-bot released this 08 Jun 16:59
b676275

::warning::No changelog entry found for version 'v0.1.4' in CHANGELOG.md
Release v0.1.4

v0.1.2: chore(release): bump version 0.1.0 -> 0.1.2 (#125)

Choose a tag to compare

@gopalldb gopalldb released this 05 Jun 02:37
de68ba0
## Summary
- Sync the in-repo manifest version to **0.1.2** across all three crates
+ the npm package. The `v0.1.1` tag was cut at the previous commit but
the manifests still read `0.1.0`; skipping `0.1.1` (never published) and
going straight to `0.1.2` avoids re-using an existing tag.
- No code changes — only the 5 manifest version strings plus the 3 Cargo
lockfile path-dep version bumps.

## Files touched
| File | Reason |
|---|---|
| `Cargo.toml` + `Cargo.lock` | kernel root crate |
| `pyo3/Cargo.toml` + `pyo3/Cargo.lock` | pyo3 binding crate |
| `pyo3/pyproject.toml` | Python wheel metadata |
| `napi/Cargo.toml` + `napi/Cargo.lock` | napi binding crate |
| `napi/package.json` | npm package metadata |

Lockfile changes are limited to the three workspace-root path-dep
version bumps; no transitive dep churn (`cargo update -p <root>
--offline` only, no general `cargo update`).

## Release plan
1. Merge this PR.
2. Tag the merge commit as `v0.1.2` (`git tag -s v0.1.2 ... && git push
origin v0.1.2`).
3. `v0.1.1` stays in the tag list, unpublished — do not reuse.

## Test plan
- [x] `cargo metadata --no-deps` on root / pyo3 / napi all report
`0.1.2`.
- [x] `cargo +stable fmt --all` clean.
- [ ] CI: `Build & Test`, `PyO3 Checks`, `napi-checks`, `Security Scan`,
`License Check`, `DCO`.

This pull request and its description were written by Isaac.

Signed-off-by: Gopal Lal <gopal.lal@databricks.com>