File: CHANGELOG

package info (click to toggle)
python-fysom 2.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: python: 1,538; makefile: 3
file content (51 lines) | stat: -rw-r--r-- 2,480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Changelog for fysom
--------------------
* v2.1.6
  Import ABC from collections.abc instead of collections for Python 3 compatibility
  [Pull request](https://github.com/mriehl/fysom/pull/42) by [tirkarthi](https://github.com/tirkarthi), thanks!
* v2.1.5
  Global machine and some improvements.
  [Pull request](https://github.com/mriehl/fysom/pull/36) by [jxskiss](https://github.com/jxskiss)
* v2.1.2
  Add special symbol for dst state equals to src state.
  Pull request by [irpab](https://github.com/irpab)

* v2.1.0
  In cases where a class has a state machine instance as a member and
  uses methods for callbacks, the dependencies between the parent class and the
  child state machine created cycles in the garbage collector.

  In order to break these cycles, we modified the state machine to store weak
  references to the method. For non-method functions, we can store these safely
  since the function itself should not hold a reference to the state machine.
  Pull request by [sjlongland](https://github.com/sjlongland)

* v2.0.1
  State re-entry or 'reflexive' callbacks (onreenter_state) called when the start and end state of a transition
  are the same. This is different to the change in v1.1.0 as the new callback type is for a particular state and not
  a particular event. This allows individual callbacks for reflexive transitions rather than event callbacks
  with conditional branches to handle both reflexive and non-reflexive transitions.
  Pull request by [@mattjml](https://github.com/mattjml)

* v2.0.0
  BREAKING CHANGE - Canceling an event by returning `False` from the onbefore<event> callback
  will now raise `fysom.Canceled` instead of just ignoring the event.

* v1.1.2
  Extend Fysom constructor to allow for terser FSM specifications. Pull request by [@astanin](https://github.com/astanin).

* v1.1.1
  Resolved problems with installation on windows.

* v1.1.0
  Event callbacks (onbefore_event_|onafter_event_|on_event_) will now trigger
  when the state does not change.
  Previously those callbacks would only fire in the case of a state change,
  so events keeping the FSM in the same state would not fire callbacks at all.

* v1.0.19
  The `trigger` method now accepts any positional arguments and keyword arguments, and passes them to the underlying event method. Pull request by 
  [@poundifdef](https://github.com/poundifdef).

* v1.0.18
  From now on, a changelog will be included. Furthermore, all PyPI releases will be GPG signed.