What's new in clickhousectl v0.6.0
clickhousectl v0.6.0 makes local projects work like Git: any directory containing `.clickhouse/` is a project root discovered from subdirectories, `CLICKHOUSECTL_PROJECT_DIR` pins the root, and layered `config.d` directories let teams check server config into the repo. Cloud connections can skip password handling via browser sign-in in `cloud clickhouse client` or by writing the one-time password only to `.env` with `create --dotenv`. The release also adds command `search`, shell completions and a `feedback` command, GA Managed Postgres with Postgres 19, PrivateLink, standby counts and deletion protection, and ClickPipes columns generated from `schema-discover` output. Downloads are now verified against release checksums, and OAuth logins saved by 0.5.x need one fresh login.
Related posts
- Getting started with clickhousectl: the ClickHouse CLI for local and cloud
ClickHouse mediumAdept
clickhousectl (alias chctl) is a single CLI that manages local ClickHouse versions, isolated named servers, project scaffolding and ClickHouse Cloud services. Shared version binaries, per-directory named servers with auto-assigned ports, and a standard clickhouse/ layout for tables, materialized views, queries and seed data make side-by-side upgrade testing straightforward. Cloud auth is deliberately split: browser OAuth grants read-only access, while service creation, scaling and schema changes require an API key, a guard aimed at agent-driven use. The tool also installs Claude Code skills for local dev and cloud deploy, and fits into CI via a static binary, env-var auth and JSON output, with a sample GitHub Actions schema-validation workflow.
- clickhousectl v0.2.0: Postgres, ClickPipes and more
ClickHouse mediumAdept
clickhousectl v0.2.0 adds Postgres management, both local (Docker-backed, keyed on name and major version 16–18) and as ClickHouse Cloud managed Postgres. It also adds ClickPipes commands for Kafka, Kinesis, object storage, CDC from Postgres/MySQL/MongoDB and BigQuery snapshots, plus SQL over HTTP through Query Endpoints so no local ClickHouse binary is needed. Query Endpoints are locked to a per-service API key whose only grant is a sql_console_admin binding, so a leaked key reaches one service only. Other changes include Markdown-style table output that uses fewer tokens for agents, a --debug flag for credential resolution, and a standalone typed async Rust crate, clickhouse-cloud-api.
- What's new in clickhousectl v0.4.0
ClickHouse mediumAdept
clickhousectl v0.4.0 adds horizontal autoscaling flags for ClickHouse Cloud services (min/max replicas, mutually exclusive with vertical memory-range flags), beta ClickPipe schema discovery for Kafka and Kinesis sources, and new ingestion controls such as --skip-initial-load, --start-after for continuous object-storage pipes and --server-id for MySQL CDC pipes. Postgres config patch now does true partial updates, OAuth tokens move to a global ~/.clickhouse/tokens.json, and local server stop becomes idempotent while local remove refuses to delete a version in use unless --force is passed. The release also introduces anonymous opt-out telemetry that records flag names but never values, and can be disabled via a command, DO_NOT_TRACK=1, or compiled out with cargo build --no-default-features.
- What's New in pg_clickhouse v0.3.2: Postgres 19, TLS, Regex, and Memory
ClickHouse mediumAdept
pg_clickhouse v0.3.2, the Postgres extension for querying ClickHouse, adds support for PostgreSQL 19 Beta1 and needs no restart or ALTER EXTENSION UPDATE. New CREATE SERVER options cover TLS behavior (`secure` on/off/auto, `min_tls_version`) and native protocol compression. Regex flag pushdown has been corrected, with a mapping table and a warning that Postgres and ClickHouse treat negated character classes differently around newlines. The release also fixes memory ballooning in repeatedly re-scanned parameterized foreign scans and in unbuffered HTTP queries, pushes down capture-free regexp_match(), and fixes empty-array ANY() errors on older ClickHouse.
- clickhouse.build: An agentic CLI to accelerate Postgres apps with ClickHouse
ClickHouse mediumAdept
clickhouse.build is an open source agentic CLI that adds ClickHouse to Postgres-backed TypeScript apps for analytical queries while leaving transactional work in Postgres. A scanner agent finds analytical queries in raw SQL, Prisma or Drizzle code. A data migrator then generates ClickPipes Postgres CDC API calls to sync the needed tables. A code migrator, checked by a QA sub-agent against reference codebases, rewrites queries behind a strategy pattern toggled by a USE_CLICKHOUSE feature flag. The workflow keeps a human in the loop to approve each change and aims to produce a backwards-compatible proof of concept in under an hour.