- Updated lz4 to v1.9.2 (ordian)
- BlockBasedOptions: expose
format_version
,[index_]block_restart_interval
(ordian)
- Added
ReadOptions::set_verify_checksums
andOptions::set_level_compaction_dynamic_level_bytes
methods (ordian) - Array of bytes has been changed for pinnable slice for get operations (nbdd0121)
- Implemented
Sync
forDBRawIterator
(nbdd0121) - Removed extra copy in DBRawIterator (nbdd0121)
- Added
Options::max_dict_bytes
andOptions::zstd_max_training_bytes
methods(methyl) - Added Android support (rtsisyk)
- Added lifetimes for
DBIterator
return types (ngotchac) - Bumped rocksdb up to 6.2.4 (aleksuss)
- Disabled trait derivation for librocksdb-sys (EyeOfPython)
- Added
DB::get_updates_since()
to iterate write batches in a given sequence (nlfiedler) - Added
ReadOptions::set_tailing()
to create a tailing iterator that continues to iterate over the database as new records are added (cjbradfield) - Changed column families storing (aleksuss)
- Exposed the
status
method on iterators (rnarubin)
- Enabled sse4.2/pclmul for accelerated crc32c (yjh0502)
- Added
set_db_write_buffer_size
to the Options API (rnarubin) - Bumped RocksDB to 6.1.2 (lispy)
- Added
Sync
andSend
implementations toSnapshot
(pavel-mukhanov) - Added
raw_iterator_cf_opt
to the DB API (rnarubin) - Added
DB::latest_sequence_number
method (vitvakatu)
- Updated
compact_range_cf
to use generic arguments (romanz) - Removed allocations from
SliceTransform
implementation (ekmartin) - Bumped RocksDB to 5.18.3 (baptistejamin)
- Implemented
delete_range
anddelete_range_cf
(baptistejamin) - Added contribution guide (rhurkes)
- Cleaned up documentation for
ReadOptions.set_iterate_upper_bound
method (xiaobogaga) - Added
flush
andflush_opt
operations (valeriansaliou)
- Added
iterator_cf_opt
function toDB
(elichai) - Added
set_allow_mmap_writes
andset_allow_mmap_reads
functions toOptions
(aleksuss)
- Added support for PlainTable factories (ekmartin)
- Added ability to restore latest backup (rohitjoshi)
- Added support for pinnable slices (xxuejie)
- Added ability to get property values (ekmartin)
- Simplified opening database when using non-default column families (iSynaptic)
ColumnFamily
,DBIterator
andDBRawIterator
now have lifetime parameters to prevent using them after theDB
has been dropped (iSynaptic)- Creating
DBIterator
andDBRawIterator
now acceptReadOptions
(iSynaptic) - All database operations that accepted byte slices,
&[u8]
, are now generic and accept anything that implementsAsRef<[u8]>
(iSynaptic) - Bumped RocksDB to version 5.17.2 (aleksuss)
- Added
set_readahead_size
toReadOptions
(iSynaptic) - Updated main example in doc tests (mohanson)
- Updated requirements documentation (jamesray1)
- Implemented
AsRef<[u8]>
forDBVector
(iSynaptic)
-
This is the first release under the new Maintainership model. Three contributors have been selected to help maintain this library -- Oleksandr Anyshchenko (@aleksuss), Jordan Terrell (@iSynaptic), and Ilya Bogdanov (@vitvakatu). Many thanks to Tyler Neely (@spacejam) for your support while taking on this new role.
-
A gitter.im chat room has been created. Although it's not guaranteed to be "staffed", it may help to collaborate on changes to
rust-rocksdb
.
- added LZ4, ZSTD, ZLIB, and BZIP2 compression support (iSynaptic)
- added support for
Checkpoint
(aleksuss) - added support for
SliceTransform
(spacejam) - added
DBPath
struct to ensure test databases are cleaned up (ekmartin, iSynaptic) - fixed
rustfmt.toml
to work with newerrustfmt
version (ekmartin, iSynaptic) - bindgen bumped up to 0.43 (s-panferov)
- made
ColumnFamily
structSend
(Tpt) - made
DBIterator
structSend
(Elzor) create_cf
anddrop_cf
methods onDB
now work with immutable references (aleksuss)- fixed crash in
test_column_family
test on macOS (aleksuss) - fixed/implemented CI builds for macOS and Windows (aleksuss, iSynaptic)
- exposed
set_skip_stats_update_on_db_open
option (romanz) - exposed
keep_log_file_num
option (romanz) - added ability to retrieve
WriteBatch
serialized size (romanz) - added
set_options
method toDB
to allow changing options without closing and re-opening the database (romanz)
- bump bindgen to 0.37 (ekmartin)
- bump rocksdb to 5.14.2 (ekmartin)
- add disable_cache to block-based options (ekmartin)
- add set_wal_dir (ekmartin)
- add set_memtable_prefix_bloom_ratio (ekmartin)
- add MemtableFactory support (ekmartin)
- add full_iterator (ekmartin)
- allow index type specification on block options (ekmartin)
- fix windows build (iSynaptic)
- Bump rocksdb to 5.11.3 (spacejam)
- Link with system rocksdb and snappy libs through envvars (ozkriff)
- Fix reverse iteration from a given key (ongardie)
- SliceTransform support (spacejam)
- Allow creating iterators over prefixes (glittershark)
- Open cfs with options (garyttierney, rrichardson)
- Non-Associative merge ops (rrichardson)
- Bump rocksdb to 5.10.2 (ongardie)
- Add Send marker to Options (iSynaptic)
- Expose advise_random_on_open option (ongardie)
- Bump rocksdb to 5.7.1 (jquesnelle)
- Added list_cf (jeizsm)
- Removed set_disable_data_sync (glittershark)
- Bumped rocksdb to 5.6.2 (spacejam)
- Bumped rocksdb to 5.6.1 (vmx)
- Bumped rocksdb to 5.4.6 (derekdreery)
- Remove
use_direct_writes
now thatuse_direct_io_for_flush_and_compaction
exists (derekdreery)
- ReadOptions is now public (rschmukler)
- Implement Clone and AsRef for Error (daboross)
- Support for
seek_for_prev
(kaedroho) - Support for DirectIO (kaedroho)
- Fixed race condition in tests (debris)
- Move tests to the default
tests
directory (vmx)
- Support for raw iterator access (kaedroho)
- Comparator function now returns an Ordering (alexreg)
- Compaction filter (tmccombs)
- Support for backups (alexreg)
0.5 (2016-11-20)
- No more Writable trait, as WriteBatch is not thread-safe as a DB (spacejam)
- All imports of
rocksdb::rocksdb::*
should now be simplyrocksdb::*
(alexreg) - All errors changed to use a new
rocksdb::Error
type (kaedroho, alexreg) - Removed
Options.set_filter_deletes
as it was removed in RocksDB (kaedroho) - Renamed
add_merge_operator
toset_merge_operator
andadd_comparator
toset_comparator
(kaedroho)
- Windows support (development by jsgf and arkpar. ported by kaedroho)
- The RocksDB library is now built at crate compile-time and statically linked with the resulting binary (development by jsgf and arkpar. ported by kaedroho)
- Cleaned up and improved coverage and tests of the ffi module (alexreg)
- Added many new methods to the
Options
type (development by ngaut, BusyJay, zhangjinpeng1987, siddontang and hhkbp2. ported by kaedroho) - Added
len
andis_empty
methods toWriteBatch
(development by siddontang. ported by kaedroho) - Added
path
mathod toDB
(development by siddontang. ported by kaedroho) DB::open
now accepts any type that implementsInto<Path>
as the path argument (kaedroho)DB
now implements theDebug
trait (kaedroho)- Add iterator_cf to snapshot (jezell)
- Changelog started