Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions pyo3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,25 @@ 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
Ships on PyPI as `databricks-sql-kernel==0.2.0`. 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]`.
`wait_timeout` removal, `CLOSED`-as-success fix) plus the pyo3-side
fix below. Intended for downstream-driver adoption in
`databricks-sql-connector[kernel]`.

### Fixed
- `auth_type="oauth-u2m"` now defaults scopes to `["sql", "offline_access"]`
when the caller passes neither `client_id` nor `scopes` (#153). The
Python binding defaults the U2M client to `databricks-sql-python` (vs.
the kernel's `databricks-cli`), but that client isn't registered for
the `all-apis` scope the kernel intrinsically defaults to — so an
out-of-the-box `Session(auth_type="oauth-u2m")` failed the
authorization request with `access_denied — Scopes 'all-apis' are not
assigned to the client databricks-sql-python`. Defaults now match
`PYSQL_OAUTH_SCOPES` in the standalone Thrift connector, restoring
`use_kernel=True` parity. A caller-supplied `client_id` or `scopes` is
still honoured verbatim.

## [v0.1.2] - 2026-06-06

Expand Down
10 changes: 0 additions & 10 deletions pyo3/NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ changes go in the root `NEXT_CHANGELOG.md`.
### Updated

### Fixed
- `auth_type="oauth-u2m"` now defaults scopes to `["sql", "offline_access"]`
when the caller passes neither `client_id` nor `scopes`. The Python binding
defaults the U2M client to `databricks-sql-python` (vs. the kernel's
`databricks-cli`), but that client isn't registered for the `all-apis` scope
the kernel intrinsically defaults to — so an out-of-the-box
`Session(auth_type="oauth-u2m")` failed the authorization request with
`access_denied — Scopes 'all-apis' are not assigned to the client
databricks-sql-python`. Defaults now match `PYSQL_OAUTH_SCOPES` in the
standalone Thrift connector, restoring `use_kernel=True` parity. A
caller-supplied `client_id` or `scopes` is still honoured verbatim.

---
*Note: When making changes, please add your change under the appropriate
Expand Down
Loading