Skip to content

Bump redb from 3.1.1 to 4.0.0#245

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/redb-4.0.0
Open

Bump redb from 3.1.1 to 4.0.0#245
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/redb-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2026

Bumps redb from 3.1.1 to 4.0.0.

Release notes

Sourced from redb's releases.

4.0.0

  • Implement Drop on AccessGuardMut and AccessGuardMutInPlace, which requires that these be dropped before the Table they borrow from. This fixes a critical bug where the accessor could outlive the Table, and be dropped after the transaction had already committed. This could cause data loss due to the data in the accessor being written out after the transaction had already completed.
  • Remove Legacy type. To migrate off the Legacy type, use the Legacy type in the 3.x release and copy the data to a table with plain tuples, before upgrading to the 4.x release.

3.1.3

  • Fix a data loss bug which can occur when the guard returned from Table::get_mut() is dropped after the transaction has been committed.
  • Add a warning to Table::insert_reserve() indicating that it can cause data loss and recommending to upgrade to the 4.0.0 release.

3.1.2

  • Reduce memory usage of open databases
Changelog

Sourced from redb's changelog.

4.0.0 - 2026-04-02

  • Implement Drop on AccessGuardMut and AccessGuardMutInPlace, which requires that these be dropped before the Table they borrow from. This fixes a critical bug where the accessor could outlive the Table, and be dropped after the transaction had already committed. This could cause data loss due to the data in the accessor being written out after the transaction had already completed.
  • Remove Legacy type. To migrate off the Legacy type, use the Legacy type in the 3.x release and copy the data to a table with plain tuples, before upgrading to the 4.x release.

3.1.3 - 2026-04-02

  • Fix a data loss bug which can occur when the guard returned from Table::get_mut() is dropped after the transaction has been committed.
  • Add a warning to Table::insert_reserve() indicating that it can cause data loss and recommending to upgrade to the 4.0.0 release.

3.1.2 - 2026-04-01

  • Reduce memory usage of open databases
Commits
  • faf47ff Bump version to 4.0.0
  • e72e3fd Update changelog
  • df5759e Add a lifetime to PageMut
  • 8a3524a Add Drop impl to AccessGuardMut
  • 9cce627 Add Drop impl to AccessGuardMutInPlace
  • 97fc5ea Remove Legacy type
  • 50e100b Hacky fix for potential data loss when using Table::get_mut()
  • c67e8ea Bump version to 3.1.2
  • a282188 Update changelog
  • 6340178 perf: lazily size RegionTracker bitmaps to reduce memory overhead (#1111)
  • 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 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](https://github.com/cberner/redb) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/cberner/redb/releases)
- [Changelog](https://github.com/cberner/redb/blob/master/CHANGELOG.md)
- [Commits](cberner/redb@v3.1.1...v4.0.0)

---
updated-dependencies:
- dependency-name: redb
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants