Skip to content

chore(release): bump GroveDB to 7.0.0 - #1068

Merged
QuantumExplorer merged 2 commits into
developfrom
chore/release-7.0.0
Nov 24, 2026
Merged

QuantumExplorer merged 2 commits into
developfrom
chore/release-7.0.0

Conversation

@QuantumExplorer

@QuantumExplorer QuantumExplorer commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Basic explanation

What this does: Bumps every GroveDB workspace crate from 6.1.1 to 7.0.0 and cuts the changelog's [Unreleased] section as [7.0.0] - 2026-11-24, so 7.0.0 can be tagged and published to crates.io.

Value: develop is 34 commits past v6.1.1, and 20 of them are marked breaking, so the next release is a major one. It carries GROVE_V5, the trees with a 128-bit sum and their indexed forms, the in-place conversion of a 64-bit sum tree, branch-local count offsets, position-range reads of a private document store, and the referrer list of a bidirectional-reference target leaving node hashes (#1059).

Risks: Low. Version strings, the changelog and the README only. No Rust source changes.

Issue being fixed or feature implemented

Release 7.0.0 with everything merged since 6.1.1 (#1025 to #1064).

What was done?

Before:

grovedb = "6.1.1"
grovedb-version = "6.1.1"

After:

grovedb = "7.0.0"
grovedb-version = "7.0.0"

How Has This Been Tested?

  • cargo metadata --no-deps lists all 16 GroveDB crates at 7.0.0 and the two bincode crates at 2.1.0.
  • cargo metadata resolves the full dependency graph with the new versions.
  • No local build or test run: nothing but manifests and Markdown changed, so the build is left to CI.

Breaking Changes

None in this PR. The release it prepares is breaking; the 20 breaking PRs since 6.1.1 are each marked BREAKING in the 7.0.0 changelog section.

After merge

Publish the GitHub release v7.0.0 at the merge commit. That starts the Release Crates workflow, which checks the tag against the grovedb crate version and publishes to crates.io.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · 31b30f0

  • Bots — coderabbitai ✓ · thepastaclaw requested changes — dismiss the review or push a fix, 1 thread unresolved — resolve it
  • Self-review — post /self-reviewed
  • Build green
  • Approvals — you own every area touched; none needed

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • New Features
    • Version 7.0 adds 128-bit sum trees, indexed trees, big-sum queries and conversion, and private document store range proofs.
    • Updates include indexed-secondary reconciliation, revised storage-flag updates and batch behavior, and V5 proof and query changes.
  • Bug Fixes
    • Fixes address verification, storage errors, batch validation, aggregate checks, proof validation, and estimation.
  • Documentation
    • Added a v7 upgrade guide covering version selection, compatibility changes, and migration considerations. Databases containing affected backward references may require attention when verifying proofs.

7.0.0 carries the 34 changes merged since 6.1.1, 20 of them breaking:
GROVE_V5 (now what GroveVersion::latest() selects), the trees with a
128-bit sum and their indexed forms, the in-place conversion of a 64-bit
sum tree, branch-local count offsets, position-range reads of a private
document store, and the referrer list of a bidirectional-reference target
leaving node hashes.

All workspace crates move to 7.0.0; grovedb-bincode and
grovedb-bincode-derive stay at 2.1.0. The changelog's Unreleased section
is cut as 7.0.0 and gains the entry #1036 did not add. The README pins
7.0.0 and gains an "Upgrading to 7.0" section.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates GroveDB workspace crate versions from 6.1.1 to 7.0.0. It adds a 7.0.0 changelog entry, updates README dependency examples, and documents version behavior, API changes, compatibility notes, and backward-reference hashing consequences.

Changes: GroveDB 7.0.0 Release

Layer / File(s) Summary
Workspace version alignment
*/Cargo.toml
Workspace crate versions and local GroveDB dependency requirements change from 6.1.1 to 7.0.0. Dependency paths, feature settings, and optionality remain unchanged.
Release and upgrade documentation
CHANGELOG.md, README.md
The changelog adds 7.0.0 release information, including a count-offset proof verifier check. The README updates dependency examples and adds upgrade guidance covering V5 behavior, compatibility changes, and backward-reference hashing consequences.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 31b30

This is a release-preparation change that bumps versions and updates documentation. It does not change runtime behavior. The only open uncertainty is the accuracy of one README migration note, which does not block merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(release): bump GroveDB to 7.0.0" matches the main change. The PR updates the 16 workspace crates from 6.1.1 to 7.0.0, cuts the changelog release section, and updates the README upgrad…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(release): bump GroveDB to 7.0.0" matches the main change. The PR updates the 16 workspace crates from 6.1.1 to 7.0.0, cuts the changelog release section, and updates the README upgrade guidance. The title names the version bump but does not mention the README upgrade guide or the changelog cut, which are secondary parts of the change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 91c1121d-e76d-4e6b-8617-9da105e766fa
Commits

Reviewing files that changed from the base of the PR and between bf5297f and 31b30f0.

Files selected for processing: 18

  • CHANGELOG.md
  • README.md
  • costs/Cargo.toml
  • grovedb-bulk-append-tree/Cargo.toml
  • grovedb-commitment-tree/Cargo.toml
  • grovedb-dense-fixed-sized-merkle-tree/Cargo.toml
  • grovedb-element/Cargo.toml
  • grovedb-epoch-based-storage-flags/Cargo.toml
  • grovedb-merkle-mountain-range/Cargo.toml
  • grovedb-private-document-store/Cargo.toml
  • grovedb-query/Cargo.toml
  • grovedb-version/Cargo.toml
  • grovedb/Cargo.toml
  • grovedbg-types/Cargo.toml
  • merk/Cargo.toml
  • path/Cargo.toml
  • storage/Cargo.toml
  • visualize/Cargo.toml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Waiting for bot review — coderabbitai not yet · thepastaclaw requested changes — dismiss the review or push a fix, 1 thread unresolved — resolve it. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 24, 2026
@thepastaclaw

thepastaclaw commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

⛔ Final review complete — 1 blocking finding(s) (commit 31b30f0) · triage: trivial · Phase 2 only (no Phase 1 for this repository)

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 2 only (no Phase 1 for this repository)

Changes requested: 1 blocker

  • Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io — README.md:45 (new)
    Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.

This PR bumps 16 GroveDB workspace crates to 7.0.0, cuts the changelog, and adds an upgrade guide without changing Rust source. Linting and Ubuntu test shard 2 passed; formatting, Ubuntu shards 1 and 3, and the Commitment Tree slow tests were pending.

🔴 1 blocking | 🟡 1 suggestion(s)

Review provenance

Source: reviewer 1: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: platform-versioning); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: trivial by gpt-6.2-sol (effort low) — The diff only updates crate and dependency version metadata, the changelog, and upgrade documentation; it does not change runtime behavior.
  • Phase 1 reviewers: not run (disabled for this repository)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort low); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort low); agent phase2-reviewer, gpt-6.2-sol — platform-versioning (completed, effort low); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `README.md`:
