This project adheres to Semantic Versioning.
- [Feature] Added
TryAdd
methods to collection/delegate disposables to synchronously attempt to add. - [Feature] Added trimming/single-file/AOT support (
net8.0
only).
- [Feature] Added
Abandon
methods to ignore disposal or transfer ownership to another disposable. #17 - [Fix] Reduced version of
System.Collections.Immutable
dependency to reduce version conflicts. #16 - [Fix] Specified order of delegates/children disposal: inverse order of the collection. Note that this is a change in behavior; it was unspecified before but would always execute in forward order, meaning the first delegate/child added would be the first one disposed.
- [Feature] Added
ReferenceCountedDisposable
,ReferenceCountedAsyncDisposable
, and associated types. #12 - [Fix] Fixed race condition bug (never observed). #14
- [Fix] Bumped
System.Collections.Immutable
dependency version from1.4.0
to1.7.1
. This fixes the shim dlls issue on .NET Framework targets.
- [Feature] Added support for
null
disposables and delegates (which are ignored). #13 - [Feature] Added
Disposable
andAsyncDisposable
.
- [Feature] Added
AnonymousAsyncDisposable
. - [Feature] Added
CollectionAsyncDisposable
. - [Feature] Added
AsyncDisposeFlags
. - [Feature] Added
IDisposable.ToAsyncDisposable()
. - [Feature] Added
SingleAsyncDisposable<T>
. - [Feature] Added
SingleNonblockingAsyncDisposable<T>
. - [Feature] Added
netstandard2.1
target.
- [Fix] Published NuGet symbol packages.
- [Fix] Added explicit
net461
target. #4
- [Breaking] Fixed typo:
SingleDisposable<T>.IsDispoed
is nowSingleDisposable<T>.IsDisposed
. #3 - [Feature] Added source linking.
- [Fix] Removed public signing.
- [Fix] Added explicit
netstandard2.0
target.
- [Fix] Added public signing.
- [Feature] Added
NoopDisposable
.
- [Feature] Added
AnonymousDisposable
. - [Feature] Added
CollectionDisposable
. - [Feature] Added
SingleNonblockingDisposable<T>
.
- [Feature] Added
SingleDisposable<T>
.