You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# Changelog
2
2
3
+
## [0.5.0] - 2023-10-12
4
+
This crate has been forked and republished under the name `safer_owning_ref`.
5
+
6
+
A few soundness problems were fixed - see [#77](https://github.com/Kimundi/owning-ref-rs/issues/77), [#71](https://github.com/Kimundi/owning-ref-rs/issues/71) and [#61](https://github.com/Kimundi/owning-ref-rs/issues/61).
7
+
8
+
### Changes:
9
+
* All types get a new additional lifetime parameter. `OwningRef`, `OwningRefMut` - and all their aliases (such as `BoxRef`).
10
+
11
+
*`(try_)map_with_owner` functions changed their signatures - now the callback expects a reference to inner type `T` instead of the owner `O`. The old functions are now named `(try_)map_with_owner_direct` and marked deprecated and `unsafe`.
12
+
*`From` impl that converts from `OwningRefMut` to `OwningRef` was removed.
13
+
* Similarly to the previous point, `OwningRefMut::(try_)map` has been deprecated and marked `unsafe`. That's because it converts from `OwningRef` to `OwningRefMut`. Note that this doesn't effect `(try_)map_mut` or `OwningRef::(try_)map`.
0 commit comments