From c2a26250f699b9c21104c682d8641f3e120c9170 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 4 Feb 2021 10:10:13 +0000 Subject: [PATCH] Bump changelog, versions, and web pages. --- CMakeLists.txt | 2 +- ChangeLog.txt | 37 ++++++++++ config.mk | 2 +- include/mosquitto.h | 2 +- installer/mosquitto.nsi | 2 +- installer/mosquitto64.nsi | 2 +- set-version.sh | 2 +- snap/snapcraft.yaml | 2 +- www/pages/download.md | 8 +-- www/posts/2021/02/version-2-0-7-released.md | 77 +++++++++++++++++++++ 10 files changed, 125 insertions(+), 11 deletions(-) create mode 100644 www/posts/2021/02/version-2-0-7-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 9804337b..7a08b325 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.0) cmake_policy(SET CMP0042 NEW) project(mosquitto) -set (VERSION 2.0.6) +set (VERSION 2.0.7) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") diff --git a/ChangeLog.txt b/ChangeLog.txt index d2c69884..ba115c0a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2.0.7 - 2021-02-04 +================== + Broker: - Fix exporting of executable symbols on BSD when building via makefile. - Fix some minor memory leaks on exit only. @@ -14,6 +17,40 @@ Build: is not available. +1.6.13 - 2021-02-04 +=================== + +Broker: +- Fix crash on Windows if loading a plugin fails. Closes #1866. +- Fix DH group not being set for TLS connections, which meant ciphers using + DHE couldn't be used. Closes #1925. Closes #1476. +- Fix local bridges being disconnected on SIGHUP. Closes #1942. +- Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2 + messages. Closes #1968. +- Fix listener not being reassociated with client when reloading a persistence + file and `per_listener_settings true` is set and the client did not set a + username. Closes #1891. +- Fix file logging on Windows. Closes #1880. +- Fix bridge sock not being removed from sock hash on error. Closes #1897. + +Client library: +- Fix build on Mac Big Sur. Closes #1905. +- Fix DH group not being set for TLS connections, which meant ciphers using + DHE couldn't be used. Closes #1925. Closes #1476. + +Clients: +- mosquitto_sub will now quit with an error if the %U option is used on + Windows, rather than just quitting. Closes #1908. +- Fix config files truncating options after the first space. Closes #2059. + +Apps: +- Perform stricter parsing of input username in mosquitto_passwd. Closes + #570126 (Eclipse bugzilla). + +Build: +- Enable epoll support in CMake builds. + + 2.0.6 - 2021-01-28 ================== diff --git a/config.mk b/config.mk index 54039960..e8c577ba 100644 --- a/config.mk +++ b/config.mk @@ -127,7 +127,7 @@ WITH_XTREPORT=no # Also bump lib/mosquitto.h, CMakeLists.txt, # installer/mosquitto.nsi, installer/mosquitto64.nsi -VERSION=2.0.6 +VERSION=2.0.7 # Client library SO version. Bump if incompatible API/ABI changes are made. SOVERSION=1 diff --git a/include/mosquitto.h b/include/mosquitto.h index 956bcdd3..386c9da1 100644 --- a/include/mosquitto.h +++ b/include/mosquitto.h @@ -66,7 +66,7 @@ extern "C" { #define LIBMOSQUITTO_MAJOR 2 #define LIBMOSQUITTO_MINOR 0 -#define LIBMOSQUITTO_REVISION 6 +#define LIBMOSQUITTO_REVISION 7 /* 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/installer/mosquitto.nsi b/installer/mosquitto.nsi index 24e09492..ad3ee454 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 2.0.6 +!define VERSION 2.0.7 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index f8555a96..b88b656d 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 2.0.6 +!define VERSION 2.0.7 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/set-version.sh b/set-version.sh index ac997fd7..bf1a1cf9 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=2 MINOR=0 -REVISION=6 +REVISION=7 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 912ee4d9..063a71de 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 2.0.6 +version: 2.0.7 summary: Eclipse Mosquitto MQTT broker description: This is a message broker that supports version 5.0, 3.1.1, and 3.1 of the MQTT protocol. diff --git a/www/pages/download.md b/www/pages/download.md index 757eefd8..290ba6b2 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Version 2.0.7 and 1.6.13 of Mosquitto have been released. These are bugfix releases. + +# 2.0.7 + +## Broker +- Fix exporting of executable symbols on BSD when building via makefile. +- Fix some minor memory leaks on exit only. +- Fix possible memory leak on connect. Closes [#2057]. +- Fix openssl engine not being able to load private key. Closes [#2066]. + +## Clients +- Fix config files truncating options after the first space. Closes [#2059]. + +## Build +- Fix man page building to not absolutely require xsltproc when using CMake. + This now handles the case where we are building from the released tar, or + building from git if xsltproc is available, or building from git if xsltproc + is not available. + + +# 1.6.13 + +## Broker: +- Fix crash on Windows if loading a plugin fails. Closes [#1866]. +- Fix DH group not being set for TLS connections, which meant ciphers using + DHE couldn't be used. Closes [#1925]. Closes [#1476]. +- Fix local bridges being disconnected on SIGHUP. Closes [#1942]. +- Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2 + messages. Closes [#1968]. +- Fix listener not being reassociated with client when reloading a persistence + file and `per_listener_settings true` is set and the client did not set a + username. Closes [#1891]. +- Fix file logging on Windows. Closes [#1880]. +- Fix bridge sock not being removed from sock hash on error. Closes [#1897]. + +## Client library: +- Fix build on Mac Big Sur. Closes [#1905]. +- Fix DH group not being set for TLS connections, which meant ciphers using + DHE couldn't be used. Closes [#1925]. Closes [#1476]. + +## Clients: +- mosquitto_sub will now quit with an error if the %U option is used on + Windows, rather than just quitting. Closes [#1908]. +- Fix config files truncating options after the first space. Closes [#2059]. + +## Apps: +- Perform stricter parsing of input username in mosquitto_passwd. Closes + [#570126] (Eclipse bugzilla). + +## Build: +- Enable epoll support in CMake builds. + +[#1476]: https://github.com/eclipse/mosquitto/issues/1476 +[#1866]: https://github.com/eclipse/mosquitto/issues/1866 +[#1880]: https://github.com/eclipse/mosquitto/issues/1880 +[#1891]: https://github.com/eclipse/mosquitto/issues/1891 +[#1897]: https://github.com/eclipse/mosquitto/issues/1897 +[#1905]: https://github.com/eclipse/mosquitto/issues/1905 +[#1908]: https://github.com/eclipse/mosquitto/issues/1908 +[#1925]: https://github.com/eclipse/mosquitto/issues/1925 +[#1942]: https://github.com/eclipse/mosquitto/issues/1942 +[#1968]: https://github.com/eclipse/mosquitto/issues/1968 +[#2057]: https://github.com/eclipse/mosquitto/issues/2057 +[#2059]: https://github.com/eclipse/mosquitto/issues/2059 +[#2066]: https://github.com/eclipse/mosquitto/issues/2066 +[#570126]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=570126