Releases: Cysharp/UniTask
Ver.2.0.26
Add: Add CancellationToken paramter to UniTask.Run
.
Fix: UnityWebRequest, Addressables return UniTask.FromException
when already isDone and AsyncOperation has error.
Fix: Addressables .WithCancellation
does not canceled when raised callback before update #114, thanks @IllusionCui
Fix: AsyncOperation .WithCancellation
does not canceled when raised callback before update.
Fix: AsyncOperation/Addressables returns canceled UniTask when already canceled.
Ver.2.0.25
Ver.2.0.24
Add: UniTask.Never
Add: UniTaskAsyncEnumerable.Create
Fix: Support task tracking of UniTaskAsyncEnumerable.Select/Where
Ver.2.0.23
- Important Fix: lose exception stacktrace info when task is completed on synchronous
Ver.2.0.22
Add: await support to AsyncGPUReadbackRequest
Add: SwitchToMainThread
, ReturnToMainThread
, SwitchToSynchronizationContext
, ReturnToSynchronizationContext
receive CancellationToken
Add: UniTaskAsyncEnumerable.SkipUntil/TakeUntil
Fix: UniTaskAsyncEnumerable.SkipUntilCanceled
behaviour(don't call MoveNextAsync
before cancel detected)
Ver.2.0.21
Add: UniTask.ToCancellationToken
Breaking Changes: Removed UniTask.DelayRealtime()
, changed to UniTask.Delay(delayType: DelayType.Realtime)
Breaking Changes: Removed UniTask.Timeout(bool ignoreTimeScale)
, changed to Timeout(DelayType delayType)
Breaking Changes: Removed CancellationTokenSource.CancelAfterSlim(bool ignoreTimeScale)
, changed to CancelAfterSlim(DelayType delayType)
Ver.2.0.20
Breaking Changes
TextMeshPro
, DOTween
and Addressables
supports are separated to external asmdef, UniTask.DOTween
, UniTask.Addressables
, UniTask.TextMeshPro
.
- Add:
UniTask.DelayRealtime
- Add:
UniTask.Post
- Add:
TMP_InputField
event extensions like standard uGUIInputField
- Improvement:
UnityWebRequestException
performance - Fix:
UnityWebRequestExtensions
obsolete warning in Unity 2020.2
Ver.2.0.19
- Important Fix: can not close application in mono build
- Fix:
AsyncLazy
can not await multiple times when task is not completed - Fix:
UniTask.TimeoutWithoutException
does not supress exception - Fix:
UniTask.Delay
can not use from threadpool thread - Add:
UniTask.Run(Func<UniTask>) overload
- Improvement:
UniTaskCompletionSource
can await multiple times before completed(same behaviour asTaskCompletionSource
) - Breaking Changes: removed
UniTaskCompletionSource.Reset()
Ver.2.0.18
- Add AsUniTaskAsyncEnumerable/AsAsyncEnumerable in .NET Core
- Add
UniTasyAsyncEnumerable.Subscribe(Func<T, CancellationToken, UniTaskVoid>)
overload - Improvement: await UnityWebRequestAsyncOperation throws
UnityWebRequestException
when isHttpError or isNetworkError
Ver.2.0.17
Fix UniTaskAsyncEnumerable.EveryUpdate/Timer/TimerFrame
's CancellationToken does not work correctly, thanks @yashihei
Add UniTaskAsyncEnumerable.Subscribe