You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
<!-- ## [Unreleased] -->
16
16
17
17
## Released
18
+
## [2.3.0] - 2023-01-03
19
+
### Added
20
+
- Custom callback functions can be registered on client (ModbusRTU or ModbusTCP) side with new parameters `on_set_cb` and `on_get_cb` available from [modbus.py](umodbus/modbus.py) functions `add_coil` and `add_hreg`. Functions `add_ist` and `add_ireg` support only `on_get_cb`, see #31
21
+
- Example callback usage shown in [TCP client example](examples/tcp_client_example.py)
22
+
- Documentation for callback functions in USAGE
23
+
24
+
### Changed
25
+
- Typing hint `Callable` is now subscriptable
26
+
18
27
## [2.2.0] - 2023-01-03
19
28
### Added
20
29
-[Fake machine module](fakes/machine.py) with UART and Pin class to be used on Unix MicroPython container for RTU tests and examples, see #47
@@ -224,8 +233,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
224
233
- PEP8 style issues on all files of [`lib/uModbus`](lib/uModbus)
0 commit comments