www/posts/2018/05/version-1-5-released.md
This is a features release. Updated binaries will be available shortly.
per_listener_settings to allow authentication and access control to be
per listener.use_subject_as_username option for certificate based client
authentication to use the entire certificate subject as a username, rather
than just the CN. Closes #469467.mosquitto_db_dump tool can now output some stats on clients.max_queued_bytes feature to limit queues by real size rather than
than just message count. Closes Eclipse #452919 or Github #100set_tcp_nodelay option to allow Nagle's algorithm to be disabled on
client sockets. Closes #433.allow_anonymous has changed. In the old behaviour, the
default if not set was to allow anonymous access. The new behaviour is to
default is to allow anonymous access unless another security option is set.
For example, if password_file is set and allow_anonymous is not set,
then anonymous access will be denied. It is still possible to allow
anonymous access by setting it explicitly.local_clientid.queue_qos0_messages was not observing max_queued_** limitsinclude_dir configuration option sort the files
alphabetically before loading them. Closes #17.use_identity_as_username configured.use_identity_as_username not working on websockets clients.MOSQ_ERR_AUTH for a username check on
a websockets client. Closes #490.upgrade_outgoing_qos for retained message. Closes #534.mosquitto_subscribe_simple() This is a helper function to make
retrieving messages from a broker very straightforward. Examples of its use
are in examples/subscribe_simple.mosquitto_subscribe_callback() This is a helper function to make
processing messages from a broker very straightforward. An example of its use
is in examples/subscribe_simple.mosquitto_validate_utf8() to check whether a string is valid UTF-8
according to the UTF-8 spec and to the additional restrictions imposed by
the MQTT spec.mosquitto_userdata function to allow retrieving the client userdata
member variable. Closes #111.mosquitto_pub_topic_check2(), mosquitto_sub_topic_check2(), and
mosquitto_topic_matches_sub2() which are identical to the similarly named
functions but also take length arguments.mosquitto_connect_with_flags_callback_set(), which allows a second
connect callback to be used which also exposes the connect flags parameter.
Closes #738 and #128.MOSQ_OPT_SSL_CTX option to allow a user specified SSL_CTX to be used
instead of the one generated by libmosquitto. This allows greater control
over what options can be set. Closes #715.MOSQ_OPT_SSL_CTX_WITH_DEFAULTS to work with MOSQ_OPT_SSL_CTX and have
the default libmosquitto SSL_CTX configuration applied to the user provided
SSL_CTX. Closes #567.mosquitto_topic_matches_sub. Closes #654.mosquitto_topic_matches_sub() not correctly matching foo/bar against
foo/+/#. Closes #670.mosquitto_sub to allow the user to choose the output format.mosquitto_sub for unsubscribing from topics.mosquitto_pub.mosquitto_sub to exit after receiving all retained
messages.mosquitto_sub to stop processing incoming messages after a
timeout.mosquitto_sub doesn't continue to keep connecting if CONNACK tells it the
connection was refused.mosquitto_pub -l. Closes #676.WITH_STRIP option (defaulting to "no") that when set to "yes" will strip
executables and shared libraries when installing.WITH_STATIC_LIBRARIES (defaulting to "no") that when set to "yes" will
build and install static versions of the client libraries.c_rehash with openssl rehash.