Skip to content

Releases: Cysharp/UniTask

Ver.2.0.26

15 Jul 21:18
Compare
Choose a tag to compare

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

09 Jul 13:45
Compare
Choose a tag to compare
  • Fix NullReferenceEexception on await UnityWebRequest head request with invalid url #108
  • Fix UnityWebRequestException shows string access is not supported #110

Ver.2.0.24

03 Jul 21:41
Compare
Choose a tag to compare

Add: UniTask.Never
Add: UniTaskAsyncEnumerable.Create
Fix: Support task tracking of UniTaskAsyncEnumerable.Select/Where

Ver.2.0.23

28 Jun 18:27
Compare
Choose a tag to compare
  • Important Fix: lose exception stacktrace info when task is completed on synchronous

Ver.2.0.22

28 Jun 16:19
Compare
Choose a tag to compare

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

25 Jun 14:08
Compare
Choose a tag to compare

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

23 Jun 20:09
Compare
Choose a tag to compare

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 uGUI InputField
  • Improvement: UnityWebRequestException performance
  • Fix: UnityWebRequestExtensions obsolete warning in Unity 2020.2

Ver.2.0.19

17 Jun 18:44
Compare
Choose a tag to compare
  • 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 as TaskCompletionSource)
  • Breaking Changes: removed UniTaskCompletionSource.Reset()

Ver.2.0.18

15 Jun 06:34
Compare
Choose a tag to compare
  • 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

14 Jun 06:29
Compare
Choose a tag to compare

Fix UniTaskAsyncEnumerable.EveryUpdate/Timer/TimerFrame's CancellationToken does not work correctly, thanks @yashihei
Add UniTaskAsyncEnumerable.Subscribe