Skip to content

Commit 8a336d2

Browse files
committed
chore: CHANGELOG entry for 0.14.2
1 parent f1d97fb commit 8a336d2

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased] - ReleaseDate
1010

11+
### Added
12+
13+
* Added `Client::insert_formatted_with()` and `InsertFormatted` for inserting data in a chosen format with a specified SQL query. ([#364])
14+
* `InsertFormatted` does not buffer data by default, allowing precise control over when the data is sent. For best performance, ensure data is sent in larger chunks or use `.buffered()` to get `BufInsertFormatted` which implements buffering.
15+
* Data may optionally be pre-compressed and buffered separately using `CompressedData::new()` and `InsertFormatted::send_compressed()`.
16+
* `BufInsertFormatted` also implements [`tokio::io::AsyncWrite`](https://docs.rs/tokio/latest/tokio/io/trait.AsyncWrite.html) for composability.
17+
* Added `Client::set_option` to modify options through `&mut Client` ([#375])
18+
* Added `Client::get_option` to read previously set options ([#375])
19+
* Added support for binding byte-strings as server-side params ([#376])
20+
* This means passing types to `Query::param` that call `Serializer::serialize_bytes()` are now supported.
21+
* Note that `Vec<u8>` and `&[u8]` serialize as an array of integers.
22+
Use a specialized type, e.g. `bytes::Bytes` or `serde_bytes::Bytes` to bind a byte-string.
23+
* Implemented `Primitive` for `bytes::Bytes` and `bytes::BytesMut` ([#376])
24+
* These can be used to fetch byte-strings as a scalar value, e.g. with `Query::fetch_one()`.
25+
26+
### Fixed
27+
28+
* Implemented parsing for the new exception tagging format in ClickHouse 25.11 ([#365])
29+
* Fixed a doc comment on `clickhouse::serde::chrono::date` ([#371])
30+
31+
### Changed
32+
33+
* (CI-only change) added scheduled runs against `clickhouse-server:head` tag, reworked secrets access ([#367])
34+
* `Query` no longer sets [the `readonly` option] by default. ([#377])
35+
* This was previously added in [#342] to simulate the default read-only restriction
36+
when issuing queries via `GET` requests, but had poor interaction with settings profiles that set `readonly="2"`.
37+
38+
[#364]: https://github.com/ClickHouse/clickhouse-rs/pull/364
39+
[#365]: https://github.com/ClickHouse/clickhouse-rs/pull/365
40+
[#367]: https://github.com/ClickHouse/clickhouse-rs/pull/367
41+
[#371]: https://github.com/ClickHouse/clickhouse-rs/pull/371
42+
[#375]: https://github.com/ClickHouse/clickhouse-rs/pull/375
43+
[#376]: https://github.com/ClickHouse/clickhouse-rs/pull/376
44+
[#377]: https://github.com/ClickHouse/clickhouse-rs/pull/377
45+
46+
[the `readonly` option]: https://clickhouse.com/docs/operations/settings/permissions-for-queries#readonly
47+
1148
## [0.14.1] - 2025-11-26
1249

1350
### Added

0 commit comments

Comments
 (0)