# Release Notes for obiskim (Rust k-mer genomics tool), version 1.4.9 ## Project Rename - Renamed project, binary, crate, and all associated documentation, scripts, and configuration files from `obikmer` to `obiskim`. - Updated lock files (`.obiskim.lock`, `.obiskim.gate`, `.obiskim.promote`) and VCF contig IDs (`obiskim__`). - Updated all references in source code, build scripts, CI workflows, and user documentation. ## Features - **Sparse Matrix Support**: Added `Sparse` variants for `PersistentBitMatrix` and `PersistentIntMatrix` with auto-detection and migration logic for stale columnar formats. - **Compact Vector Library**: Added support for sparse bit matrices, overflow handling, and a `transpose` module. Updated distance metrics (Jaccard, Bray, Euclidean) to accept explicit sums and thresholds. - **Phylogenetic Algorithms**: Overhauled distance metrics to support ambiguity policies and quartet conventions. Added `sample_stats` and `subsample` modules. - **Filtering**: Added `MinComplexity` filter with explicit threshold checks for ingroup/outgroup counts. - **I/O and Reading**: Added `text/gbff` MIME type support. Added `stream_iter` module for streaming superkmer iteration. - **CLI and Tools**: Standardized error handling and argument parsing across CLI commands. Added `query` and `select` modules to `obiskim` CLI. ## Fixes and Improvements - **Iteration and Arithmetic**: Modernized iteration patterns to use idiomatic Rust methods (`as_chunks`, `enumerate`, `iter`, `take`) and replaced manual ceiling division with `div_ceil`. - **Error Handling**: Simplified error handling using `is_some_and`, `is_ok_and`, and `is_none_or`. Standardized error types with static context and string details. - **Concurrency and State**: Refactored De Bruijn graph traversal to use atomic fetch-or for visited masks. Updated `PartitionRunner` to implement `Default`. - **Validation**: Enforced odd k-mer and minimizer sizes in CLI validation. - **Performance**: Optimized bit manipulation functions (`or_where`, `and_where`, `xor_where`) and buffer slicing using direct references and `as_chunks`. ## Internal - **Build System**: Introduced `.crate-kit` infrastructure for standardized build, testing, and release workflows using Jujutsu and Cargo. - **License**: Added CeCILL-2.1 license files and updated all workspace crate manifests with license and repository metadata. - **Refactoring**: Removed `migrate-mphf` tool. Updated sibling annex handling. Refactored compact vector storage, phylo algorithms, and CLI interfaces for better modularity and explicit error signaling. - **Dependencies**: Updated `criterion2` to version 3 with `cargo_bench_support` feature. Replaced "OnceLock-based params" feature with thread-local storage description in `obikseq`.