diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c7f07fc15..c3a3e201e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,10 @@ helps make pymodbus a better product. :ref:`Authors`: contains a complete list of volunteers have contributed to each major version. +Version 3.8.2 +------------- + + Version 3.8.1 ------------- * Convert endianness (#2506) diff --git a/README.rst b/README.rst index 471b0fa43..e124c6d3e 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ Upgrade examples: - 3.6.1 -> 3.7.0: Smaller changes to the pymodbus calls might be needed - 2.5.4 -> 3.0.0: Major changes in the application might be needed -Current release is `3.8.1 `_. +Current release is `3.8.2 `_. Bleeding edge (not released) is `dev `_. diff --git a/doc/source/_static/examples.tgz b/doc/source/_static/examples.tgz index e16c93463..b05e4bb4d 100644 Binary files a/doc/source/_static/examples.tgz and b/doc/source/_static/examples.tgz differ diff --git a/doc/source/_static/examples.zip b/doc/source/_static/examples.zip index 9dc815c73..edae1dde5 100644 Binary files a/doc/source/_static/examples.zip and b/doc/source/_static/examples.zip differ diff --git a/doc/source/roadmap.rst b/doc/source/roadmap.rst index a35235aeb..5f6c494dd 100644 --- a/doc/source/roadmap.rst +++ b/doc/source/roadmap.rst @@ -15,7 +15,7 @@ It is the community that decides how pymodbus evolves NOT the maintainers ! The following bullet points are what the maintainers focus on: -- 3.8.2, bug fix release, with: +- 3.8.3 bug fix release, with: - Currently not planned - 3.9.0, with: - All of branch wait_next_api diff --git a/pymodbus/__init__.py b/pymodbus/__init__.py index 913aefa82..2bdc5cda8 100644 --- a/pymodbus/__init__.py +++ b/pymodbus/__init__.py @@ -18,5 +18,5 @@ from pymodbus.pdu import ExceptionResponse -__version__ = "3.8.1" +__version__ = "3.8.2" __version_full__ = f"[pymodbus, version {__version__}]" diff --git a/pymodbus/transaction/transaction.py b/pymodbus/transaction/transaction.py index a98d2e21b..3a0cf1aa3 100644 --- a/pymodbus/transaction/transaction.py +++ b/pymodbus/transaction/transaction.py @@ -62,7 +62,7 @@ def __init__( else: self._lock = asyncio.Lock() self.low_level_send = self.send - self.response_future: asyncio.Future = asyncio.Future() + self.response_future: asyncio.Future = asyncio.Future() def dummy_trace_packet(self, sending: bool, data: bytes) -> bytes: """Do dummy trace.""" @@ -161,8 +161,8 @@ async def server_execute(self) -> tuple[ModbusPDU, int, Exception]: Used in server, with an instance for each connection, therefore there are NO concurrency. """ - pdu, addr, exc = await asyncio.wait_for(self.response_future, None) self.response_future = asyncio.Future() + pdu, addr, exc = await asyncio.wait_for(self.response_future, None) return pdu, addr, exc def pdu_send(self, pdu: ModbusPDU, addr: tuple | None = None) -> None: