Skip to content

Commit 901f431

Browse files
committed
Merge tag '2.1.0' into develop
2.1.0
2 parents 0e86083 + f95391a commit 901f431

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/releases/2.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ See {ref}`Add a translation` on how to contribute with translations.
140140
- Dropped support for Django <= `1.6` for auto-discovering and registering `StateMachine` classes
141141
to be used on {ref}`django integration`.
142142

143-
#### Transitions with multiple events only execute actions associated to the triggered event
143+
### Transitions with multiple events only execute actions associated to the triggered event
144144

145145
Prior to [#365](https://github.com/fgmacedo/python-statemachine/pull/365), when you {ref}`Declare transition actions by naming convention`, all callbacks of the transition were called even if the triggered event was not the one that originated the transition.
146146

docs/releases/2.1.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# StateMachine 2.1.0
22

3-
*Not released yet*
3+
*June 11, 2023*
44

5-
## What's new in 2.1
5+
## What's new in 2.1.0
66

77
### Added support for declaring states using Enum
88

@@ -36,7 +36,7 @@ A {ref}`StateMachine` can be declared as follows:
3636

3737
See {ref}`States from Enum types`.
3838

39-
## Bugfixes
39+
## Bugfixes in 2.1.0
4040

4141
- Fixes [#369](https://github.com/fgmacedo/python-statemachine/issues/369) adding support to wrap
4242
methods used as {ref}`Actions` decorated with `functools.partial`.

docs/states.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ state {ref}`actions` are called if defined.
2727

2828

2929
You can explicitly set final states.
30-
Transitions from these states are not allowed and will raise exception.
30+
Transitions from these states are not allowed and will raise exceptions.
3131

3232
```py
3333
>>> from statemachine import StateMachine, State

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-statemachine"
3-
version = "2.0.0"
3+
version = "2.1.0"
44
description = "Python Finite State Machines made easy."
55
authors = ["Fernando Macedo <[email protected]>"]
66
maintainers = [

statemachine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
__author__ = """Fernando Macedo"""
55
__email__ = "[email protected]"
6-
__version__ = "2.0.0"
6+
__version__ = "2.1.0"
77

88
__all__ = ["StateMachine", "State"]

statemachine/locale/en/LC_MESSAGES/statemachine.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
msgid ""
55
msgstr ""
6-
"Project-Id-Version: 2.0.0\n"
6+
"Project-Id-Version: 2.1.0\n"
77
"Report-Msgid-Bugs-To: [email protected]\n"
88
"POT-Creation-Date: 2023-03-04 16:10-0300\n"
99
"PO-Revision-Date: 2023-03-04 16:10-0300\n"

statemachine/locale/pt_BR/LC_MESSAGES/statemachine.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
msgid ""
55
msgstr ""
6-
"Project-Id-Version: 2.0.0\n"
6+
"Project-Id-Version: 2.1.0\n"
77
"Report-Msgid-Bugs-To: [email protected]\n"
88
"POT-Creation-Date: 2023-03-04 16:10-0300\n"
99
"PO-Revision-Date: 2023-03-04 16:10-0300\n"

0 commit comments

Comments
 (0)