From d02bc03ed8c48fc47ace4c1679b82b245208b0bc Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 17 Dec 2020 14:28:23 +0000 Subject: [PATCH] Bump version, changelog and webpage. --- CMakeLists.txt | 2 +- ChangeLog.txt | 8 ++++ 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/2020/12/version-2-0-3-released.md | 51 +++++++++++++++++++++ 11 files changed, 74 insertions(+), 11 deletions(-) create mode 100644 www/posts/2020/12/version-2-0-3-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index f430eeeb..9167f9e5 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.2) +set (VERSION 2.0.3) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") diff --git a/ChangeLog.txt b/ChangeLog.txt index 366afe74..1d6ae289 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,11 @@ +2.0.3 - 2020-12-17 +================== + +Security: +- Running mosquitto_passwd with the following arguments only + `mosquitto_passwd -b password_file username password` would cause the + username to be used as the password. + Broker: - Fix excessive CPU use on non-Linux systems when the open file limit is set high. Closes #1947. diff --git a/config.mk b/config.mk index d64e2d00..de328ea3 100644 --- a/config.mk +++ b/config.mk @@ -125,7 +125,7 @@ WITH_XTREPORT=no # Also bump lib/mosquitto.h, CMakeLists.txt, # installer/mosquitto.nsi, installer/mosquitto64.nsi -VERSION=2.0.2 +VERSION=2.0.3 # 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 abbc8c2d..ef667693 100644 --- a/include/mosquitto.h +++ b/include/mosquitto.h @@ -59,7 +59,7 @@ extern "C" { #define LIBMOSQUITTO_MAJOR 2 #define LIBMOSQUITTO_MINOR 0 -#define LIBMOSQUITTO_REVISION 2 +#define LIBMOSQUITTO_REVISION 3 /* 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 1fa75ffb..702a0a98 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.2 +!define VERSION 2.0.3 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index 274dd7d6..b40ef29e 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.2 +!define VERSION 2.0.3 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/set-version.sh b/set-version.sh index e01b89df..11de2bda 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=2 MINOR=0 -REVISION=2 +REVISION=3 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c0155181..3e7257bc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 2.0.2 +version: 2.0.3 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 d015405f..7436afda 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Version 2.0.3 of Mosquitto has been released. This is a bugfix release. + +# Security +- Running mosquitto_passwd with the following arguments only + `mosquitto_passwd -b password_file username password` would cause the + username to be used as the password. + +# Broker +- Fix excessive CPU use on non-Linux systems when the open file limit is set + high. Closes [#1947]. +- Fix LWT not being sent on client takeover when the existing session wasn't + being continued. Closes [#1946]. +- Fix bridges possibly not completing connections when WITH_ADNS is in use. + Closes [#1960]. +- Fix QoS 0 messages not being delivered if max_queued_messages was set to 0. + Closes [#1956]. +- Fix local bridges being disconnected on SIGHUP. Closes [#1942]. +- Fix slow initial bridge connections for WITH_ADNS=no. + +# Clients +- Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful + connection is not made. Closes [#1957]. + +# Apps +- Fix `mosquitto_passwd -b` using username as password (not if `-c` is also + used). Closes [#1949]. + +# Build +- Fix `install` target when using WITH_CJSON=no. Closes [#1938]. +- Fix `generic` docker build. Closes [#1945]. + +[#1938]: https://github.com/eclipse/mosquitto/issues/1938 +[#1942]: https://github.com/eclipse/mosquitto/issues/1942 +[#1945]: https://github.com/eclipse/mosquitto/issues/1945 +[#1946]: https://github.com/eclipse/mosquitto/issues/1946 +[#1947]: https://github.com/eclipse/mosquitto/issues/1947 +[#1949]: https://github.com/eclipse/mosquitto/issues/1949 +[#1956]: https://github.com/eclipse/mosquitto/issues/1956 +[#1957]: https://github.com/eclipse/mosquitto/issues/1957 +[#1960]: https://github.com/eclipse/mosquitto/issues/1960