From 2801a36de431966ded62dff9fd7220ad1db11a64 Mon Sep 17 00:00:00 2001 From: Gopal Lal Date: Wed, 10 Jun 2026 14:25:28 +0530 Subject: [PATCH] chore: bump version to 0.2.0 (Beta release of Databricks SQL Kernel) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps all five version sites from 0.1.2 (0.1.4 on napi/package.json after the umbrella correction in #148) to 0.2.0: - Cargo.toml + Cargo.lock - pyo3/Cargo.toml + pyo3/pyproject.toml - napi/Cargo.toml + napi/Cargo.lock + napi/package.json Cuts release notes across the three CHANGELOGs as the Beta release of the Databricks SQL Kernel: - CHANGELOG.md — root Rust crate. Picks up the entries staged in NEXT_CHANGELOG.md: `execute_direct()` directResults addition, `query_timeout_secs` removal (was misusing the SEA inline-hold field), and the CLOSED-as-success terminal_outcome fix. - pyo3/CHANGELOG.md — Python wheel. Surface unchanged from v0.1.2; picks up the kernel-side behaviour changes by reference. - napi/CHANGELOG.md — Node.js binding. Adds the `executeStatementDirect` Node-side surface and drops `ExecuteOptions.queryTimeoutSecs` matching the kernel removal. All three NEXT_CHANGELOG.md files reset to their empty templates. Co-authored-by: Isaac Signed-off-by: Gopal Lal --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- NEXT_CHANGELOG.md | 15 --------------- napi/CHANGELOG.md | 20 ++++++++++++++++++++ napi/Cargo.lock | 4 ++-- napi/Cargo.toml | 2 +- napi/NEXT_CHANGELOG.md | 7 ------- napi/package.json | 2 +- pyo3/CHANGELOG.md | 10 ++++++++++ pyo3/Cargo.toml | 2 +- pyo3/pyproject.toml | 2 +- 12 files changed, 69 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42b47d6e..dedbd5b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,37 @@ under [`pyo3/CHANGELOG.md`](pyo3/CHANGELOG.md) and [`napi/CHANGELOG.md`](napi/CHANGELOG.md); they ship on independent cadences and may not move in lockstep with the crate. +## [v0.2.0] - 2026-06-08 + +**Beta release of the Databricks SQL Kernel.** Bumps the crate out +of its initial-public-release line into a beta-quality cut intended +for downstream-driver adoption (Reyden bring-up in +`databricks-sql-connector` and `@databricks/sql`). Public API +surface is stable; behaviour changes captured below. + +### Added +- `Statement::execute_direct()` — directResults execution (the + Thrift/JDBC model): one `ExecuteStatement` POST with the server + inline wait, returning `DirectStatement::Completed` (terminal, + result materialised inline) or `DirectStatement::Running` (a + poll/cancel handle) **without** an internal poll loop. Added + **alongside** an unchanged blocking `execute()`. + +### Updated +- Removed `StatementSpec::query_timeout_secs` and the + `resolve_wait_timeout` `CANCEL` branch: it mapped a per-statement + timeout onto the SEA `wait_timeout` field, which is the server's + inline-hold window (capped 5–50s), not a statement-execution + timeout (use the `STATEMENT_TIMEOUT` SQL conf for that). The sync + path now always omits `wait_timeout`. + +### Fixed +- `terminal_outcome`: `CLOSED` is now an unconditional terminal + **success** (parity with JDBC's `DatabricksSdkClient`); an empty + `CLOSED` materialises an empty result set instead of erroring + with `invalid_state("Statement was closed")`. Reaches all callers + (`execute()`, `fetch_completed_result`, `execute_direct`). + ## [v0.1.2] - 2026-06-06 Initial public release of the Rust kernel core. diff --git a/Cargo.lock b/Cargo.lock index 2a2e1677..1c7ac8ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -382,7 +382,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel" -version = "0.1.2" +version = "0.2.0" dependencies = [ "arrow-array", "arrow-buffer", diff --git a/Cargo.toml b/Cargo.toml index 649e053c..60836ebd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "databricks-sql-kernel" -version = "0.1.2" +version = "0.2.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index f82eaacb..28a2d4ab 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -10,25 +10,10 @@ changes go in their respective binding's NEXT_CHANGELOG. ## [Unreleased] ### Added -- `Statement::execute_direct()` — directResults execution (the Thrift/JDBC model): - one `ExecuteStatement` POST with the server inline wait, returning - `DirectStatement::Completed` (terminal, result materialised inline) or - `DirectStatement::Running` (a poll/cancel handle) **without** an internal poll - loop. Added **alongside** an unchanged blocking `execute()`. ### Updated -- Removed `StatementSpec::query_timeout_secs` and the `resolve_wait_timeout` - `CANCEL` branch: it mapped a per-statement timeout onto the SEA `wait_timeout` - field, which is the server's inline-hold window (capped 5–50s), not a - statement-execution timeout (use the `STATEMENT_TIMEOUT` SQL conf for that). - The sync path now always omits `wait_timeout`. ### Fixed -- `terminal_outcome`: `CLOSED` is now an unconditional terminal **success** - (parity with JDBC's `DatabricksSdkClient`); an empty `CLOSED` materialises an - empty result set instead of erroring with `invalid_state("Statement was - closed")`. Reaches all callers (`execute()`, `fetch_completed_result`, - `execute_direct`). --- *Note: When making changes, please add your change under the appropriate diff --git a/napi/CHANGELOG.md b/napi/CHANGELOG.md index ddf1087b..8016b83e 100644 --- a/napi/CHANGELOG.md +++ b/napi/CHANGELOG.md @@ -6,6 +6,26 @@ The Rust crate and Python binding have their own changelogs under [`../CHANGELOG.md`](../CHANGELOG.md) and [`../pyo3/CHANGELOG.md`](../pyo3/CHANGELOG.md); they ship on independent cadences. +## [v0.2.0] - 2026-06-08 + +**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` (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.2] - 2026-06-06 Initial public release of the Node.js binding. diff --git a/napi/Cargo.lock b/napi/Cargo.lock index 9ab66eca..8ce37f53 100644 --- a/napi/Cargo.lock +++ b/napi/Cargo.lock @@ -375,7 +375,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel" -version = "0.1.2" +version = "0.2.0" dependencies = [ "arrow-array", "arrow-buffer", @@ -407,7 +407,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel-napi" -version = "0.1.2" +version = "0.2.0" dependencies = [ "arrow-array", "arrow-ipc", diff --git a/napi/Cargo.toml b/napi/Cargo.toml index 8e1a4b1e..b046bec2 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -35,7 +35,7 @@ members = ["."] [package] name = "databricks-sql-kernel-napi" -version = "0.1.2" +version = "0.2.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/napi/NEXT_CHANGELOG.md b/napi/NEXT_CHANGELOG.md index f8fc2ece..762d3e8d 100644 --- a/napi/NEXT_CHANGELOG.md +++ b/napi/NEXT_CHANGELOG.md @@ -13,15 +13,8 @@ layout, or npm publishing. Pure-kernel changes go in the root ## [Unreleased] ### Added -- `Connection.executeStatementDirect(sql, options?)` — exposes the kernel's - directResults `execute_direct`, returning `Either` - (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. ### Fixed diff --git a/napi/package.json b/napi/package.json index a8fe5ed0..cc0fef1b 100644 --- a/napi/package.json +++ b/napi/package.json @@ -1,6 +1,6 @@ { "name": "@databricks/databricks-sql-kernel", - "version": "0.1.4", + "version": "0.2.0", "description": "Databricks SQL Kernel — Node.js native binding.", "main": "index.js", "types": "index.d.ts", diff --git a/pyo3/CHANGELOG.md b/pyo3/CHANGELOG.md index 3def375a..faf0af63 100644 --- a/pyo3/CHANGELOG.md +++ b/pyo3/CHANGELOG.md @@ -6,6 +6,16 @@ crate and Node.js binding have their own changelogs under [`../CHANGELOG.md`](../CHANGELOG.md) and [`../napi/CHANGELOG.md`](../napi/CHANGELOG.md); they ship on independent cadences. +## [v0.2.0] - 2026-06-08 + +**Beta release of the Databricks SQL Kernel (Python binding).** +Ships on PyPI as `databricks-sql-kernel==0.2.0`. The pyo3 surface +is unchanged from v0.1.2; this release picks up the +kernel-side v0.2.0 behaviour changes (see the root +[`../CHANGELOG.md`](../CHANGELOG.md) — `execute_direct`, +`wait_timeout` removal, `CLOSED`-as-success fix). Intended for +downstream-driver adoption in `databricks-sql-connector[kernel]`. + ## [v0.1.2] - 2026-06-06 Initial public release of the Python binding. diff --git a/pyo3/Cargo.toml b/pyo3/Cargo.toml index 47c04900..e77be36f 100644 --- a/pyo3/Cargo.toml +++ b/pyo3/Cargo.toml @@ -32,7 +32,7 @@ members = ["."] [package] name = "databricks-sql-kernel-pyo3" -version = "0.1.2" +version = "0.2.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/pyo3/pyproject.toml b/pyo3/pyproject.toml index 29bca3dd..64ad4ea8 100644 --- a/pyo3/pyproject.toml +++ b/pyo3/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "databricks-sql-kernel" -version = "0.1.2" +version = "0.2.0" description = "Python bindings for the Databricks SQL Kernel (PyO3)" # Floor matches the tested CI matrix in # .github/workflows/pyo3-checks.yml (3.10 .. 3.14). 3.9 is no longer