Skip to content

Commit

Permalink
update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Dec 23, 2022
1 parent 9c4209c commit 422f4fb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ Acronyms used:
They now return `Iterator<...>`.
Data leading to `None` being returned in previous versions now return an iterator
that will end immediately.
* `Deref` to `TableViews` was replaced with delegation because using `Deref`
to model inheritance is an anti-pattern.
* `usize` to `SizeType` conversions are now fallible (*e.g.*, `TryFrom` replaces `From`).
* The `TskitTypeAccess` trait was removed because it was a bad idea.
(It makes no sense to be generic over returning pointers to low-level tskit types.)
The functionality is replaced with `impl fn`s.
* The names of all `Owned` tables are now `Owning`.
* `MetadataError::RoundtripError` now requires `Send + Sync`.

## v0.11.0

Expand Down

0 comments on commit 422f4fb

Please sign in to comment.