From cec9d364451da6fd106c68da9ff45add05dcbcaf Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 25 Feb 2021 17:23:24 +0000 Subject: [PATCH] Bump version and web pages. --- CMakeLists.txt | 2 +- ChangeLog.txt | 3 ++ 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-8-released.md | 42 +++++++++++++++++++++ 10 files changed, 56 insertions(+), 11 deletions(-) create mode 100644 www/posts/2021/02/version-2-0-8-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a08b325..489105df 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.7) +set (VERSION 2.0.8) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") diff --git a/ChangeLog.txt b/ChangeLog.txt index 93f0ff23..a83937e2 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2.0.8 - 2021-02-25 +================== + Broker: - Fix incorrect datatypes in `struct mosquitto_evt_tick`. This changes the size and offset of two of the members of this struct, and changes the size diff --git a/config.mk b/config.mk index e8c577ba..73e5cc39 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.7 +VERSION=2.0.8 # 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 386c9da1..3e304836 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 7 +#define LIBMOSQUITTO_REVISION 8 /* 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 ad3ee454..e34c7847 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.7 +!define VERSION 2.0.8 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index b88b656d..4bd80f54 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.7 +!define VERSION 2.0.8 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/set-version.sh b/set-version.sh index bf1a1cf9..a96b6a77 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=2 MINOR=0 -REVISION=7 +REVISION=8 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 063a71de..0099409a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 2.0.7 +version: 2.0.8 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 290ba6b2..0d16e248 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +Version 2.0.8 of Mosquitto has been released. This is a bugfix release. + +# Broker +- Fix incorrect datatypes in `struct mosquitto_evt_tick`. This changes the + size and offset of two of the members of this struct, and changes the size + of the struct. This is an ABI break, but is considered to be acceptable + because plugins should never be allocating their own instance of this + struct, and currently none of the struct members are used for anything, so a + plugin should not be accessing them. It would also be safe to read/write + from the existing struct parameters. +- Give compile time warning if libwebsockets compiled without external poll + support. Closes [#2060]. +- Fix memory tracking not being available on FreeBSD or macOS. Closes [#2096]. + +# Client library +- Fix `mosquitto_{pub|sub}_topic_check()` functions not returning `MOSQ_ERR_INVAL` + on topic == NULL. + +# Clients +- Fix possible loss of data in `mosquitto_pub -l` when sending multiple long + lines. Closes [#2078]. + +# Build +- Provide a mechanism for Docker users to run a broker that doesn't use + authentication, without having to provide their own configuration file. + Closes [#2040]. + +[#2040]: https://github.com/eclipse/mosquitto/issues/2040 +[#2060]: https://github.com/eclipse/mosquitto/issues/2060 +[#2078]: https://github.com/eclipse/mosquitto/issues/2078 +[#2096]: https://github.com/eclipse/mosquitto/issues/2096