Releases: CoderGamester/Statechart-HFSM
Releases · CoderGamester/Statechart-HFSM
Release 0.9.3
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
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
What's Changed
- Release 0.9.1 by @CoderGamester in #16
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
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
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
- 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
Changed
- Renamed Statechart to StateMachine to avoid namespace conflicts
Fixed
- Fixed ITaskWaitState bad tests
Release 0.5.2
- 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
Fixed
- Fixed ITaskWaitState execution crash
Release 0.5.0
- 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