Skip to content

[v0.51.0] Bump version to 0.51.0#1013

Merged
arkrishn94 merged 2 commits intomainfrom
u/adkrishnan/bump-0.51.0
May 5, 2026
Merged

[v0.51.0] Bump version to 0.51.0#1013
arkrishn94 merged 2 commits intomainfrom
u/adkrishnan/bump-0.51.0

Conversation

@arkrishn94
Copy link
Copy Markdown
Contributor

@arkrishn94 arkrishn94 commented May 4, 2026

Bump version to 0.51.0 due to propagate changes to downstream consumers

Breaking API changes (AI Generated)

  • ObjectPool moved (Move ObjectPool from diskann to diskann-utils #975): now lives in diskann-utils. Update imports from diskann::...::ObjectPooldiskann_utils::ObjectPool.

  • AlignedSlice removed (remove alignedslice and replace with direct poly calls #994): the AlignedSlice abstraction in diskann-vector is gone. Code that converted between vector representations through AlignedSlice should now use the Poly / CastFromSlice polymorphic interfaces directly (see diskann-vector::conversion and diskann-quantization::alloc::poly). Storage that previously held AlignedSlice values should hold Poly<T, A> instead.

  • AsThreadPool generic removed (Remove AsThreadPool generic and take &RayonThreadPool directly #967): functions that previously took pool: impl AsThreadPool now take pool: &RayonThreadPool. Pass a borrow of an existing pool; remove the generic parameter from your call sites.

  • sgemm() returns Result (Replace sgemm() panics with Result-based error handling #997): in diskann-linalg, the new signature is:

    pub fn sgemm(
        atranspose: Transpose, btranspose: Transpose,
        m: usize, n: usize, k: usize,
        alpha: f32, a: &[f32], b: &[f32],
        beta: Option<f32>, c: &mut [f32],
    ) -> Result<(), SgemmError>

    SgemmError has variants InvalidMatrixDimensions { matrix_name, expected_rows, expected_cols, actual_len } and DimensionOverflow { matrix_name, rows, cols }. Replace previous panic-on-bad-input assumptions with explicit handling.

  • Benchmarks are stateful ([benchmark/filtered-search prep] Make benchmarks stateful #995): the Benchmark impls in diskann-benchmark are no longer stateless unit structs. Each benchmark type now has a ::new() constructor (often holding PhantomData<T> or plugin state), and registration uses an instance:

    // before
    benchmarks.register("name", MyBench);
    // after
    benchmarks.register("name", MyBench::<T>::new());

    If you wrote a custom benchmark, give it a new() and register an instance. Combined with [benchmark/filtered-search prep] Search Plugins #996, search-side benchmarks now compose Plugins<Provider, Phase, Strategy> and expose builder methods like .search(plugin) to register search plugins on the instance.

  • diskann-benchmark: asyncgraph-index (Rename async to graph-index in diskann-benchmark #1009): the benchmark category previously named async was renamed to graph-index. JSON config type values and example file names changed accordingly:

    • async-buildgraph-index-build
    • async-dynamic-rungraph-index-dynamic-run
    • and the same prefix swap for *-pq, *-sq, *-spherical-quantization, etc.

    Update any benchmark config files, scripts, or CI that reference the old async-* names.

  • diskann-disk buffer alignment decoupled from block_size ([diskann-disk] Decouple buffer memory alignment from disk block_size #984): code that assumed I/O buffer alignment equals the disk block size should now configure alignment explicitly.

Non-breaking

Full Changelog: v0.50.1...v0.51.0

@arkrishn94 arkrishn94 requested review from a team, Copilot and hildebrandmw May 4, 2026 23:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Bumps the Rust workspace/package version to 0.51.0 to propagate breaking API changes to downstream consumers.

Changes:

  • Update [workspace.package] version to 0.51.0
  • Update all workspace.dependencies internal crate versions to 0.51.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Cargo.toml
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.51%. Comparing base (be804aa) to head (7e3b993).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1013      +/-   ##
==========================================
- Coverage   90.63%   89.51%   -1.12%     
==========================================
  Files         460      460              
  Lines       85424    85424              
==========================================
- Hits        77427    76471     -956     
- Misses       7997     8953     +956     
Flag Coverage Δ
miri 89.51% <ø> (-1.12%) ⬇️
unittests 89.36% <ø> (-1.24%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 45 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@arkrishn94 arkrishn94 force-pushed the u/adkrishnan/bump-0.51.0 branch from 63d8dea to 12861d6 Compare May 5, 2026 00:20
@arkrishn94 arkrishn94 changed the title [v0.51.0] Bump workspace version to 0.51.0 [v0.51.0] Fix crate publish CI and bump workspace version to 0.51.0 May 5, 2026
Comment thread .github/workflows/publish.yml
@arkrishn94 arkrishn94 changed the title [v0.51.0] Fix crate publish CI and bump workspace version to 0.51.0 [v0.51.0] Bump version to 0.51.0 May 5, 2026
Copy link
Copy Markdown
Contributor

@hildebrandmw hildebrandmw left a comment

Choose a reason for hiding this comment

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

Thanks!

@arkrishn94 arkrishn94 enabled auto-merge (squash) May 5, 2026 20:19
@arkrishn94 arkrishn94 merged commit d06369e into main May 5, 2026
25 checks passed
@arkrishn94 arkrishn94 deleted the u/adkrishnan/bump-0.51.0 branch May 5, 2026 20:19
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.

5 participants