===================
New
----
35: Added is_active method to core reactor.
Determining whether a reactor had oustanding socket I/O, scheduler
deadlines or futures was:
if reactor.state in ACTIVE_STATES:
pass Do stuff
but this is less obvious than:
if reactor.is_active():
pass Do stuff
The change should be helpful particularly to new users of the library.
https://github.com/kcallin/haka-mqtt/issues/35
Fix
----
27: MQTT 3.1.1, MQTT-2.3.1-1, Packet IDs must be non-zero.
Packet ID generation starts at zero and this is a violation of
MQTT 3.1.1 MQTT-2.3.1-1. Packet IDs are now generated beginning
with one instead of zero.
https://github.com/kcallin/haka-mqtt/issues/27
30: BlockingMqttClient must use BlockingSslSocketFactory for ssl.
When uses incorrect socket factory when properties.ssl is an
SSLContext BlockingMqttClient incorrectly uses a SslSocketFactory
instead of a BlockingSslSocketFactory.
https://github.com/kcallin/haka-mqtt/issues/30
31: Log chosen DNS entry at INFO; others at DEBUG.
On DNS lookup one entry is chosen as the endpoint and other
entries are logged for information purposes. This leads to noisy
logs. Chosen entry now logged at INFO and others are logged at
DEBUG level.
https://github.com/kcallin/haka-mqtt/issues/31
32: DNS lookup of IP6 addresses logs address in square brackets.
When logging IP6 addresses from DNS lookups the addresses should
be enclosed by square brackets "[]" to distinguish them from port
numbers.
Before: 2001:db8:85a3:8d3:1319:8a2e:370:7348:443
After: [2001:db8:85a3:8d3:1319:8a2e:370:7348]:443
https://github.com/kcallin/haka-mqtt/issues/32
34: MqttPingreq not always scheduled correctly.
Client is not permitted to have more than one unacknowledged
pingreq at any given time. When a keepalive pingreq comes due and
the acknowledging pingresp is delayed (by say more than keepalive
period) the reactor needs to be able to immediately launch a
pingreq upon receipt of the pingresp.
https://github.com/kcallin/haka-mqtt/issues/34