2023-04-23 13:43:33 +12:00
|
|
|
# Change Log
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
|
|
|
|
|
|
|
|
<!-- changelog -->
|
|
|
|
|
2024-06-18 01:13:01 +12:00
|
|
|
## [v0.2.4](https://github.com/ash-project/ash_state_machine/compare/v0.2.3...v0.2.4) (2024-06-17)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* support accepting the `:state` attribute
|
|
|
|
|
2024-05-11 10:54:04 +12:00
|
|
|
## [v0.2.3](https://github.com/ash-project/ash_state_machine/compare/v0.2.3-rc.1...v0.2.3) (2024-05-10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-05 01:49:46 +12:00
|
|
|
## [v0.2.3-rc.1](https://github.com/ash-project/ash_state_machine/compare/v0.2.3-rc.0...v0.2.3-rc.1) (2024-05-04)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* policy for including state machine in `can?` checks
|
|
|
|
|
|
|
|
* optimize atomic state transition check
|
|
|
|
|
|
|
|
* add atomic implementation
|
|
|
|
|
2024-03-30 11:01:17 +13:00
|
|
|
## [v0.2.3-rc.0](https://github.com/ash-project/ash_state_machine/compare/v0.2.2...v0.2.3-rc.0) (2024-03-29)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* update to Ash 3.0
|
|
|
|
|
2023-09-15 15:18:09 +12:00
|
|
|
## [v0.2.2](https://github.com/ash-project/ash_state_machine/compare/v0.2.1...v0.2.2) (2023-09-15)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* scrub `:*` from the list of states
|
|
|
|
|
|
|
|
* proper entity path in replace logic
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* Add `possible_next_states` helper. (#9)
|
|
|
|
|
|
|
|
* Add `possible_next_states` helper.
|
|
|
|
|
|
|
|
* detect states used that don't exist and log an error
|
|
|
|
|
2023-09-08 15:53:43 +12:00
|
|
|
## [v0.2.1](https://github.com/ash-project/ash_state_machine/compare/v0.2.0...v0.2.1) (2023-09-08)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* Allow `next_state` to to match transitions from *. (#7)
|
|
|
|
|
2023-09-08 13:36:26 +12:00
|
|
|
## [v0.2.0](https://github.com/ash-project/ash_state_machine/compare/v0.1.5...v0.2.0) (2023-09-08)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Features:
|
|
|
|
|
|
|
|
* Add `next_state` builtin change. (#6)
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* exclude star from state_machine_all_states/1 to avoid inclusion in add_attribuet builder (#4)
|
|
|
|
|
2023-08-05 09:48:38 +12:00
|
|
|
## [v0.1.5](https://github.com/ash-project/ash_state_machine/compare/v0.1.4...v0.1.5) (2023-08-04)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* support :* in states
|
|
|
|
|
2023-05-04 07:41:57 +12:00
|
|
|
## [v0.1.4](https://github.com/ash-project/ash_state_machine/compare/v0.1.3...v0.1.4) (2023-05-03)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* Rename `from` to `old_state` in `NoMatchingTransition` error (#3)
|
|
|
|
|
2023-04-29 08:22:16 +12:00
|
|
|
## [v0.1.3](https://github.com/ash-project/ash_state_machine/compare/v0.1.2...v0.1.3) (2023-04-28)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* == not != for checking all states
|
|
|
|
|
2023-04-29 07:39:43 +12:00
|
|
|
## [v0.1.2](https://github.com/ash-project/ash_state_machine/compare/v0.1.1...v0.1.2) (2023-04-28)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-23 18:59:06 +12:00
|
|
|
## [v0.1.1](https://github.com/ash-project/ash_state_machine/compare/v0.1.0...v0.1.1) (2023-04-23)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* make state diagrams the default chart
|
|
|
|
|
2023-04-23 13:43:33 +12:00
|
|
|
## [v0.1.0](https://github.com/ash-project/ash_state_machine/compare/v0.1.0...v0.1.0) (2023-04-23)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Features:
|
|
|
|
|
|
|
|
* add mix task `ash_state_machine.generate_flow_charts` (#1)
|
|
|
|
|
|
|
|
### Bug Fixes:
|
|
|
|
|
|
|
|
* action does not uniquely identify a transition
|
|
|
|
|
|
|
|
* require `allow_nil? false` on state attribute
|
|
|
|
|
|
|
|
### Improvements:
|
|
|
|
|
|
|
|
* require `initial_states`
|
|
|
|
|
|
|
|
* fix lint/credo, handle all changeset types
|
|
|
|
|
|
|
|
* require from/to
|
|
|
|
|
|
|
|
* flow chart generation
|
|
|
|
|
|
|
|
* support `:*` as a transition action name to match all
|