0.16.0
Pre-release
Pre-release
At a Glance
This is a larger, breaking release with many changes. Most important are the updated configuration options and the graceful shutdown.
Average projects should not require many changes, but reading the upgrade guide and the rest of the release notes is recommended before upgrading.
What's Changed
- The configuration has been updated to require
mqtt.host
,mqtt.port
and provide proper auto completion for all properties. New properties have been added:connect-timeout
andmqtt.shutdown
. - Graceful shutdown is now supported and enabled by default. The application now waits for active tasks to complete before shutting down to prevent message loss. This can be disabled with
mqtt.shutdown=immediate
. - Functions annotated with
MqttSubscribe
can now accept any kind and combination of parameters. It is now also possible to receive the rawMqtt3Publish
orMqtt5Publish
(enabling advanced use cases like manual acknowledgment). - Improved error handling. Errors during message handling are now sent to the
MqttMessageErrorHandler
which can be implemented by consumers. - The default
ObjectMapper
of the application is now used instead of configuring a custom one. - Various dependency updates and modernizations. The new baseline is Spring Boot 3.2.2.
Full Changelog: 0.15.0...0.16.0