quartiq / booster

Firmware for the Sinara Booster RF amplifier
Apache License 2.0
13 stars 1 forks source link

Bump smlang from 0.6.0 to 0.7.0 #418

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps smlang from 0.6.0 to 0.7.0.

Release notes

Sourced from smlang's releases.

v0.7.0

Added

  • Add support for async guards and actions
  • Add name to statemachine and make dot output stable and unique (issue-62)
  • Add derive macros to states and events (issue-62)
  • Add hooks to StateMachineContext for logging events, guards, actions, and state changes
  • Add support multiple guarded transitions for a triggering event
  • Add support for guard boolean expressions in the state machine declaration
  • There are now on_entry_<snakecase_statename> and on_entry_<snakecase_statename> functions defined to allow handling entry and exit from all state machine states. These have a default empty implementation.

Fixed

Changed

  • StateMachine::new and StateMachine::new_with_state are now const functions
  • Fixed clippy warnings
  • [breaking] Changed guard functions return type from Result
  • [breaking] Changed action functions return type from () to Result
  • [breaking] Disallow guards mutable access to the context
  • [breaking] Renamed GuardError to Error as it is now used for both guards and actions

New Contributors

Full Changelog: https://github.com/korken89/smlang-rs/compare/v0.6.0...v0.7.0

Changelog

Sourced from smlang's changelog.

[0.7.0] - 2024-07-03

Added

  • Add support for async guards and actions
  • Add name to statemachine and make dot output stable and unique (issue-62)
  • Add derive macros to states and events (issue-62)
  • Add hooks to StateMachineContext for logging events, guards, actions, and state changes
  • Add support multiple guarded transitions for a triggering event
  • Add support for guard boolean expressions in the state machine declaration
  • There are now on_entry_<snakecase_statename> and on_entry_<snakecase_statename> functions defined to allow handling entry and exit from all state machine states. These have a default empty implementation.
  • The expanded code is now written to target/smlang-expansion-<name|default>.rs during the build process.

Fixed

Changed

  • StateMachine::new and StateMachine::new_with_state are now const functions
  • Fixed clippy warnings
  • [breaking] Changed guard functions return type from Result
  • [breaking] Changed action functions return type from () to Result
  • [breaking] Disallow guards mutable access to the context
  • [breaking] Renamed GuardError to Error as it is now used for both guards and actions
Commits
  • 32d7513 Merge pull request #69 from korken89/release/0.7.0
  • 610ce45 Fixing examples, bumping smlang version
  • 9b97da8 Removing async-trait dep
  • b07cc23 Updating docs, fixing build errors
  • d7b2db0 Merge branch 'master' into release/0.7.0
  • 6a2188c Merge pull request #73 from dkumsh/master
  • 675763b renamed GuardError to Error to be used with both guards and actions
  • ab2a206 use non-mutable self for guards
  • 8bd2571 Fallible actions support
  • 832a366 Merge pull request #79 from korken89/rs/cleanup
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)