Skip to content

Releases: Cysharp/UniTask

Ver.2.5.4

28 Mar 06:26
Compare
Choose a tag to compare

What's Changed

  • Optimization of ToArray in Merge method by @TORISOUP in #541
  • ci: Cysharp/Actions/.github/workflows/create-release.yaml by @guitarrapc in #542
  • Fix unintended returning to pool with cancelImmediately by @hadashiA in #557

Full Changelog: 2.5.3...2.5.4

Ver.2.5.3

25 Jan 12:56
Compare
Choose a tag to compare

Quick fix, Addressable autoReleaseWhenCancelled -> autoReleaseWhenCanceled

Ver.2.5.2

25 Jan 11:48
Compare
Choose a tag to compare

What's Changed

  • Fix "Release handle when cancellation is requested" by @hadashiA in #536
  • Release handle when cancellation is requested by @LucianoPC in #521
  • UniTask does not work in .NET Framework environment after adding UniTask.AsValueTask by @kochounoyume in #535

Breaking Changes

  • UniTask.ValueTask convert introduced in v2.5.1 is enabled only UNITY_2022_3_OR_NEWER

New Contributors

Full Changelog: 2.5.1...2.5.2

Ver.2.5.1

24 Jan 01:48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.5.0...2.5.1

Ver.2.5.0

02 Nov 05:16
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: 2.4.1...2.5.0

Ver.2.4.1

21 Sep 03:45
Compare
Choose a tag to compare

What's Changed

  • Fix a bug in Dotween after returning to the pool of CancellationToken.Register by @hadashiA in #509

Full Changelog: 2.4.0...2.4.1

Ver.2.4.0

14 Sep 08:00
Compare
Choose a tag to compare

What's Changed

Features

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
    • Fix a problem in dotween where an extra update would run after canceling by @hadashiA in #485

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

New Contributors

Full Changelog: 2.3.3...2.4.0

Ver.2.3.3

01 Nov 11:47
Compare
Choose a tag to compare

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

Full Changelog: 2.3.2...2.3.3

Ver.2.3.2

24 Oct 13:06
Compare
Choose a tag to compare

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

Full Changelog: 2.3.1...2.3.2

Ver.2.3.1

02 Mar 23:12
Compare
Choose a tag to compare

Breaking Changes

  • Fixed typo TweenCancelBehaviour.CompleteWithSeqeunceCallbackAndCancelAwait ->TweenCancelBehaviour.CompleteWithSequenceCallbackAndCancelAwait
  • UniTask.Run is now obsolete, use UniTask.RunOnThreadPool or UniTask.Create instead.
  • UniTask.WaitForEndOfFrame is now obsolete, use UniTask.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

Full Changelog: 2.2.5...2.3.1