Skip to content

Commit 422f4fb

Browse files
committed
update migration guide
1 parent 9c4209c commit 422f4fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MIGRATION_GUIDE.md

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ Acronyms used:
2828
They now return `Iterator<...>`.
2929
Data leading to `None` being returned in previous versions now return an iterator
3030
that will end immediately.
31+
* `Deref` to `TableViews` was replaced with delegation because using `Deref`
32+
to model inheritance is an anti-pattern.
33+
* `usize` to `SizeType` conversions are now fallible (*e.g.*, `TryFrom` replaces `From`).
34+
* The `TskitTypeAccess` trait was removed because it was a bad idea.
35+
(It makes no sense to be generic over returning pointers to low-level tskit types.)
36+
The functionality is replaced with `impl fn`s.
37+
* The names of all `Owned` tables are now `Owning`.
38+
* `MetadataError::RoundtripError` now requires `Send + Sync`.
3139

3240
## v0.11.0
3341

0 commit comments

Comments
 (0)