Skip to content

Releases: rust-bio/rust-htslib

Version 0.37.0

05 Jul 19:39
Compare
Choose a tag to compare

Added

  • bcf::Record methods end, clear, and rlen (@mbhall88).

Changes

  • bcf::IndexReader::fetch parameter end is now an Option<u64>. This is inline with
    htslib regions, which do not require an end position (@mbhall88)
  • Removed unused dependencies (@sreenathkrishnan).
  • Improved documentation (@mbhall88).
  • Improved error message when failing to load index files (@johanneskoester).
  • Improved API for accessing AUX fields in BAM records (@jch-13).
  • Fixed compiler warnings (@fxwiegand).
  • BAM header representation is now always kept in sync between textual and binary (@jch-13).

Version 0.36.0

07 Jan 10:19
Compare
Choose a tag to compare

Changes

Version 0.35.2

23 Nov 13:56
Compare
Choose a tag to compare

This release contains a fix for problems with semantic versioning in Cargo when specifying the hts-sys dependency.

Version 0.35.1

23 Nov 12:33
Compare
Choose a tag to compare
  • Fixed wrongly define missing value constants in bcf::record (@johanneskoester).
  • Bump hts-sys depedency to the latest version, containing build fixes for macOS (@johanneskoester).

Version 0.35.0

19 Nov 18:46
Compare
Choose a tag to compare

Changes

  • BREAKING: info and format field access in BCF records now allocates a separate buffer each time. In addition, it is also possible to pass a buffer that has been created manually before (@johanneskoester)
  • Fixes for building on macOS (@brainstorm)

Added

Version 0.34.0

13 Nov 11:02
Compare
Choose a tag to compare

Added

  • Ability to set minimum refetch distance in bam::RecordBuffer.

Version 0.33.0

04 Nov 10:27
Compare
Choose a tag to compare

Changes

  • BREAKING: Rename feature 'serde' as 'serde_feature' (for technical reasons)
  • BREAKING: Consolidate module-wide errors into a crate-wide error module
  • Making bcf::IndexedReader always unpack records to reflect the behaviour of bcf::Reader.
  • Adding bcf::errors::Error::FileNotFound and using it.
  • Fixes for musl compilation (@brainstorm).
  • Improved BCF constants handling (@juliangehring)
  • Fixes for tabix reader (@felix-clark, @brainstorm).
  • Fixes for BCF handling (@holtgrewe, @tedil).
  • Documentation improvements (@vsoch, @brainstorm, @edmundlth).
  • BREAKING: Improved, more ergonomic BAM fetch API (@TyberiusPrime, @brainstorm, @tedil).
  • BREAKING: Let BamRecordExtensions return iterators instead of vectors (@TyberiusPrime).
  • Handle all errors via a unified single thiserror based enum (@landesfeind).
  • BREAKING: BAM read API now returns Option (@slazicoicr).

Added

Version 0.32.0

04 Nov 08:42
Compare
Choose a tag to compare

Changes

  • Method seq_len() of bam::Record is now public.
  • Speedup when parsing BAM headers (thanks to @juliangehring).
  • Compatibility fixes for older rust versions (thanks to @pmarks and @brainstorm).

Version 0.31.0

23 Jun 08:46
Compare
Choose a tag to compare
  • Bam record buffer now returns reference counted (Rc) objects. This makes the API more ergonomic to use.
  • Switched to thiserror instead of snafu for error handling.
  • Various cleanups and little fixes.

This release breaks parts of the API due to the error handling changes and the difference in the bam record buffer.

Version 0.30.0

03 Apr 17:41
Compare
Choose a tag to compare
  • Removed fn header_mut() from bam::Read trait.
  • Fixed a major performance regression when reading bam files (issue #195).