Skip to content

Commit ae415ad

Browse files
janiversenilkka-ollakkasumguythoYohrogjcameron-sso
authored
Merge v3.6.9 back to dev. (#2226)
* add _legacy_decoder to message rtu (#2119) * Add generate_ssl() to TLS client as helper. (#2120) * ASCII framer using message decode() (#2128) * SOCKET/TLS framer using message decode(). (#2129) * Fix decode for wrong mdap len. * Streamline message class. (#2133) * modbus_server: call execute in a way that those can be either coroutines or normal methods (#2139) * Clean datastore setValues. (#2145) * fixed kwargs not being expanded for actions on bit registers, adjusted tests to catch this issue (#2161) * datastore: add async_setValues/getValues methods (#2165) Co-authored-by: Ilkka Ollakka <[email protected]> * Request/Response: change execute to be async method (#2142) * Bump actions CI. (#2166) * Fix usage of AsyncModbusTcpClient in client docs page (#2169) * Sphinx: do not turn warnings into errors. * Add minimal devcontainer. (#2172) * Transaction id overrun. * call async datastore from modbus server (#2144) * Datastore will not return ExceptionResponse. (#2175) * Describe zero_mode in ModbusSlaveContext.__init__ (#2187) * Solve pylint error. * Show error if example is run without support files. (#2189) * Fix usage file names (#2194) * Update client.rst (#2199) * Transaction_id for serial == 0. (#2208) * Remember to remove serial writer. (#2209) * Fix writing to serial (rs485) on windows os. (#2191) Co-authored-by: jan iversen <[email protected]> * test convert registers with 1234.... (#2217) * Solve serial unrequested frame. (#2219) * Log comm retries. (#2220) * prepare v3.6.9. * pylint. * Remove python 3.8 from CI. --------- Co-authored-by: Ilkka Ollakka <[email protected]> Co-authored-by: sumguytho <[email protected]> Co-authored-by: Ilkka Ollakka <[email protected]> Co-authored-by: Yohrog <[email protected]> Co-authored-by: James Cameron <[email protected]> Co-authored-by: Qi Li <[email protected]> Co-authored-by: andrew-harness <[email protected]>
1 parent a1696f7 commit ae415ad

File tree

8 files changed

+63
-5
lines changed

8 files changed

+63
-5
lines changed

AUTHORS.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Thanks to
1818
- Alois Hockenschlohe
1919
- Arjan
2020
- André Srinivasan
21+
- andrew-harness
2122
- banana-sun
2223
- Blaise Thompson
2324
- CapraTheBest
@@ -43,6 +44,7 @@ Thanks to
4344
- Jakob Ruhe
4445
- Jakob Schlyter
4546
- James Braza
47+
- James Cameron
4648
- James Hilliard
4749
- jan iversen
4850
- Jerome Velociter
@@ -63,13 +65,16 @@ Thanks to
6365
- Pavel Kostromitinov
6466
- peufeu2
6567
- Philip Couling
68+
- Qi Li
6669
- Sebastian Machuca
6770
- Sefa Keleş
6871
- Steffen Beyer
72+
- sumguytho
6973
- Thijs W
7074
- Totally a booplicate
7175
- WouterTuinstra
7276
- wriswith
77+
- Yohrog
7378
- yyokusa
7479

7580

CHANGELOG.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,40 @@ helps make pymodbus a better product.
77

88
:ref:`Authors`: contains a complete list of volunteers have contributed to each major version.
99

10+
11+
Version 3.6.9
12+
-------------
13+
* Remove python 3.8 from CI
14+
* Log comm retries. (#2220)
15+
* Solve serial unrequested frame. (#2219)
16+
* test convert registers with 1234.... (#2217)
17+
* Fix writing to serial (rs485) on windows os. (#2191)
18+
* Remember to remove serial writer. (#2209)
19+
* Update client.rst (#2199)
20+
* Fix usage file names (#2194)
21+
* Show error if example is run without support files. (#2189)
22+
* Solve pylint error.
23+
* Describe zero_mode in ModbusSlaveContext.__init__ (#2187)
24+
* Datastore will not return ExceptionResponse. (#2175)
25+
* call async datastore from modbus server (#2144)
26+
* Transaction id overrun.
27+
* Add minimal devcontainer. (#2172)
28+
* Sphinx: do not turn warnings into errors.
29+
* Fix usage of AsyncModbusTcpClient in client docs page (#2169)
30+
* Bump actions CI. (#2166)
31+
* Request/Response: change execute to be async method (#2142)
32+
* datastore: add async_setValues/getValues methods (#2165)
33+
* fixed kwargs not being expanded for actions on bit registers, adjusted tests to catch this issue (#2161)
34+
* Clean datastore setValues. (#2145)
35+
* modbus_server: call execute in a way that those can be either coroutines or normal methods (#2139)
36+
* Streamline message class. (#2133)
37+
* Fix decode for wrong mdap len.
38+
* SOCKET/TLS framer using message decode(). (#2129)
39+
* ASCII framer using message decode() (#2128)
40+
* Add generate_ssl() to TLS client as helper. (#2120)
41+
* add _legacy_decoder to message rtu (#2119)
42+
43+
1044
Version 3.6.8
1145
-------------
1246
* Allow socket exception response with wrong length

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PyModbus - A Python Modbus Stack
1111

1212
Pymodbus is a full Modbus protocol implementation offering client/server with synchronous/asynchronous API a well as simulators.
1313

14-
Current release is `3.6.8 <https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.6.8>`_.
14+
Current release is `3.6.9 <https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.6.9>`_.
1515

1616
Bleeding edge (not released) is `dev <https://github.com/pymodbus-dev/pymodbus/tree/dev>`_.
1717

pymodbus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
from pymodbus.pdu import ExceptionResponse
1919

2020

21-
__version__ = "3.7.0dev2"
21+
__version__ = "3.6.9"
2222
__version_full__ = f"[pymodbus, version {__version__}]"

pymodbus/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def getTransaction(self, tid):
454454
Log.debug("Getting transaction {}", tid)
455455
if not tid:
456456
if self.transactions:
457-
ret = self.transactions.popitem()[1]
457+
ret = self.transactions.popitem()[1]
458458
self.transactions.clear()
459459
return ret
460460
return None
File renamed without changes.

test/test_file_message.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
WriteFileRecordRequest,
1717
WriteFileRecordResponse,
1818
)
19-
20-
from .conftest import MockContext
19+
from test.conftest import MockContext # pylint: disable=wrong-import-order
2120

2221

2322
TEST_MESSAGE = b"\x00\n\x00\x08\x00\x01\x00\x02\x00\x03\x00\x04"

v3.6.9..dev

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
V3.7.0 (NOT INCLUDED in 3.6.7-8-9)
3+
14ec87e3 Solve serial unrequested frame. (#2219)
4+
5bddf9e8 Update third party versions. (#2216)
5+
45c5116e Transaction_id for serial == 0. (#2208)
6+
c91b2182 Sync TLS needs time before reading frame (#2186)
7+
a48aeeb4 Update transaction.py (#2174)
8+
e9c187e9 Merge 3.6.8 effects.
9+
681fd2c8 Merge master v3.6.8 into dev
10+
8a836b20 PDU classes --> pymodbus/pdu. (#2160)
11+
e8063fa5 Merge 3.6.7 back into dev. (#2156)
12+
a6b43dd7 Speed up no data detection. (#2150)
13+
c4c14cab RTU decode hunt part. (#2138)
14+
9e9e50e2 Dislodge client classes from modbusProtocol. (#2137)
15+
9f736dfe Merge new message layer and old framer directory. (#2135)
16+
331dc636 Coverage == 91%. (#2132)
17+
86d5afe2 Remove binary_framer. (#2130)
18+
0803ff70 on_reconnect_callback --> on_connect_callback. (#2122)
19+
2c36fd3f Remove certfile,keyfile,password from TLS client. (#2121)
20+
58a1c37d Drop support for python 3.8 (#2112)

0 commit comments

Comments
 (0)