From 292e969140ffb40575af01650a98a4c5702ec6fa Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 27 Oct 2021 16:40:21 +0100 Subject: [PATCH] Bump version, update web. --- CMakeLists.txt | 2 +- ChangeLog.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/posts/2021/10/version-2-0-13-released.md | 43 ++++++++++++++++++++ 10 files changed, 55 insertions(+), 12 deletions(-) create mode 100644 www/posts/2021/10/version-2-0-13-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 07eff849..8c795f6e 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.12) +set (VERSION 2.0.13) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") diff --git a/ChangeLog.txt b/ChangeLog.txt index 1b50db4a..4a561680 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,4 @@ -2.0.13 - 2021-xx-xx +2.0.13 - 2021-10-27 =================== Broker: diff --git a/config.mk b/config.mk index 1288aa30..8fbb94ea 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.12 +VERSION=2.0.13 # 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 18a771f2..fc1e2a6c 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 12 +#define LIBMOSQUITTO_REVISION 13 /* 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 6f76e145..42d40c8a 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.12 +!define VERSION 2.0.13 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index 64543eb2..1edb8468 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.12 +!define VERSION 2.0.13 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/set-version.sh b/set-version.sh index 7606eae6..104983be 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=2 MINOR=0 -REVISION=12 +REVISION=13 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 34a62f52..095c121c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 2.0.12 +version: 2.0.13 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 65ead50e..151e4eb6 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Versions 2.0.13 of Mosquitto has been released. This is a and bugfix release. + +2.0.13 - 2021-10-27 +=================== + +# Broker +- Fix `max_keepalive` option not being able to be set to 0. +- Fix LWT messages not being delivered if `per_listener_settings` was set to + true. Closes [#2314]. +- Various fixes around inflight quota management. Closes [#2306]. +- Fix problem parsing config files with Windows line endings. Closes [#2297]. +- Don't send retained messages when a shared subscription is made. +- Fix log being truncated in Windows. +- Fix client id not showing in log on failed connections, where possible. +- Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication. + Closes [#2339]. +- Fix mosquitto_plugin.h not including mosquitto_broker.h. Closes [#2350]. + +# Client library +- Initialise sockpairR/W to invalid in `mosquitto_reinitialise()` to avoid + closing invalid sockets in `mosquitto_destroy()` on error. Closes [#2326]. + +# Clients +- Fix date format in mosquitto_sub output. Closes [#2353]. + +[#2297]: https://github.com/eclipse/mosquitto/issues/2297 +[#2306]: https://github.com/eclipse/mosquitto/issues/2306 +[#2314]: https://github.com/eclipse/mosquitto/issues/2314 +[#2326]: https://github.com/eclipse/mosquitto/issues/2326 +[#2339]: https://github.com/eclipse/mosquitto/issues/2339 +[#2350]: https://github.com/eclipse/mosquitto/issues/2350 +[#2353]: https://github.com/eclipse/mosquitto/issues/2353