# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

- CAI 70 → 71 (+1.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 91 → 85 (-5.8)
- Architecture 99 → 99 (+0.0)
- Maturity 63 → 66 (+3.1)
- Readiness 69 → 68 (-0.9)
- Security 79 → 82 (+3.3)
- Performance 80 → 80 (+0.0)

## Resolved (22)

- Duplicated block (10 lines × 2) (fuzz/fuzz_targets/fuzz_redb.rs)
- Duplicated block (10 lines × 4) (src/table.rs)
- Duplicated block (10–12 lines × 2) (src/transactions.rs)
- Duplicated block (11 lines × 2) (src/transactions.rs)
- Duplicated block (21 lines × 2) (src/tree_store/btree.rs)
- Duplicated block (26–28 lines × 3) (src/tree_store/btree_mutator.rs)
- Duplicated block (5 lines × 2) (src/tree_store/page_store/xxh3.rs)
- Duplicated block (6 lines × 2) (fuzz/fuzz_targets/fuzz_redb.rs)
- Duplicated block (6 lines × 2) (src/tree_store/page_store/xxh3.rs)
- Duplicated block (7 lines × 2) (src/multimap_table.rs)
- Duplicated block (7 lines × 2) (src/table.rs)
- Duplicated block (8 lines × 2) (src/table.rs)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Hotspot: fuzz/fuzz_targets/fuzz_redb.rs (fuzz/fuzz_targets/fuzz_redb.rs)
- Hotspot: src/error.rs (src/error.rs)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (src/table.rs)
- MethodTooLong: MultimapTable.insert (src/multimap_table.rs)
- MethodTooLong: MultimapTable.remove (src/multimap_table.rs)
- MultimapTable::insert (cognitive 32) (src/multimap_table.rs)
- …and 2 more

## New (91)

- Duplicated block (10 lines × 2) (fuzz/fuzz_targets/fuzz_corruption.rs)
- Duplicated block (10 lines × 2) (fuzz/fuzz_targets/fuzz_redb.rs)
- Duplicated block (10 lines × 2) (src/transactions.rs)
- Duplicated block (10 lines × 4) (src/table.rs)
- Duplicated block (11 lines × 2) (src/table.rs)
- Duplicated block (12 lines × 2) (fuzz/fuzz_targets/fuzz_corruption.rs)
- Duplicated block (12–14 lines × 2) (fuzz/fuzz_targets/fuzz_corruption.rs)
- Duplicated block (14 lines × 2) (src/tree_store/btree_mutator.rs)
- Duplicated block (16 lines × 2) (src/table.rs)
- Duplicated block (19–20 lines × 2) (src/tree_store/btree_mutator.rs)
- Duplicated block (21 lines × 2) (src/tree_store/btree.rs)
- Duplicated block (26–28 lines × 3) (src/tree_store/btree_mutator.rs)
- Duplicated block (5 lines × 2) (src/tree_store/page_store/xxh3.rs)
- Duplicated block (6 lines × 2) (crates/redb-bench/src/lib.rs)
- Duplicated block (6 lines × 2) (fuzz/fuzz_targets/fuzz_redb.rs)
- Duplicated block (7 lines × 2) (src/multimap_table.rs)
- Duplicated block (8 lines × 2) (src/multimap_table.rs)
- Duplicated block (8 lines × 2) (src/table.rs)
- Duplicated block (8 lines × 2) (src/table.rs)
- Duplicated block (8 lines × 2) (src/transactions.rs)
- …and 71 more

## Changes since last survey

- 113 commits — 109 feature/other, 4 fixes

## By area

- crates/redb-python — 43 commits
- (root) — 41 commits
- src/tree_store — 15 commits
- docs/implementation.md — 3 commits
- src/db.rs — 3 commits
- crates/redb-derive — 2 commits
- crates/redb-no-std-test — 2 commits
- crates/redb-bench-compare — 1 commit
- src/lib.rs — 1 commit
- src/table.rs — 1 commit
- src/types — 1 commit

## Notable commits

- fix: Fix cache_stats() underflowing write_misses during a write
- fix: Fix the docs build with the chrono_v0_4 feature
- fix: Fix the no_std rustdoc links, and build the no_std docs in CI
- fix: Move the fixes that 4.x builds get into a 4.6.0 changelog section
- change: Add BackendError::Other for backend failures that are not I/O errors
- change: Add Builder::set_check_integrity_on_open() and a corruption test for repair
- change: Add Database::close(), which returns the errors that dropping ignores
- change: Add Database::try_begin_write(), which returns WouldBlock rather than waiting
- change: Add ReadOnlyDatabase::close(), and empty the page cache on close
- change: Add a corruption fuzzer for repair and check_integrity()
- change: Add a read-only constructor for storage backends
- change: Add document explaining some implementation decisions
- change: Add some additional implementation decision details
- change: Admit a reader beside a read-only handle of redb 4.3 or 4.4
- change: Adopt the file's length when a peer's uncommitted growth left it longer
- change: Box the TableTypeMismatch and TypeDefinitionChanged details, and report the requested types
- change: Bump redb-derive version to 0.2.1
- change: Bump version to 4.5.0
- change: Bump version to 4.6.0
- change: Cap integrity verification's walk at the database's page count
- …and 93 more
