@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
1616### Changed
1717
18+ - ** BREAKING** insert: the type of ` Insert<_> ` should now be specified when calling ` client.insert::<_>() ` . ([ #247 ] )
19+ - ** BREAKING** insert: ` Client::insert() ` is now async. ([ #244 ] )
20+ - ** BREAKING** inserter: ` Inserter::write() ` is now async. ([ #244 ] )
21+ - ** BREAKING** inserter: ` Inserter::new() ` return just ` Self ` instead of ` Result<Self> ` . ([ #244 ] )
1822- ** BREAKING** query: ` RowBinaryWithNamesAndTypes ` is now used by default for query results. This may cause panics if
1923 the row struct definition does not match the database schema. Use ` Client::with_validation(false) ` to revert to the
2024 previous behavior which uses plain ` RowBinary ` format for fetching rows. ([ #221 ] )
@@ -27,20 +31,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2731 ` Client::with_validation(false) ` .
2832- serde: it is now possible to deserialize Map ClickHouse type into ` HashMap<K, V> ` (or ` BTreeMap ` , ` IndexMap ` ,
2933 ` DashMap ` , etc.).
34+ - tls: improved error messages in case of missing TLS features when using HTTPS ([ #229 ] ).
35+ - crate: MSRV is now 1.79 due to borrowed rows support redesign in [ #247 ] .
36+ - crate: bumped dependencies, see [ #232 ] and [ #239 ] for additional details.
3037
3138### Added
3239
40+ - types: added support for ` Time ` and ` Time64 ` types ([ #258 ] ).
3341- client: added ` Client::with_validation ` builder method. Validation is enabled by default, meaning that
3442 ` RowBinaryWithNamesAndTypes ` format will be used to fetch rows from the database. If validation is disabled,
3543 ` RowBinary ` format will be used, similarly to the previous versions. ([ #221 ] ).
3644- types: a new crate ` clickhouse-types ` was added to the project workspace. This crate is required for
3745 ` RowBinaryWithNamesAndTypes ` struct definition validation, as it contains ClickHouse data types AST, as well as
3846 functions and utilities to parse the types out of the ClickHouse server response. ([ #221 ] ).
47+ - query: support serializing ` serde_bytes::Bytes ` as hex string literals in query parameters ([ #250 ] ).
3948- derive: added ` #[clickhouse(crate = "...")] ` attribute for ` #[derive(Row)] ` ([ #189 ] /[ #292 ] )
4049
50+ ### Fixed
51+
52+ - client: extract the exception code from ` X-ClickHouse-Exception-Code ` in case of incorrect 200 OK response
53+ that could occur with ClickHouse server up to versions 24.x ([ #256 ] ).
54+
4155[ #189 ] : https://github.com/ClickHouse/clickhouse-rs/pull/189
4256[ #221 ] : https://github.com/ClickHouse/clickhouse-rs/pull/221
57+ [ #229 ] : https://github.com/ClickHouse/clickhouse-rs/pull/229
58+ [ #232 ] : https://github.com/ClickHouse/clickhouse-rs/pull/232
59+ [ #239 ] : https://github.com/ClickHouse/clickhouse-rs/pull/239
60+ [ #244 ] : https://github.com/ClickHouse/clickhouse-rs/pull/244
4361[ #245 ] : https://github.com/ClickHouse/clickhouse-rs/pull/245
62+ [ #247 ] : https://github.com/ClickHouse/clickhouse-rs/pull/247
63+ [ #250 ] : https://github.com/ClickHouse/clickhouse-rs/pull/250
64+ [ #256 ] : https://github.com/ClickHouse/clickhouse-rs/pull/256
65+ [ #258 ] : https://github.com/ClickHouse/clickhouse-rs/pull/258
4466[ #292 ] : https://github.com/ClickHouse/clickhouse-rs/pull/292
4567
4668## [ 0.13.3] - 2025-05-29
0 commit comments