- [BLOCKING] README.md:45: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
  Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.
  The release workflow can upload earlier workspace crates but cannot reach the main `grovedb` crate. The `v7.0.0` tag matches the manifest version, but `grovedb-commitment-tree/Cargo.toml:20` declares the Dash Orchard fork only by Git tag, with no registry version. Cargo rejects that dependency when packaging for crates.io. `.github/workflows/release-crates.yml:81–86` puts `grovedb-commitment-tree` before `grovedb`, and the publish loop exits on failure, so retrying only skips uploads that already succeeded. Before cutting the release, publish and use a registry version of the required Orchard fork, including making its own Git-only note-encryption dependency registry-compatible. Pointing at upstream Orchard would not preserve the Dash-specific APIs GroveDB uses.
- [SUGGESTION] README.md:156-160: The upgrade guide makes empty referrer lists sound safe to upgrade in place
  Impact: Operators who stored a backward-reference-capable item in 6.1.1 but never registered a referrer may skip migration and retain stored value hashes that 7.0 cannot reproduce.
  An empty referrer list does not make an existing value hash compatible with 7.0. In 6.1.1, `Element::backward_references()` returns `Some` for each backward-reference-capable variant even when its list is empty, and `ElementExt::backward_references_hashes` hashes and combines that serialized empty list. Version 7.0 removes that hash layer for every Grove version, so pinning `GROVE_V4` does not help. Clarify that the exception covers every stored `*WithBackwardsReferences` item and `BidirectionalReference`, even if no referrer was ever registered.

