# Release notes for obiskim (Rust k-mer genomics tool), version 1.4.10 ## Refactoring - **Dependency Migration**: Removed the local `obipipeline` crate. All dependent crates (`obikindexer`, `obikmerge`, `obikphylo`, `obiskim`) now depend on `obipipeline` version 0.2 from the `obi` registry. - **Logic Migration**: - Moved error handling (`pipeline_error`) to `obikindexer` for graph building. - Moved batch iteration logic (`iter_canonical_kmer_batches_owned`) to `obiskio` for lazy canonical k-mer iteration. - Refactored `obikmerge` to use `iter_canonical_kmer_batches_owned` for streaming batches in `merge_partition` and `run_pass2`. - Refactored `obikphylo` to handle errors via `OKIError::InvalidData`. - Refactored `obiskim` to use `.expect("pipeline error")` for batch processing in `query` and `superkmer` commands. - **Internal API**: Removed the `sorted_slots` parameter from `nonzero_triples` in `obicompactvec`; slots are now sorted internally. Updated callers in `intmatrix` and `bitmatrix` modules. - **Workspace**: Added `MEMBERS_DIR` variable to workspace scripts for scanning subdirectories for Cargo manifests. Removed `obikseq` and added `obifastwrite` to workspace members. Removed root `Cargo.lock`. ## Documentation - **Renaming**: Renamed project references from "obikmer" to "obiskim" across all documentation, user guides, and developer notes. - **K-mer Indexing**: Updated terminology and constraints to reflect obiskim's two-bit-per-nucleotide representation ($k \leq 32$, odd $k$) and deterministic hash ordering. - **New Topics**: Added extensive documentation covering: - Chance sharing across genomes - Sibling partition unification - Pair-coverage-biased family sampling - MPHF batch queries - Merge mmap audit and scaling - Hot resume and memoization - **Implementation Details**: - Updated `by_partition` description to use `Vec` instead of `HashMap`. - Updated merge bootstrap logic to select base source by largest `unitigs.bin` size. - Changed `MAX_KMERS_PER_CHUNK` from 256 to 128. - Clarified `obiskim phylo` sampling behavior and `--sibling-annex` usage. - Clarified `select` command hard-linking mechanism and output directory behavior. - **References**: Added BibTeX entries for Karlin et al. and Bennett et al. ## Build & CI - **Scripts**: - Added `.crate-kit/scripts/msrv-check.sh` for MSRV verification. - Updated dependency management scripts (`deps-check.sh`, `deps-lib.sh`) for improved lockfile handling and `cargo update` support. - Updated `bump-version.sh` to use `sed -E` for robust version string replacement. - Updated publish scripts to enforce registry settings and exclude internal files. - **CI**: Updated `.gitea/workflows/release.yml` to pass private cargo registry index environment variables during macOS binary builds.