|
1 |
| -### Release [x.x.x] |
| 1 | +### Release [1.9.0], 2025-04-28 |
2 | 2 |
|
3 | 3 | #### New Features
|
4 |
| -* Added ability to set [SQL Security](https://clickhouse.com/docs/en/sql-reference/statements/create/view#sql_security) for normal views, referenced by [issue 359](https://github.com/ClickHouse/dbt-clickhouse/issues/359). |
5 |
| -* Add support for "microbatch" incremental strategy. |
6 |
| -* Added support for [TTL (time-to-live)](https://clickhouse.com/docs/guides/developer/ttl) as a column configuration for `table` and `ephemeral` materializations. This feature is implemented as a [custom constraint](https://docs.getdbt.com/reference/resource-properties/constraints#custom-constraints), which requires model contracts to be enforced. For example: |
| 4 | +* Added ability to set [SQL Security](https://clickhouse.com/docs/en/sql-reference/statements/create/view#sql_security) for normal views ([#379](https://github.com/ClickHouse/dbt-clickhouse/pull/379)). |
| 5 | +* Add support for "microbatch" incremental strategy ([#404](https://github.com/ClickHouse/dbt-clickhouse/pull/404)) |
| 6 | +* Added support for [TTL (time-to-live)](https://clickhouse.com/docs/guides/developer/ttl) as a column configuration for `table` and `ephemeral` materializations. This feature is implemented as a [custom constraint](https://docs.getdbt.com/reference/resource-properties/constraints#custom-constraints), which requires model contracts to be enforced ([#442](https://github.com/ClickHouse/dbt-clickhouse/pull/442)) |
| 7 | +For example: |
7 | 8 |
|
8 | 9 | ```sql
|
9 | 10 | -- test_ttl.sql
|
|
29 | 30 | ```
|
30 | 31 |
|
31 | 32 | ### Improvements
|
32 |
| -* Upgrade `dbt-core` to version `1.9` and `dbt-adapters` to `>=1.10` ([#403](https://github.com/ClickHouse/dbt-clickhouse/pull/403)) |
33 |
| -* Previously, delete_insert would fall back to legacy silently. Now it raises an error if LWD is not enabled. |
34 |
| -* Refactored the logic for applying the `ON CLUSTER` clause during model creation. |
| 33 | +* Upgrade `dbt-core` to version `1.9` and `dbt-adapters` to `>=1.10` ([#403](https://github.com/ClickHouse/dbt-clickhouse/pull/403)). |
| 34 | +* Escape column names in comments ([#428](https://github.com/ClickHouse/dbt-clickhouse/pull/428)). |
| 35 | +* TTl is now available for distributed tables ([#430](https://github.com/ClickHouse/dbt-clickhouse/pull/430)). |
| 36 | +* Previously, delete_insert would fall back to legacy silently. Now it raises an error if LWD is not enabled ([#447](https://github.com/ClickHouse/dbt-clickhouse/pull/447)). |
| 37 | +* Refactored the logic for applying the `ON CLUSTER` clause during model creation ([#447](https://github.com/ClickHouse/dbt-clickhouse/pull/447)). |
35 | 38 | - Previously, `ON CLUSTER` was inconsistently applied based on engine type and materialization, often leading to confusion and unexpected results.
|
36 | 39 | - Now, if a `cluster` is defined in the profile and the engine is **not** `Replicated`, the `ON CLUSTER` clause will **always** be added by default.
|
37 | 40 | - A new model-level config `disable_on_cluster: true` has been introduced to explicitly opt out of this behavior.
|
|
0 commit comments