Note:
VerneMQ software distribution packages and Docker images are now covered by the VerneMQ EULA. See the blog post describing the change:
https://vernemq.com/blog/2019/11/26/vernemq-end-user-license-agreement.html.
Changelog:
- Fix bug where websocket MQTT clients that didn't provide a
sec-websocket-protocol
header to cause a crash to be logged. This case is
now handled and the connection is terminated gracefully (#1317). - Fix bug which caused clients MQTT bridges using protocol versions (131 and
132) to be unable to connect (#1306). - Upgrade the
hackney
so VerneMQ is compatible with a TLS change in Erlang/OTP
22.1. - Fix bug preventing MQTT 5 publish in/out counts from being shown on the HTTP
status page. - Fix lager issue on Raspberry Pi preventing VerneMQ from starting (#1305).
- Upgrade
epgsql
dependency to version 4.3.0 to get better error messages
(#1336). - Add new
max_last_will_delay
valueclient
which means the value from the
client is used instead of being overriden by the broker. Thisclient
value
is now the default. This setting only applies to MQTT 5.0 clients. - Add hidden option
response_timeout
tovmq_webhooks
endpoints. With this
the timevmq_webhooks
waits for a response from the remote endpoint can be
configured. Default is 5000 milliseconds. - Add new
on_deliver/6
andon_deliver_m5/7
hooks which adds QoS and retained
information to the parameters. The old variants are deprecated and will be
removed in the next major version. - Add new
on_session_expired/1
hook which is called when an offline session
expires and the state is deleted. - Handle CRL PEM entries with certificates containing empty revocation lists
(#1337). - Fix typo in
vmq-admin listener start
command (#1348). - Optimize subscription performance when many retained messages are stored on
the broker and the subscription contains wildcards. - Fix bug where MQTT 5 publish expiry interval was lost when writing the message
to the message store. - Fix bug where a retried MQTT publish after resuming an offline session used
the wrong message id. - Fix MQTT 5 shared subscription bug where writing the message to the message
store resulted in a corrupt message record once a offline session was resumed. - Refactor built-in message storage to enable multiple storage engines as well as
to streamline the implementation of alternative message storage plugins. - Fix metric description string in vmq_bridge.
- Fix regression in vmq_bridge where the retain bit wasn't handled properly for
incoming publishes. - Enable to define the MQTT protocol version to be used by vmq_bridge (4 or 3).
- Fix vmq_bridge dynamic configuration handling.
- Fix multiple minor issues in vmq_swc.
- Fix HTTP handlers to support parameterized media types.
- Upgrade lager, poolboy, jsx, luerl dependency.