Releases: SmartsquareGmbH/mqtt-starter
Releases · SmartsquareGmbH/mqtt-starter
0.17.2
0.17.1
At a Glance
This release comes with a spring actuator health indicator implementation and a fix for the messageExpiryInterval
.
What's Changed
- Health indicator by @cmdjulian in #17
- Fix "messageExpiryInterval" check failure in MQTT 5 publish by @hcrgm in #19
New Contributors
Full Changelog: 0.17.0...0.17.1
0.17.0
At a Glance
This release comes with multiple new features and helpful extensions while staying backwards-compatible.
What's Changed
- Add support for session expiry by @cmdjulian in #16
- Add support for using suspending methods with
@MqttSubscribe
by @cmdjulian in #13 - Add support for message expiry with mqtt 5 by @cmdjulian in #15
- Add support for GraalVM native-image by @cmdjulian in #14
New Contributors
- @cmdjulian made their first contribution in #16. Huge thanks to them for implementing all changes in this release!
Full Changelog: 0.16.0...0.17.0
0.16.0
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
0.15.0
At a Glance
- Lowest Java version has now been changed to Java 17 due to upgrading to Spring Boot 3
What's Changed
- Dependency bumps by @skonair and @TrojanerHD in #8 and #9, respectively
- Renamed
master
branch tomain
branch - Fix autoconfig wiring to use new spring boot 3 way by @drosowski in #11
New Contributors
- @skonair made their first contribution in #8
- @TrojanerHD made their first contribution in #9
Full Changelog: 0.14.0...0.15.0
0.14.0
0.13.0
0.12.0
- Add support for mqtt 5. Set the
mqtt.version
property to5
to enable. - New
mqtt.clean
property to enable or disable clean sessions. - Improved configuration mechanisms
- Improved validation.
- All properties are optional now.
- Allow advanced code-based configuration. Implement one of the
MqttConfigurers
to use. - Metadata for IDEs to enable autocompletion.
- Dependency updates.