Skip to content

Prepare speakrs v0.6.0 - #34

Merged
praveenperera merged 2 commits into
masterfrom
release/v0.6.0
Oct 2, 2026
Merged

praveenperera merged 2 commits into
masterfrom
release/v0.6.0

Conversation

@praveenperera

@praveenperera praveenperera commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Prepare the 0.6.0 release. The version moves from 0.5.0 to 0.6.0, not a patch, because the release removes and reshapes public APIs:

  • QueueSender::push and QueueError::Terminal are removed
  • PipelineConfig replaces its separate clustering and activity fields with checked ClusteringConfig and ActivityCleanup, and BinarizeConfig is removed
  • AhcConfig and VbxConfig fields are now private
  • ModelBundle::from_dir and PipelineBuilder::from_dir now return Result
  • RuntimeConfig::chunk_emb_workers and DiscreteDiarization::make_exclusive are removed

The changelog now also covers the fixes and speedups merged since 0.5.0 (#6, #8–#10, #15, #17–#32). Install snippets now point at 0.6, and the README is regenerated.

The lockfile was regenerated with just bump minor. This moves ort from 2.0.0-rc.12 to rc.13. The crate now requires rc.13, and the pre-release note is updated to match, so the declared, documented, and tested versions agree.

Validation

  • just fmt
  • just clippy
  • cargo check --examples
  • cargo rdme --check and cargo package --locked, run from a clean worktree
  • cargo test --workspace: 178 library tests passed. 7 failed locally only because the local model fixture directory was unavailable. CI downloads the pinned fixtures and runs the full suite.

Summary by CodeRabbit

  • API Changes
    • Removed the standalone binarization function and its configuration, along with the runtime chunk-embedding worker setting.
    • Configuration types now validate values during construction and provide accessors. Model-loading operations now return structured errors.
  • Bug Fixes & Performance
    • Improved overlap resolution using activation scores, and addressed issues affecting CUDA processing, embedding, short audio, CoreML stitching, tensor and PLDA dimensions, and inference output validation.
  • Release
    • Updated the package to version 0.6.0; documentation examples now use version 0.6.

Bump to 0.6.0 because the release removes and reshapes public
config, queue, and model loading APIs. Record those breaking changes
and the fixes and speedups since 0.5.0 in the changelog, refresh
dependencies, and point install snippets at 0.6.
@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 84c04494-29ed-4953-8d26-fbb71b5c54aa

📥 Commits

Reviewing files that changed from the base of the PR and between 8362b30 and 9f95d5a.

📒 Files selected for processing (4)
  • Cargo.toml
  • README.md
  • src/lib.rs
  • xtask/Cargo.toml
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/lib.rs
  • README.md

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


📝 Walkthrough

Walkthrough

The package version changes from 0.5.0 to 0.6.0. Dependency examples now use version 0.6, and ONNX Runtime references use version 2.0.0-rc.13. The 0.6.0 changelog records API, diarization, performance, and validation changes.

Changes

0.6.0 release updates

Layer / File(s) Summary
Release notes
CHANGELOG.md
The 0.6.0 entry records API removals and changes, activation-score overlap resolution, performance updates, and input and inference validation updates.
Package version and dependency examples
Cargo.toml, xtask/Cargo.toml, README.md, src/lib.rs
The package version changes to 0.6.0. Dependency examples use version 0.6, and ONNX Runtime dependency references change from 2.0.0-rc.12 to 2.0.0-rc.13.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 9f95d

The release references align, and no concrete build or behavior regression is established. No actionable merge-blocking risk remains.

Architecture Summary

Architecture risk: 🔵 Low · up to 9f95d

The change affects 5 systems.

Changed systems: Cargo.toml, CHANGELOG.md, README.md, src, xtask

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — Cargo.toml (service) was modified; 1 changed file maps to changed impact.
  • observed — CHANGELOG.md (service) was modified; 1 changed file maps to changed impact.
  • observed — README.md (service) was modified; 1 changed file maps to changed impact.
  • observed — src (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CHANGELOG.md: The 0.6.0 release heading and existing queue API notes remain in the entry; these lines are not altered relative to the old hunk.
  • observed — Modified behavior in CHANGELOG.md: The entry adds removal of BinarizeConfig and the free binarize function, checked constructors and accessors for AhcConfig and VbxConfig, Result-based model-loading APIs with ModelLoadError, and removal of RuntimeConfig::chunk_emb_workers.
  • observed — Modified behavior in CHANGELOG.md: The entry adds that exclusive diarization overlaps are resolved by activation score rather than cluster index.
  • observed — Modified behavior in CHANGELOG.md: The entry adds notes on CUDA performance work, using available cores for embedding session threads, multi-mask batching and filterbank fixes, padding short non-empty audio into one segmentation window, CoreML filterbank stitching and segmentation-step changes, and pre-computation validation of tensor shapes, PLDA dimensions, and inference output geometry.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: preparing the speakrs 0.6.0 release. It is concise and directly related to the changeset.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[High risk] Bumps dependency versions and updates library version to 0.6.0.

The PR appears safe to merge, with a non-blocking correction needed to the documented ONNX Runtime version.

Findings

  1. P2 Outdated runtime version documentation ▶
Summary

The PR prepares speakrs 0.6.0 by bumping the crate version and install examples, expanding the changelog for breaking APIs and accumulated fixes, and regenerating the dependency lockfile. The lockfile’s ONNX Runtime version is not reflected in the release documentation.

Reviews (1) · Last reviewed commit: "Prepare speakrs v0.6.0"

Comment thread Cargo.lock
The release lockfile and CI already resolve rc.13, so require it and
make the pre-release note match the tested runtime.
@praveenperera
praveenperera merged commit b290c7a into master Oct 2, 2026
13 checks passed
@praveenperera
praveenperera deleted the release/v0.6.0 branch October 2, 2026 11:46
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.

1 participant