Skip to content

Releases: CoderGamester/Statechart-HFSM

Release 0.9.3

13 Nov 17:11
270e13f

Choose a tag to compare

What's Changed

New

  • Added new ITaskWaitState.WaitingFor(Func) method to allow TaskWaitStates to hold on UniTask type calls

Fixed

  • Added UniTask to the package to allow the Statechart run on WebGL

Full Changelog: 0.9.2...0.9.3

0.9.2

25 Oct 14:14
7995e0b

Choose a tag to compare

What's Changed

  • Changed the try/catch exceptions to Debug.LogException with a Debug.LogError, to properly show the issues in the Unity console

Full Changelog: 0.9.1...0.9.2

Release 0.9.1

03 Sep 23:19
e33efe1

Choose a tag to compare

What's Changed

Added missing documentation to describe the purpose of the InnerStateData and StateFactoryData classes

Full Changelog: 0.9.0...0.9.1

Release 0.9.0

02 Sep 22:28
efce43f

Choose a tag to compare

What's Changed

  • New Feature: Introduced unique identifiers for IWaitActivity instances to differentiate between different activities.
  • Refactor: Updated exception handling across various classes, replacing MissingMemberException with InvalidOperationException for more appropriate error representation.
  • Refactor: Enhanced the TaskWaitState class with a new event queuing mechanism to handle events after task completion.
  • Refactor: Improved the SplitState class with better handling of inner state transitions and pausing/resuming states.
  • Test: Added comprehensive test cases for nested states, wait states, and split states in a statechart.
  • Test: Refactored existing tests for improved readability and maintainability.

Full Changelog: 0.8.0...0.9.0

Release 0.8.0

03 Aug 21:40
888e478

Choose a tag to compare

What's Changed

  • Change the main class name from Statemachine to Statechart Change namespace to avoid conflicts to StatechartMachine
  • Changed both ISplitState and INestedState to receive a single parameterized NestedStateData to make calls less verbose and ready for future scalability

Full Changelog: 0.7.0...0.8.0

Release 0.7.0

03 May 23:43
84a1ec5

Choose a tag to compare

  • Improved State documentations
  • Improved State debug logs

Changed

  • Removed redundant SplitFinal & SplitExitFinal methods from ISplitState. Now the Split method incorporates all possible cases to simplify implementation

Fixed

  • Fixed reference checks for WaitState
  • Fixed StatechartTaskWaitTest to work also when multiple tests run in parallel
  • Fixed TaskWaitState racing condition bug on chained states
  • Fixed bug on WaitState that when finished instantaneously would execute state transitions multiple times

Release 0.6.0

29 Sep 09:21
943e631

Choose a tag to compare

Changed

  • Renamed Statechart to StateMachine to avoid namespace conflicts

Fixed

  • Fixed ITaskWaitState bad tests

Release 0.5.2

26 Sep 20:06
15adbaa

Choose a tag to compare

  • Added IStatechartEvent data to the logs
  • Added logs to all possible trigger cases
  • Added logs to the ITaskWaitState and IWaitState waiting call method
  • Added exception catch to the ITaskWaitState and IWaitState waiting call method
  • Added the possibility to enable logs individually to each IState

Release 0.5.1

24 Sep 16:01
7675691

Choose a tag to compare

Fixed

  • Fixed ITaskWaitState execution crash

Release 0.5.0

24 Sep 14:32
567093a

Choose a tag to compare

  • Added new ITransitionState that acts as a non-blocker state between 2 different states

Changed

  • Added IStateEvent to ITaskWaitState to allow event evocation

Fixed

  • Fixed potential issue when ITaskWaitState & WaitState would execute it's flow multiple times when a INestState or ISplitState would trigger an outside exit event