You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [Unreleased] - ReleaseDate
10
10
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])
0 commit comments