Skip to content

Commit 28a3308

Browse files
committed
docs: add event humanized name to 3.1.0 release notes
1 parent bc40199 commit 28a3308

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/releases/3.1.0.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,11 @@ machine instance concurrently. This is now documented in the
158158
interpreted as the event `id`, leaving the extra transitions eventless (auto-firing).
159159
[#588](https://github.com/fgmacedo/python-statemachine/pull/588).
160160

161+
- `Event.name` is now auto-humanized from the `id` (e.g., `cycle``Cycle`,
162+
`pick_up``Pick up`). Diagrams, Mermaid output, and text tables all display
163+
the human-readable name. Explicit `name=` values are preserved. The same
164+
`humanize_id()` helper is now shared by `Event` and `State`.
165+
[#601](https://github.com/fgmacedo/python-statemachine/pull/601),
166+
fixes [#600](https://github.com/fgmacedo/python-statemachine/issues/600).
167+
161168
## Misc in 3.1.0

0 commit comments

Comments
 (0)