From acd2d169ff91ee71a2e6cbae749126a4e3fcbd3e Mon Sep 17 00:00:00 2001 From: Joe S Date: Mon, 8 Jun 2026 15:22:26 -0700 Subject: [PATCH] v1.2.0 release prep --- CHANGELOG.md | 2 ++ clickhouse_connect/_version.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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"