Skip to content

v8.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 06:23
· 111 commits to main since this release
a7bea5b

Changed

  • Breaking: AsyncDisposable.Adapt, AsyncDisposable.AdaptRepeatable and the AsyncDisposableAdapter constructor throw ArgumentNullException for a null disposable instead of returning an adapter that disposes nothing; pass the resource to adapt. (#76, ADR-1008)

Removed

  • Breaking: IDisposableAggregate, IAsyncDisposableAggregate, IDisposableCollection and IAsyncDisposableCollection, obsolete since 7.0.0 (NCDISP002), are deleted: use DisposableAggregate, AsyncDisposableAggregate, DisposableCollection and AsyncDisposableCollection, which the factories return. (#69, ADR-1005)
  • Breaking: The 19 members whose bool picks a behavior, obsolete since 7.1.0 (NCDISP003), are deleted: idempotent on Disposable.Create, AsyncDisposable.Create, AsyncDisposable.Adapt and the DisposableAction, AsyncDisposableAction and AsyncDisposableAdapter constructors, async on Disposable.Context and the DisposableContext constructor, and ignoreExceptions on Disposable.Collection, AsyncDisposable.Collection, the DisposableCollection and AsyncDisposableCollection constructors, DisposeAll and DisposeAllAsync. Call the overload without the flag for the default behavior, or CreateRepeatable, AdaptRepeatable, PostingContext, CollectionIgnoringExceptions, DisposeAllIgnoringExceptions() or DisposeAllIgnoringExceptionsAsync() for the other one. (#75, ADR-1007)