diff --git a/CHANGELOG.md b/CHANGELOG.md index dc787784..e5dd67c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## UNRELEASED +## 1.2.0, 2026-06-08 + ### Improvements - SQLAlchemy: opt-in server-side bind parameters via `create_engine(url, server_side_params=True)`. The dialect then emits ClickHouse native `{name:Type}` / `{name:Array(Type)}` placeholders instead of client-side string interpolation. Off by default. Closes [#735](https://github.com/ClickHouse/clickhouse-connect/issues/735). - Added a `token_provider` client option (sync and async). It accepts a callable returning an access token string; the callable is invoked once for the initial token and again to fetch a fresh token whenever the server rejects the current one (authentication failure), retrying the request once. Mutually exclusive with `access_token` and `username`/`password`. diff --git a/clickhouse_connect/_version.py b/clickhouse_connect/_version.py index 64c8c21b..c203c5d8 100644 --- a/clickhouse_connect/_version.py +++ b/clickhouse_connect/_version.py @@ -1 +1 @@ -version = "1.1.1" +version = "1.2.0"