Skip to content

Bump github.com/emqx/cocoamqtt from 2.2.3 to 2.4.0 - #13

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

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
  • CocoaPods Release Lint
  • CodeQL

2.2.6

What's Changed

Full Changelog: emqx/CocoaMQTT@2.2.5...2.2.6

2.2.5

What's Changed

Full Changelog: emqx/CocoaMQTT@2.2.4...2.2.5

Commits
  • 378ecda Prepare CocoaMQTT 2.4.0 LTS release (#733)
  • 4bdeee2 Prevent stale 2.x release readiness
  • 757d148 Refine 2.x release readiness checks
  • d82110e Trigger CocoaMQTT 2.x releases from version merges
  • ac77e91 Verify published CocoaMQTT 2.x tags
  • 3662891 Harden CocoaMQTT 2.x release gates
  • b12ed3b Clarify CocoaMQTT 2.4 compatibility
  • 2bed337 Prepare CocoaMQTT 2.4 LTS release
  • c09666c Merge pull request #730 from emqx/fix/issue-325-websocket-client-identity
  • bf4862a Clarify WebSocket transport documentation
  • 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.0.
- [Release notes](https://github.com/emqx/CocoaMQTT/releases)
- [Commits](emqx/CocoaMQTT@2.2.3...2.4.0)

---
updated-dependencies:
- dependency-name: github.com/emqx/cocoamqtt
  dependency-version: 2.4.0
  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 Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, swift. Please create them before Dependabot can add them 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 Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #14.

@dependabot dependabot Bot closed this Sep 14, 2026
@dependabot
dependabot Bot deleted the dependabot/swift/github.com/emqx/cocoamqtt-2.4.0 branch September 14, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants