Releases: cberner/redb
Releases Β· cberner/redb
1.5.0
- Export
TableStats
type - Export
MutInPlaceValue
which allows custom types to supportinsert_reserve()
- Add untyped table API which allows metadata, such as table stats, to be retrieved for at table
without knowing its type at compile time - Fix compilation on uncommon platforms (those other than Unix and Windows)
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