redb breaking changes
redb 5.0.0 (November 18, 2026) is its newest release with breaking changes, 43 of them. The first: Removed chrono_v0_4. Every breaking API change we have recorded in redb on crates.io: 43 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.0.1, released December 2, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
redb 5.0.0 breaking changes
- Removed
chrono_v0_4
To read existing tables of chrono types, implement Value and Key for your own type with the same TypeName and encoding. github.com - Removed
redb::Builder::create_file
Use Builder::create_with_backend(FileBackend::new(file)) instead. crates.io - Removed
redb::ReadOnlyMultimapTable::get
Use the get method from the ReadableMultimapTable trait, or get_owned() if the result must outlive the table. crates.io - Removed
redb::ReadOnlyMultimapTable::range
Use the range method from the ReadableMultimapTable trait, or range_owned() if the result must outlive the table. crates.io - Removed
redb::ReadOnlyTable::get
Use the get method from the ReadableTable trait, or get_owned() if the result must outlive the table. crates.io - Removed
redb::ReadOnlyTable::range
Use the range method from the ReadableTable trait, or range_owned() if the result must outlive the table. crates.io - Removed
redb::Table::extract_from_if
Use extract_if instead. crates.io - Removed
redb::WriteTransaction::print_allocated_page_debug
The debug method is gone and has no replacement named in the notes. crates.io - Behavior changed
On Linux, do not use redb 4.2 or earlier on a database that redb 5.x has open, because their locking is incompatible. github.com - Behavior changed
A read-only open now fails with DatabaseError::LockProtocolMismatch in that case, where it was previously allowed in ExclusiveWriter mode. github.com - Behavior changed
Tables containing Option<&str>, Option<String>, Option<bool> or Option<char> created before 5.0 fail to open with TableTypeMismatch. Wrap the inner type in Legacy to read them, or copy the data into a new table. github.com - Behavior changed
MultimapRange
Mutating a table while a range over it is still in scope is now a compile error. github.com - Behavior changed
Range
Mutating a table while a range over it is still in scope is now a compile error. github.com - Behavior changed
ReadableDatabase
Code outside redb can no longer implement ReadableDatabase. github.com - Configuration changed
std
If you use default-features = false, add the std feature to keep building with the standard library. github.com - Signature changed
Entry
Code that names this type must add the new lifetime parameter. github.com - Signature changed
range
The key type no longer needs to be specified, so table.range::<u64>(..) becomes table.range(..). github.com - Signature changed
range_owned
The key type no longer needs to be specified in calls. github.com - Signature changed
ReadableTable.lower_bound
Implementations of ReadableTable must now provide lower_bound. github.com - Signature changed
ReadableTable.upper_bound
Implementations of ReadableTable must now provide upper_bound. github.com - Signature changed
redb::backends::FileBackend::new
Remove the error handling applied to the return value of FileBackend::new. crates.io - Signature changed
redb::Database::compact
Call compact(CompactionMode::Balanced) to compact as before. crates.io - Signature changed
redb::Error::TableTypeMismatch
The signature of redb::Error::TableTypeMismatch changed in redb 5.0.0 crates.io - Signature changed
redb::Error::TypeDefinitionChanged
The signature of redb::Error::TypeDefinitionChanged changed in redb 5.0.0 crates.io - Signature changed
redb::OccupiedEntry
Code that names this type must add the new lifetime parameter. crates.io - Signature changed
redb::ReadableDatabase
Was trait ReadableDatabase: SealedInApi5; now trait ReadableDatabase: Sealed. crates.io - Signature changed
redb::ReadableMultimapTable::range
The signature of redb::ReadableMultimapTable::range changed in redb 5.0.0 crates.io - Signature changed
redb::ReadableTable::range
The signature of redb::ReadableTable::range changed in redb 5.0.0 crates.io - Signature changed
redb::ReadOnlyMultimapTable::range_owned
The signature of redb::ReadOnlyMultimapTable::range_owned changed in redb 5.0.0 crates.io - Signature changed
redb::ReadOnlyTable::range_owned
The signature of redb::ReadOnlyTable::range_owned changed in redb 5.0.0 crates.io - Signature changed
redb::StorageBackend::close
Was fn close(&self) -> core::result::Result<(), BackendIoError>; now fn close(&self) -> core::result::Result<(), BackendError>. crates.io - Signature changed
redb::StorageBackend::len
Was fn len(&self) -> core::result::Result<u64, BackendIoError>; now fn len(&self) -> core::result::Result<u64, BackendError>. crates.io - Signature changed
redb::StorageBackend::read
Was fn read(&self, offset: u64, out: &mut [u8]) -> core::result::Result<(), BackendIoError>; now fn read(&self, offset: u64, out: &mut [u8]) -> core::result::Result<(), BackendError>. crates.io - Signature changed
redb::StorageBackend::set_len
Was fn set_len(&self, len: u64) -> core::result::Result<(), BackendIoError>; now fn set_len(&self, len: u64) -> core::result::Result<(), BackendError>. crates.io - Signature changed
redb::StorageBackend::sync_data
Was fn sync_data(&self) -> core::result::Result<(), BackendIoError>; now fn sync_data(&self) -> core::result::Result<(), BackendError>. crates.io - Signature changed
redb::StorageBackend::write
Was fn write(&self, offset: u64, data: &[u8]) -> core::result::Result<(), BackendIoError>; now fn write(&self, offset: u64, data: &[u8]) -> core::result::Result<(), BackendError>. crates.io - Signature changed
redb::Table::entry
The signature of redb::Table::entry changed in redb 5.0.0 crates.io - Signature changed
redb::Table::extract_if
Pass a range first, for example extract_if(.., predicate) to visit the whole table. crates.io - Signature changed
redb::Table::retain_in
The key type no longer needs to be specified in calls. crates.io - Signature changed
redb::TableError::TableTypeMismatch
Its fields are replaced by methods on the new TableTypeMismatch struct. crates.io - Signature changed
redb::TableError::TypeDefinitionChanged
Its fields are replaced by methods on the new TypeDefinitionInfo struct. crates.io - Signature changed
redb::VacantEntry
Code that names this type must add the new lifetime parameter. crates.io - Signature changed
StorageBackend
An io::Error can still be converted with ?. An io::Error of kind Unsupported now becomes BackendError::Io. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.