Skip to content

Releases: pymodbus-dev/pymodbus

Pymodbus v3.9.2

18 Apr 15:22
Compare
Choose a tag to compare
  • Reactivate simulator validate. (#2643)
  • Don't bool-test explicit datastores (#2638)
  • Test and hard delayed response test. (#2636)
  • Update simulator doc. (#2635)
  • SimData update
  • Officially working towards 4.0.0

Pymodbus v3.9.1

09 Apr 08:49
Compare
Choose a tag to compare
  • Correct byte order in bits. (#2631)

pymodbus v3.9.0

07 Apr 16:54
Compare
Choose a tag to compare
  • Correct bit handling internally and in API. (#2627)
  • default argument ModbusSequentialDataBlock (#2622)
  • Fix exception error message for decoding response (#2618)
  • Expose exception_code to API. (#2615)
  • Simplify ruff config (#2611)
  • Documentation dont fixed. (#2605)
  • sum() can operate on an Iterator directly (#2610)
  • SimData update. (#2601)
  • StartServer custom_functions -> custom_pdu.
  • Update pyproject.toml to remove python 3.9.
  • Remove validate() from datastores. (#2595)
  • Python 3.9 is EOL, not supported actively. (#2596)
  • correct handle_local_echo for sync client. (#2593)
  • devcontainer, automatic install. (#2583)
  • Don't set_result on completed futures. (#2582)
  • Flush recv_buffer before each transaction write. (#2581)
  • Add missing trace. (#2578)
  • Update github actions. (#2579)

Remark #2627 is a very important commit, because e.g. read_coils returned the coils in a wrong order, meaning the app would misinterpret.
This is a very old, which went unnoticed for years.

pymodbus v3.8.6

10 Feb 11:52
Compare
Choose a tag to compare
  • Allow id=0 and check if response.id == request.id. (#2572)

It turns out that not allowing id=0 was too restrictive, instead now requests with id=0 is allowed provided the device responds with id=0.

pymodbus v3.8.5

09 Feb 12:56
Compare
Choose a tag to compare
  • New simulator is WIP, not to be used. (#2568)
  • dev_id=0 no response expected (returns ExceptionResponse(0xff)). (#2567)
  • New simulator datastore. (#2535)

pymodbus v3.8.4

08 Feb 18:17
Compare
Choose a tag to compare
  • Parameterize string encoding in convert_to_registers and convert_from_registers (#2558)
  • Fix client modbus function calls in remote by adding count as keyword argument (#2563)
  • Fix exception text in ModbusPDU.validateAddress (#2551)
  • Typo arround no_response_expected (#2550)
  • Trace new connection in server. (#2549)
  • Add trace to server.
  • Update misleading DATATYPE text. (#2547)
  • Fix pylint.
  • Clarify server usage.
  • Solve instable transaction testing. (#2538)

v3.8.3

05 Jan 20:37
Compare
Choose a tag to compare

Bug fix release, and remove the deprecated tag on payload.

The main goals have changed, please see https://pymodbus.readthedocs.io/en/latest/source/roadmap.html

For details on the payload decoder/encoder please see #2525

Changes:

  • Remove deprecate from payload. (#2532)
  • Add background parameter to servers. (#2529)
  • Split async_io.py and simplify server start/stop. (#2528)
  • Update custom_msg example to include server. (#2527)
  • Move repl doc to repl repo. (#2522)
  • Add API to set max until disconnect. (#2521)

Pymodbus v3.8.2

20 Dec 08:49
Compare
Choose a tag to compare
  • Asyncio future removed from sync client. (#2514)

Pymodbus v3.8.1

18 Dec 18:06
Compare
Choose a tag to compare
  • Convert endianness (#2506)
  • Fix sync serial client, loop. (#2510)
  • Correct future. (#2507)
  • Correct #2501 (#2504)
  • Raise exception on no response in async client. (#2502)
  • re-instatiate Future on reconnect (#2501)
  • Remove all trailing zeroes during string decoding (#2493)
  • Fix too many sync client log messages. (#2491)

Pymodbus v3.8.0

07 Dec 15:49
Compare
Choose a tag to compare

This is the biggest release since 3.0.0, it contains:

  • new framer concept (utility class instead of direct)
  • new much simpler transactionManager
  • trace methods to trace/modify incoming/outgoing byte streams as well as PDUs
  • A lot of bug fixes

Version 3.8.0

  • slave_id -> dev_id (internally). (#2486)
  • Pin python 3.13.0 and update ruff. (#2487)
  • Add documentation link to README. (#2483)
  • Add datatype bits to convert_to/from_registers. (#2480)
  • Add trace API to server. (#2479)
  • Add trace API for client. (#2478)
  • Integrate TransactionManager in server. (#2475)
  • Rename test/sub_. (#2473)
  • Check server closes file descriptors. (#2472)
  • Update http_server.py (#2471)
  • Restrict write_registers etc to list[int]. (#2469)
  • Write_registers/pdu typing again. (#2468)
  • Remove ModbusExceptions enum. (#2467)
  • Add special ssl socket handling of "no data". (#2466)
  • Add tip that values= will be modified to list[int]. (#2465)
  • client 100% test coverage (#2396)
  • Extend TransactionManager to handle sync. (#2457)
  • Add convert_from to simple examples. (#2458)
  • New async transaction manager. (#2453)
  • Deprecate BinaryPayloadDecoder / BinaryPayloadBuilder. (#2456)
  • Correct close for server transport. (#2455)
  • RTU frame problem, when received split. (#2452)
  • pdu, 100% coverage. (#2450)
  • Refactor PDU, add strong typing to base classes. (#2438)
  • Enforce keyword only parameters. (#2448)
  • Fix read_device_information with sync client. (#2441)
  • Simplify syncTransactionManager. (#2443)
  • Import examples direct. (#2442)
  • rename ModbusExceptions enums to legal constants. (#2436)
  • Add typing to examples. (#2435)
  • Refactor PDU diag. (#2421)
  • Fix client lock, Parallel API calls are not permitted. (#2434)
  • Ensure accept_no_response_limit > retries. (#2433)
  • Check client and frametype. (#2426)
  • Add MDAP to TLS frame. (#2425)
  • Clean/Finalize testing for bit functions. (#2420)
  • Simplify pdu bit, remove skip_encode. (#2417)
  • remove zero_mode parameter. (#2354)
  • Prepare refactor messages. (#2416)
  • Fixed handle local echo in serialserver (#2415)
  • Correct minor framer/pdu errors. (#2407)
  • Rtu decode frames without byte count. (#2412)
  • Improve type of parameter values of write_registers (#2411)
  • PDU lookupClass work with sub function code. (#2410)
  • Correct wait_next_api link in README. (#2406)