Comment thread README.md
[dependencies]
grovedb = "6.1.1"
grovedb-version = "6.1.1"
grovedb = "7.0.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Blocking: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
Impact: After maintainers publish the v7.0.0 GitHub release, downstream users following either README install example still cannot resolve GroveDB 7.0.0 from crates.io.

The release workflow can upload earlier workspace crates but cannot reach the main grovedb crate. The v7.0.0 tag matches the manifest version, but grovedb-commitment-tree/Cargo.toml:20 declares the Dash Orchard fork only by Git tag, with no registry version. Cargo rejects that dependency when packaging for crates.io. .github/workflows/release-crates.yml:81–86 puts grovedb-commitment-tree before grovedb, and the publish loop exits on failure, so retrying only skips uploads that already succeeded. Before cutting the release, publish and use a registry version of the required Orchard fork, including making its own Git-only note-encryption dependency registry-compatible. Pointing at upstream Orchard would not preserve the Dash-specific APIs GroveDB uses.

source: gpt-6.2-sol (phase2-reviewer: general, architecture-layering, platform-versioning)

Comment thread README.md Resolved
…vers

The upgrade note said a database that never stored "an element with
backward references" needs no migration, which reads as one with
registered referrers. 6.1.1 hashed the referrer list of every element of
the family, an empty list included, so the note now names the four
element types and says an empty list does not exempt one.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Waiting for bot review — coderabbitai not yet · thepastaclaw requested changes — dismiss the review or push a fix, 1 thread unresolved — resolve it. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review — Final validation — Phase 2 only (no Phase 1 for this repository)

Changes requested: 1 blocker

  • Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io — README.md:45 (thread, carried)
    Impact: After maintainers publish the GitHub release as instructed, users following the Quick Start cannot resolve grovedb = "7.0.0" from crates.io.

New on this head: The follow-up clarifies that the 7.0 upgrade warning applies to all four backward-reference element types, even when no referrer was ever registered, and that selecting an older GroveVersion does not preserve their hashes. The Ubuntu and commitment-tree tests, linting, formatting, and security audit are still pending; no code checks have failed.

🔴 1 blocking

Still open from earlier rounds (1)

  • 🔴 Blocking: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io — README.md:45 (thread)
Review provenance

Source: reviewer 1: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: platform-versioning); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: trivial by gpt-6.2-sol (effort low) — The diff only updates manifest version strings and release documentation; it does not change runtime behavior.
  • Phase 1 reviewers: not run (disabled for this repository)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort low); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort low); agent phase2-reviewer, gpt-6.2-sol — platform-versioning (completed, effort low); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `README.md`:
- [BLOCKING] README.md:45: Publishing the v7.0.0 GitHub release leaves GroveDB unavailable on crates.io
  (carried; thread: https://github.com/dashpay/grovedb/pull/1068#discussion_r4679429729)

Comment thread README.md Resolved
@github-actions

Copy link
Copy Markdown

Your move: thepastaclaw requested changes on this head; dismiss the review or push a fix; thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 24, 2026
@QuantumExplorer
QuantumExplorer merged commit 5a39eaa into develop Nov 24, 2026
18 of 20 checks passed
@QuantumExplorer
QuantumExplorer deleted the chore/release-7.0.0 branch November 24, 2026 12:33
PastaPastaPasta added a commit that referenced this pull request Nov 24, 2026
Brings develop up to 5a39eaa: #1068, the release bump of GroveDB to
7.0.0 (the version of every crate and of the crates' requirements on each
other, the changelog's heading and the readme). No source file changes.

Two manifests conflicted, grovedb/Cargo.toml and merk/Cargo.toml, where
the dependency lists hold the LigninDB crates beside the lines the bump
rewrote: both keep this branch's lists with the new version. The LigninDB
crates (lignin-format, lignin-io, lignin-store, lignin-tree, lignindb,
lignin-tools, lignin-testkit) follow the workspace to 7.0.0, with their
requirements on the GroveDB crates and on each other; storage/Cargo.toml's
requirement on lignin-io likewise.

Part of #1052.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-self-review Waiting for the author to post /self-reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants