Skip to content

Bump github.com/emqx/cocoamqtt from 2.2.3 to 2.4.1 - #14

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/emqx/cocoamqtt-2.4.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/emqx/cocoamqtt-2.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/emqx/cocoamqtt from 2.2.3 to 2.4.1.

Release notes

Sourced from github.com/emqx/cocoamqtt's releases.

2.4.1

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.

2.4.0

CocoaMQTT 2.4.0 is the stable, long-term-maintenance baseline for the 2.x architecture. It preserves the CocoaAsyncSocket and Starscream transport architecture while collecting the correctness and compatibility work completed after 2.3.0.

Changes

  • Hardened MQTT 3.1.1 and MQTT 5 reconnect, session, QoS, keepalive, and graceful-disconnect lifecycles.
  • Fixed concurrent publish, callback, delivery, and connection-state races.
  • Added configurable packet-read, socket-write, and WebSocket message limits.
  • Unified TCP and Foundation WebSocket server-trust configuration.
  • Added PEM/DER and PKCS#12 client identities, including mutual TLS over TCP and Foundation WebSockets.
  • Added Swift 6 consumer checks and visionOS compile verification.
  • Retained legacy decoder and ConcurrentAtomic.mutate entry points needed by 2.3 source consumers.

Compatibility notes

  • ThreadSafeDictionary.Iterator now uses a stable dictionary snapshot. Code that explicitly names the previous concrete iterator type must use type inference or the Sequence APIs. Use snapshot() for multi-step indexed access across concurrent mutations.
  • ConcurrentAtomic property assignment and mutate remain source-compatible but now execute synchronously. Mutation closures must not re-enter the same wrapper. Use withMutation when the transform returns a value.
  • Deprecated decoder overloads without an explicit protocol version assume MQTT 5 packet data. Use the explicit overload for MQTT 3.1.1 data.

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

Thanks for all

2.3.0

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

... (truncated)

Commits
  • 4c5a9a6 Merge pull request #741 from hjianbo/release/2.4.1
  • 93bcfc0 release: prepare CocoaMQTT 2.4.1
  • 4342084 Merge pull request #740 from hjianbo/fix/issue-739-2.3.1
  • f245821 Merge branch 'release/2.x' into fix/issue-739-2.3.1
  • b487279 fix: expose connect timeout in CocoaMQTTError
  • 1688a2f fix: preserve 2.3 public API
  • 590542d fix: honor WebSocket connect timeout
  • ca34506 Merge pull request #735 from emqx/docs/contribution-branch-guidance
  • e045d8b Document contribution branch policy
  • 378ecda Prepare CocoaMQTT 2.4.0 LTS release (#733)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/emqx/cocoamqtt](https://github.com/emqx/CocoaMQTT) from 2.2.3 to 2.4.1.
- [Release notes](https://github.com/emqx/CocoaMQTT/releases)
- [Commits](emqx/CocoaMQTT@2.2.3...2.4.1)

---
updated-dependencies:
- dependency-name: github.com/emqx/cocoamqtt
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #15.

@dependabot dependabot Bot closed this Nov 2, 2026
@dependabot
dependabot Bot deleted the dependabot/swift/github.com/emqx/cocoamqtt-2.4.1 branch November 2, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants