From 61721bfae5a5aead03c801a16bfbefb4c5681f21 Mon Sep 17 00:00:00 2001 From: Vu Anh Phung Date: Fri, 28 Aug 2026 17:31:10 +0000 Subject: [PATCH] chore: bump version to 0.3.0 Signed-off-by: Vu Anh Phung --- CHANGELOG.md | 25 +++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- NEXT_CHANGELOG.md | 20 -------------------- napi/CHANGELOG.md | 27 ++++++++++++++++----------- napi/Cargo.lock | 4 ++-- napi/Cargo.toml | 2 +- napi/NEXT_CHANGELOG.md | 8 -------- napi/package.json | 2 +- pyo3/CHANGELOG.md | 25 +++++++++++++++++-------- pyo3/Cargo.lock | 4 ++-- pyo3/Cargo.toml | 2 +- pyo3/NEXT_CHANGELOG.md | 7 ------- pyo3/pyproject.toml | 2 +- 14 files changed, 68 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ebafec..971f6f9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,31 @@ cadences and may not move in lockstep with the crate. ### Fixed +## [v0.3.0] - 2026-08-28 + +### Added +- C ABI mTLS client-certificate and private-key configuration via + `kernel_session_config_set_tls_client_certificate()`. +- C ABI request-timeout configuration via + `kernel_session_config_set_request_timeout()`. +- Result-stream and metadata lifecycle telemetry, including first-batch, + consumption, and CloudFetch metrics. +- Per-host telemetry circuit breaker, configurable through Rust, C ABI, PyO3, + and napi. + +### Changed +- Caller-supplied server session configuration now passes through unchanged; + client-only result options are still stripped before the SEA request. +- Temporary DNS resolution failures are retried; permanent unknown hosts fail + immediately. + +### Fixed +- Empty schema and column catalog filters return typed empty results without a + server statement. +- Type-info metadata matches the Thrift `getTypeInfo` 20-row result shape. +- Telemetry preserves error query IDs, flushes on the kernel runtime, finalizes + on explicit statement close, and emits `DELETE_SESSION` from C ABI close. + ## [v0.2.1] - 2026-08-24 ### Added diff --git a/Cargo.lock b/Cargo.lock index 689a3369..bfd651bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -617,7 +617,7 @@ checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" [[package]] name = "databricks-sql-kernel" -version = "0.2.1" +version = "0.3.0" dependencies = [ "aes 0.9.2", "arrow-array", diff --git a/Cargo.toml b/Cargo.toml index b57e4ee4..2c41e5ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "databricks-sql-kernel" -version = "0.2.1" +version = "0.3.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 88a605ac..2ebce050 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -9,34 +9,14 @@ changes go in their respective binding's NEXT_CHANGELOG. ## [Unreleased] - ### Added -- C ABI: expose the kernel's existing mTLS client identity configuration - through `kernel_session_config_set_tls_client_certificate()`. The client - certificate and private key are supplied atomically and must both be - non-empty. - -- C ABI: `kernel_session_config_set_request_timeout()` configures the total - timeout for one HTTP request in milliseconds; `0` keeps the kernel's - 120-second default. This enables Go and other C-ABI consumers to expose - request-timeout configuration. - ### Changed -- HTTP retries now treat temporary DNS resolver failures as transient while - permanent unknown-host failures still fail immediately. - ### Updated ### Fixed -- Metadata: empty schema/column patterns now return typed empty results without - issuing a server statement. - -- Metadata: `Metadata::type_info()` now matches the established Thrift - `getTypeInfo` result shape and current 20-row type catalogue. - --- *Note: When making changes, please add your change under the appropriate section with a brief description. At release time, move the entries here diff --git a/napi/CHANGELOG.md b/napi/CHANGELOG.md index 079f0cf0..a42c1231 100644 --- a/napi/CHANGELOG.md +++ b/napi/CHANGELOG.md @@ -9,22 +9,27 @@ they ship on independent cadences. ## [Unreleased] ### Added -- **U2M on-disk token-cache control on `openSession`** — `tokenCacheEnabled` - and `tokenCachePassphrase` let a Node caller enable/disable (or set the - AES-256 passphrase for) the kernel's built-in encrypted disk cache on the - kernel path. Omitted keeps the kernel default (enabled, machine-local key, - survives restarts); `tokenCacheEnabled: false` re-logins each fresh process; a - passphrase with no explicit flag implies enabled. Applies to `OAuthU2m`. - (PECOBLR-4146) - - The generated `index.d.ts` gains the two optional fields; `index.js` (the - loader) is unchanged — new `#[napi(object)]` fields don't alter the exported - symbol set. ### Changed ### Fixed +## [v0.3.0] - 2026-08-28 + +### Added +- `tokenCacheEnabled` and `tokenCachePassphrase` on `openSession` control the + encrypted U2M disk cache. +- `ExecuteOptions.rawParams` preserves pre-marshalled SQL type names such as + `INTERVAL MONTH` and `INTERVAL DAY`. +- `telemetryCircuitBreakerEnabled`, `telemetryCircuitBreakerThreshold`, and + `telemetryCircuitBreakerTimeoutMs` configure telemetry failure isolation. + +### Fixed +- Empty catalog filters for `listSchemas()` and `listColumns()` return empty + results instead of `InvalidArgument`. +- Explicit synchronous statement close finalizes telemetry after partial + result consumption. + ## [v0.2.1] - 2026-08-24 ### Added diff --git a/napi/Cargo.lock b/napi/Cargo.lock index 676c2717..f1f52837 100644 --- a/napi/Cargo.lock +++ b/napi/Cargo.lock @@ -550,7 +550,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel" -version = "0.2.1" +version = "0.3.0" dependencies = [ "aes 0.9.2", "arrow-array", @@ -590,7 +590,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel-napi" -version = "0.2.1" +version = "0.3.0" dependencies = [ "arrow-array", "arrow-ipc", diff --git a/napi/Cargo.toml b/napi/Cargo.toml index e728598a..9ae6c5bd 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -35,7 +35,7 @@ members = ["."] [package] name = "databricks-sql-kernel-napi" -version = "0.2.1" +version = "0.3.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/napi/NEXT_CHANGELOG.md b/napi/NEXT_CHANGELOG.md index ac50fb60..8597f31e 100644 --- a/napi/NEXT_CHANGELOG.md +++ b/napi/NEXT_CHANGELOG.md @@ -12,22 +12,14 @@ layout, or npm publishing. Pure-kernel changes go in the root ## [Unreleased] - ### Added -- Added `ExecuteOptions.rawParams`, allowing Node.js callers to preserve - pre-marshalled SQL type names such as `INTERVAL MONTH` and `INTERVAL DAY` - instead of collapsing them through `TypedValue::Interval`. - ### Changed ### Updated ### Fixed -- Empty catalog filters for `listSchemas()` and `listColumns()` now match - nothing instead of returning `InvalidArgument`; non-empty catalogs stay exact. - --- *Note: When making changes, please add your change under the appropriate section with a brief description. At release time, move the entries here diff --git a/napi/package.json b/napi/package.json index 4854a38e..a34eefe8 100644 --- a/napi/package.json +++ b/napi/package.json @@ -1,6 +1,6 @@ { "name": "@databricks/databricks-sql-kernel", - "version": "0.2.1", + "version": "0.3.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 032f23fd..6057aa70 100644 --- a/pyo3/CHANGELOG.md +++ b/pyo3/CHANGELOG.md @@ -9,19 +9,28 @@ they ship on independent cadences. ## [Unreleased] ### Added -- **U2M on-disk token-cache control** — `Session(…, token_cache_enabled=…, - token_cache_passphrase=…)` lets a caller enable/disable (or set the AES-256 - passphrase for) the kernel's built-in encrypted disk cache on the kernel path. - Omitted keeps the kernel default (enabled, machine-local key, survives - restarts); `token_cache_enabled=False` re-logins each fresh process; a - passphrase with no explicit flag implies enabled. Applies to `oauth-u2m`. - The `databricks-sql-python` connector maps its `experimental_oauth_persistence` - presence onto this enable flag (#913). (PECOBLR-4146) ### Changed ### Fixed +## [v0.3.0] - 2026-08-28 + +### 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.1] - 2026-08-24 ### Added diff --git a/pyo3/Cargo.lock b/pyo3/Cargo.lock index 2446210b..1990aae0 100644 --- a/pyo3/Cargo.lock +++ b/pyo3/Cargo.lock @@ -546,7 +546,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel" -version = "0.2.1" +version = "0.3.0" dependencies = [ "aes 0.9.2", "arrow-array", @@ -586,7 +586,7 @@ dependencies = [ [[package]] name = "databricks-sql-kernel-pyo3" -version = "0.2.1" +version = "0.3.0" dependencies = [ "arrow-array", "arrow-pyarrow", diff --git a/pyo3/Cargo.toml b/pyo3/Cargo.toml index d6f36172..53fad34d 100644 --- a/pyo3/Cargo.toml +++ b/pyo3/Cargo.toml @@ -32,7 +32,7 @@ members = ["."] [package] name = "databricks-sql-kernel-pyo3" -version = "0.2.1" +version = "0.3.0" edition = "2021" authors = ["Databricks"] license = "Apache-2.0" diff --git a/pyo3/NEXT_CHANGELOG.md b/pyo3/NEXT_CHANGELOG.md index 03e5e9ed..e0881e54 100644 --- a/pyo3/NEXT_CHANGELOG.md +++ b/pyo3/NEXT_CHANGELOG.md @@ -11,21 +11,14 @@ changes go in the root `NEXT_CHANGELOG.md`. ## [Unreleased] - ### Added -- `Session(..., request_timeout_secs=...)` configures the total timeout for one - HTTP request; unset or `0` keeps the kernel's 120-second default. - ### Changed ### Updated ### Fixed -- Empty catalog filters for `list_schemas()` and `list_columns()` now match - nothing instead of raising `InvalidArgument`; non-empty catalogs stay exact. - --- *Note: When making changes, please add your change under the appropriate section with a brief description. At release time, move the entries here diff --git a/pyo3/pyproject.toml b/pyo3/pyproject.toml index 1cb1778a..8716743d 100644 --- a/pyo3/pyproject.toml +++ b/pyo3/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "databricks-sql-kernel" -version = "0.2.1" +version = "0.3.0" description = "Python bindings for the Databricks SQL Kernel (PyO3)" # Floor matches the tested CI matrix in # .github/workflows/pyo3-checks.yml (3.9 .. 3.14). The abi3-py39