---
sidebar_position: 1
sidebar_label: 2025
---

# 2025 Changelog

### ClickHouse release v25.6.5.41-stable (533d68057fc) FIXME as compared to v25.6.4.12-stable (c3c91c0239e)

#### Improvement
* Backported in [#82862](https://github.com/ClickHouse/ClickHouse/issues/82862): After https://github.com/ClickHouse/ClickHouse/pull/73834, the `X-ClickHouse-Progress` and `X-ClickHouse-Summary` header formats have been modified to omit zero values. This PR intends to return the previous behaviour for `X-ClickHouse-Summary` only, because it makes sense. [#82727](https://github.com/ClickHouse/ClickHouse/pull/82727) ([Nikita Mikhaylov](https://github.com/nikitamikhaylov)).
* Backported in [#84037](https://github.com/ClickHouse/ClickHouse/issues/84037): Use information from cgroup (if applicable, i.e. `memory_worker_use_cgroup` and cgroups are available) to adjust memory tracker (`memory_worker_correct_memory_tracker`). [#83981](https://github.com/ClickHouse/ClickHouse/pull/83981) ([Azat Khuzhin](https://github.com/azat)).

#### Bug Fix (user-visible misbehavior in an official stable release)
* Backported in [#83144](https://github.com/ClickHouse/ClickHouse/issues/83144): Do not use unrelated parts of a shared dictionary in the `lowCardinalityKeys` function. [#83118](https://github.com/ClickHouse/ClickHouse/pull/83118) ([Alexey Milovidov](https://github.com/alexey-milovidov)).
* Backported in [#83766](https://github.com/ClickHouse/ClickHouse/issues/83766): Keeper fix: update total watch count correctly when ephemeral nodes are deleted on session close. [#83583](https://github.com/ClickHouse/ClickHouse/pull/83583) ([Antonio Andelic](https://github.com/antonio2368)).
* Backported in [#84109](https://github.com/ClickHouse/ClickHouse/issues/84109): Mask Avro schema registry authentication details to be not visible to user or in logs. [#83713](https://github.com/ClickHouse/ClickHouse/pull/83713) ([János Benjamin Antal](https://github.com/antaljanosbenjamin)).
* Backported in [#83917](https://github.com/ClickHouse/ClickHouse/issues/83917): Fix the issue where, if a MergeTree table is created with `add_minmax_index_for_numeric_columns=1` or `add_minmax_index_for_string_columns=1`, the index is later materialized during an ALTER operation, and it prevents the Replicated database from initializing correctly on a new replica. [#83751](https://github.com/ClickHouse/ClickHouse/pull/83751) ([Nikolay Degterinsky](https://github.com/evillique)).
* Backported in [#83874](https://github.com/ClickHouse/ClickHouse/issues/83874): Introduce backward compatibility setting to allow new analyzer to reference outer alias in WITH clause in the case of name clashes. Fixes [#82700](https://github.com/ClickHouse/ClickHouse/issues/82700). [#83797](https://github.com/ClickHouse/ClickHouse/pull/83797) ([Dmitry Novik](https://github.com/novikd)).
* Backported in [#84092](https://github.com/ClickHouse/ClickHouse/issues/84092): When restoring from backup, the definer user may not be backed up, which will cause the whole backup to be broken. To fix this, we postpone the permissions check on the target table's creation during restore and only check it during runtime. [#83818](https://github.com/ClickHouse/ClickHouse/pull/83818) ([pufit](https://github.com/pufit)).
* Backported in [#84224](https://github.com/ClickHouse/ClickHouse/issues/84224): Allow referencing any table in `view(...)` argument of `remote` table function with enabled analyzer. Fixes [#78717](https://github.com/ClickHouse/ClickHouse/issues/78717). Fixes [#79377](https://github.com/ClickHouse/ClickHouse/issues/79377). [#83844](https://github.com/ClickHouse/ClickHouse/pull/83844) ([Dmitry Novik](https://github.com/novikd)).
* Backported in [#84129](https://github.com/ClickHouse/ClickHouse/issues/84129): Fix rare bug when `MATERIALIZE COLUMN` query could lead to unexpected files in `checksums.txt` and eventually detached data parts. [#84007](https://github.com/ClickHouse/ClickHouse/pull/84007) ([alesapin](https://github.com/alesapin)).
* Backported in [#84272](https://github.com/ClickHouse/ClickHouse/issues/84272): Fixed wrong results when the query condition cache is used in conjunction with recursive CTEs (issue [#81506](https://github.com/ClickHouse/ClickHouse/issues/81506)). [#84026](https://github.com/ClickHouse/ClickHouse/pull/84026) ([zhongyuankai](https://github.com/zhongyuankai)).
* Backported in [#84288](https://github.com/ClickHouse/ClickHouse/issues/84288): Fix rare clickhouse crash when table has projection, `lightweight_mutation_projection_mode = 'rebuild'` and user execute lighweight delete which deletes ALL rows from any block in table. [#84158](https://github.com/ClickHouse/ClickHouse/pull/84158) ([alesapin](https://github.com/alesapin)).

#### NOT FOR CHANGELOG / INSIGNIFICANT

* Backported in [#83815](https://github.com/ClickHouse/ClickHouse/issues/83815): hold the temporary part lock when executeReplaceRange. [#83095](https://github.com/ClickHouse/ClickHouse/pull/83095) ([Sema Checherinda](https://github.com/CheSema)).
* Backported in [#84050](https://github.com/ClickHouse/ClickHouse/issues/84050): `sccache` supports explicit server start. We should start it before the `ninja` build stage. [#83600](https://github.com/ClickHouse/ClickHouse/pull/83600) ([Mikhail f. Shiryaev](https://github.com/Felixoid)).
* Backported in [#83866](https://github.com/ClickHouse/ClickHouse/issues/83866): Allow concurrent tables creation when `max_database_replicated_create_table_thread_pool_size` setting is 0 (automatic pool size). [#83834](https://github.com/ClickHouse/ClickHouse/pull/83834) ([Alexander Tokmakov](https://github.com/tavplubix)).
* Revert 81595 partial. [#84193](https://github.com/ClickHouse/ClickHouse/pull/84193) ([Sema Checherinda](https://github.com/CheSema)).

