Releases: LabOverWire/mqtt-lib
Releases · LabOverWire/mqtt-lib
v0.33.0
[mqtt5 0.33.0] - 2026-06-13
Fixed
- Broker config required every field to be present -
BrokerConfigderivedDeserializewithout a container-level#[serde(default)], so a config file passed tomqttv5 broker --configfailed to parse if it omitted any non-Option, non-defaulted field (e.g.max_clients), contradicting the per-field defaults documented inCLI_USAGE.md. Added#[serde(default)]toBrokerConfigand the nestedAuthConfig,RateLimitConfig,StorageConfig, andWebSocketConfig, so omitted fields (including nested sub-fields) fall back to theirDefaultimpls. A minimal{}config is now valid (issue #85).
Changed
- BREAKING: SCRAM credential functions no longer expose
getrandom::Error-ScramCredentials::from_password,ScramCredentials::from_password_with_iterations,generate_scram_credential_line, andgenerate_scram_credential_line_with_iterationsnow return the crate's ownResult<_, MqttError>(mapping salt-generation failure toMqttError::Io) instead ofstd::result::Result<_, getrandom::Error>. This removes the third-party error type from the public API so futuregetrandombumps are no longer breaking. Callers matching ongetrandom::Errormust switch toMqttError; callers using?oranyhoware unaffected. - Bumped
mqtt5-protocoldependency to 0.14 - pulls in the breakinghashbrown0.17 change (see below). - Updated dependencies -
getrandom0.3 → 0.4 (now an internal detail),sha20.10 → 0.11,rand0.9 → 0.10 (therandom()method moved to the newRngExttrait, updated internally),toml0.9 → 1,tokio-tungstenite0.28 → 0.29, and the OpenTelemetry stack (opentelemetry/opentelemetry_sdk/opentelemetry-otlp0.31 → 0.32,tracing-opentelemetry0.32 → 0.33). All internal; no further public-API impact.
[mqtt5-protocol 0.14.0] - 2026-06-13
Changed
- BREAKING: bumped
hashbrown0.16 → 0.17 -SubscriptionManager::all()returnshashbrown::HashMap<String, Subscription>, a public return type, so the crate-version change ofHashMapis SemVer-breaking for consumers that name it.
[mqtt5-wasm 1.3.3] - 2026-06-13
Changed
- Transitive bump:
mqtt50.33 andmqtt5-protocol0.14 - no wasm surface changes; the breaking dependency changes are not re-exported through the wasm API. Also updates own dependenciesgetrandom0.3 → 0.4,sha20.10 → 0.11, andgloo-timers0.3 → 0.4.
[mqttv5-cli 0.27.4] - 2026-06-13
Changed
- Transitive bump:
mqtt50.33 - picks up the config-file defaults fix (issue #85) end-to-end. Also updates own dependenciesrand0.9 → 0.10,toml0.9 → 1, andgetrandom0.3 → 0.4. No CLI surface changes.
v0.32.2
v0.32.1
Release 0.32.1
v0.31.4
Release 0.31.4
v0.31.3
Release 0.31.3
v0.31.2
v0.31.1
Release 0.31.1
v0.31.0
v0.30.0
v0.29.0
Release 0.29.0