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 shown in the
upgrade_v1_to_v2 test.
Other changes
check_integrity() now returns a DatabaseError instead of a StorageError
Table metadata methods have moved to a new ReadableTableMetadata trait
Rename RedbKey to Key
Rename RedbValue to Value
Remove lifetimes from read-only tables
Remove lifetime from WriteTransaction and ReadTransaction
Remove drain() and drain_filter() from Table. Use retain, retain_in, extract_if or extract_from_if instead
impl Clone for Range
Add support for [T;N] as a Value or Key as appropriate for the type T
Add len() and is_empty() to MultimapValue
Add retain() and retain_in() to Table
Add extract_if() and extract_from_if() to Table
Add range() returning a Range with the 'static lifetime to read-only tables
Add get() returning a range with the 'static lifetime to read-only tables
Add close() method to ReadTransaction
2.0.0-beta0
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 a DatabaseError instead of StorageError
Refactor table metadata methods into a new ReadableTableMetadata trait
Rename RedbKey to Key
Rename RedbValue to Value
Remove lifetimes from read-only tables
Remove lifetime from WriteTransaction and ReadTransaction
Remove drain() and drain_filter() from Table
impl Clone for Range
Add len() and is_empty() to MultimapValue
Add retain() and retain_in() to Table
Add extract_if() and extract_from_if() to Table
Add range() returning a Range 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 to ReadTransaction
1.5.1
Fix check_integrity() so that it returns Ok(true) when no repairs were preformed. Previously,
it returned Ok(false)
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 shown in the
upgrade_v1_to_v2 test.
Other changes
check_integrity() now returns a DatabaseError instead of a StorageError
Table metadata methods have moved to a new ReadableTableMetadata trait
Rename RedbKey to Key
Rename RedbValue to Value
Remove lifetimes from read-only tables
Remove lifetime from WriteTransaction and ReadTransaction
Remove drain() and drain_filter() from Table. Use retain, retain_in, extract_if or extract_from_if instead
impl Clone for Range
Add support for [T;N] as a Value or Key as appropriate for the type T
Add len() and is_empty() to MultimapValue
Add retain() and retain_in() to Table
Add extract_if() and extract_from_if() to Table
Add range() returning a Range with the 'static lifetime to read-only tables
Add get() returning a range with the 'static lifetime to read-only tables
Add close() method to ReadTransaction
1.5.1 - 2024-03-16
Fix check_integrity() so that it returns Ok(true) when no repairs were preformed. Previously,
it returned Ok(false)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps redb from 1.5.0 to 2.0.0.
Release notes
Sourced from redb's releases.
Changelog
Sourced from redb's changelog.
Commits
d0dac97
Bump version to 2.0.068058a8
Update changelog30d6cc9
Make ReadOnlyTable::get() return a 'static lifetime7377b3b
Add len() benchmark5c398a5
Simplify lifetimes on extract_from_if()6bba3b7
Separate lifetimes on key and value to MultimapTable remove()f4e9e09
Remove a bunch of superfluous lifetime boundsc3fbcea
Require V: 'static on AccessGuard9de5e15
Update changeloge3da513
Replace TODOs with documentationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show