Skip to content

8.0.0 Changes to Exception types - ValueError and MMQTTStateError

Compare
Choose a tag to compare
@tyeth tyeth released this 12 Mar 19:23
· 2 commits to main since this release
6b0f92f

Breaking Changes

MMQTTException type is no longer being used everywhere, in favour of the built in appropriate error types (ValueError, etc), and a new class MMQTTStateError(MMQTTException) for state related errors.

Although this change should be handled fine if catching MQTTException for connection errors, as MMQTTStateError inherits from MMQTTException, the general library usage now returns ValueError for a lot of previous MQTTExceptions.

As a result this is considered a breaking change / major version bump.

New Contributors

Full Changelog: 7.11.6...8.0.0