Releases: Cysharp/UniTask
Ver.2.2.1
New TimeoutController
and document of best practice for timeout handling, see ReadMe#Timeout section.
New PlayerLoopHelper.Initialize(InjectPlayerLoopTimings)
improve performance, see ReadMe#PlayerLoop section.
- Breaking Changes:
UniTask.WithCancellation
is renamed toAttachExternalCancellation
- Breaking Changes:
AsyncOperation.WithCancellation
simply becomes shorthand ofToUniTask(cancellationToken)
- Add:
TimeoutController
for zero allocation timeout handling - Add:
PlayerLoopHelper.Initialize(InjectPlayerLoopTimings)
- Improved:
UniTask.Delay
automatically fallback toDelayType.Realtime
when run on EditMode
Ver.2.2.0
Invalid release, check 2.2.1
.
Ver.2.1.2
Ver.2.1.1
- Fix
IEnumerator.ToUniTask
breaks pooling when coroutine returns immediately
Ver.2.1.0
This release is compatible with Unity 2020.2.
Previous versions are broken in 2020.2 so require to update if you use Unity 2020.2.
Add UnityWebRequestException.ResponseHeaders
Add PlayerLoopTiming.TimeUpdate/LastTimeUpdate
in Unity 2020.2
Force complete awaiting JobHandles when quitted in UnityEditor #196, thanks @RamType0
Suppress allocations around UniTask.AsUniTask and UniTask.AsAsyncUnitUniTask #203, thanks @RamType0
Accept calling DeferPromise.GetStatus multiple times #204, thanks @piti6
Unity 2020.2 changed order of the PlayerLoop subsystem list (should fix #208) #210, thanks @WallyCZ
Fix DelayType.Realtime does not work when use BuildPlayer in UnityEditor
Ver.2.0.37
- Improve performance of UniTask yield player loop
- Improve DoTween's cancellation support #189, thanks @IllusionCui
- Improve stability for WebGL build
Ver.2.0.36
- Fix:
UniTask.Forget()
does not work correctly when source is already completed and manually optimized task source, thanks @kamyker - Add:
enumerator.ToUniTask(MonoBehaviour coroutineRunner)
- Changed: log WARN on await enumerator when yield not supported types(Coroutine, WaitForEndOfFrame, WaitForFixedUpdate)
Ver.2.0.35
- Fix broken internal UniTask playerloop-runner, this is regression from 2.0.32 and very critical, please upgrade if use 2.0.32-34.
- Remove OnMouse_event trigger to prevent warning on Android, iOS, #170
- Changed clear timing of internal UniTask playerloop-runner's queue for Unity Editor and run rest action when quitted.
Ver.2.0.34
- Change: await support for AsyncOperationHandle(Addressables), when !handle.Isvalid return completed task(before throw exception)
Ver.2.0.33
- Fix
await AssetBundleRequest.AwaitForAllAssets
does not work, thanks @c0nd3v - Fix
IEnumerator.ToUniTask
, does not work correctly when coroutine complete immediately Task<UniTask>.Unwrap
,UniTask<Task>.Unwrap
addscontinueOnCapturedContext
overload, thanks @hikarin522