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.portand provide proper auto completion for all properties. New properties have been added:connect-timeoutandmqtt.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
MqttSubscribecan now accept any kind and combination of parameters. It is now also possible to receive the rawMqtt3PublishorMqtt5Publish(enabling advanced use cases like manual acknowledgment). - Improved error handling. Errors during message handling are now sent to the
MqttMessageErrorHandlerwhich can be implemented by consumers. - The default
ObjectMapperof 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