You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Breaking:SharedReference.Create(value, onRelease) and AsyncSharedReference.Create(value, onRelease) throw ArgumentNullException for a null value or release callback, SharedReference.Create(value), AsyncSharedReference.Create(value), AsSharedReference() and AsAsyncSharedReference() for a null resource, and the SharedReferenceOwner<T> and AsyncSharedReferenceOwner<T> constructors for a null release callback; the owner constructors keep accepting a null value. Before, a null release callback or resource threw NullReferenceException only when the last lease was released, and Create(value, onRelease) handed a null value to the release callback; pass the value and the release callback to share. (#89, ADR-1008)
Breaking: The DisposableCollection and AsyncDisposableCollection constructors, and so the Collection and CollectionIgnoringExceptions factories of Disposable and AsyncDisposable, throw ArgumentException for an initial collection that holds a null item, which Add already rejects, instead of keeping it; leave null out of the items. (#89, ADR-1008)
Package validation compares each package with the published 8.0.1 package.
docs/assurance-case.md states the library's security requirements, its threat model and trust boundary, the secure design principles it applies and the weaknesses it counters, with the tests behind them.