---
title: "redb 5.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each redb release removed, renamed or changed: 43 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/redb
last_updated: 2026-12-04
---

# 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

Latest version `5.0.1`, released December 2, 2026. [Source repository](https://github.com/cberner/redb)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## redb 5.0.0 breaking changes

redb 5.0.0, released November 18, 2026: 43 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](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Removed** `redb::Builder::create_file`  

Use Builder::create_with_backend(FileBackend::new(file)) instead. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::ReadOnlyMultimapTable::get`  

Use the get method from the ReadableMultimapTable trait, or get_owned() if the result must outlive the table. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::ReadOnlyMultimapTable::range`  

Use the range method from the ReadableMultimapTable trait, or range_owned() if the result must outlive the table. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::ReadOnlyTable::get`  

Use the get method from the ReadableTable trait, or get_owned() if the result must outlive the table. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::ReadOnlyTable::range`  

Use the range method from the ReadableTable trait, or range_owned() if the result must outlive the table. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::Table::extract_from_if`  

Use extract_if instead. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Removed** `redb::WriteTransaction::print_allocated_page_debug`  

The debug method is gone and has no replacement named in the notes. [crates.io](https://crates.io/crates/redb/5.0.0)
- **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](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Behavior changed**  

A read-only open now fails with DatabaseError::LockProtocolMismatch in that case, where it was previously allowed in ExclusiveWriter mode. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **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](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Behavior changed** `MultimapRange`  

Mutating a table while a range over it is still in scope is now a compile error. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Behavior changed** `Range`  

Mutating a table while a range over it is still in scope is now a compile error. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Behavior changed** `ReadableDatabase`  

Code outside redb can no longer implement ReadableDatabase. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Configuration changed** `std`  

If you use default-features = false, add the std feature to keep building with the standard library. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `Entry`  

Code that names this type must add the new lifetime parameter. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `range`  

The key type no longer needs to be specified, so table.range::\<u64>(..) becomes table.range(..). [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `range_owned`  

The key type no longer needs to be specified in calls. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `ReadableTable.lower_bound`  

Implementations of ReadableTable must now provide lower_bound. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `ReadableTable.upper_bound`  

Implementations of ReadableTable must now provide upper_bound. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)
- **Signature changed** `redb::backends::FileBackend::new`  

Remove the error handling applied to the return value of FileBackend::new. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Database::compact`  

Call compact(CompactionMode::Balanced) to compact as before. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Error::TableTypeMismatch`  

The signature of redb::Error::TableTypeMismatch changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Error::TypeDefinitionChanged`  

The signature of redb::Error::TypeDefinitionChanged changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::OccupiedEntry`  

Code that names this type must add the new lifetime parameter. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::ReadableDatabase`  

Was trait ReadableDatabase: SealedInApi5; now trait ReadableDatabase: Sealed. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::ReadableMultimapTable::range`  

The signature of redb::ReadableMultimapTable::range changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::ReadableTable::range`  

The signature of redb::ReadableTable::range changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::ReadOnlyMultimapTable::range_owned`  

The signature of redb::ReadOnlyMultimapTable::range_owned changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::ReadOnlyTable::range_owned`  

The signature of redb::ReadOnlyTable::range_owned changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::StorageBackend::close`  

Was fn close(&self) -> core::result::Result<(), BackendIoError>; now fn close(&self) -> core::result::Result<(), BackendError>. [crates.io](https://crates.io/crates/redb/5.0.0)
- **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](https://crates.io/crates/redb/5.0.0)
- **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](https://crates.io/crates/redb/5.0.0)
- **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](https://crates.io/crates/redb/5.0.0)
- **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](https://crates.io/crates/redb/5.0.0)
- **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](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Table::entry`  

The signature of redb::Table::entry changed in redb 5.0.0 [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Table::extract_if`  

Pass a range first, for example extract_if(.., predicate) to visit the whole table. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::Table::retain_in`  

The key type no longer needs to be specified in calls. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::TableError::TableTypeMismatch`  

Its fields are replaced by methods on the new TableTypeMismatch struct. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::TableError::TypeDefinitionChanged`  

Its fields are replaced by methods on the new TypeDefinitionInfo struct. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `redb::VacantEntry`  

Code that names this type must add the new lifetime parameter. [crates.io](https://crates.io/crates/redb/5.0.0)
- **Signature changed** `StorageBackend`  

An io::Error can still be converted with ?. An io::Error of kind Unsupported now becomes BackendError::Io. [github.com](https://github.com/cberner/redb/releases/tag/v5.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
