From e7aa0fed2f4388795d39b01a949ad8e67517b027 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Sat, 3 Apr 2021 12:00:33 +0100 Subject: [PATCH] Bump version, update web page. --- CMakeLists.txt | 2 +- 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/pages/security.md | 4 +- www/posts/2021/04/version-2-0-10-released.md | 48 ++++++++++++++++++++ 10 files changed, 62 insertions(+), 12 deletions(-) create mode 100644 www/posts/2021/04/version-2-0-10-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 4963d4ca..2a0be9b1 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.9) +set (VERSION 2.0.10) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") diff --git a/config.mk b/config.mk index 4392adf0..fe6a822a 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.9 +VERSION=2.0.10 # 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 9aafcb32..02c49fcd 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 9 +#define LIBMOSQUITTO_REVISION 10 /* 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 20487814..437bf95f 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.9 +!define VERSION 2.0.10 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index 5ca2ca38..aeb8548b 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.9 +!define VERSION 2.0.10 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/set-version.sh b/set-version.sh index ba9b855a..af1fc52d 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=2 MINOR=0 -REVISION=9 +REVISION=10 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5e8289ba..1ca29c0f 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 2.0.9 +version: 2.0.10 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 c181fdca..974476d3 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Versions 2.0.10 of Mosquitto has been released. This is a security and bugfix +release. + +# Security +- CVE-xxxx-xxxx: If an authenticated client connected with MQTT v5 sent a + malformed CONNACK message to the broker a NULL pointer dereference occurred, + most likely resulting in a segfault. This will be updated with the CVE + number when it is assigned. + Affects versions 2.0.0 to 2.0.9 inclusive. + +# Broker +- Don't overwrite new receive-maximum if a v5 client connects and takes over + an old session. Closes [#2134]. +- Fix CVE-xxxx-xxxx. Closes [#2163]. + +# Clients +- Set `receive-maximum` to not exceed the `-C` message count in mosquitto_sub + and mosquitto_rr, to avoid potentially lost messages. Closes [#2134]. +- Fix TLS-PSK mode not working with port 8883. Closes [#2152]. + +# Client library +- Fix possible socket leak. This would occur if a client was using + `mosquitto_loop_start()`, then if the connection failed due to the remote + server being inaccessible they called `mosquitto_loop_stop(, true)` and + recreated the mosquitto object. + +# Build +- A variety of minor build related fixes, like functions not having previous + declarations. +- Fix CMake cross compile builds not finding opensslconf.h. Closes [#2160]. +- Fix build on Solaris non-sparc. Closes [#2136]. + +[#2134]: https://github.com/eclipse/mosquitto/issues/2134 +[#2136]: https://github.com/eclipse/mosquitto/issues/2136 +[#2152]: https://github.com/eclipse/mosquitto/issues/2152 +[#2160]: https://github.com/eclipse/mosquitto/issues/2160 +[#2163]: https://github.com/eclipse/mosquitto/issues/2163