Skip to content

v9.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:50
· 10 commits to main since this release
2070a48

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.