Skip to content

Releases: emqx/CocoaMQTT

2.3.0

Choose a tag to compare

@hjianbo hjianbo released this 30 Jun 02:58
05037d3

Changes

  • Added auto-reconnect pause/resume controls for CocoaMQTT and CocoaMQTT5: pauseAutoReconnect(), resumeAutoReconnect(), and isAutoReconnectPaused.
  • 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

Choose a tag to compare

@hjianbo hjianbo released this 12 Jun 06:41

What's Changed

Full Changelog: 2.2.5...2.2.6

2.2.5

Choose a tag to compare

@hjianbo hjianbo released this 25 May 12:58
69461a4

What's Changed

Full Changelog: 2.2.4...2.2.5

2.2.3

Choose a tag to compare

@hjianbo hjianbo released this 10 Mar 05:56

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

Choose a tag to compare

@hjianbo hjianbo released this 05 Mar 06:18

What's Changed

  • fix: clamp retry interval nanoseconds overflow by @hjianbo in #657
  • chore: remove CocoaPods manual release workflow by @hjianbo in #658
  • Fix malformed PUBLISH parsing and handle protocol errors safely by @hjianbo in #659

Full Changelog: 2.2.1...2.2.2

2.2.1

Choose a tag to compare

@hjianbo hjianbo released this 02 Mar 05:01
8348425

What's Changed

  • fix: preserve durable recovery and numeric ordering by @hjianbo in #651
  • test: cover deliver retry interval edge cases by @hjianbo in #654
  • Fix WebSockets subspec platform declarations by @hjianbo in #655
  • chore: prepare 2.2.1 release by @hjianbo in #656

Full Changelog: 2.2.0...2.2.1

CocoaMQTT 2.2.0

Choose a tag to compare

@hjianbo hjianbo released this 24 Feb 15:47

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

Full Changelog: 2.1.9...2.2.0

2.1.6

Choose a tag to compare

@leeway1208 leeway1208 released this 18 Aug 15:06

fix: pos calculate error

2.1.5

Choose a tag to compare

@leeway1208 leeway1208 released this 20 Jun 17:25

fix: Crash caused by force unwrapping the reason code

2.1.3

Choose a tag to compare

@leeway1208 leeway1208 released this 04 Mar 15:24

feat: add self signed delegate and demo