Skip to content

2.4.1

Latest

Choose a tag to compare

@hjianbo hjianbo released this 08 Sep 07:10
4c5a9a6

CocoaMQTT 2.4.1 is a maintenance release for the 2.x line.

Changes

  • Fixed WebSocket connect timeout handling so a pending connection is closed after the configured timeout.
  • Added CocoaMQTTError.connectTimeout for explicit timeout reporting.
  • Invalidated stale timeout callbacks across reconnects and connection reuse.

Compatibility notes

  • CocoaMQTTError.connectTimeout is a deliberate breaking API change. Exhaustive switches over CocoaMQTTError must handle the new case.
  • A non-positive WebSocket connect timeout continues to mean no timeout.

See the 2.x maintenance policy for the LTS scope and support lifetime.