Version 2.0.5 released.

Version 2.0.5 of Mosquitto has been released. This is a bugfix release.


  • Fix auth_method not being provided to the extended auth plugin event. Closes #1975.
  • Fix large packets not being completely published to slow clients. Closes #1977.
  • Fix bridge connection not relinquishing POLLOUT after messages are sent. Closes #1979.
  • Fix apparmor incorrectly denying access to /var/lib/mosquitto/ Closes #1978.
  • Fix potential intermittent initial bridge connections when using poll().
  • Fix bind_interface option. Closes #1999.
  • Fix invalid behaviour in dynsec plugin if a group or client is deleted before a role that was attached to the group or client is deleted. Closes #1998.
  • Improve logging in dynsec addGroupRole command. Closes #2005.
  • Improve logging in dynsec addGroupClient command. Closes #2008.

Client library

  • Improve documentation around the _v5() and non-v5 functions, e.g. mosquitto_publish() and `mosquitto_publish_v5().


  • install Makefile target should depend on all, not mosquitto, to ensure that man pages are always built. Closes #1989.
  • Fixes for lots of minor build warnings highlighted by Visual Studio.


  • Disallow control characters in mosquitto_passwd usernames.
  • Fix incorrect description in mosquitto_ctrl man page. Closes #1995.
  • Fix mosquitto_ctrl dynsec getGroup not showing roles. Closes #1997.

Version 2.0.3 released.

Version 2.0.3 of Mosquitto has been released. This is a bugfix release.


  • Running mosquitto_passwd with the following arguments only mosquitto_passwd -b password_file username password would cause the username to be used as the password.


  • Fix excessive CPU use on non-Linux systems when the open file limit is set high. Closes #1947.
  • Fix LWT not being sent on client takeover when the existing session wasn't being continued. Closes #1946.
  • Fix bridges possibly not completing connections when WITH_ADNS is in use. Closes #1960.
  • Fix QoS 0 messages not being delivered if max_queued_messages was set to 0. Closes #1956.
  • Fix local bridges being disconnected on SIGHUP. Closes #1942.
  • Fix slow initial bridge connections for WITH_ADNS=no.


  • Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful connection is not made. Closes #1957.


  • Fix mosquitto_passwd -b using username as password (not if -c is also used). Closes #1949.


  • Fix install target when using WITH_CJSON=no. Closes #1938.
  • Fix generic docker build. Closes #1945.

Version 2.0.4 released.

Version 2.0.4 of Mosquitto has been released. This is a bugfix release.


  • Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2 messages. Closes #1968.
  • mosquitto_connect_bind_async() and mosquitto_connect_bind_v5() should not reset the bind address option if called with bind_address == NULL.
  • Fix dynamic security configuration possibly not being reloaded on Windows only. Closes #1962.
  • Add more log messages for dynsec load/save error conditions.
  • Fix websockets connections blocking non-websockets connections on Windows. Closes #1934.


  • Fix man pages not being built when using CMake. Closes #1969.