Releases: cberner/redb
Releases Β· cberner/redb
1.4.0
- Add
Builder::set_repair_callback()
which can be used to set a callback function that will be invoked if the database needs repair while opening it. - Add support for custom storage backends. This is done by implementing the
StorageBackend
trait and
using theBuilder::create_with_backend
function. This allows the database to be stored in a location other
than the filesystem - Implement
RedbKey
andRedbValue
forchar
- Implement
RedbKey
andRedbValue
forbool
- Implement
TableHandle
forTable
- Implement
MultimapTableHandle
forMultimapTable
- Fix panic that could occur when inserting a large number of fixed width values into a table within a single transaction
- Fix panic when calling
delete_table()
on a table that is already open - Improve performance for fixed width types
- Support additional platforms
1.3.0
- Implement
RedbKey
forOption<T>
- Implement
RedbValue
forVec<T>
- Implement
Debug
for tables - Add
ReadableTable::first()
andlast()
which retrieve the first and last key-value pairs, respectively` - Reduce lock contention for mixed read-write workloads
- Documentation improvements
1.2.0
- Add
Builder::create_file()
which does the same thing ascreate()
but
takes aFile
instead of a path - Add
stats()
to tables which provides informational statistics on the table's storage - Fix
WriteTransaction::stats()
to correctly count the storage used by multi-map tables - Fix panics that could occur when operating on savepoints concurrently from multiple threads
on the sameWriteTransaction
- Implement
Send
forWriteTransaction
- Change MSRV to 1.66
- Performance optimizations
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Announcement
redb has reached its first stable release! The file format is now gauranteed to be backward compatible,
and the API is stable. I've run pretty extensive fuzz testing, but please report any bugs you encounter.
The following features are complete:
- MVCC with a single
WriteTransaction
and multipleReadTransaction
s - Zero-copy reads
- ACID semantics, including non-durable transactions which only sacrifice Durability
- Savepoints which allow the state of the database to be captured and restored later
Changes from 0.22.0:
- Stabilize file format
- Improve performance of
restore_savepoint()