From 1d6aa9f69cf10960baeab21839441578dba05e3a Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 13 Jun 2019 16:24:52 +0100 Subject: [PATCH] Bump version and web pages. --- CMakeLists.txt | 2 +- ChangeLog.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 | 6 +- www/posts/2019/06/version-1-6-3-released.md | 84 +++++++++++++++++++ .../mosquitto/templates/base_helper.tmpl | 10 --- 11 files changed, 95 insertions(+), 21 deletions(-) create mode 100644 www/posts/2019/06/version-1-6-3-released.md diff --git a/CMakeLists.txt b/CMakeLists.txt index 825953f1..e707229b 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.2) +set (VERSION 1.6.3) add_definitions (-DCMAKE -DVERSION=\"${VERSION}\") diff --git a/ChangeLog.txt b/ChangeLog.txt index 20f79dd6..103cbe68 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,4 @@ -1.6.3 - 201905xx +1.6.3 - 20190613 ================ Broker: diff --git a/config.mk b/config.mk index 6b9660bc..e305d0cd 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.2 +VERSION=1.6.3 # 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 79d48f97..15cd507d 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.2 +!define VERSION 1.6.3 OutFile "mosquitto-${VERSION}-install-windows-x86.exe" InstallDir "$PROGRAMFILES\mosquitto" diff --git a/installer/mosquitto64.nsi b/installer/mosquitto64.nsi index 985c3499..6027fc89 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.2 +!define VERSION 1.6.3 OutFile "mosquitto-${VERSION}-install-windows-x64.exe" !include "x64.nsh" diff --git a/lib/mosquitto.h b/lib/mosquitto.h index 49217460..09bba66e 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 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/set-version.sh b/set-version.sh index fa0b9e87..0e99da2f 100755 --- a/set-version.sh +++ b/set-version.sh @@ -2,7 +2,7 @@ MAJOR=1 MINOR=6 -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 ffed4d03..2072c652 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: mosquitto -version: 1.6.2 +version: 1.6.3 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 3fbe4946..13aa8ddc 100644 --- a/www/pages/download.md +++ b/www/pages/download.md @@ -11,7 +11,7 @@ # Source -* [mosquitto-1.6.2.tar.gz](https://mosquitto.org/files/source/mosquitto-1.6.2.tar.gz) (319kB) ([GPG signature](https://mosquitto.org/files/source/mosquitto-1.6.2.tar.gz.asc)) +* [mosquitto-1.6.3.tar.gz](https://mosquitto.org/files/source/mosquitto-1.6.3.tar.gz) (319kB) ([GPG signature](https://mosquitto.org/files/source/mosquitto-1.6.3.tar.gz.asc)) * [Git source code repository](https://github.com/eclipse/mosquitto) (github.com) Older downloads are available at [https://mosquitto.org/files/](../files/) @@ -24,8 +24,8 @@ distributions. ## Windows -* [mosquitto-1.6.2-install-windows-x64.exe](https://mosquitto.org/files/binary/win64/mosquitto-1.6.2-install-windows-x64.exe) (~360 kB) (64-bit build, Windows Vista and up, built with Visual Studio Community 2017) -* [mosquitto-1.6.2-install-windows-x32.exe](https://mosquitto.org/files/binary/win32/mosquitto-1.6.2-install-windows-x86.exe) (~360 kB) (32-bit build, Windows Vista and up, built with Visual Studio Community 2017) +* [mosquitto-1.6.3-install-windows-x64.exe](https://mosquitto.org/files/binary/win64/mosquitto-1.6.3-install-windows-x64.exe) (~1.4 MB) (64-bit build, Windows Vista and up, built with Visual Studio Community 2017) +* [mosquitto-1.6.3-install-windows-x32.exe](https://mosquitto.org/files/binary/win32/mosquitto-1.6.2-install-windows-x86.exe) (~1.4 MB) (32-bit build, Windows Vista and up, built with Visual Studio Community 2017) See also readme-windows.txt after installing. diff --git a/www/posts/2019/06/version-1-6-3-released.md b/www/posts/2019/06/version-1-6-3-released.md new file mode 100644 index 00000000..b72de4ed --- /dev/null +++ b/www/posts/2019/06/version-1-6-3-released.md @@ -0,0 +1,84 @@ + + +This is a bugfix release. + +## Broker +- Fix detection of incoming v3.1/v3.1.1 bridges. Closes [#1263]. +- Fix default `max_topic_alias` listener config not being copied to the in-use + listener when compiled without TLS support. +- Fix random number generation if compiling using `WITH_TLS=no` and on Linux + with glibc >= 2.25. Without this fix, no random numbers would be generated + for e.g. on broker client id generation, and so clients connecting expecting + this feature would be unable to connect. +- Fix compilation problem related to `getrandom()` on non-glibc systems. +- Fix Will message for a persistent client incorrectly being sent when the + client reconnects after a clean disconnect. Closes [#1273]. +- Fix Will message for a persistent client not being sent on disconnect. + Closes [#1273]. +- Improve documentation around the upgrading of persistence files. Closes + [#1276]. +- Add 'extern "C"' on mosquitto_broker.h and mosquitto_plugin.h for C++ plugin + writing. Closes [#1290]. +- Fix persistent Websockets clients not receiving messages after they + reconnect, having sent DISCONNECT on a previous session. Closes [#1227]. +- Disable TLS renegotiation. Client initiated renegotiation is considered to + be a potential attack vector against servers. Closes [#1257]. +- Fix incorrect shared subscription topic '$shared'. +- Fix zero length client ids being rejected for MQTT v5 clients with clean + start set to true. +- Fix MQTT v5 overlapping subscription behaviour. Clients now receive message + from all matching subscriptions rather than the first one encountered, which + ensures the maximum QoS requirement is met. +- Fix incoming/outgoing quota problems for QoS>0. +- Remove obsolete `store_clean_interval` from documentation. + +## Client library +- Fix typo causing build error on Windows when building without TLS support. + Closes [#1264]. + +## Clients +- Fix -L url parsing when `/topic` part is missing. +- Stop some error messages being printed even when `--quiet` was used. + Closes [#1284]. +- Fix `mosquitto_pub` exiting with error code 0 when an error occurred. + Closes [#1285]. +- Fix `mosquitto_pub` not using the `-c` option. Closes [#1273]. +- Fix MQTT v5 clients not being able to specify a password without a username. + Closes [#1274]. +- Fix `mosquitto_pub -l` not handling network failures. Closes [#1152]. +- Fix `mosquitto_pub -l` not handling zero length input. Closes [#1302]. +- Fix double free on exit in `mosquitto_pub`. Closes [#1280]. + +## Documentation: +- Remove references to Python binding and C++ wrapper in libmosquitto man + page. Closes [#1266]. + +## Build +- CLIENT_LDFLAGS now uses LDFLAGS. Closes [#1294]. + +[#1152]: https://github.com/eclipse/mosquitto/issues/1152 +[#1227]: https://github.com/eclipse/mosquitto/issues/1227 +[#1257]: https://github.com/eclipse/mosquitto/issues/1257 +[#1263]: https://github.com/eclipse/mosquitto/issues/1263 +[#1264]: https://github.com/eclipse/mosquitto/issues/1264 +[#1266]: https://github.com/eclipse/mosquitto/issues/1266 +[#1273]: https://github.com/eclipse/mosquitto/issues/1273 +[#1273]: https://github.com/eclipse/mosquitto/issues/1273 +[#1273]: https://github.com/eclipse/mosquitto/issues/1273 +[#1274]: https://github.com/eclipse/mosquitto/issues/1274 +[#1276]: https://github.com/eclipse/mosquitto/issues/1276 +[#1280]: https://github.com/eclipse/mosquitto/issues/1280 +[#1284]: https://github.com/eclipse/mosquitto/issues/1284 +[#1285]: https://github.com/eclipse/mosquitto/issues/1285 +[#1290]: https://github.com/eclipse/mosquitto/issues/1290 +[#1294]: https://github.com/eclipse/mosquitto/issues/1294 +[#1302]: https://github.com/eclipse/mosquitto/issues/1302 diff --git a/www/themes/mosquitto/templates/base_helper.tmpl b/www/themes/mosquitto/templates/base_helper.tmpl index 98439c1e..d580aa63 100644 --- a/www/themes/mosquitto/templates/base_helper.tmpl +++ b/www/themes/mosquitto/templates/base_helper.tmpl @@ -22,16 +22,6 @@ lang="${lang}"> - - - - % if use_base_tag: % endif