Move from unmaintained knolleary/pubsubclient to hmueller01/pubsubclient3#212
Merged
absalom-muc merged 1 commit intoabsalom-muc:masterfrom Nov 19, 2025
Merged
Conversation
Owner
|
Thank you for your efforts @git-developer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As stated in the README, the latest version 2.8.0 of PubSubClient is broken, and it is very unlikely that the fix PR knolleary/pubsubclient#1020 will ever be merged.
The library is unmaintained. This is officially confirmed by the author in knolleary/pubsubclient#1045. There are some maintained forks, though. An up-to-date and maintained fork containing all outstanding fixes is https://github.com/hmueller01/pubsubclient3. It is available in the Arduino IDE under the distinct name PubSubClient3, while the code is backwards-compatible.
The currently recommended workaround is to downgrade PubSubClient to 2.7.0. I suggest to use PubSubClient3 instead. This would save developers from accidently updating the library PubSubClient to broken version 2.8.0.