From b41056829932bc55c53e97f65fccefb3c1db44a6 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 28 Nov 2019 17:08:11 +0000 Subject: [PATCH] Bump version, add release post. --- CMakeLists.txt | 2 +- ChangeLog.txt | 3 + config.mk | 2 +- installer/mosquitto.nsi | 2 +- installer/mosquitto64.nsi | 2 +- lib/mosquitto.h | 2 +- set-version.sh | 2 +- snap/snapcraft.yaml | 2 +- www/posts/2019/11/version-1-6-8-released.md | 75 +++++++++++++++++++++ 9 files changed, 85 insertions(+), 7 deletions(-) create mode 100644 www/posts/2019/11/version-1-6-8-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 19d4814a..e11959c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ project(mosquitto) cmake_minimum_required(VERSION 2.8) # Only for version 3 and up. cmake_policy(SET CMP0042 NEW) -set (VERSION 1.6.7) +set (VERSION 1.6.8) add_definitions (-DCMAKE -DVERSION=\"${VERSION}\") diff --git a/ChangeLog.txt b/ChangeLog.txt index d4bb6dc4..1f01ebe8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +1.6.8 - 20191128 +================ + Broker: - Various fixes for `allow_zero_length_clientid` config, where this option was not being set correctly. Closes #1429. diff --git a/config.mk b/config.mk index 18a3dd26..51e36e0d 100644 --- a/config.mk +++ b/config.mk @@ -109,7 +109,7 @@ WITH_COVERAGE:=no # Also bump lib/mosquitto.h, CMakeLists.txt, # installer/mosquitto.nsi, installer/mosquitto64.nsi -VERSION=1.6.7 +VERSION=1.6.8 # Client library SO version. Bump if incompatible API/ABI changes are made. SOVERSION=1 diff --git a/installer/mosquitto.nsi b/installer/mosquitto.nsi index 73a165f8..95c6d447 100644 --- a/installer/mosquitto.nsi +++ b/installer/mosquitto.nsi @@ -9,7 +9,7 @@ !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' Name "Eclipse Mosquitto" -!define VERSION 1.6.7 +!define VERSION 1.6.8 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index f797a387..22a67abe 100644 --- a/installer/mosquitto64.nsi +++ b/installer/mosquitto64.nsi @@ -9,7 +9,7 @@ !define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"' Name "Eclipse Mosquitto" -!define VERSION 1.6.7 +!define VERSION 1.6.8 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/lib/mosquitto.h b/lib/mosquitto.h index 71357ef8..97e34809 100644 --- a/lib/mosquitto.h +++ b/lib/mosquitto.h @@ -48,7 +48,7 @@ extern "C" { #define LIBMOSQUITTO_MAJOR 1 #define LIBMOSQUITTO_MINOR 6 -#define LIBMOSQUITTO_REVISION 7 +#define LIBMOSQUITTO_REVISION 8 /* LIBMOSQUITTO_VERSION_NUMBER looks like 1002001 for e.g. version 1.2.1. */ #define LIBMOSQUITTO_VERSION_NUMBER (LIBMOSQUITTO_MAJOR*1000000+LIBMOSQUITTO_MINOR*1000+LIBMOSQUITTO_REVISION) diff --git a/set-version.sh b/set-version.sh index 45db2b74..073fe262 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=1 MINOR=6 -REVISION=7 +REVISION=8 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f662f04f..d5ce592b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 1.6.7 +version: 1.6.8 summary: Eclipse Mosquitto MQTT broker description: This is a message broker that supports version 3.1 and 3.1.1 of the MQTT protocol. diff --git a/www/posts/2019/11/version-1-6-8-released.md b/www/posts/2019/11/version-1-6-8-released.md new file mode 100644 index 00000000..585490f8 --- /dev/null +++ b/www/posts/2019/11/version-1-6-8-released.md @@ -0,0 +1,75 @@ + + +Mosquitto 1.6.8 has been released, this is a bugfix release. + +# Broker +- Various fixes for `allow_zero_length_clientid` config, where this option was + not being set correctly. Closes [#1429]. +- Fix incorrect memory tracking causing problems with `memory_limit` option. + Closes [#1437]. +- Fix subscription topics being limited to 200 characters instead of 200 + hierarchy levels. Closes [#1441]. +- Only a single CRL could be loaded at once. This has been fixed. + Closes [#1442]. +- Fix problems with reloading config when `per_listener_settings` was true. + Closes [#1459]. +- Fix retained messages with an expiry interval not being expired after being + restored from persistence. Closes [#1464]. +- Fix messages with an expiry interval being sent without an expiry interval + property just before they were expired. Closes [#1464]. +- Fix TLS Websockets clients not receiving messages after taking over a + previous connection. Closes [#1489]. +- Fix MQTT 3.1.1 clients using clean session false, or MQTT 5.0 clients using + session-expiry-interval set to infinity never expiring, even when the global + `persistent_client_expiration` option was set. Closes [#1494]. + +# Client library +- Fix publish properties not being passed to `on_message_v5()` callback for QoS 2 + messages. Closes [#1432]. +- Fix documentation issues in mosquitto.h. Closes [#1478]. +- Document `mosquitto_connect_srv()`. Closes [#1499]. + +# Clients +- Fix duplicate cfg definition in rr_client. Closes [#1453]. +- Fix `mosquitto_pub -l` hang when stdin stream ends. Closes [#1448]. +- Fix `mosquitto_pub -l` not sending the final line of stdin if it does not + end with a new line. Closes [#1473]. +- Make documentation for `mosquitto_pub -l` match reality - blank lines are + sent as empty messages. Closes [#1474]. +- Free memory in `mosquitto_sub` when quiting without having made a successful + connection. Closes [#1513]. + +# Build +- Added `CLIENT_STATIC_LDADD` to makefile builds to allow more libraries to be + linked when compiling the clients with a static libmosquitto, as required + for e.g. openssl on some systems. + +# Installer +- Fix `mosquitto_rr.exe` not being included in Windows installers. Closes [#1463]. + +[#1429]: https://github.com/eclipse/mosquitto/issues/1429 +[#1432]: https://github.com/eclipse/mosquitto/issues/1432 +[#1437]: https://github.com/eclipse/mosquitto/issues/1437 +[#1441]: https://github.com/eclipse/mosquitto/issues/1441 +[#1442]: https://github.com/eclipse/mosquitto/issues/1442 +[#1448]: https://github.com/eclipse/mosquitto/issues/1448 +[#1453]: https://github.com/eclipse/mosquitto/issues/1453 +[#1459]: https://github.com/eclipse/mosquitto/issues/1459 +[#1463]: https://github.com/eclipse/mosquitto/issues/1463 +[#1464]: https://github.com/eclipse/mosquitto/issues/1464 +[#1473]: https://github.com/eclipse/mosquitto/issues/1473 +[#1474]: https://github.com/eclipse/mosquitto/issues/1474 +[#1478]: https://github.com/eclipse/mosquitto/issues/1478 +[#1489]: https://github.com/eclipse/mosquitto/issues/1489 +[#1494]: https://github.com/eclipse/mosquitto/issues/1494 +[#1499]: https://github.com/eclipse/mosquitto/issues/1499 +[#1513]: https://github.com/eclipse/mosquitto/issues/1513