Releases: sroebert/mqtt-nio
Releases · sroebert/mqtt-nio
2.8.1
- Fixed WebSocket connections disconnecting when no response is received on ping request #14 @jasoncodes
2.8.0
- Added support for certificate chains for client authentication #10 @MuniekMg
2.7.0
Added Sendable
conformance. For backwards compatibility, @preconccurency
is used to prevent any warnings or errors.
2.6.3
- Fixed compiler issues when compiling for previews with
SwiftUI
2.6.2
- Added option to pass
EventLoopGroup
to init of MQTTConfiguration
, making sure the correct TLSConfiguration
is used when setting up with a URL
.
2.6.1
- Fixed @available issues when compiling with Xcode 14
2.6.0
- Added proper connection shutdown and warning message when
MQTTClient
gets deallocated.
- Added
Network
TLS implementation using transport services for iOS, watchOS and tvOS. (fixes #5, #6)
2.5.0
- Added validation methods for topics and topic filters
- Now returning errors when trying to publish/subscribe to or unsubscribe from an invalid topic
2.4.0
- Updated for Xcode 13.2 allowing concurrency to work with older versions of macOS and iOS.
2.3.1
-
When listing for messages for a specific topic, the topic to listen for is now treated as a topic filter, taking into account any wildcards (+
and #
).
So the following now works correctly:
let topic = "some/topic/+/with/wildcards/#"
try await client.subscribe(to: topic)
for await message in client.messages(forTopic: topic) {
print("Received: \(message)")
}