2.0.0-beta0
Pre-release
Pre-release
Major file format change
2.0.0 uses a new file format that optimizes len()
to be constant time. This means that it is not
backwards compatible with 1.x. To upgrade, consider using a pattern like that in
upgrade_v1_to_v2 test.
Other changes
check_integrity()
now returns aDatabaseError
instead ofStorageError
- Refactor table metadata methods into a new
ReadableTableMetadata
trait - Rename
RedbKey
toKey
- Rename
RedbValue
toValue
- Remove lifetimes from read-only tables
- Remove lifetime from
WriteTransaction
andReadTransaction
- Remove
drain()
anddrain_filter()
fromTable
- impl
Clone
forRange
- Add
len()
andis_empty()
toMultimapValue
- Add
retain()
andretain_in()
toTable
- Add
extract_if()
andextract_from_if()
toTable
- Add
range()
returning aRange
with the'static
lifetime to read-only tables - Add
get()
returning a range with the'static
lifetime to read-only multimap tables - Add
close()
method toReadTransaction