Skip to content

Releases: Voultapher/self_cell

Version 1.1.0

05 Dec 16:14
Compare
Choose a tag to compare

This release adds support for mutable references to the owner during construction via the MutBorrow type, see #59 and #60 for more details. Thank you @steffahn for the review and @joseluis for the small fixes.

Version 1.0.4

03 May 16:51
Compare
Choose a tag to compare

Improvements to the documentation that help users discover the generated API. Thanks @hniksic for reporting the issue.

Version 1.0.3

20 Dec 16:38
Compare
Choose a tag to compare

This release contains fixes that avoid name collision with functions and structs named Ok, Err, FnOnce and collisions with the core namespace. Thank you @dcecile for reporting the issue.

Version 1.0.2

11 Nov 16:03
Compare
Choose a tag to compare

This release contains an important soundness fix see https://rustsec.org/advisories/RUSTSEC-2023-0070.html for more details, thank you @steffahn for reporting and fixing the problem.

Version 1.0.1

13 Jun 12:57
Compare
Choose a tag to compare
  • The generated functions now have doc comments, thanks to @link2xt

Version 1.0

29 May 15:11
Compare
Choose a tag to compare

It has been over a year without any API changes. I'm happy with the API and think it's mature enough. Nothing changed in this release.

Version 0.10.2

27 Nov 18:17
Compare
Choose a tag to compare

This version includes:

  • The cargo published files now include the README.md and LICENSE files. See #34 thanks @subpop for the PR

Version 0.10.1

07 Nov 17:26
Compare
Choose a tag to compare

This version includes:

  • Clear documentation what the minimum supported version is, currently rustc 1.51
  • A new optional feature old_rust that drops minimum required version down to rustc 1.36 see #33 and the documentation for details. Thanks @mitsuhiko for the idea and @steffahn for the help.
  • A new example examples/owner_with_lifetime that showcases a self-referential struct with lifetime in the owner.

Version 0.10.0

25 Oct 16:01
Compare
Choose a tag to compare

This version includes:

  • This release fixes serious implementation bugs, the dependent was dropped after the owner, and panics in drop impl could lead to double free. As consequence I've yanked all previous versions. In addition a series of potential unsound usage bugs have been addressed. Please update to v0.10 as soon as possible. See #18 #20 #24 #26 and #28 and their associated PRs #21 #23 #25 #27 #29. Huge thanks to @steffahn for reporting and helping fix these issues.

  • An improved Debug implementation that uses fmt.debug_struct and now correctly supports custom format strings such as {:#?}. See #22

Version 0.9.2

02 Oct 09:31
Compare
Choose a tag to compare

This release addresses two somewhat exotic ways self_cell could be used in an
unsound fashion to cause UB. See issues #17 and #18. Thanks @steffahn for
reporting and helping to fix these issues.