This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
Releases: mjmeli/pyduke-energy
Releases · mjmeli/pyduke-energy
Release v1.0.6
What's Changed
Full Changelog: v1.0.5...v1.0.6
Release v1.0.5
- fix incorrect calculation on timeout give up count to cover to 2 fastpoll periods
Release v1.0.4
- Increase the time at which we fully give up on reconnecting to MQTT to cover 2 fastpoll periods
Full Changelog: v1.0.3...v1.0.4
Release v1.0.3
What's Changed
Full Changelog: v1.0.2...v1.0.3
Release v1.0.2
What's Changed
Dependency Updates
- Update pytest-asyncio requirement from ~=0.18.3 to >=0.18.3,<0.20.0 by @dependabot in #31
- Bump pylint from 2.13.9 to 2.15.0 by @dependabot in #35
- Bump black from 22.3.0 to 22.8.0 by @dependabot in #36
- Bump flake8 from 4.0.1 to 5.0.4 by @dependabot in #34
Full Changelog: v1.0.1...v1.0.2
Release v1.0.1
What's Changed
Full Changelog: v1.0.0...v1.0.1
Release v1.0.0
What's Changed
- Breaking Changes - refactoring and indefinite reconnect by @mjmeli in #14
- Breaking Update external interface by renaming callback functions to be fully named (e.g.
on_msg
->on_message
). This is a breaking change and the main reason for a major version update. - Create a new
MqttError
class that will wrap MQTT related exceptions, and make sure these exceptions are thrown in failure instances as opposed to suppressing them - Update
connect_and_subscribe
to be callable multiple times - Implement
connect_and_subscribe_forever
as a wrapper aroundconnect_and_subscribe
which will attempt to auto-recover from any disconnections with an exponential back-off strategy - Add new
connected
future which will trigger whenon_connect
is called. This allows us to do a timeout wait and detect when connection is never achieved. This is currently 30 seconds. - Development improvements
- Update dev container to Python 3.10 and fix some configuration issues
- Add more type hints to help with type safety
- Miscellaneous linting fixes
- Run build and tests on pushes to all branches, not just main
- Update tox file to handle deprecation errors
- Breaking Update external interface by renaming callback functions to be fully named (e.g.
Full Changelog: v0.0.15...v1.0.0
Release v0.0.15
What's Changed
Full Changelog: v0.0.14...v0.0.15
Release v0.0.14
What's Changed
Full Changelog: v0.0.13...v0.0.14
Release v0.0.13
What's Changed
- ensure connects async safe since they block and add logging for reconnect to investigate if its blocking by @mjmeli in #8 and #9
Full Changelog: v0.0.12...v0.0.13