Skip to content

Commit 2f87de9

Browse files
authoredMar 6, 2025··
Change slave to device_id and slave= to device_id=. (#2600)
1 parent 9432d2b commit 2f87de9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+802
-765
lines changed
 

‎API_changes.rst

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ API changes
22
===========
33
Versions (X.Y.Z) where Z > 0 e.g. 3.0.1 do NOT have API changes!
44

5-
-----------------
6-
API changes 3.9.0
5+
API changes 4.0.0
76
-----------------
87
- Python 3.9 is reaching end of life, and no longer supported.
98
Depending on the usage the code might still work
10-
- Start*Server, custom_functions -> custom_pdu (handled by Modbus<x>Server)
11-
- payload removed (replaced by "convert_combined_to/from_registers")
9+
- Start*Server, custom_functions is now custom_pdu (handled by Modbus<x>Server)
10+
- ModbusSlaveContext replaced by ModbusDeviceContext
11+
- payload removed (replaced by "convert_to/from_registers")
12+
- slave=, slaves= replaced by device_id=, device_ids=
13+
- slave request names changed to device
1214

1315
API changes 3.8.0
1416
-----------------

‎doc/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Please select a topic in the left hand column.
88
:caption: Contents:
99
:hidden:
1010

11+
source/upgrade_40
1112
source/api_changes
1213
source/client
1314
source/server

0 commit comments

Comments
 (0)
Please sign in to comment.