Skip to content

[Version] Set version to 0.60.0 - #1460

Merged
Mark Hildebrand (hildebrandmw) merged 1 commit into
mainfrom
mhildebr/v0.60.0
Oct 5, 2026
Merged

Mark Hildebrand (hildebrandmw) merged 1 commit into
mainfrom
mhildebr/v0.60.0

Conversation

@hildebrandmw

@hildebrandmw Mark Hildebrand (hildebrandmw) commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

DiskANN v0.60.0

Major Changes

diskann-utils: Matrix API changes

There have been significant changes to the matrix APIs in diskann-utils. The previous contents of diskann_utils::views have been moved to diskann_utils::views::rowmajor. The following type changes have been made

v0.59 v0.60 Remarks
views::Matrix<T> views::rowmajor::Owned<T> Size changed from 32 bytes to 24 bytes
views::MatrixView<'a, T> views::rowmajor::Ref<'a, T> Size changed from 32 bytes to 24 bytes
views::MatrixViewMut<'a, T> views::rowmajor::Mut<'a, T> Size changed from 32 bytes to 24 bytes
MatrixBase inherent methods rowmajor::Matrix and rowmajor::MatrixMut trait methods

The rowmajor::Matrix and rowmajor::MatrixMut trait methods need to be imported to access most matrix functionality. In addition, the following methods have been renamed and changed:

v0.59 v0.60 Remark
row_iter rows No longer panics when ncols == 0
row_iter_mut rows_mut No longer panics when ncols == 0
par_row_iter par_rows No longer panics when ncols == 0
par_row_iter_mut par_rows_mut
get_row_unchecked row_unchecked
get_row_unchecked_mut row_unchecked_mut
as_mut_view as_view_mut
try_from constructors try_from_data

In addition,

  • The Index and IndexMut implementations have been removed. Use Matrix::element and Matrix::element_mut instead.
  • The Init and Generator style constructors for Matrix::new have been removed. Instead, rowmajor::Owned::from_fn and rowmajor::Owned::from_element can be used instead. The former's closure has been changed to take an argument rowmajor::RowCol indicated the row and column being initialized. Both of these constructors take now take the initializer as the last argument.
  • Matrix constructors validate against integer overflow and isize::MAX allocations via a rowmajor::Layout<T> layout. Constructors panic if these validations fail. try_* variations of these constructors which return rowmajor::LayoutError instead.

diskann-utils: Strided API changes

  • Structs StridedBase, StridedView, and MutStridedView were collapsed into a single, immutable Strided<'a, T>.
  • strided::linear_length was removed, use strided::Layout::linear_length instead.
  • strided::TryFromErrorLight was removed.
  • strided::TryFromError changed from a struct to an enum, and into_inner/as_static were removed.

diskann

InsertStrategy is no longer a SearchStrategy subtrait. Implementations must now provide

type SearchAccessor;
type SearchAccessorError;

fn insert_search_accessor(...) -> Result<Self::SearchAccessor, Self::SearchAccessorError>;

Previously, insert_search_accessor had a provided implementation forwarding to SearchStrategy::search_accessor. That default is now gone. This change was done to decouple insert element types from search element types.

diskann-disk

The publicly re-exported types below were removed in favor of standard buffered I/O:

diskann_disk::storage::CachedReader
diskann_disk::storage::CachedWriter

Consumers should migrate to std::io::BufReader/BufWriter and the relevant storage-provider reader/writer. READ_WRITE_BLOCK_SIZE also changed from u64 to usize.

diskann-quantization

These public traits now require Debug:

spherical::iface::Quantizer
spherical::iface::DynQueryComputer
spherical::iface::DynDistanceComputer

diskann-inmem (experimental)

The old layers abstraction was removed and replaced by the Representation/Store/Slots architecture. And support for a spherically quantized backed was added.

Full Change Log

New Contributors

Full Changelog: v0.59.0...v0.60.0

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

All workspace package and dependency versions are consistently updated.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the DiskANN workspace release version from 0.59.0 to 0.60.0.

Changes:

  • Bumps workspace package and internal dependency versions.
  • Synchronizes workspace crate versions in the lockfile.
File Description
Cargo.toml Sets workspace and internal dependency versions to 0.60.0.
Cargo.lock Records 0.60.0 for workspace packages.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.90%. Comparing base (31589c3) to head (641755d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1460      +/-   ##
==========================================
- Coverage   91.90%   91.90%   -0.01%     
==========================================
  Files         582      582              
  Lines      114947   114947              
==========================================
- Hits       105640   105638       -2     
- Misses       9307     9309       +2     
Flag Coverage Δ
miri 91.90% <ø> (-0.01%) ⬇️
unittests 91.84% <ø> (-0.01%) ⬇️

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

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

@hildebrandmw
Mark Hildebrand (hildebrandmw) merged commit 97a828a into main Oct 5, 2026
31 checks passed
@hildebrandmw
Mark Hildebrand (hildebrandmw) deleted the mhildebr/v0.60.0 branch October 5, 2026 19:31
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