From 841e41137063c859c49de87fa4ac117bc2ed3d0e Mon Sep 17 00:00:00 2001 From: Gopal Lal Date: Sat, 6 Jun 2026 06:57:56 +0530 Subject: [PATCH 1/3] docs: add CHANGELOG.md + NEXT_CHANGELOG.md (jdbc-style) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release workflow extracts GitHub Release notes from CHANGELOG.md (via extract-changelog.sh), but the kernel repo had no changelog — so the release job had nothing to pull. Add the changelog system modeled on databricks-jdbc: - CHANGELOG.md — released versions, heading `## [v] - ` with Added/Updated/Fixed subsections (the format extract-changelog.sh matches). Seeded with the v0.1.2 entry that was just published to PyPI + npm. - NEXT_CHANGELOG.md — staging area for unreleased changes; entries are promoted into a new CHANGELOG.md section at release time. Co-authored-by: Isaac Signed-off-by: Gopal Lal --- CHANGELOG.md | 16 ++++++++++++++++ NEXT_CHANGELOG.md | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 NEXT_CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..40445bd1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# Version Changelog + +## [v0.1.2] - 2026-06-06 + +Initial public release of the Databricks SQL Kernel and its language +bindings. + +### Added +- Rust core kernel (`databricks-sql-kernel`). +- Python bindings published to PyPI as `databricks-sql-kernel` — + abi3 wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS + (x86_64/arm64), and Windows (x86_64), plus an sdist. +- Node.js (napi) bindings published to npm as + `@databricks/databricks-sql-kernel` — an umbrella loader plus + per-platform packages for Linux gnu/musl (x64/arm64), macOS + (x64/arm64), and Windows (x64/arm64). diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md new file mode 100644 index 00000000..fc2229bc --- /dev/null +++ b/NEXT_CHANGELOG.md @@ -0,0 +1,16 @@ +# NEXT CHANGELOG + +## [Unreleased] + +### Added + +### Updated + +### Fixed + +--- +*Note: When making changes, please add your change under the appropriate +section with a brief description. At release time, move the entries here +into a new versioned section at the top of `CHANGELOG.md` (heading format +`## [v] - `) and reset this file back to the empty +template above.* From 888765b2f76237e7eed3407b9e395127754120f0 Mon Sep 17 00:00:00 2001 From: Gopal Lal Date: Sat, 6 Jun 2026 07:00:02 +0530 Subject: [PATCH 2/3] docs: add release-notes.txt (jdbc-style) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete the changelog/release-notes system modeled on databricks-jdbc by adding release-notes.txt — the human-readable summary doc (banner header + "Version History" with per-version Enhancements / Resolved Issues sections). Seeded with the v0.1.2 initial release. Complements CHANGELOG.md (machine-extracted release notes) and NEXT_CHANGELOG.md (unreleased staging). Co-authored-by: Isaac Signed-off-by: Gopal Lal --- release-notes.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 release-notes.txt diff --git a/release-notes.txt b/release-notes.txt new file mode 100644 index 00000000..a6b5bbf6 --- /dev/null +++ b/release-notes.txt @@ -0,0 +1,25 @@ +============================================================================== +Databricks SQL Kernel Release Notes +============================================================================== + +The release notes summarize enhancements, new features, known issues, and +version history for the Databricks SQL Kernel (OSS) and its Python and +Node.js bindings. + +Version History ============================================================== + +0.1.2 ======================================================================== +Released 2026-06-06 + +Initial public release. + +Enhancements & New Features + + * Rust core kernel published to crates.io as `databricks-sql-kernel`. + * Python bindings published to PyPI as `databricks-sql-kernel` — abi3 + wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS (x86_64/arm64), + and Windows (x86_64), plus a source distribution. + * Node.js (napi) bindings published to npm as + `@databricks/databricks-sql-kernel` — an umbrella loader package plus + per-platform native packages for Linux gnu/musl (x64/arm64), macOS + (x64/arm64), and Windows (x64/arm64). From b7f74b13bf97ff883652cabb80814ab9af929075 Mon Sep 17 00:00:00 2001 From: Gopal Lal Date: Mon, 8 Jun 2026 15:28:46 +0530 Subject: [PATCH 3/3] docs: split changelog/release-notes per binding (crate / pyo3 / napi) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #138 review feedback (msrathore-db, +1 vikrantpuppala): the three published artifacts ship on independent cadences and versions, so a single set of root-level changelog files is wrong. The Rust crate publishes to crates.io as `databricks-sql-kernel`; the Python wheel publishes to PyPI as `databricks-sql-kernel`; the Node.js binding publishes to npm as `@databricks/databricks-sql-kernel` — each on its own release cadence. Restructure into three sets of changelog files, each colocated with the artifact's manifest: - root `CHANGELOG.md` / `NEXT_CHANGELOG.md` / `release-notes.txt` — Rust crate (next to root `Cargo.toml`). - `pyo3/CHANGELOG.md` / `pyo3/NEXT_CHANGELOG.md` / `pyo3/release-notes.txt` — Python wheel (next to `pyo3/Cargo.toml` + `pyo3/pyproject.toml`). - `napi/CHANGELOG.md` / `napi/NEXT_CHANGELOG.md` / `napi/release-notes.txt` — Node.js binding (next to `napi/Cargo.toml` + `napi/package.json`). Each header points to the sibling changelogs so contributors know where to land an entry. The v0.1.2 entry in each file mentions only the artifacts that binding actually shipped. Paired with a release-repo update that routes each release workflow at its own changelog path: - peco-databricks-sql-kernel-rust.yml -> CHANGELOG.md (unchanged) - peco-databricks-sql-kernel-python.yml -> pyo3/CHANGELOG.md - peco-databricks-sql-kernel-nodejs.yml -> napi/CHANGELOG.md Co-authored-by: Isaac Signed-off-by: Gopal Lal --- CHANGELOG.md | 25 ++++++++++++++----------- NEXT_CHANGELOG.md | 9 ++++++++- napi/CHANGELOG.md | 18 ++++++++++++++++++ napi/NEXT_CHANGELOG.md | 26 ++++++++++++++++++++++++++ napi/release-notes.txt | 26 ++++++++++++++++++++++++++ pyo3/CHANGELOG.md | 18 ++++++++++++++++++ pyo3/NEXT_CHANGELOG.md | 25 +++++++++++++++++++++++++ pyo3/release-notes.txt | 26 ++++++++++++++++++++++++++ release-notes.txt | 28 +++++++++++++++------------- 9 files changed, 176 insertions(+), 25 deletions(-) create mode 100644 napi/CHANGELOG.md create mode 100644 napi/NEXT_CHANGELOG.md create mode 100644 napi/release-notes.txt create mode 100644 pyo3/CHANGELOG.md create mode 100644 pyo3/NEXT_CHANGELOG.md create mode 100644 pyo3/release-notes.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 40445bd1..42b47d6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,19 @@ -# Version Changelog +# Version Changelog — Rust crate (`databricks-sql-kernel`) + +This changelog tracks releases of the Rust crate published to crates.io. +The Python (pyo3) and Node.js (napi) bindings have their own changelogs +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.1.2] - 2026-06-06 -Initial public release of the Databricks SQL Kernel and its language -bindings. +Initial public release of the Rust kernel core. ### Added -- Rust core kernel (`databricks-sql-kernel`). -- Python bindings published to PyPI as `databricks-sql-kernel` — - abi3 wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS - (x86_64/arm64), and Windows (x86_64), plus an sdist. -- Node.js (napi) bindings published to npm as - `@databricks/databricks-sql-kernel` — an umbrella loader plus - per-platform packages for Linux gnu/musl (x64/arm64), macOS - (x64/arm64), and Windows (x64/arm64). +- `databricks-sql-kernel` Rust crate published to crates.io. +- Async public API: `Session` → `Statement` → `ExecutedStatement` / + `ExecutedAsyncStatement` → `ResultStream`, plus a flat `Metadata` + surface (see `docs/spec-v0.md`). +- SEA backend (Statement Execution API) with CloudFetch and inline-Arrow + result paths; PAT, OAuth M2M, and OAuth U2M authentication. diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index fc2229bc..28a2d4ab 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -1,4 +1,11 @@ -# NEXT CHANGELOG +# NEXT CHANGELOG — Rust crate (`databricks-sql-kernel`) + +This file stages unreleased changes for the next Rust crate release. +The Python (pyo3) and Node.js (napi) bindings stage their own +unreleased changes under [`pyo3/NEXT_CHANGELOG.md`](pyo3/NEXT_CHANGELOG.md) +and [`napi/NEXT_CHANGELOG.md`](napi/NEXT_CHANGELOG.md). Only land entries +here that affect the Rust crate's public API or behaviour; binding-only +changes go in their respective binding's NEXT_CHANGELOG. ## [Unreleased] diff --git a/napi/CHANGELOG.md b/napi/CHANGELOG.md new file mode 100644 index 00000000..ddf1087b --- /dev/null +++ b/napi/CHANGELOG.md @@ -0,0 +1,18 @@ +# Version Changelog — Node.js binding (`@databricks/databricks-sql-kernel`) + +This changelog tracks releases of the Node.js binding published to npm +as `@databricks/databricks-sql-kernel` (built from this `napi/` directory). +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.1.2] - 2026-06-06 + +Initial public release of the Node.js binding. + +### Added +- Node.js (napi) bindings published to npm as + `@databricks/databricks-sql-kernel` — an umbrella loader package plus + per-platform native packages for Linux gnu/musl (x64/arm64), macOS + (x64/arm64), and Windows (x64/arm64). +- napi-rs based bridge over the Rust kernel's async public API. diff --git a/napi/NEXT_CHANGELOG.md b/napi/NEXT_CHANGELOG.md new file mode 100644 index 00000000..762d3e8d --- /dev/null +++ b/napi/NEXT_CHANGELOG.md @@ -0,0 +1,26 @@ +# NEXT CHANGELOG — Node.js binding (`@databricks/databricks-sql-kernel`) + +This file stages unreleased changes for the next Node.js binding +release. The Rust crate and Python binding stage their own unreleased +changes under [`../NEXT_CHANGELOG.md`](../NEXT_CHANGELOG.md) and +[`../pyo3/NEXT_CHANGELOG.md`](../pyo3/NEXT_CHANGELOG.md). + +Only land entries here that affect the Node.js binding — napi glue, the +JavaScript / TypeScript API surface, the umbrella + per-platform package +layout, or npm publishing. Pure-kernel changes go in the root +`NEXT_CHANGELOG.md`. + +## [Unreleased] + +### Added + +### Updated + +### Fixed + +--- +*Note: When making changes, please add your change under the appropriate +section with a brief description. At release time, move the entries here +into a new versioned section at the top of `CHANGELOG.md` (heading format +`## [v] - `) and reset this file back to the empty +template above.* diff --git a/napi/release-notes.txt b/napi/release-notes.txt new file mode 100644 index 00000000..c4e59983 --- /dev/null +++ b/napi/release-notes.txt @@ -0,0 +1,26 @@ +============================================================================== +Databricks SQL Kernel — Node.js binding Release Notes +============================================================================== + +These release notes summarize enhancements, new features, known issues, +and version history for the Node.js binding published to npm as +`@databricks/databricks-sql-kernel` (built from this directory via napi-rs). + +The Rust crate and Python (pyo3) bindings ship on independent cadences; +their release notes live at `../release-notes.txt` and +`../pyo3/release-notes.txt`. + +Version History ============================================================== + +0.1.2 ======================================================================== +Released 2026-06-06 + +Initial public release of the Node.js binding. + +Enhancements & New Features + + * Node.js (napi) bindings published to npm as + `@databricks/databricks-sql-kernel` — an umbrella loader package plus + per-platform native packages for Linux gnu/musl (x64/arm64), macOS + (x64/arm64), and Windows (x64/arm64). + * napi-rs based bridge over the Rust kernel's async public API. diff --git a/pyo3/CHANGELOG.md b/pyo3/CHANGELOG.md new file mode 100644 index 00000000..3def375a --- /dev/null +++ b/pyo3/CHANGELOG.md @@ -0,0 +1,18 @@ +# Version Changelog — Python binding (`databricks-sql-kernel`) + +This changelog tracks releases of the Python wheel published to PyPI as +`databricks-sql-kernel` (built from this `pyo3/` directory). The Rust +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.1.2] - 2026-06-06 + +Initial public release of the Python binding. + +### Added +- Python bindings published to PyPI as `databricks-sql-kernel`. +- abi3 wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS + (x86_64/arm64), and Windows (x86_64), plus a source distribution. +- pyo3-based bridge over the Rust kernel's async public API with PyArrow + interop for result batches. diff --git a/pyo3/NEXT_CHANGELOG.md b/pyo3/NEXT_CHANGELOG.md new file mode 100644 index 00000000..fff7b1cb --- /dev/null +++ b/pyo3/NEXT_CHANGELOG.md @@ -0,0 +1,25 @@ +# NEXT CHANGELOG — Python binding (`databricks-sql-kernel`) + +This file stages unreleased changes for the next Python wheel release. +The Rust crate and Node.js binding stage their own unreleased changes +under [`../NEXT_CHANGELOG.md`](../NEXT_CHANGELOG.md) and +[`../napi/NEXT_CHANGELOG.md`](../napi/NEXT_CHANGELOG.md). + +Only land entries here that affect the Python wheel — pyo3 glue, the +Python API surface, packaging / wheel-build behaviour. Pure-kernel +changes go in the root `NEXT_CHANGELOG.md`. + +## [Unreleased] + +### Added + +### Updated + +### Fixed + +--- +*Note: When making changes, please add your change under the appropriate +section with a brief description. At release time, move the entries here +into a new versioned section at the top of `CHANGELOG.md` (heading format +`## [v] - `) and reset this file back to the empty +template above.* diff --git a/pyo3/release-notes.txt b/pyo3/release-notes.txt new file mode 100644 index 00000000..b9c4f41e --- /dev/null +++ b/pyo3/release-notes.txt @@ -0,0 +1,26 @@ +============================================================================== +Databricks SQL Kernel — Python binding Release Notes +============================================================================== + +These release notes summarize enhancements, new features, known issues, +and version history for the Python wheel published to PyPI as +`databricks-sql-kernel` (built from this directory via pyo3 + maturin). + +The Rust crate and Node.js (napi) bindings ship on independent cadences; +their release notes live at `../release-notes.txt` and +`../napi/release-notes.txt`. + +Version History ============================================================== + +0.1.2 ======================================================================== +Released 2026-06-06 + +Initial public release of the Python binding. + +Enhancements & New Features + + * Python bindings published to PyPI as `databricks-sql-kernel`. + * abi3 wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS + (x86_64/arm64), and Windows (x86_64), plus a source distribution. + * pyo3-based bridge over the Rust kernel's async public API with PyArrow + interop for result batches. diff --git a/release-notes.txt b/release-notes.txt index a6b5bbf6..b69cf1f2 100644 --- a/release-notes.txt +++ b/release-notes.txt @@ -1,25 +1,27 @@ ============================================================================== -Databricks SQL Kernel Release Notes +Databricks SQL Kernel — Rust crate Release Notes ============================================================================== -The release notes summarize enhancements, new features, known issues, and -version history for the Databricks SQL Kernel (OSS) and its Python and -Node.js bindings. +These release notes summarize enhancements, new features, known issues, +and version history for the Databricks SQL Kernel Rust crate published +to crates.io (`databricks-sql-kernel`). + +The Python (pyo3) and Node.js (napi) bindings ship on independent +cadences; their release notes live under `pyo3/release-notes.txt` and +`napi/release-notes.txt` respectively. Version History ============================================================== 0.1.2 ======================================================================== Released 2026-06-06 -Initial public release. +Initial public release of the Rust kernel core. Enhancements & New Features - * Rust core kernel published to crates.io as `databricks-sql-kernel`. - * Python bindings published to PyPI as `databricks-sql-kernel` — abi3 - wheels for Linux (manylinux_2_28 x86_64/aarch64), macOS (x86_64/arm64), - and Windows (x86_64), plus a source distribution. - * Node.js (napi) bindings published to npm as - `@databricks/databricks-sql-kernel` — an umbrella loader package plus - per-platform native packages for Linux gnu/musl (x64/arm64), macOS - (x64/arm64), and Windows (x64/arm64). + * `databricks-sql-kernel` Rust crate published to crates.io. + * Async public API: Session → Statement → ExecutedStatement / + ExecutedAsyncStatement → ResultStream, plus a flat Metadata surface + (see docs/spec-v0.md). + * SEA backend (Statement Execution API) with CloudFetch and inline-Arrow + result paths; PAT, OAuth M2M, and OAuth U2M authentication.