Skip to content

v1.8.0

Latest

Choose a tag to compare

@Neclow Neclow released this 21 May 22:43
· 1 commit to main since this release
d772238

This release adds balance indices for measuring tree shape across Rust, Python, and R, and refactors the Rust core to unify vector/matrix dispatch.

New features

  • Added balance indices (Sackin index, leaf depth variance, B2 index) across Rust, Python, and R
    APIs for quantifying tree balance/imbalance.

Refactors

  • Unified vector/matrix dispatch in the Rust core via a Tree enum, simplifying the API surface.
  • Renamed distances module to distance in Rust for naming consistency.

Fixes & CI

  • Fixed Windows builds by adding PyO3 generate-import-lib feature.
  • Skipped Suggests in CD R builds to speed up the R release pipeline.

Documentation

  • Simplified docstring for get_node_depths in Rust.

Dependencies

  • Bumped rand to 0.9.3.
  • Bumped prefix-dev/setup-pixi (0.9.3 → 0.9.5) and softprops/action-gh-release (2 → 3).
  • Routine pre-commit hook updates.

What's Changed

Full Changelog: v1.7.0...v1.8.0