Skip to content

Commit 2d228f2

Browse files
committed
Publish v2.8
1 parent a69b18a commit 2d228f2

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

CHANGES.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2.8
2+
* Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
3+
* Add setKeepAlive() to override MQTT_KEEPALIVE
4+
* Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
5+
* Added check to prevent subscribe/unsubscribe to empty topics
6+
* Declare wifi mode prior to connect in ESP example
7+
* Use `strnlen` to avoid overruns
8+
* Support pre-connected Client objects
9+
110
2.7
211
* Fix remaining-length handling to prevent buffer overrun
312
* Add large-payload API - beginPublish/write/publish/endPublish

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2008-2015 Nicholas O'Leary
1+
Copyright (c) 2008-2020 Nicholas O'Leary
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Full API documentation is available here: https://pubsubclient.knolleary.net
1717
is configurable via `MQTT_MAX_PACKET_SIZE` in `PubSubClient.h` or can be changed
1818
by calling `PubSubClient::setBufferSize(size)`.
1919
- The keepalive interval is set to 15 seconds by default. This is configurable
20-
via `MQTT_KEEPALIVE` in `PubSubClient.h`.
20+
via `MQTT_KEEPALIVE` in `PubSubClient.h` or can be changed by calling
21+
`PubSubClient::setKeepAlive(keepAlive)`.
2122
- The client uses MQTT 3.1.1 by default. It can be changed to use MQTT 3.1 by
2223
changing value of `MQTT_VERSION` in `PubSubClient.h`.
2324

keywords.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ setServer KEYWORD2
2727
setCallback KEYWORD2
2828
setClient KEYWORD2
2929
setStream KEYWORD2
30+
setKeepAlive KEYWORD2
31+
setBufferSize KEYWORD2
32+
setSocketTimeout KEYWORD2
3033

3134
#######################################
3235
# Constants (LITERAL1)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "git",
77
"url": "https://github.com/knolleary/pubsubclient.git"
88
},
9-
"version": "2.7",
9+
"version": "2.8",
1010
"exclude": "tests",
1111
"examples": "examples/*/*.ino",
1212
"frameworks": "arduino",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=PubSubClient
2-
version=2.7
2+
version=2.8
33
author=Nick O'Leary <nick.oleary@gmail.com>
44
maintainer=Nick O'Leary <nick.oleary@gmail.com>
55
sentence=A client library for MQTT messaging.

0 commit comments

Comments
 (0)