Skip to content

Commit 481dbf6

Browse files
committed
Updated the changelog
1 parent 302c6c1 commit 481dbf6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

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`.
14+
* `Borrow` and `BorrowMut` impls were added.
15+
316
## [0.4.1] - 2020-02-27
417
### Added
518
- `map_with_owner` (#51)

0 commit comments

Comments
 (0)