Release 0.50.0#230
Merged
Merged
Conversation
rust-rocksdb 0.49.1 -> 0.50.0 rust-librocksdb-sys 0.45.1+11.1.1 -> 0.46.0+11.1.1 The minor bump is justified by the MSRV change (1.89 -> 1.91), which is technically breaking for users on older Rust toolchains. Highlights of this release (full notes in CHANGELOG.md): - librocksdb-sys: new local C-API extensions for three RocksDB C++ options that have no upstream C wrapper yet (optimize_multiget_for_io, uniform_cv_threshold + kAuto, memtable_batch_lookup_optimization). Extensions live in librocksdb-sys/c-api-extensions/ and are compiled additively alongside the vendored RocksDB sources; the submodule is never modified, so the build works on read-only source trees and requires no extra tools beyond the C++ compiler. - rust-rocksdb: three matching safe-Rust setters (plus getters for the two bool options) on BlockBasedOptions, Options, and ReadOptions; a new IndexBlockSearchType enum covering Binary, Interpolation, and Auto. - rust-rocksdb: AsRawPtr<rocksdb_t> implementation for OptimisticTransactionDB<T> (raw-ptr feature) (ksurent). - rust-rocksdb: ColumnFamilyMetaData and CSlice are now re-exported from the crate root (#224, thanks to JadedBlueEyes). - MSRV bumped to 1.91.0 (rolling 6-month policy).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Versions
rust-rocksdb: 0.49.1 → 0.50.0rust-librocksdb-sys: 0.45.1+11.1.1 → 0.46.0+11.1.1The minor bump is justified by the MSRV change (1.89 → 1.91), which is
technically breaking for users on older Rust toolchains.
What is in this release
(Full notes in
CHANGELOG.md.)Breaking
released 2025-10-30, the most recent stable that satisfied the
6-month window at the time of the bump.
Features
librocksdb-sys: local C-API extensions for three RocksDB C++options that have no upstream C wrapper yet
(
optimize_multiget_for_io,uniform_cv_threshold+kAuto,memtable_batch_lookup_optimization). The extensions live inlibrocksdb-sys/c-api-extensions/and compile additively alongsidethe vendored RocksDB sources; the submodule is never modified, so
the build works on read-only source trees and needs no extra tools
beyond the C++ compiler.
rust-rocksdb: three matching safe-Rust setters (plus gettersfor the two
booloptions):BlockBasedOptions::set_index_block_search_type(IndexBlockSearchType)IndexBlockSearchTypeenum (Binary,Interpolation,Auto).BlockBasedOptions::set_uniform_cv_threshold(f64).Options::{set,get}_memtable_batch_lookup_optimization(bool).ReadOptions::{set,get}_optimize_multiget_for_io(bool).AsRawPtr<rocksdb_t>impl forOptimisticTransactionDB<T>(gated on the
raw-ptrfeature), by @ksurent.Fixes
ColumnFamilyMetaDataandCSlicefrom the crate root(Expose db::ColumnFamilyMetaData (possibly other types that are accadentally private) #224, thanks to @JadedBlueEyes).
Upstream coordination
The three C-API extensions each have a matching PR open against
facebook/rocksdb. When upstream merges any of them and we bump thesubmodule to a release containing it, the corresponding declaration in
c_api_extensions.hand definition inc_api_extensions.ccwill bedropped.
optimize_multiget_for_io: facebook/rocksdb#14752uniform_cv_threshold+kAuto: facebook/rocksdb#14775memtable_batch_lookup_optimization: facebook/rocksdb#14776Verifications run
cargo fmt --all -- --check— cleancargo clippy --all-targets -- -D warnings— cleancargo test --doc— 10 passedcargo test --test test_public_api— 1 passedcargo checkagainst the new version numbers — succeeds