v1.2.0
-
Additions
sm::flush_queue()— drain pending queued events from async handlers (#456)sml::clear_deferaction — discard deferred events from a transition (#643)sml::deps<Ts...>policy — explicit pool dependencies for generic-lambda actions/guards (#437)sml::make_action<Deps...>(f)— wrap a template/generic/constrained callable so its dependency and event types are deduced from the explicit<Deps...>list (#629)
-
Behavior changes
- Empty-SM min-size trick is now OFF by default on GCC/Clang (it was UB at
-O2);
opt back in withBOOST_SML_CFG_ENABLE_MIN_SIZE.sizeof(sm)for an empty SM may change (#249) any/_wildcard no longer fires when a composable sub-SM has terminated (#622)- Events raised via
process(E{})are now storable in the process queue (#580) - Guard taking
const State&now sees live pool state instead of a stale copy (#530) - Sub-SM defer queue is cleared when its composite state is re-entered (#253)
- Empty-SM min-size trick is now OFF by default on GCC/Clang (it was UB at
-
Bug Fixes
- Template-depth,
-Wshadow,-Wextra-semi, UBSan, final-class, null-deref,
double-pop, reserved-identifier and related fixes — see full list: - v1.1.13...v1.2.0
- Template-depth,
-
Documented limitations
Big thanks to @PavelGuzenfeld for making this happen!
v1.1.13
What's Changed
- Anonymous transitions in composition by @vasdal in #640
- Prevent compiler options propagating to projects using SML by @eclig in #642
- Handle anonymous events with process_internal_events by @jefftrull in #648
- Update initial submachines of composite states upon re-entry by @jefftrull in #649
- zephyr: Add files to support using with zephyr RTOS by @d-o in #652
- fix typo in README by @dornbirndevelops in #654
- Fallback to any_state when state-specific guard fails by @vasdal in #655
- ⬆️ v1.1.13 by @kris-jusiak in #657
New Contributors
- @eclig made their first contribution in #642
- @jefftrull made their first contribution in #648
- @d-o made their first contribution in #652
- @dornbirndevelops made their first contribution in #654
Full Changelog: v1.1.12...v1.1.13
v1.1.12
What's Changed
- Add support for IAR arm compiler by @hyperspacex2 in #621
- Handling the
anystate correctly when using a nested state machine by @vasdal in #634
New Contributors
Full Changelog: v1.1.11...v1.1.12
v1.1.11
v1.1.10
v1.1.9
:arrow_up: 1.1.9
Bug fix
v1.1.8 :bug: Fix for constexpr in C++14
v1.1.7
- bug fixes
- constexpr support
v1.1.6
:arrow_up: [release] v1.1.6
v1.1.5
:arrow_up: v1.1.5