Python-statemachine

Latest version: v2.2.0

Safety actively analyzes 626904 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.0.3

*January 27, 2023*


StateMachine 1.0.3 fixes a bug between {ref}`State` and {ref}`transition` instances sharing
references of callbacks when there were multiple concurrent instances of the same `StateMachine`
class.


Bugfixes

- [334](https://github.com/fgmacedo/python-statemachine/issues/334): Fixed a shared reference
of callbacks when there were multiple concurrent instances of the same `StateMachine` class.

1.0.2

*January 12, 2023*


StateMachine 1.0.2 fixes a regression bug blocking the library usage on
Python 3.11.


Bugfixes

- Fixes [316](https://github.com/fgmacedo/python-statemachine/issues/316) a bad import of 'inspect.getargspec' that was removed on Python 3.11, still backward compatible with older versions.

1.0.1

*January 11, 2023*

1.0

Statemachine class

- `StateMachine.run` is deprecated in favor of `StateMachine.send`.
- `StateMachine.allowed_transitions` is deprecated in favor of `StateMachine.allowed_events`.
- `Statemachine.is_<state>` is deprecated in favor of `StateMachine.<state>.is_active`.


State class

- `State.identification` is deprecated in favor of `State.id`.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.