Skip to content

build(deps): Bump redb from 4.4.0 to 4.5.0 in /rust in the minor-and-patch group - #34

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/minor-and-patch-32408cfec0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/minor-and-patch-32408cfec0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bumps the minor-and-patch group in /rust with 1 update: redb.

Updates redb from 4.4.0 to 4.5.0

Release notes

Sourced from redb's releases.

4.5.0

Multi-process support

Database files cannot be shared between processes using these modes and processes using the experimental-multiprocess feature of redb 4.3 or 4.4. Their locking is incompatible, and 4.5 can't detect the older processes.

  • Add Builder::set_concurrency_mode(), which takes a ConcurrencyMode configuring how processes may share the database.
  • ConcurrencyMode::ExclusiveWriter (the default) locks the whole file, as earlier versions do.
  • ConcurrencyMode::SingleWriter allows one process to write, and any number of processes may open the database read-only.
  • ConcurrencyMode::MultiWriter allows any number of processes to open the database for writing, one write transaction at a time, and any number may open it read-only.

New features

  • Add Builder::open_read_only_with_backend() to open a read-only database from a storage backend.
  • Add Builder::set_check_integrity_on_open(), which verifies the whole file on every open() instead of trusting the state recorded by a clean shutdown.
  • Add ReadOnlyDatabase::close(), which releases the file and its locks without waiting for the read transactions opened from the database to be dropped.
  • Add Database::close(), which closes the database as dropping it does, but returns any error rather than ignoring it.
  • Add Database::try_begin_write(), which returns TransactionError::WouldBlock instead of waiting for an in-progress write transaction to finish.

Performance

  • Operations on tables with &str or String keys are faster.

Deprecations

  • Builder::create_file() is deprecated; use Builder::create_with_backend(FileBackend::new(file)?) instead.
  • WriteTransaction::print_allocated_page_debug() is deprecated. It is an internal debugging aid, present only in debug builds.

Bug fixes

  • open() reports a malformed allocator state as StorageError::Corrupted instead of panicking.
  • Repair and check_integrity() verify the trees kept by persistent savepoints, which were not checked before.
  • Fix cache_stats(), with the cache_metrics feature, panicking in debug builds or returning a write_misses() near u64::MAX in release builds when called while another thread is writing.
  • Repair, check_integrity(), and commit() report some forms of file corruption as StorageError::Corrupted instead of panicking. This cannot occur in normal operation, and only effects database which were externally modified.
Changelog

Sourced from redb's changelog.

4.5.0 - 2026-11-05

Multi-process support

Database files cannot be shared between processes using these modes and processes using the experimental-multiprocess feature of redb 4.3 or 4.4. Their locking is incompatible, and 4.5 can't detect the older processes.

  • Add Builder::set_concurrency_mode(), which takes a ConcurrencyMode configuring how processes may share the database.
  • ConcurrencyMode::ExclusiveWriter (the default) locks the whole file, as earlier versions do.
  • ConcurrencyMode::SingleWriter allows one process to write, and any number of processes may open the database read-only.
  • ConcurrencyMode::MultiWriter allows any number of processes to open the database for writing, one write transaction at a time, and any number may open it read-only.

New features

  • Add Builder::open_read_only_with_backend() to open a read-only database from a storage backend.
  • Add Builder::set_check_integrity_on_open(), which verifies the whole file on every open() instead of trusting the state recorded by a clean shutdown.
  • Add ReadOnlyDatabase::close(), which releases the file and its locks without waiting for the read transactions opened from the database to be dropped.
  • Add Database::close(), which closes the database as dropping it does, but returns any error rather than ignoring it.
  • Add Database::try_begin_write(), which returns TransactionError::WouldBlock instead of waiting for an in-progress write transaction to finish.

Performance

  • Operations on tables with &str or String keys are faster.

Deprecations

  • Builder::create_file() is deprecated; use Builder::create_with_backend(FileBackend::new(file)?) instead.
  • WriteTransaction::print_allocated_page_debug() is deprecated. It is an internal debugging aid, present only in debug builds.

Bug fixes

  • open() reports a malformed allocator state as StorageError::Corrupted instead of panicking.
  • Repair and check_integrity() verify the trees kept by persistent savepoints, which were not checked before.
  • Fix cache_stats(), with the cache_metrics feature, panicking in debug builds or returning a write_misses() near u64::MAX in release builds when called while another thread is writing.
  • Repair, check_integrity(), and commit() report some forms of file corruption as StorageError::Corrupted instead of panicking. This cannot occur in normal operation, and only effects database which were externally modified.

redb-derive 0.2.0 - 2026-10-13

  • Fix #[derive(Value)] and #[derive(Key)] failing to compile on structs whose lifetimes are named 'a or 'b; the generated implementations no longer shadow the struct's lifetimes.
  • Fix the derived implementations calling inherent methods named fixed_width, from_bytes, as_bytes, or type_name on field types, instead of the Value trait methods. The generated code now uses fully qualified paths, and no longer requires the Value and Key traits to be in scope at the derive site.
  • Add #[redb(crate = "...")] to name the crate the implementations are generated for, when redb is renamed or present in several versions. Structs with fields require redb 3.0+.

... (truncated)

Commits
  • 96ce31f Bump version to 4.5.0
  • 9ee2405 Update changelog
  • 7ad68a3 redb-python: the README no longer says write transactions take turns
  • 17a28fa redb-python: leaving with db: keeps the exception that is propagating
  • 58a001d Leave development files out of the crates.io package and the Python sdist
  • fffa5fa redb-python: Ctrl-C interrupts a begin_write() waiting for another writer
  • 893a1be Add Database::try_begin_write(), which returns WouldBlock rather than waiting
  • 7b70c69 redb-python: both databases close through redb's close(), in one helper
  • 77258c3 redb-python: reads after close are left to redb, without check_open()
  • ff4a789 redb-python: entering a closed database raises DatabaseClosed
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the minor-and-patch group in /rust with 1 update: [redb](https://github.com/cberner/redb).


Updates `redb` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/cberner/redb/releases)
- [Changelog](https://github.com/cberner/redb/blob/master/CHANGELOG.md)
- [Commits](cberner/redb@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: redb
  dependency-version: 4.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from ckir as a code owner November 10, 2026 06:12
@dependabot @github

dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: cargo, dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants