Allow users to implement ReadableTableMetadata, ReadableTable, and ReadableMultimapTable
2.0.0
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 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
Allow users to implement ReadableTableMetadata, ReadableTable, and ReadableMultimapTable
2.0.0 - 2024-03-22
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 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
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.1 to 2.1.0.
Release notes
Sourced from redb's releases.
Changelog
Sourced from redb's changelog.
Commits
0d0e11e
Bump version to 2.1.0748bb56
Update changelogbc8ee9e
Unseal table traits3511908
Implement Key and Value for String5e8c4a5
Make insert() docs more explicita59e45a
:memo: Fix benchmark source should not be in table14ba179
Update and re-enable backwards compatibility testsd0dac97
Bump version to 2.0.068058a8
Update changelog30d6cc9
Make ReadOnlyTable::get() return a 'static lifetimeDependabot 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