From 39ff7226eb675f66edf56c32a9249aa582278e01 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 19 Aug 2020 14:46:44 +0100 Subject: [PATCH] Bump version, add new www posts. --- CMakeLists.txt | 2 +- config.mk | 2 +- installer/mosquitto.nsi | 2 +- installer/mosquitto64.nsi | 2 +- lib/mosquitto.h | 2 +- set-version.sh | 2 +- snap/snapcraft.yaml | 2 +- www/pages/download.md | 8 ++--- www/posts/2020/08/version-1-6-12-released.md | 32 ++++++++++++++++++++ 9 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 www/posts/2020/08/version-1-6-12-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 92604490..27c08c58 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.11) +set (VERSION 1.6.12) add_definitions (-DCMAKE -DVERSION=\"${VERSION}\") diff --git a/config.mk b/config.mk index 75c8b35f..80e02f96 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.11 +VERSION=1.6.12 # 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 6cd04601..60ac9a26 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.11 +!define VERSION 1.6.12 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index dc54654b..c303f7a4 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.11 +!define VERSION 1.6.12 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/lib/mosquitto.h b/lib/mosquitto.h index 93793fa5..88abaead 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 11 +#define LIBMOSQUITTO_REVISION 12 /* 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 c98f34bd..c27c55bb 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=1 MINOR=6 -REVISION=11 +REVISION=12 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a8ba134a..694a6c26 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 1.6.11 +version: 1.6.12 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 2e805643..4619a7b4 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Mosquitto 1.6.12 has been released, this is a bugfix release. + +# Security +- In some circumstances, Mosquitto could leak memory when handling PUBLISH + messages. This is limited to incoming QoS 2 messages, and is related + to the combination of the broker having persistence enabled, a clean + session=false client, which was connected prior to the broker restarting, + then has reconnected and has now sent messages at a sufficiently high rate + that the incoming queue at the broker has filled up and hence messages are + being dropped. This is more likely to have an effect where + `max_queued_messages` is a small value. This has now been fixed. Closes [#1793]. + +# Broker +- Build warning fixes when building with `WITH_BRIDGE=no` and `WITH_TLS=no`. + +# Clients +- All clients exit with an error exit code on CONNACK failure. Closes [#1778]. +- Don't busy loop with `mosquitto_pub -l` on a slow connection. + +[#1778]: https://github.com/eclipse/mosquitto/issues/1778 +[#1793]: https://github.com/eclipse/mosquitto/issues/1793