Releases: Cysharp/UniTask
Releases · Cysharp/UniTask
Ver.2.5.0
What's Changed
- Add a flag to cancel immediately instead of player loop by @hadashiA in #517
- Add Awaitable.AsUniTask() by @hadashiA in #518
- Fix typo in README.md by @ananttheant in #515
Breaking changes
- In this version,
AsyncOperation.completed
handler is used to determine the completion of an AsyncOperation. Previously, AsyncOperation.isDone was used in PlayerLoop. This change may result in slightly different timing for await completion. - For some AsyncEnumerable factories that use PlayerLoop. When MoveNextAsync is canceled,
ObjectDisposableException
was not thrown before, but now it is to throw it.
New Contributors
- @ananttheant made their first contribution in #515
Full Changelog: 2.4.1...2.5.0
Ver.2.4.1
What's Changed
Full Changelog: 2.4.0...2.4.1
Ver.2.4.0
What's Changed
Features
- Add WaitForSeconds method declarations #371 by @sgaumin in #457
- Add UniTaskAsyncEnumerable.Merge by @hadashiA in #498
Bug fixes
- Fix problem with finally in UniTaskAsyncEnumerable.Create not being executed by @hadashiA in #484
- Add check if UnityWebRequest was destroyed by @hadashiA in #494
- Add check to that AutoResetUniTaskSource already returned to the pool by @hadashiA in #503
- Fix conditions for UniTaskCompletionSourceCore.TrySet* to be true by @hadashiA in #499
- AsyncReactiveProperty
- DOTween
Breaking changes
- Add EndOfFrame implementation using
UnityEngine.Awaitable
by @hadashiA in #496 - Use innerException for
Task.AsUniTask
by @hadashiA in #486 - Use always innerException for Task.AsUniTask by @hadashiA in #500
- Earlier intialization for Unitask, depending on unity version by @Merglasch in #489
Improvements
- fixed typo in README.md (AysncLocal) by @ivribalko in #421
- chote: prevent github workflow change by @guitarrapc in #459
- chore: change unity build to cysharp actions by @guitarrapc in #460
- Use dotnet >= 6.0 by @hadashiA in #497
- Reduce the times of AwakeMonitor checking by @hadashiA in #493
- Update README about DOTween by @hadashiA in #492
New Contributors
- @ivribalko made their first contribution in #421
- @sgaumin made their first contribution in #457
- @hadashiA made their first contribution in #484
- @faveris made their first contribution in #445
- @Merglasch made their first contribution in #489
Full Changelog: 2.3.3...2.4.0
Ver.2.3.3
What's Changed
- doc:provide simple chinese readme by @wqaetly in #374
- Fix UnityEventHandlerAsyncEnumerator cancellation by @adarapata in #418
- Fix Naming conflict with ZString #401
New Contributors
- @wqaetly made their first contribution in #374
- @adarapata made their first contribution in #418
Full Changelog: 2.3.2...2.3.3
Ver.2.3.2
What's Changed
- Support Unity 2023.1.0a15(remove UniTask AsyncOperation.GetAwaiter, use AwaitableCoroutine.GetAwaiter instead)
- Breaking changes, UniTask.WaitForFixedUpdate wait at LastFixedUpdate #377
- Fix AwaitForAllAssets stackoverflow #394
- UnityEvent.AsAsyncEnumerable handle cancel correctly #365
- if UNITY_2022_2_OR_NEWER, use destroyCancellationToken instead of AsyncDestroyTrigger
- Fix for issue #368 UnityWebRequestException extra line in exception message by @nolimet in #369
- feat: use Cysharp/Actions reusable workflows/actions by @guitarrapc in #381
- re-define UNITASK_ADDRESSABLE_SUPPORT for supporting Addressables.CN by @fpagyu in #385
- Typo in TaskPool.cs annotation internaly -> internally by @Ryuu-64 in #392
- fix: prevent NullReferenceException in TimeoutController by @shiena in #399
- Diagnostics helper null check by @kroonhorstdino in #395
- Fix cancellation token forwarding by @battleroy in #413
New Contributors
- @nolimet made their first contribution in #369
- @fpagyu made their first contribution in #385
- @Ryuu-64 made their first contribution in #392
- @shiena made their first contribution in #399
- @kroonhorstdino made their first contribution in #395
- @battleroy made their first contribution in #413
Full Changelog: 2.3.1...2.3.2
Ver.2.3.1
Breaking Changes
- Fixed typo
TweenCancelBehaviour.CompleteWithSeqeunceCallbackAndCancelAwait
->TweenCancelBehaviour.CompleteWithSequenceCallbackAndCancelAwait
UniTask.Run
is now obsolete, useUniTask.RunOnThreadPool
orUniTask.Create
instead.UniTask.WaitForEndOfFrame
is now obsolete, useUniTask.WaitForEndOfFrame(MonoBehaviour)
instead.
What's Changed
- Fix UniTask.DelayFrame run on UnityEditor correctly
- Fix IObservable.ToUniTask does not propagate unobserved exception
- Add
UniTask.WaitForEndOfFrame(MonoBehaviour)
- Fix wording and code instructions for -batchmode usage by @oktomus in #266
- chore: remove setup-dotnet by @guitarrapc in #284
- chore: add intellisense xml to nuget by @guitarrapc in #285
- Update README.md by @cjaligaga in #327
- [DoTween]: fix "AwaitFor~" extensions ignore original callback by @yellowisher in #280
- Fix BadImageFormatException when StackTrace captured on UniTaskTracker by @satanabe1 in #300
- Fix exceptions never being reported when UniTask is executed without await and Forget() by @SolidAlloy in #323
New Contributors
- @oktomus made their first contribution in #266
- @cjaligaga made their first contribution in #327
- @yellowisher made their first contribution in #280
- @satanabe1 made their first contribution in #300
- @SolidAlloy made their first contribution in #323
Full Changelog: 2.2.5...2.3.1
Ver.2.2.5
- Fix:
UniTaskAsyncEnumerable.Prepend
does not work correctly - Changed: Add strong-named signing to UniTask.NetCore
2021/08/27 experimental release:
UniTaskAnalayzer.dll
that checks pass CancellationToken.
How to use analyzer on Unity, see: Roslyn analyzers and ruleset files document and Cysharp/CsProjModifier.
Ver.2.2.4
- Add:
PlayerLoopTimer
- Improvement:
CancellationTokenSource.CancelAfterSlim
returnsIDisposable
, it enables terminate cancellation timer - Improvement:
TimeoutController
acceptsDelayType
andPlayerLoopTiming
, addint millisecondsDelay
overload - (Breaking Changes):
TimeoutController
's default DelayType changed fromRealtime
toDeltaTime
- (Breaking Changes):
CancellationTokenSource.CancelAfterSlim
when canceled before timeout, changed from dispose CancellationTokenSource to do not
Ver.2.2.3
Ver.2.2.2
- Add:
UniTask.Yield(CancellationToken)
overload - Add:
UniTask.NextFrame(CancellationToken)
overload. - (Breaking Changes): Yield and NextFrame does not use optional parameter.