Skip to content

TBMQ 2.4.1 Release

Latest

Choose a tag to compare

@dmytro-landiak dmytro-landiak released this 08 Oct 14:40
· 58 commits to main since this release

Patch release with the following features, improvements, and bug fixes.

Behavior changes:

  • MQTT_TOPIC_MAX_SEGMENTS_COUNT now counts topic segments instead of / delimiters (#368). With the limit set to N, a topic with exactly N slashes was accepted before and is rejected now. If you set this variable, raise it by 1 to keep the previous limit. The default 0 (no limit) is unaffected.
  • A Session Expiry Interval sent on an MQTT 5 DISCONNECT is now capped at MQTT_CLIENT_SESSION_EXPIRY_MAX_EXPIRY_INTERVAL (one week by default), the same limit CONNECT applies (#392). Before, a DISCONNECT could keep a session far longer than the configured maximum.
  • The YAML-only queue.kafka.consumer-properties-per-topic setting was removed (#369). Use the per-stream TB_KAFKA_*_ADDITIONAL_CONSUMER_CONFIG environment variables instead.
  • The MQTT integration now reconnects with exponential backoff, starting at the configured reconnect delay and capped at 60 seconds, instead of retrying at a flat interval (#380).

Main features:

Improvements:

Bug fixes:

  • Core:
    • #396 Release the error PUBACK/PUBREC of a failed persist in order by @dmytro-landiak;
    • #392 Read the MQTT 5 Session Expiry Interval as unsigned and cap it on DISCONNECT by @dmytro-landiak;
    • #373 Discard expired session state on reconnect by @dmytro-landiak;
    • #365 Keep the session cache live during the subscriptions init load at startup by @dmytro-landiak;
    • #368 Make the topic max-segments limit count segments instead of delimiters by @dmytro-landiak;
    • #376 Handle MQTT decoder failures that have no fixed header by @dmytro-landiak;
    • #377 Retry the startup marker write on fresh Kafka topics by @dmytro-landiak;
    • #378 Use TLS for PEM certificate credentials in the MQTT integration by @dmytro-landiak;
    • #387 Stop the integration consumer before the client and keep a pack cut short by a stop uncommitted by @dmytro-landiak;
    • #391 Return 400 instead of 500 when the integration executor rejects a configuration by @dmytro-landiak;
    • #384 netty-mqtt client: spec-correct topic routing, SUBACK correlation, complete futures, and retransmission defaults by @dmytro-landiak;
    • #386 netty-mqtt client: PUBREC for an unknown packet ID and message ID reuse by @dmytro-landiak;
    • #394 netty-mqtt client: subscription, delivery, and connection fixes by @dmytro-landiak.
  • UI:
    • #364 UI fixes for QA-reported issues by @deaflynx;
    • #379 Truncate entities table cells with a tooltip and show WebSocket client settings on small screens by @deaflynx.

Security:

  • #397 Bump Tomcat to 10.1.60 and Jackson to 2.21.7 to fix critical and high CVEs in the TBMQ images by @dmytro-landiak.

We welcome our new contributors:

Full changelog: v2.4.0...v2.4.1