From 6e2be258810ffa198c3074a56f457968e3567b63 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 12 Sep 2019 14:56:15 +0100 Subject: [PATCH] Bump version numbers, add release info. --- CMakeLists.txt | 2 +- ChangeLog.txt | 3 + 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/2019/09/version-1-6-5-released.md | 67 +++++++++++++++++++++ 10 files changed, 81 insertions(+), 11 deletions(-) create mode 100644 www/posts/2019/09/version-1-6-5-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index ff1c4e23..7fc2595b 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.4) +set (VERSION 1.6.5) add_definitions (-DCMAKE -DVERSION=\"${VERSION}\") diff --git a/ChangeLog.txt b/ChangeLog.txt index 765d80d6..8fcb17d3 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +1.6.5 - 20190912 +================ + Broker: - Fix v5 DISCONNECT packets with remaining length == 2 being treated as a protocol error. Closes #1367. diff --git a/config.mk b/config.mk index 6c23bef9..471ed41c 100644 --- a/config.mk +++ b/config.mk @@ -104,7 +104,7 @@ WITH_COVERAGE:=no # Also bump lib/mosquitto.h, CMakeLists.txt, # installer/mosquitto.nsi, installer/mosquitto64.nsi -VERSION=1.6.4 +VERSION=1.6.5 # 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 2190683d..d59028b6 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.4 +!define VERSION 1.6.5 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index 12a98b84..c89d9a7d 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.4 +!define VERSION 1.6.5 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/lib/mosquitto.h b/lib/mosquitto.h index 6957b619..c8116fa9 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 4 +#define LIBMOSQUITTO_REVISION 5 /* 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 5fe6c80c..8c9f65e6 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=1 MINOR=6 -REVISION=4 +REVISION=5 sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 95a4eb1f..dec36750 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 1.6.4 +version: 1.6.5 summary: Eclipse Mosquitto MQTT broker description: This is a message broker that supports version 3.1 and 3.1.1 of the MQTT protocol. diff --git a/www/pages/download.md b/www/pages/download.md index a2acb0e2..5499441d 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -1,7 +1,7 @@ + +This is a bugfix release. + +# Compatibility +- The most recent version of libwebsockets (3.2.0) changed its behaviour and is + not compatible with Mosquitto. This has been fixed for the next libwebsockets + release. The 1.6.5 release refuses to compile with libwebsockets 3.2.0. All + previous versions of Mosquitto that use websockets are affected by the change + in behaviour. + +# Broker +- Fix v5 DISCONNECT packets with remaining length == 2 being treated as a + protocol error. Closes [#1367]. +- Fix support for libwebsockets 3.x (excluding 3.2.0) +- Fix slow websockets performance when sending large messages. Closes [#1390]. +- Fix bridges potentially not connecting on Windows. Closes [#478]. +- Fix clients authorised using `use_identity_as_username` or + `use_subject_as_username` being disconnected on SIGHUP. Closes [#1402]. +- Improve error messages in some situations when clients disconnect. Reduces + the number of "Socket error on client X, disconnecting" messages. +- Fix Will for v5 clients not being sent if will delay interval was greater + than the session expiry interval. Closes [#1401]. +- Fix CRL file not being reloaded on HUP. Closes [#35]. +- Fix repeated "Error in poll" messages on Windows when only websockets + listeners are defined. Closes [#1391]. + +# Client library +- Fix reconnect backoff for the situation where connections are dropped rather + than refused. Closes [#737]. +- Fix missing locks on `mosq->state`. Closes [#1374]. + +# Documentation +- Improve details on global/per listener options in the mosquitto.conf man page. + Closes [#274]. +- Clarify behaviour when clients exceed the `message_size_limit`. Closes [#448]. +- Improve documentation for `max_inflight_bytes`, `max_inflight_messages`, + and `max_queued_messages`. + +# Build +- Fix missing function warnings on NetBSD. +- Fix `WITH_STATIC_LIBRARIES` using CMake on Windows. Closes [#1369]. +- Guard `ssize_t` definition on Windows. Closes [#522]. + + +[#35]: https://github.com/eclipse/mosquitto/issues/35 +[#274]: https://github.com/eclipse/mosquitto/issues/274 +[#448]: https://github.com/eclipse/mosquitto/issues/448 +[#478]: https://github.com/eclipse/mosquitto/issues/478 +[#522]: https://github.com/eclipse/mosquitto/issues/522 +[#737]: https://github.com/eclipse/mosquitto/issues/737 +[#1367]: https://github.com/eclipse/mosquitto/issues/1367 +[#1369]: https://github.com/eclipse/mosquitto/issues/1369 +[#1374]: https://github.com/eclipse/mosquitto/issues/1374 +[#1390]: https://github.com/eclipse/mosquitto/issues/1390 +[#1391]: https://github.com/eclipse/mosquitto/issues/1391 +[#1401]: https://github.com/eclipse/mosquitto/issues/1401 +[#1402]: https://github.com/eclipse/mosquitto/issues/1402