dart_fsm
A package for implementing finite state machines in Dart.
1.3.1
7.4K downloads/mo
#3334 most downloaded on pub.dev
team-lab/dart_fsm
What this package is like to depend on
Last release 20 days ago
04 Aug 2026
Ships unpredictably
gaps range from 3 weeks to 13 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
7 releases · first in 2024
4 releases in the last 12 months
see the full history below
Release timeline
7 releases · Nov 2024 to Aug 2026Releases
latest 7-
1.3.104 Aug 2026Release notes
Open source →What's Changed
- Improve intermediate state verification in StateMachine test DSL by @SoutaTanaka in #20
Full Changelog: 1.3.0...1.3.1
Release notes
Open source →- fix: Improve intermediate state verification in the StateMachine test DSL to support chained side effects
- fix: Verify that invalid transitions emit no state
- docs: Document the behavior of
afterandeventuallyexpectations in the test DSL
-
1.3.010 Jul 2026Release notes
Open source →What's Changed
- Add a declarative StateMachine test DSL by @SoutaTanaka in #18
Full Changelog: 1.2.4...1.3.0
Release notes
Open source →- feat: Add
runStateMachineTestCases, a declarative Given-When-Then test DSL with exhaustive state/action coverage - feat: Deprecate
StateMachineTester,SMAssertObject, andTesterStateMachinein favor of the new test DSL; the legacy APIs remain available for migration - fix: Support asynchronous arrange, verification, and lifecycle hooks, and ensure teardown runs after every generated test
-
1.2.408 May 2026Release notes
Open source →What's Changed
- docs: Corrected the incorrect side effect description. by @ParkJong-Hun in #16
New Contributors
- @ParkJong-Hun made their first contribution in #16
Full Changelog: 1.2.3...1.2.4
-
1.2.309 Apr 2026Release notes
Open source →What's Changed
- docs: Fix createStateMachine argument names by @djoeressen in #14
New Contributors
- @djoeressen made their first contribution in #14
Full Changelog: 1.2.2...1.2.3
-
1.2.206 Mar 2025Release notes
Open source →What's Changed
- fix: Prevent dispatching actions after state machine is closed by @SoutaTanaka in #13
Full Changelog: 1.2.1...1.2.2
-
1.2.114 Feb 2025Release notes
Open source →What's Changed
- Relax version constraint for test package to ensure forward compatibility by @SoutaTanaka in #12
Full Changelog: 1.2.0...1.2.1
Release notes
Open source →- chore: Relax version constraint for test package to ensure forward compatibility
-
1.2.021 Nov 2024Release notes
Open source →- Control class visibility from outside the package
Full Changelog: 1.1.1...1.2.0