Skip to content

Commit

Permalink
Bump version, new web post
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Aug 16, 2022
1 parent 4d1b587 commit 966601f
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0042 NEW)

project(mosquitto)
set (VERSION 2.0.14)
set (VERSION 2.0.15)

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")

Expand Down
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ WITH_XTREPORT=no

# Also bump lib/mosquitto.h, CMakeLists.txt,
# installer/mosquitto.nsi, installer/mosquitto64.nsi
VERSION=2.0.14
VERSION=2.0.15

# Client library SO version. Bump if incompatible API/ABI changes are made.
SOVERSION=1
Expand Down
2 changes: 1 addition & 1 deletion include/mosquitto.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extern "C" {

#define LIBMOSQUITTO_MAJOR 2
#define LIBMOSQUITTO_MINOR 0
#define LIBMOSQUITTO_REVISION 14
#define LIBMOSQUITTO_REVISION 15
/* 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)

Expand Down
2 changes: 1 addition & 1 deletion installer/mosquitto.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
!define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'

Name "Eclipse Mosquitto"
!define VERSION 2.0.14
!define VERSION 2.0.15
OutFile "mosquitto-${VERSION}-install-windows-x86.exe"

InstallDir "$PROGRAMFILES\mosquitto"
Expand Down
2 changes: 1 addition & 1 deletion installer/mosquitto64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
!define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'

Name "Eclipse Mosquitto"
!define VERSION 2.0.14
!define VERSION 2.0.15
OutFile "mosquitto-${VERSION}-install-windows-x64.exe"

!include "x64.nsh"
Expand Down
2 changes: 1 addition & 1 deletion set-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

MAJOR=2
MINOR=0
REVISION=14
REVISION=15

sed -i "s/^VERSION=.*/VERSION=${MAJOR}.${MINOR}.${REVISION}/" config.mk

Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mosquitto
version: 2.0.14
version: 2.0.15
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.
Expand Down
100 changes: 100 additions & 0 deletions www/posts/2022/08/version-2-0-15-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<!--
.. title: Version 2.0.15 released.
.. slug: version-2-0-15-released
.. date: 2022-08-16 12:57:38 UTC+1
.. tags: Releases
.. category:
.. link:
.. description:
.. type: text
-->

Versions 2.0.15 of Mosquitto has been released. This is a security
and bugfix release.

# Security
- Deleting the group configured as the anonymous group in the Dynamic Security
plugin, would leave a dangling pointer that could lead to a single crash.
This is considered a minor issue - only administrative users should have
access to dynsec, the impact on availability is one-off, and there is no
associated loss of data. It is now forbidden to delete the group configured
as the anonymous group.

# Broker
- Fix memory leak when a plugin modifies the topic of a message in
`MOSQ_EVT_MESSAGE`.
- Fix bridge `restart_timeout` not being honoured.
- Fix potential memory leaks if a plugin modifies the message in the
`MOSQ_EVT_MESSAGE` event.
- Fix unused flags in CONNECT command being forced to be 0, which is not
required for MQTT v3.1. Closes [#2522].
- Improve documentation of `persistent_client_expiration` option.
Closes [#2404].
- Add clients to session expiry check list when restarting and reloading from
persistence. Closes [#2546].
- Fix bridges not sending failure notification messages to the local broker if
the remote bridge connection fails. Closes [#2467]. Closes [#1488].
- Fix some PUBLISH messages not being counted in $SYS stats. Closes [#2448].
- Fix incorrect return code being sent in DISCONNECT when a client session is
taken over. Closes [#2607].
- Fix confusing "out of memory" error when a client is kicked in the dynamic
security plugin. Closes [#2525].
- Fix confusing error message when dynamic security config file was a
directory. Closes [#2520].
- Fix bridge queued messages not being persisted when local_cleansession is
set to false and cleansession is set to true. Closes [#2604].
- Dynamic security: Fix modifyClient and modifyGroup commands to not modify
the client/group if a new group/client being added is not valid.
Closes [#2598].
- Dynamic security: Fix the plugin being able to be loaded twice. Currently
only a single plugin can interact with a unique $CONTROL topic. Using
multiple instances of the plugin would produce duplicate entries in the
config file. Closes [#2601]. Closes [#2470].
- Fix case where expired messages were causing queued messages not to be
delivered. Closes [#2609].

# Client library
- Fix threads library detection on Windows under cmake. Bumps the minimum
cmake version to 3.1, which is still ancient.
- Fix use of `MOSQ_OPT_TLS_ENGINE` being unable to be used due to the openssl
ctx not being initialised until starting to connect. Closes [#2537].
- Fix incorrect use of SSL_connect. Closes [#2594].
- Don't set SIGPIPE to ignore, use MSG_NOSIGNAL instead. Closes [#2564].
- Add documentation of struct mosquitto_message to header. Closes [#2561].
- Fix documentation omission around mosquitto_reinitialise. Closes [#2489].
- Fix use of MOSQ_OPT_SSL_CTX when used in conjunction with
MOSQ_OPT_SSL_CTX_DEFAULTS. Closes [#2463].
- Fix failure to close thread in some situations. Closes [#2545].

# Clients
- Fix mosquitto_pub incorrectly reusing topic aliases when reconnecting.
Closes [#2494].

# Apps
- Fix `-o` not working in `mosquitto_ctrl`, and typo in related documentation.
Closes [#2471].


[#1488]: https://github.com/eclipse/mosquitto/issues/1488
[#2404]: https://github.com/eclipse/mosquitto/issues/2404
[#2448]: https://github.com/eclipse/mosquitto/issues/2448
[#2463]: https://github.com/eclipse/mosquitto/issues/2463
[#2467]: https://github.com/eclipse/mosquitto/issues/2467
[#2470]: https://github.com/eclipse/mosquitto/issues/2470
[#2471]: https://github.com/eclipse/mosquitto/issues/2471
[#2489]: https://github.com/eclipse/mosquitto/issues/2489
[#2494]: https://github.com/eclipse/mosquitto/issues/2494
[#2520]: https://github.com/eclipse/mosquitto/issues/2520
[#2522]: https://github.com/eclipse/mosquitto/issues/2522
[#2525]: https://github.com/eclipse/mosquitto/issues/2525
[#2537]: https://github.com/eclipse/mosquitto/issues/2537
[#2545]: https://github.com/eclipse/mosquitto/issues/2545
[#2546]: https://github.com/eclipse/mosquitto/issues/2546
[#2561]: https://github.com/eclipse/mosquitto/issues/2561
[#2564]: https://github.com/eclipse/mosquitto/issues/2564
[#2594]: https://github.com/eclipse/mosquitto/issues/2594
[#2598]: https://github.com/eclipse/mosquitto/issues/2598
[#2601]: https://github.com/eclipse/mosquitto/issues/2601
[#2604]: https://github.com/eclipse/mosquitto/issues/2604
[#2607]: https://github.com/eclipse/mosquitto/issues/2607
[#2609]: https://github.com/eclipse/mosquitto/issues/2609

0 comments on commit 966601f

Please sign in to comment.