Release 0.9.1 is a minor release and contains several bugfixes and some (typing) improvements. This release also introduces on_final callbacks on machines (as well as NestedState) and final flags for states.
PR #592: Pass investigated transition to EventData context in 'may' check (thanks @msclock)
PR #634: Improve the handling of diagrams when working with parallel states, especially when using the show_roi option (thanks @seanxlliu)
Bug #619/#639: Exception is not broad enough and does not catch asyncio.CancelledError or KeyboardInterrupt; use BaseException instead (thanks @e0lithic and @ofacklam)
'_anchor' suffix has been removed for (py)graphviz cluster node anchors
PR #633: Remove surrounding whitespace from docstrings (thanks @artofhuman)
PR #665: Add on_final to Machine and NestedState constructor and final to State. Callbacks passed to on_final will be executed when a State with final=True is entered or all children of a parallel state are final.
Bug #626: Process exceptions with Machine.on_exception in may_ as well (thanks @match1)
PR #666: Improved handling of removing transitions for GraphMachine and HiearachicalMachine (thanks @drpjm)
PR #667: Better handling of unset styling in GraphMachine
Typing:
Added --strict mypy flag for transitions type checks (not tests though)
Made state, event and machine property mandatory in (Nested)EventData
Transition.dest may be None
Introduced (Async)CallbackFunc to declutter callback-related signatures
Add stub file for extension package for explicite reexport (thanks @DrewDevereux)
Release 0.9.1 is a minor release and contains several bugfixes and some (typing) improvements. This release also introduces on_final callbacks on machines (as well as NestedState) and final flags for states.
PR #592: Pass investigated transition to EventData context in 'may' check (thanks @msclock)
PR #634: Improve the handling of diagrams when working with parallel states, especially when using the show_roi option (thanks @seanxlliu)
Bug #619/#639: Exception is not broad enough and does not catch asyncio.CancelledError or KeyboardInterrupt; use BaseException instead (thanks @e0lithic and @ofacklam)
'_anchor' suffix has been removed for (py)graphviz cluster node anchors
PR #633: Remove surrounding whitespace from docstrings (thanks @artofhuman)
PR #665: Add on_final to Machine and NestedState constructor and final to State. Callbacks passed to on_final will be executed when a State with final=True is entered or all children of a parallel state are final.
Bug #626: Process exceptions with Machine.on_exception in may_ as well (thanks @match1)
PR #666: Improved handling of removing transitions for GraphMachine and HiearachicalMachine (thanks @drpjm)
PR #667: Better handling of unset styling in GraphMachine
Typing:
Added --strict mypy flag for transitions type checks (not tests though)
Made state, event and machine property mandatory in (Nested)EventData
Transition.dest may be None
Introduced (Async)CallbackFunc to declutter callback-related signatures
Add stub file for extension package for explicite reexport (thanks @DrewDevereux)
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)
Bumps transitions from 0.9.0 to 0.9.1.
Release notes
Sourced from transitions's releases.
Changelog
Sourced from transitions's changelog.
Commits
91749d4
Update Changelog and release datecfb6064
Update changelog99efe4d
Add nbviewer link to playgroundf698137
add links to nbviewerd7df28f
add name to last link7dd4483
explicitely add nb name and remove empty fields in other nbsbb106b3
check custom id in ipynba3ef4a7
add FAQ section about styling229f8fe
better handling of unset styles in diagram2381ad0
Update ChangelogDependabot 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