1 Star 0 Fork 1

pcd / stateless

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CHANGELOG.md 7.39 KB
一键复制 编辑 原始数据 按行查看 历史

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

5.11.0 - 2021.04.28

Added

  • Added CanFire overload to return unmet guard descriptions [#443]

Fixed

  • Inconsistency in sync/async statemachine execution [#444]
  • Added support for spaces in state/trigger names in Graphviz node graphs by wrapping them in escaped quotes #447

5.10.1

Re-releasing 5.2.0 as v5.10.1. The version number was accidentally set to 5.10 when creating the 5.2 release. Version 5.10.0 is now listed as the newest, since it has the highest version number. 5.2.0 and 5.10.0 are identical.

5.2.0

Added

  • Added support for net50

Changed

  • Only run tests under net50
  • Non-code change: Switch to using Github Actions

Fixed

  • Fixed the bug "IgnoreIf Guard description is raised when PermitReentryIf Guard Fails". #422

5.1.8

Fixed

  • Fixed bug "When adding .PermitDynamicIf, call .PermitTriggers throw NullReferenceException" #416

5.1.7 - 2021.01.10

Fixed

  • Fixed nullReferenceException when getting permitted triggers on a dynamic transition. #413

5.1.7 - 2021.01.10

Fixed

  • Fixed OnTransitionCompletedEvent, it now has the correct Destination state when there is an initial transition. #413

5.1.6 - 2020.11.21

Fixed

  • Added support for new OnTransitionCompletedEvent, which is run after all OnExit / OnEntry methods have run #394

5.1.5 - 2020.11.16

Changed

  • Fixed spelling errors
  • Fixed analyser warnings (mostly null checks)

Fixed

  • Added CLSCompliant attribute, which went missing in November 2019 #401

5.1.4 - 2020.11.07

Fixed

  • Fixed Unmet guard collection not set by OnUnhandledTrigger if transition guard of substate fails #398 (Thanks to the awesome DeepakParamkusam)

5.1.3 - 2020.08.12

Fixed

  • Fixed ambiguos guard function call when trigger is a state #380

5.1.2 - 2020.04.27

Fixed

  • Fixed wrong onTransitionEvent ordering in Async firing [#372]

[5.1.1] - 2020.04.03

Changed

  • Inverted if (_firingMode.Equals(FiringMode.Immediate) into if (FiringMode.Immediate.Equals(_firingMode) to avoid VerificationException when including assembly AllowPartiallyTrustedCallers #365.

[5.1.0] - 2020.03.24

Added

  • Added missing possible destination states to all PermitDynamic and PermitDynamicIf, see issue #305.

Fixed

  • Fixed trigger execution order issue if there are uncaught exceptions. Ref issue #267
  • Fixed issue #272 and #275. Triggers with no parameters threw exceptions when checking if they could be fired, or retrieved with GetPermittedTriggers.

[5.0.1] - 2020.03.13

Fixed

  • Added missing initial transition, see PR #286.

[5.0.0] - 2020.02.28

Changed

  • Activate and deactivate actions only runs on manual call to Activate / Deactivate. This breaks the v4.4 implementation, where activate/deactivate actions are run on every state transition.

[4.4.0] - 2020.02.07

Changed

  • PR #348 Added trigger parameters to OnTransitioned event

Fixed

  • #342 StateMutator is called multiple times with the same state
  • #345 Wrong behavior with FiringMode.Immediate in version 4.3.0
  • #339 OnEntry behavour different: Unit test broken when updated to 4.3.0 from 4.2.1
  • #292 Nested InitialTransitions calls superstate onEntry twice

[4.3.0] - 2019.11.11

Changed

  • Netstandard2.0 support

4.2.0 - 2018.06.01

Added

  • PR #254 Add initial transitions

Changed

  • Simplified examples a bit and added comments

Fixed

  • #261 Reentrant trigger in substate causes exit action to be executed twice
  • #263 NullReferenceException bug introduced in commit c13e181b

4.1.0 - 2018-05-18

Added

  • #246 Queuing should not be the default behavior

Fixed

  • #191 Shouldn't Reentry fire OnEntry from substate?
  • #228 guard function called twice?
  • #214 Transition object holds parent state as source state instead of child
  • #249 Latest prerelease v4.0.1-dev-00294 bug (Internal transition handler not executing)

4.0.0 - 2017-09-30

Added

  • #169 HTML format DOT graph output
  • #132 Conditional InternalTransition
  • #130 Support InternalTransition for all TriggerWithParams

Changed

  • #178 Replace calls to Enforce.ArgumentNotNull with in-place null checks, and other changes suggested by CodeCracker
  • #168 Modified the output of OnUnmute to display the correct message
  • #164 Reducing confusion, and fixing invalid cast in Reflection.
  • #158 Create new ActionInfo class, start insinuating it
  • #156 TriggerInfo.Value -> UnderlyingTrigger
  • #149 Moved StateType and TriggerType into StateMachineInfo, removed TriggerInfo
  • #147 Extracting common abstract base class for transition info
  • #142 Further reflection API refinement
  • #141 Update to RTM dotnet tooling/VS2017
  • #137 Replace magic string usages with nameof()
  • #125 Adding check for cyclic configuration
  • #123 Update for the current .NET Core version

Deprecated

Removed

Fixed

  • #175 Fix Multiple internal transition actions executed if defined in state hierarchy, and Renamed DynamicTransitionInfo.Destination to DestinationDescription
  • #144 Fix unbounded recursion/fully initialize sub/super-states
  • #140 Adding recursive trigger processing to InternalFireAsync

3.1.0 - 2016-12-15

Added

Changed

Deprecated

Removed

Fixed

3.0.1 - 2016-11-23

Added

Changed

Deprecated

Removed

Fixed

3.0.0 - 2016-11-03

Added

Changed

Deprecated

Removed

Fixed

Release template - version and date goes here

Added

Changed

Deprecated

Removed

Fixed

C#
1
https://gitee.com/andwp/stateless.git
git@gitee.com:andwp/stateless.git
andwp
stateless
stateless
master

搜索帮助