Skip to content

chore(deps): bump leann-core 0.1.1 -> 0.1.3, ndarray 0.16 -> 0.17#899

Merged
starpit merged 1 commit into
IBM:mainfrom
starpit:leann-bump
Feb 22, 2026
Merged

chore(deps): bump leann-core 0.1.1 -> 0.1.3, ndarray 0.16 -> 0.17#899
starpit merged 1 commit into
IBM:mainfrom
starpit:leann-bump

Conversation

@starpit
Copy link
Copy Markdown
Member

@starpit starpit commented Feb 21, 2026

Summary

  • Bump leann-core from 0.1.1 to 0.1.3 and ndarray from 0.16 to 0.17
  • Adapt to breaking API changes: PassageManager::get_passage(&str) replaced by get_passage_by_index(usize)
  • Use HNSW label indices directly for passage lookups instead of round-tripping through string IDs
  • Force the retrieve integration test to rebuild its index so stale fixtures never mask format changes

Test plan

  • cargo test -p spnl (87 tests pass, including retrieve which rebuilds its index from scratch)
  • cargo test -p spnl-cli
  • cargo clippy (both crates, zero warnings)
  • cargo fmt --check

Adapt to leann-core 0.1.3 breaking changes:
- PassageManager::get_passage(&str) -> get_passage_by_index(usize)
- Use HNSW label indices directly instead of string ID lookups
- Bump ndarray to 0.17 to match leann-core dependency
- Force retrieve test to rebuild index on format changes

Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit starpit changed the title chore: bump to leann-rs@0.1.3 chore(deps): bump leann-core 0.1.1 -> 0.1.3, ndarray 0.16 -> 0.17 Feb 21, 2026
@starpit starpit merged commit dec2018 into IBM:main Feb 22, 2026
36 checks passed
@starpit starpit deleted the leann-bump branch February 22, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant