Skip to content

Releases: knolleary/pubsubclient

v2.8

20 May 00:41
Compare
Choose a tag to compare
  • Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
  • Add setKeepAlive() to override MQTT_KEEPALIVE
  • Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
  • Added check to prevent subscribe/unsubscribe to empty topics
  • Declare wifi mode prior to connect in ESP example
  • Use strnlen to avoid overruns
  • Support pre-connected Client objects

v2.7

02 Nov 13:15
Compare
Choose a tag to compare
  • Fix remaining-length handling to prevent buffer overrun
  • Add large-payload API - beginPublish/write/publish/endPublish
  • Add yield call to improve reliability on ESP
  • Add Clean Session flag to connect options
  • Add ESP32 support for functional callback signature
  • Various other fixes

v2.6

02 Feb 07:41
Compare
Choose a tag to compare
  • Revert breaking change to callback signature

v2.5: Update library files

31 Jan 20:56
Compare
Choose a tag to compare
  • Add a library.json file for PlatformIO
  • Handle dns failure on connect properly
  • Made use of callback std::function ESP8266-specific
  • Allow existing #-defines to be predefined

v2.4

21 Nov 20:59
Compare
Choose a tag to compare
  • Add MQTT_SOCKET_TIMEOUT to prevent it blocking indefinitely whilst waiting for inbound data
  • Fixed return code when publishing >256 bytes

v2.3

11 Sep 22:26
Compare
Choose a tag to compare
  • Add publish(topic,payload,retained) function

v2.2

07 Sep 22:07
Compare
Choose a tag to compare
  • Change code layout to match Arduino Library reqs

v2.1

07 Sep 20:19
Compare
Choose a tag to compare
  • Add MAX_TRANSFER_SIZE def to chunk messages if needed
  • Reject topic/payloads that exceed MQTT_MAX_PACKET_SIZE

v2.0

28 Aug 15:42
Compare
Choose a tag to compare
  • Add (and default to) MQTT 3.1.1 support
  • Fix PROGMEM handling for Intel Galileo/ESP8266
  • Add overloaded constructors for convenience
  • Add chainable setters for server/callback/client/stream
  • Add state function to return connack return code