Skip to content

v3.2.0

Compare
Choose a tag to compare
@timcassell timcassell released this 03 Nov 21:21
· 105 commits to master since this release
d716974

Enhancements:

  • Added Channel<T> and related types in Proto.Promises.Channels namespace.
  • Added Promise(<T>).{ConfigureAwait, ConfigureContinuation} APIs and accompanying ContinuationOptions type.
  • Added SynchronizationOption.CapturedContext option.
  • Added (Ordered, Configured)AsyncEnumerable.ConfigureAwait(ContinuationOptions) new overloads.
  • Exposed ConfiguredAsyncEnumerable<T>.{ContinuationOptions, CancelationToken} and ConfiguredAsyncEnumerable<T>.Enumerator.ContinuationOptions.
  • Added ManualSynchronizationContextCore type.
  • Added PromiseSynchronizationContext.Execute(bool exhaustive) API.
  • Added Promise(<T>).FromException API.
  • Added option to disable context capture for async synchronization primitives.

Fixes:

  • Fixed some bugs surrounding AsyncEnumerable.Merge enumerator disposal.
  • Fixed a potential race condition with Promise.New API.
  • Fixed some async Linq implementations that weren't configuring the awaits properly.

Deprecated:

  • Deprecated Promise(<T>).WaitAsync APIs accepting SynchronizationContext and SynchronizationOption.

Misc:

  • Changed default Progress invokeOption to CapturedContext.
  • Added net8.0 build target.