Releases: emqx/CocoaMQTT
Releases · emqx/CocoaMQTT
Release list
2.3.0
Changes
- Added auto-reconnect pause/resume controls for CocoaMQTT and CocoaMQTT5:
pauseAutoReconnect(),resumeAutoReconnect(), andisAutoReconnectPaused. - Guarded against duplicate reconnect scheduling when auto-reconnect is resumed from disconnect or failed CONNACK callbacks.
- Added regression coverage for refreshing credentials after auth-related CONNACK failures before the next reconnect attempt.
Verification
- Swift Build & Test
- Swift 6 Compile Check (Core)
- SwiftLint (SPM plugin)
- SPM Release Smoke
- CocoaPods Release Lint
- CodeQL
2.2.6
2.2.5
2.2.3
What's Changed
- test: fix UserDefaults state pollution in MQTT5 reader protocol-error tests by @Copilot in #661
- test: cover MQTT5 reason-code fallback gaps by @hjianbo in #660
- chore: harden GitHub Actions workflow security by @hjianbo in #663
- chore: add Swift 6 core compile check by @hjianbo in #662
- test: cover MQTT5 auth/disconnect reason-code fallbacks by @hjianbo in #664
- fix: map MQTT5 contentType without mixing will fields by @hjianbo in #672
Full Changelog: 2.2.2...2.2.3
2.2.2
2.2.1
CocoaMQTT 2.2.0
What's Changed
- Add Swift Package Manager Support and Enhance WebSocket Integration by @RaziPour1993 in #625
- Update Package.swift by @appleApps-art in #643
- Update Package.swift by @appleApps-art in #644
- Add Starscream 5.x support (keeping 4.x compatibility) for CocoaMQTT WebSocket by @ciospettw in #645
- Fix reconnect and storage regressions; align Starscream dependency by @hjianbo in #646
- fixed error with CocoaMQTTWebSocket.StarscreamConnection does not con… by @ank634 in #638
- Fix QoS level bug related to duplication check by @kuznetsov-sergei in #642
- Merge community reconnect, MQTT5 packing, and thread-safety fixes with regression tests by @hjianbo in #647
- fix: concatenate the key and value instead of just the value when packing userProperties. by @freyzou in #583
- Update CocoaMQTT.swift for make properties thread safe by @dongtsai in #603
- After a manual disconnection, is_internal_disconnected should be reset. by @rafaelnobrekz in #608
- Introduce ConcurrentAtomic and fix data race condition issue in Cocoa… by @jeffery812 in #635
- userProperty.userPropertyBytes encode; by @joguo in #636
- Grant public access to CocoaMQTTLogger.minLevel by @hteytan in #518
- Fix redelivery timer drift with monotonic retry scheduling by @hjianbo in #649
- ci: add CocoaPods and SPM distribution checks by @hjianbo in #650
New Contributors
- @RaziPour1993 made their first contribution in #625
- @appleApps-art made their first contribution in #643
- @ciospettw made their first contribution in #645
- @ank634 made their first contribution in #638
- @kuznetsov-sergei made their first contribution in #642
- @freyzou made their first contribution in #583
- @dongtsai made their first contribution in #603
- @joguo made their first contribution in #636
- @hteytan made their first contribution in #518
Full Changelog: 2.1.9...2.2.0
2.1.6
2.1.5
fix: Crash caused by force unwrapping the reason code