diff --git a/CHANGELOG.md b/CHANGELOG.md index 4950009..4b1b320 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ version; patch releases remain backward compatible. ## Unreleased +## v0.3.0 + - `decode_binary_value` and `encode_binary_value` handle an `Array` or `Map` run of zero-width `Tuple()` values in constant time per tuple node instead of once per element. Before, a small nested value such as @@ -162,7 +164,8 @@ version; patch releases remain backward compatible. `TrailingBytes`, `NoColumns`) and leave state and output unchanged; `InsertOutputAllocationFailed` reports a failed output reservation. `NativeBlockTooLarge` now means only an inbound block and is always fatal. - Every Exception in an `insert` exchange is terminal. TableColumns fields + An Exception after `InsertSchema` is terminal. See the Changed entry above + for an Exception before it. TableColumns fields share one `max_block_bytes` retention budget, and a declared field length above 64 times `max_block_bytes` fails as corruption with `StringTooLong`. Replay fixtures are captured from ClickHouse 26.8. @@ -170,6 +173,14 @@ version; patch releases remain backward compatible. discards queued output not yet returned by `take_output` in every state, including the handshake. Take output before feeding if it must be written regardless. +- LowCardinality index validation in `BlockScanner` and `insert_data` uses a + separate inlined loop per index width, so it runs several times faster. + Accepted input, errors and error order are unchanged. +- Add `ch-tcp-proto`, a sans-I/O ClickHouse TCP engine in a new + `crates/ch-tcp-proto` workspace member. It runs the revision-54460 + handshake and Ping/Pong and reports server Exceptions as events. Drivers + feed it bytes and send the bytes it returns. Sockets and TLS stay in the + driver. ## v0.2.1 diff --git a/Cargo.lock b/Cargo.lock index aaa71ce..e860efc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,7 +22,7 @@ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "ch-core-rs" -version = "0.2.1" +version = "0.3.0" dependencies = [ "cityhash-rs", "lz4", diff --git a/Cargo.toml b/Cargo.toml index 75787f7..5e4320d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ exclude = [".claude"] [package] name = "ch-core-rs" -version = "0.2.1" +version = "0.3.0" edition = "2021" # The ffi module's abort-on-unwind contract relies on extern "C" unwind abort # semantics guaranteed from Rust 1.81.