Skip to content

Latest commit

 

History

History
123 lines (64 loc) · 3.03 KB

CHANGELOG.md

File metadata and controls

123 lines (64 loc) · 3.03 KB

Changelog

0.10.0 - 2025-03-21

Added

  • ProcessEvent() method to StateMachine<TContext, TEvent, TState> and DisposableStateMachine<TContext, TEvent, TState>
  • ProcessEventAsync() method to AsyncStateMachine<TContext, TEvent, TState>
  • ProcessingResult enum to represent the outcome of processing an event (NotProcessed, Remained, Transitioned)

0.9.0 - 2023-10-05

Added

  • Methods OnExited() and OnEntering() to IState<in TContext, in TEvent, TState>
  • Methods OnExitedAsync() and OnEnteringAsync() to IAsyncState<in TContext, in TEvent, TState>

0.8.0 - 2023-09-14

Added

  • IAsyncState<in TContext, in TEvent, TState>
  • AsyncStateMachine<TContext, TEvent, TState>

0.7.1 - 2021-07-07

Changed

  • Annotate API for nullability for legacy target frameworks.

0.7.0 - 2021-05-06

Removed

  • StateMachine`2, DisposableStateMachine`2, StateMachine`4, DisposableStateMachine`4

0.6.1 - 2021-02-25

Added

  • Public property Context.

0.6.0 - 2021-01-15

Added

  • Nullability attributes for legacy target frameworks.

0.5.0 - 2020-12-13

Changed

  • Annotate API for nullability.

0.4.0 - 2019-10-20

Added

  • IDisposable constraint for TState type parameter of DisposableStateMachine<…> generics.

Removed

  • Context constraint to be nonnull.

0.3.0 - 2019-10-16

Added

  • DisposableStateMachine<…> classes owning their states.

Removed

  • DisposeState(…) method.

0.2.0 - 2019-10-15

Removed

  • Redundant parameter from OnRemain(…) signature.

0.1.1 - 2019-10-12

Added

Fixed

  • Package metadata.

0.1.0 - 2019-10-11

Added

  • Basic building blocks for generic state machines: StateMachine<…>, IState<…>, IPolicy<…>.