Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 1.25 KB

CHANGELOG.md

File metadata and controls

59 lines (34 loc) · 1.25 KB

dumpster Changelog

1.0.0

Breaking changes

  • Rename Collectable to Trace.

0.2.1

New features

  • Implement Collectable for std::any::TypeId.

0.2.0

New features

  • Added Gc::as_ptr.
  • Added Gc::ptr_eq.
  • Implemented PartialEq and Eq for garbage collected pointers.

Other

  • Changed license from GNU GPLv3 or later to MPL 2.0.
  • Allocations which do not contain Gcs will simply be reference counted.

0.1.2

New features

  • Implement Collectable for OnceCell, HashMap, and BTreeMap.
  • Add try_clone and try_deref to unsync::Gc and sync::Gc.
  • Make dereferencing Gc only panic on truly-dead Gcs.

Bugfixes

  • Prevent dead Gcs from escaping their Drop implementation, potentially causing UAFs.
  • Use fully-qualified name for Result in derive macro, preventing some bugs.

Other

  • Improve performance in unsync by using parking_lot for concurrency primitives.
  • Improve documentation of panicking behavior in Gc.
  • Fix spelling mistakes in documentation.

0.1.1

Bugfixes

  • Prevent possible UAFs caused by accessing Gcs during Drop impls by panicking.

Other

  • Fix spelling mistakes in documentation.

0.1.0

Initial release.