Skip to content

Commit

Permalink
prep 0.12.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 9, 2022
1 parent f7818fc commit 5ccfc4f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@

All notable changes to this project will be documented in this file.

## [0.12.0-alpha.1] - 2022-11-09

### Bug Fixes

- [**breaking**] MetadataError::RoundtripError now requires Send + Sync ([#396](https://github.com/tskit-dev/tskit-rust/pull/396))

### Documentation

- Add haploid WF example to book ([#397](https://github.com/tskit-dev/tskit-rust/pull/397))

### Features

- Add examples/haploid_wright_fisher.rs ([#394](https://github.com/tskit-dev/tskit-rust/pull/394))
- Add lending iterators over table row "views" ([#398](https://github.com/tskit-dev/tskit-rust/pull/398))
- Impl PartialEq for table row views. ([#400](https://github.com/tskit-dev/tskit-rust/pull/400))
- Add ProvenenceTableRowView ([#401](https://github.com/tskit-dev/tskit-rust/pull/401))
- Add row_view() for tables ([#402](https://github.com/tskit-dev/tskit-rust/pull/402))
- Add row_view() for tables ([#402](https://github.com/tskit-dev/tskit-rust/pull/402))
- Column slice getters for tables ([#404](https://github.com/tskit-dev/tskit-rust/pull/404))

### Refactor

- [**breaking**] Return &str from provenance table getters ([#403](https://github.com/tskit-dev/tskit-rust/pull/403))
- Deprecate NodeTable::flags_array_mut and NodeTable::time_array_mut ([#405](https://github.com/tskit-dev/tskit-rust/pull/405))

## [0.12.0-alpha.0] - 2022-11-06

### Documentation
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tskit"
version = "0.12.0-alpha.0"
version = "0.12.0-alpha.1"
authors = ["tskit developers <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand Down
3 changes: 3 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Acronyms used:

### Breaking changes

* Provenance table getters now return `Option<&str>` rather than `Option<String>`.
These two types are very close to identical in API.
Breakage is only possible if code relied on the return value owning its data.
* Several member functions of Tree previously accepted `NodeId` as arguments.
They now take `N: Into<NodeId> + Copy`.
Thus, code passing in integers will have to drop the `.into()` calls.
Expand Down

0 comments on commit 5ccfc4f

Please sign in to comment.