Skip to content

v0.10.0

Compare
Choose a tag to compare
@molpopgen molpopgen released this 28 Oct 17:55
· 236 commits to main since this release

[0.10.0] - 2022-10-28

Documentation

  • Display feature flags in docs.rs (#338)

Miscellaneous Tasks

  • Set msrv to 1.57.0 (result of cargo msrv) (#322)
  • Fix tag_pattern in cliff.toml (#330)
  • Update github actions (#332)
  • Add github actions to monthly dependabot (#333)
  • Update bindgen requirement from 0.60.1 to 0.61.0 (#336)
  • Bump styfle/cancel-workflow-action from 0.6.0 to 0.11.0 (#334)

Performance

  • Use Bookmark in forward simulation example (#318)

Refactor

  • Streamline internal macros for adding nodes (#309)
  • Remove internal ffi module (#310)
  • Panics compatible with earlier rustc (#311)
  • Remove type name from SizeType Display output. (#315)
  • [breaking] TableCollection::simplify returns Option<&[NodeId]> (#316)
  • [breaking] Conversion from row id to usize is now fallible. (#319)
  • Use clap::Parser in example program. (#320)
  • Remove pontential panic! when instantiating table rows. (#329)
  • Examples/tree_traversals.rs now uses clap derive (#337)

Styling

  • Remove unneeded ( ) from match. (#323)
  • Use auto-deref for pointer deref. (#325)
  • Fix +nightly clippy lints for all targets/features. (#326)

Testing

  • Improve test work flow (#331)

[0.10.0-alpha.1] - 2022-07-31

Bug Fixes

  • Replace crate with $crate in macros (#287)

Features

  • Add tskit::OwnedMutationTable (#281)
  • Add tskit::OwnedSiteTable (#283)
  • Add tskit::OwnedIndividualTable (#284)
  • Add tskit::OwnedMigrationTable (#285)
  • Add tskit::provenance::OwnedProvenanceTable (#286)
  • Set tables in collection from owned tables. (#288)
  • [breaking] Impl Send/Sync for TreeSequence (#297)

Miscellaneous Tasks

  • Update to C API 1.1.1 (#304)

Performance

  • [breaking] Implement slice access to individual data (#292)
  • [breaking] Eliminate several copies from C to rust (#293)

Refactor

  • Deduplicate code for adding node table rows. (#278)
  • Use macros to implement adding table rows. (#279)
  • Add new macro to build owned tables (#282)
  • Separate tree ownership from API. (#300)
  • Bring back generic syntax for adding node table rows. (#302)
  • [breaking] Display for new types now omits type name. (#305)
  • Remove MBox for tsk_treeseq_t storage (#306)

[0.10.0-alpha.0] - 2022-07-19

Bug Fixes

  • Fix memory leak in TreeSequence::simplify (#274)
  • Fix leak in TableCollection::deepcopy (#275)
  • Fix leak in TreeSequence::dump_tables (#276)

Documentation

  • Fix warnings from "cargo doc" (#255)

Features

  • Make load from file generic over AsRef (#254)
  • Add tskit::OwnedPopulationTable (#267)
  • Add tskit::OwnedEdgeTable (#268)
  • Add tskit::OwnedNodeTable (#273)

Miscellaneous Tasks

  • Add cliff.toml (config file for git-cliff) (#257)
  • Prefix "chore: " to dependabot.yml (#258)
  • Use cargo-hack to streamline CI. (#259)
  • Add cargo-valgrind CI workflow (#277)

Refactor

  • Macro metadata_to_vector intputs changed. (#263)
  • Add macros to implement owned tables. (#269)

Testing

  • Add another experimental trait idea for metadata. (#261)
  • Redo doctest: TableCollection::new_from_file (#272)