v3.2.0
Enhancements:
- Added
Channel<T>
and related types inProto.Promises.Channels
namespace. - Added
Promise(<T>).{ConfigureAwait, ConfigureContinuation}
APIs and accompanyingContinuationOptions
type. - Added
SynchronizationOption.CapturedContext
option. - Added
(Ordered, Configured)AsyncEnumerable.ConfigureAwait(ContinuationOptions)
new overloads. - Exposed
ConfiguredAsyncEnumerable<T>.{ContinuationOptions, CancelationToken}
andConfiguredAsyncEnumerable<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 acceptingSynchronizationContext
andSynchronizationOption
.
Misc:
- Changed default
Progress
invokeOption toCapturedContext
. - Added net8.0 build target.