Skip to content

chore(deps)(deps): update redb requirement from 2.1 to 3.1#28

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/redb-3.1
Open

chore(deps)(deps): update redb requirement from 2.1 to 3.1#28
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/redb-3.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Updates the requirements on redb to permit the latest version.

Release notes

Sourced from redb's releases.

3.1.1

  • Fix panic which could occur when inserting into a table with fixed size keys when debug_assertions are enabled
  • Add additional information to the stats returned by cache_stats()
Changelog

Sourced from redb's changelog.

3.1.1 - 2026-03-08

  • Fix panic which could occur when inserting into a table with fixed size keys when debug_assertions are enabled
  • Add additional information to the stats returned by cache_stats()

3.1.0 - 2025-09-25

  • Implement std::error::Error for SetDurabilityError
  • Fix compilation error on various non-tier-1 platforms, such as wasm32-unknown

3.0.2 - 2025-09-16

  • Fix performance issue where a transaction with a large number of writes would cause WriteTransaction::abort() and committing non-durable transactions to become slow.

3.0.1 - 2025-08-23

  • Fix correctness issue with range(), extract_from_if(), and retain_in(). If a RangeBounds with start > end was passed as an argument and start and end keys were stored in different internal pages in the database (i.e. a sufficient condition is that more than 4KiB of key-value pairs were between the two keys) then these methods would perform as if the argument had been start..
  • Fix performance regression, from redb 2.x, where Durability::None commits could become linearly slower during a series of transactions.

2.6.3 - 2025-08-23

  • Fix correctness issue with range(), extract_from_if(), and retain_in(). If a RangeBounds with start > end was passed as an argument and start and end keys were stored in different internal pages in the database (i.e. a sufficient condition is that more than 4KiB of key-value pairs were between the two keys) then these methods would perform as if the argument had been start..

1.5.2 - 2025-08-23

  • Fix correctness issue with range(), drain(), and drain_filter(). If a RangeBounds with start > end was passed as an argument and start and end keys were stored in different internal pages in the database (i.e. a sufficient condition is that more than 4KiB of key-value pairs were between the two keys) then these methods would perform as if the argument had been start..

3.0.0 - 2025-08-09

Removes support for file format v2.

Use Database::upgrade(), in redb 2.6, to migrate to the v3 file format.

General storage optimizations

The v3 file format has been further optimized to reduce the size of the database. Databases with only a few small keys will see the largest benefit, and the minimum size of a database file has decreased from ~2.5MiB to ~50KiB. To achieve the smallest file size call Database::compact() before dropping the Database.

Additionally, performance is ~15% better in bulk load benchmarks. This was achieved by implementing a custom hash function for various in-memory HashSets and HashMaps, and by optimizing the usage of buffers held in Arcs to reduce the number of atomic instructions executed.

... (truncated)

Commits
  • fc2b084 Bump version to 3.1.1
  • bcc1fa3 Update changelog
  • eb1c9da Fix panic inserting into fixed size key table
  • c14d694 Bump dependencies: pyo3, rusqlite, rand
  • 2aa4137 Example of derived Key and Value
  • 32f8a13 Fix ambiguity comparing against usize
  • f18fc13 Fix example in README
  • b752306 Add additional information to the cache stats
  • 574f1cf Bump version to 3.1.0
  • 496c4e8 Update changelog
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [redb](https://github.com/cberner/redb) to permit the latest version.
- [Release notes](https://github.com/cberner/redb/releases)
- [Changelog](https://github.com/cberner/redb/blob/master/CHANGELOG.md)
- [Commits](cberner/redb@v2.2.0...v3.1.1)

---
updated-dependencies:
- dependency-name: redb
  dependency-version: 3.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 16, 2026

Labels

The following labels could not be found: 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.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants