clickhouse-connect breaking changes
Updated December 4, 2026
On this page
Latest version 1.14.0, released December 1, 2026. Source repository
Its 1.0.0rc1 release requires Python 3.10 or later. Python end of life dates.
- From 0.15.0 to 1.0.0: 86 breaking changes in 2 versions.
- From 0.14.0 to 1.0.0: 87 breaking changes in 3 versions.
clickhouse-connect 1.0.0 breaking changes
- Signature changed
clickhouse_connect.__version__
Was module clickhouse_connect.__version__; now version. pypi.org - Signature changed
clickhouse_connect.cc_sqlalchemy.datatypes.sqltypes.Bool.__init__
Was def __init__(self, type_def: TypeDef = EMPTY_TYPE_DEF); now def __init__(self, type_def: TypeDef = EMPTY_TYPE_DEF, **kwargs). pypi.org - Signature changed
clickhouse_connect.cc_sqlalchemy.datatypes.sqltypes.Boolean.__init__
Was def __init__(self, type_def: TypeDef = EMPTY_TYPE_DEF); now def __init__(self, type_def: TypeDef = EMPTY_TYPE_DEF, **kwargs). pypi.org - Signature changed
clickhouse_connect.common.build_client_name
Was def build_client_name(client_name: str) -> str; now def build_client_name(client_name: str | None) -> str. pypi.org - Signature changed
clickhouse_connect.datatypes.base.QueryContext.__init__
Was def __init__(self, query: Union[str, bytes] = '', parameters: Optional[Dict[str, Any]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats: Optional[Dict[str, Union[str... pypi.org - Signature changed
clickhouse_connect.datatypes.base.QueryContext.updated_copy
Was def updated_copy(self, query: Optional[Union[str, bytes]] = None, parameters: Optional[Dict[str, Any]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient
Was class AsyncClient; now class AsyncClient(Client). pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.__aenter__
Was async def __aenter__(self) -> AsyncClient; now async def __aenter__(self). pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.__aexit__
Was async def __aexit__(self, exc_type, exc_val, exc_tb) -> None; now async def __aexit__(self, exc_type, exc_val, exc_tb). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient
Was class AsyncClient; now class AsyncClient(Client). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.__aenter__
Was async def __aenter__(self) -> AsyncClient; now async def __aenter__(self). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.__aexit__
Was async def __aexit__(self, exc_type, exc_val, exc_tb) -> None; now async def __aexit__(self, exc_type, exc_val, exc_tb). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.close
Was async def close(self) -> None; now async def close(self). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.command
Was async def command(self, cmd: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, data: Union[str, bytes] = None, settings: Optional[Dict[str, Any]] = None, use_database: bool = True, external_data: Optional[ExternalData]... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.create_insert_context
Was async def create_insert_context(self, table: str, column_names: Optional[Union[str, Sequence[str]]] = None, database: Optional[str] = None, column_types: Sequence[ClickHouseType] = None, column_type_names: Sequence[str] = None... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.get_client_setting
Was def get_client_setting(self, key: str) -> Optional[str]; now def get_client_setting(self, key) -> str | None. pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.insert
Was async def insert(self, table: Optional[str] = None, data: Sequence[Sequence[Any]] = None, column_names: Union[str, Iterable[str]] = '*', database: Optional[str] = None, column_types: Sequence[ClickHouseType] = None, column_type_names... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.insert_arrow
Was async def insert_arrow(self, table: str, arrow_table, database: str = None, settings: Optional[Dict] = None, transport_settings: Optional[Dict[str, str]] = None) -> QuerySummary; now async def insert_arrow(self, table: str... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.insert_df
Was async def insert_df(self, table: str = None, df=None, database: Optional[str] = None, settings: Optional[Dict] = None, column_names: Optional[Sequence[str]] = None, column_types: Sequence[ClickHouseType] = None, column_type_names... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.query_arrow
Was async def query_arrow(self, query: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, use_strings: Optional[bool] = None, external_data: Optional[ExternalData] = None... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.query_np
Was async def query_np(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.query_np_stream
Was async def query_np_stream(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.raw_insert
Was async def raw_insert(self, table: str, column_names: Optional[Sequence[str]] = None, insert_block: Union[str, bytes, Generator[bytes, None, None], BinaryIO] = None, settings: Optional[Dict] = None, fmt: Optional[str] = None... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.raw_query
Was async def raw_query(self, query: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, fmt: str = None, use_database: bool = True, external_data: Optional[ExternalData] = None... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.set_access_token
Was def set_access_token(self, access_token: str) -> None; now def set_access_token(self, access_token: str). pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.AsyncClient.set_client_setting
Was def set_client_setting(self, key: str, value: Any) -> None; now def set_client_setting(self, key, value). pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.close
Was async def close(self) -> None; now async def close(self). pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.command
Was async def command(self, cmd: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, data: Union[str, bytes] = None, settings: Optional[Dict[str, Any]] = None, use_database: bool = True, external_data: Optional[ExternalData]... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.create_insert_context
Was async def create_insert_context(self, table: str, column_names: Optional[Union[str, Sequence[str]]] = None, database: Optional[str] = None, column_types: Sequence[ClickHouseType] = None, column_type_names: Sequence[str] = None... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.get_client_setting
Was def get_client_setting(self, key: str) -> Optional[str]; now def get_client_setting(self, key) -> str | None. pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.insert
Was async def insert(self, table: Optional[str] = None, data: Sequence[Sequence[Any]] = None, column_names: Union[str, Iterable[str]] = '*', database: Optional[str] = None, column_types: Sequence[ClickHouseType] = None, column_type_names... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.insert_arrow
Was async def insert_arrow(self, table: str, arrow_table, database: str = None, settings: Optional[Dict] = None, transport_settings: Optional[Dict[str, str]] = None) -> QuerySummary; now async def insert_arrow(self, table: str... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.insert_df
Was async def insert_df(self, table: str = None, df=None, database: Optional[str] = None, settings: Optional[Dict] = None, column_names: Optional[Sequence[str]] = None, column_types: Sequence[ClickHouseType] = None, column_type_names... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.query_arrow
Was async def query_arrow(self, query: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, use_strings: Optional[bool] = None, external_data: Optional[ExternalData] = None... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.query_np
Was async def query_np(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.query_np_stream
Was async def query_np_stream(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.raw_insert
Was async def raw_insert(self, table: str, column_names: Optional[Sequence[str]] = None, insert_block: Union[str, bytes, Generator[bytes, None, None], BinaryIO] = None, settings: Optional[Dict] = None, fmt: Optional[str] = None... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.raw_query
Was async def raw_query(self, query: str, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, fmt: str = None, use_database: bool = True, external_data: Optional[ExternalData] = None... pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.set_access_token
Was def set_access_token(self, access_token: str) -> None; now def set_access_token(self, access_token: str). pypi.org - Signature changed
clickhouse_connect.driver.AsyncClient.set_client_setting
Was def set_client_setting(self, key: str, value: Any) -> None; now def set_client_setting(self, key, value). pypi.org - Signature changed
clickhouse_connect.driver.binding.format_bind_value
Was def format_bind_value(value: Any, server_tz: tzinfo = pytz.UTC, top_level: bool = True); now def format_bind_value(value: Any, server_tz: tzinfo = timezone.utc, top_level: bool = True). pypi.org - Signature changed
clickhouse_connect.driver.binding.format_query_value
Was def format_query_value(value: Any, server_tz: tzinfo = pytz.UTC); now def format_query_value(value: Any, server_tz: tzinfo = timezone.utc). pypi.org - Signature changed
clickhouse_connect.driver.binding.str_query_value
Was def str_query_value(value: Any, server_tz: tzinfo = pytz.UTC); now def str_query_value(value: Any, server_tz: tzinfo = timezone.utc). pypi.org - Signature changed
clickhouse_connect.driver.Client.__init__
Was def __init__(self, database: str, query_limit: int, uri: str, query_retries: int, server_host_name: Optional[str], tz_source: Optional[TzSource] = None, tz_mode: Optional[TzMode] = None, show_clickhouse_errors: Optional[bool] = None... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.__init__
Was def __init__(self, database: str, query_limit: int, uri: str, query_retries: int, server_host_name: Optional[str], tz_source: Optional[TzSource] = None, tz_mode: Optional[TzMode] = None, show_clickhouse_errors: Optional[bool] = None... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.compression
Was compression: str; now compression: str | None. pypi.org - Signature changed
clickhouse_connect.driver.client.Client.create_query_context
Was def create_query_context(self, query: Optional[Union[str, bytes]] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.query
Was def query(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats: Optional[Dict[str... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.query_column_block_stream
Was def query_column_block_stream(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.query_df
Was def query_df(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats: Optional[Dict[str... pypi.org
And 23 more in this version. Sign up to see every change
clickhouse-connect 1.0.0rc1 breaking changes
- Removed
Users with pandas below 2.0 get a NotSupportedError on DataFrame use. Upgrade pandas to 2.0 or later. github.com - Removed
Python 3.9 is no longer supported. Stay on the 0.15.x series if you must run Python 3.9. github.com - Removed
apply_server_timezone
Use tz_source instead: auto (the default), server (was True), or local (was False). github.com - Removed
AsyncClient
Create the async client with clickhouse_connect.get_async_client() or create_async_client() instead of passing a sync client. github.com - Removed
clickhouse_connect.driver.aiohttp_client
Import AsyncClient from clickhouse_connect.driver instead of this module. github.com - Removed
executor
The executor-based async client is gone, so the executor parameter is no longer accepted. Use get_async_client() instead. github.com - Removed
executor_threads
The executor-based async client is gone, so executor_threads is no longer accepted. Use get_async_client() instead. github.com - Removed
pool_mgr
The pool_mgr parameter is refused on the async path, so remove it from async client calls. github.com - Removed
preserve_pandas_datetime_resolution
Datetime columns now return their natural resolution, such as datetime64[s] for DateTime, instead of datetime64[ns]. Cast explicitly if your code needs nanoseconds. github.com - Removed
utc_tz_aware
Use tz_mode instead: naive_utc (the default, was False), aware (was True), or schema. github.com
And 3 more in this version. Sign up to see every change
clickhouse-connect 0.15.0 breaking changes
- Removed
The py.typed marker was removed because it caused false type errors for mypy and pyright users. Code that relied on the package's inline type information may see different type checking results. github.com
clickhouse-connect 0.14.0 breaking changes
- Removed
Object
The legacy experimental Object('json') type was removed in favor of the new ClickHouse JSON type. github.com - Renamed
apply_server_timezone
The apply_server_timezone parameter was renamed to tz_source, with options "auto" (default), "server", or "local". The old parameter still works with a deprecation warning. github.com - Renamed
utc_tz_aware
The utc_tz_aware parameter was renamed to tz_mode, with options "naive_utc" (default), "aware", or "schema". The old parameter still works with a deprecation warning. github.com - Signature changed
clickhouse_connect.datatypes.base.QueryContext.__init__
Was def __init__(self, query: Union[str, bytes] = '', parameters: Optional[Dict[str, Any]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats: Optional[Dict[str, Union[str... pypi.org - Signature changed
clickhouse_connect.datatypes.base.QueryContext.updated_copy
Was def updated_copy(self, query: Optional[Union[str, bytes]] = None, parameters: Optional[Dict[str, Any]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats... pypi.org - Signature changed
clickhouse_connect.driver.asyncclient.HttpClient.__init__
Was def __init__(self, interface: str, host: str, port: int, username: str, password: str, database: str, access_token: Optional[str] = None, compress: Union[bool, str] = True, query_limit: int = 0, query_retries: int = 2, connect_timeout... pypi.org - Signature changed
clickhouse_connect.driver.Client.__init__
Was def __init__(self, database: str, query_limit: int, uri: str, query_retries: int, server_host_name: Optional[str], apply_server_timezone: Optional[Union[str, bool]], utc_tz_aware: Optional[Union[bool, Literal['schema']]]... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.__init__
Was def __init__(self, database: str, query_limit: int, uri: str, query_retries: int, server_host_name: Optional[str], apply_server_timezone: Optional[Union[str, bool]], utc_tz_aware: Optional[Union[bool, Literal['schema']]]... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.create_query_context
Was def create_query_context(self, query: Optional[Union[str, bytes]] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None... pypi.org - Signature changed
clickhouse_connect.driver.client.Client.query
Was def query(self, query: Optional[str] = None, parameters: Optional[Union[Sequence, Dict[str, Any]]] = None, settings: Optional[Dict[str, Any]] = None, query_formats: Optional[Dict[str, str]] = None, column_formats: Optional[Dict[str... pypi.org
And 15 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.