diff --git a/API_changes.rst b/API_changes.rst index 50ecc7867..fef2c8cc0 100644 --- a/API_changes.rst +++ b/API_changes.rst @@ -16,6 +16,7 @@ API changes 3.7.0 - PDU classes moved to pymodbus/pdu - Simulator config custom actions kwargs -> parameters - Non defined parameters (kwargs) no longer valid +- Drop support for Python 3.8 (its no longer tested, but will probably work) API changes 3.6.0 diff --git a/AUTHORS.rst b/AUTHORS.rst index 6d015f1e9..78fad7682 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -33,6 +33,7 @@ Thanks to - Dominique Martinet - Dries - duc996 +- Esco441-91 - Farzad Panahi - Fredo70 - Gao Fang @@ -54,6 +55,7 @@ Thanks to - julian - Justin Standring - Kenny Johansson +- Martyy - Matthias Straka - laund - Logan Gunthorpe diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2c3347d78..1cae14415 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,47 @@ helps make pymodbus a better product. :ref:`Authors`: contains a complete list of volunteers have contributed to each major version. +Version 3.7.0 +------------- +* Remove unneeded client parameters. (#2272) +* simulator: Fix context single parameter (#2264) +* buildPacket can be used for Request and Response (#2262) +* More descriptive decoder exceptions (#2260) +* Cleanup ReadWriteMultipleRegistersResponse and testing (#2261) +* Feature/simulator addressing (#2258) +* Framer optimization (apart from RTU). (#2146) +* Use mock.patch.object to avoid protected access errors. (#2251) +* Fix some mypy type checking errors in test_transaction.py (#2250) +* Update check for windows platform (#2247) +* Logging 100% coverage. (#2248) +* CI, Block draft PRs to use CPU minutes. (#2245, #2246) +* Remove kwargs client. (#2243, #2244, #2257) +* remove kwargs PDU messagees. (#2240) +* Remove message_generator example (not part of API). (#2239) +* Update dev dependencies (#2241) +* Fix ruff check in CI (#2242) +* Remove kwargs. (#2236, #2237) +* Simulator config, kwargs -> parameters. (#2235) +* Refactor transaction handling to better separate async and sync code. (#2232) +* Simplify some BinaryPayload pack operations (#2224) +* Fix writing to serial (rs485) on windows os. (#2191) +* Remember to remove serial writer. (#2209) +* Transaction_id for serial == 0. (#2208) +* Solve pylint error. +* Sync TLS needs time before reading frame (#2186) +* Update transaction.py (#2174) +* PDU classes --> pymodbus/pdu. (#2160) +* Speed up no data detection. (#2150) +* RTU decode hunt part. (#2138) +* Dislodge client classes from modbusProtocol. (#2137) +* Merge new message layer and old framer directory. (#2135) +* Coverage == 91%. (#2132) +* Remove binary_framer. (#2130) +* on_reconnect_callback --> on_connect_callback. (#2122) +* Remove certfile,keyfile,password from TLS client. (#2121) +* Drop support for python 3.8 (#2112) + + Version 3.6.9 ------------- * Remove python 3.8 from CI diff --git a/MAKE_RELEASE.rst b/MAKE_RELEASE.rst index a919eb9d4..9bed9c862 100644 --- a/MAKE_RELEASE.rst +++ b/MAKE_RELEASE.rst @@ -8,14 +8,14 @@ Making a release. ------------------------------------------------------------ Prepare/make release on dev. ------------------------------------------------------------ -* Make pull request "prepare v3.6.x", with the following: +* Make pull request "prepare v3.7.x", with the following: * Update pymodbus/__init__.py with version number (__version__ X.Y.Zpre) * Update README.rst "Supported versions" * Control / Update API_changes.rst * Update CHANGELOG.rst * Add commits from last release, but selectively ! - git log --oneline v3.6.6..HEAD > commit.log - git log --pretty="%an" v3.6.6..HEAD | sort -uf > authors.log + git log --oneline v3.7.0..HEAD > commit.log + git log --pretty="%an" v3.7.0..HEAD | sort -uf > authors.log update AUTHORS.rst and CHANGELOG.rst cd doc; ./build_html * rm -rf build/* dist/* @@ -30,13 +30,13 @@ Prepare/make release on dev. * git branch -D master * wait for CI to complete on all branches * On github "prepare release" - * Create tag e.g. v3.4.0dev0 - * Title "pymodbus v3.4.0dev0" + * Create tag e.g. v3.7.0dev0 + * Title "pymodbus v3.7.0dev0" * do NOT generate release notes, but copy from CHANGELOG.rst * make release (remember to mark pre-release if so) * on local repo * git pull, check release tag is pulled - * git checkout v3.0.0dev0 + * git checkout v3.7.0dev0 * rm -rf build/* dist/* * python3 -m build * twine upload dist/* (upload to pypi) diff --git a/README.rst b/README.rst index f78889652..30a21ee60 100644 --- a/README.rst +++ b/README.rst @@ -11,10 +11,13 @@ PyModbus - A Python Modbus Stack Pymodbus is a full Modbus protocol implementation offering client/server with synchronous/asynchronous API a well as simulators. -Current release is `3.6.9 `_. +Current release is `3.7.0 `_. Bleeding edge (not released) is `dev `_. +Waiting for v3.8.0 (not released) is `wait3.8.0 `_. This contains +dev + merged pull requests that have API changes, and thus have to wait. + All changes are described in `release notes `_ and all API changes are `documented `_ diff --git a/doc/index.rst b/doc/index.rst index 8c226ea1a..433f78f4b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -9,6 +9,7 @@ Please select a topic in the left hand column. :hidden: source/readme + source/api_changes source/client source/server source/repl diff --git a/doc/source/_static/examples.tgz b/doc/source/_static/examples.tgz index be0a609ef..65294ff1e 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 777f6fbec..b853a45dc 100644 Binary files a/doc/source/_static/examples.zip and b/doc/source/_static/examples.zip differ diff --git a/pymodbus/__init__.py b/pymodbus/__init__.py index d238f3d6f..2a5de0535 100644 --- a/pymodbus/__init__.py +++ b/pymodbus/__init__.py @@ -18,5 +18,5 @@ from pymodbus.pdu import ExceptionResponse -__version__ = "3.7.0dev3" +__version__ = "3.7.0" __version_full__ = f"[pymodbus, version {__version__}]"