Skip to content

Commit db45d89

Browse files
committed
Release 0.51.0
rust-rocksdb 0.50.0 -> 0.51.0 rust-librocksdb-sys remains 0.47.0+11.1.2, published for this release. Highlights of this release (full notes in CHANGELOG.md): - librocksdb-sys: bundled RocksDB upgraded to 11.1.2. - rust-rocksdb: new CompactOptions blob GC age-cutoff API. - rust-rocksdb: EventListener recovery-end callback now exposes old/new background error statuses and severities. - rust-rocksdb: upstream compatibility additions for SstFileWriter delete_range, mempurge threshold, TransactionDB checkpoint log-size, and safe raw-iterator timestamp. - librocksdb-sys: rustflags-based target-cpu parsing and zstd feature cleanup.
1 parent a6d86f1 commit db45d89

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.51.0 (2026-06-26)
44

55
- fix(librocksdb-sys): upgrade the bundled RocksDB submodule to
66
11.1.2. (zaidoon1)
7+
- feat: add `CompactOptions::set_blob_garbage_collection_age_cutoff`,
8+
exposing the matching RocksDB option through the safe Rust API.
9+
(kmorkos)
10+
- feat: expose RocksDB's non-deprecated error recovery end callback
11+
through `EventListener::on_error_recovery_end`. The callback receives
12+
`BackgroundErrorRecoveryInfo`, including old/new background error
13+
statuses and severities. (zaidoon1)
14+
- fix: make raw pointer casts clippy-clean on Linux aarch64. No
15+
behavior change is intended. (evanj)
16+
- fix(librocksdb-sys): parse `CARGO_ENCODED_RUSTFLAGS` with the
17+
`rustflags` crate so both `-Ctarget-cpu=...` and
18+
`-C target-cpu=...` forms are handled correctly. (evanj)
719
- feat: add `SstFileWriter::delete_range` and expose
820
`Options::set_experimental_mempurge_threshold`, matching upstream
9-
rust-rocksdb APIs. (cooronx, Vladimir Petrzhikovskii)
21+
rust-rocksdb APIs. (cooronx, 0xdeafbeef)
1022
- feat: add `TransactionDBCheckpoint::create_checkpoint_with_log_size`
1123
for upstream source compatibility. TransactionDB checkpoints may
12-
still flush memtables regardless of the threshold. (gdorsi, zaidoon1)
24+
still flush memtables regardless of the threshold. (calavera, gdorsi,
25+
zaidoon1)
1326
- fix: make `DBRawIteratorWithThreadMode::timestamp()` safe and
1427
upstream-compatible by returning `Option<&[u8]>`; the prior zero-copy
15-
unchecked behavior is available as `timestamp_unchecked()`. (ali2992,
16-
zaidoon1)
28+
unchecked behavior is available as `timestamp_unchecked()`.
29+
(dillonhicks, ali2992, zaidoon1)
1730
- fix: derive multi-get key pointers and lengths from a single
1831
`AsRef<[u8]>` call per key across DB, Transaction, and TransactionDB
19-
paths. (Niklas Fiekas)
32+
paths. (niklasf)
2033
- fix(librocksdb-sys): disable `zstd-sys` default features while
2134
preserving local `experimental` support, avoiding an unnecessary
22-
transitive bindgen path. (Congyu WANG, zaidoon1)
35+
transitive bindgen path. (Congyuwang, zaidoon1)
2336

2437
## 0.50.0 (2026-05-23)
2538

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "rust-rocksdb"
33
description = "Rust wrapper for Facebook's RocksDB embeddable database"
4-
version = "0.50.0"
4+
version = "0.51.0"
55
edition = "2024"
66
rust-version = "1.91.0"
77
authors = [

0 commit comments

Comments
 (0)