Releases: pubnub/swift
Releases · pubnub/swift
9.3.5
9.3.4
September 15 2025
Fixed
- Handle missing
limit
andnext
parameters in thelistFiles(channel:limit:next:custom:completion:)
method.
9.3.3
August 07 2025
Fixed
- APM libraries crash fix: Removed
deinit
methods that were callingsession.invalidateAndCancel()
fromPresenceEffectFactory
andSubscribeEffectFactory
to prevent race conditions with Application Performance Monitoring libraries. Session cleanup now happens exclusively in HTTPSession.deinit, which ensures request cancellation before invalidation. This prevents crashes from occurring inside APM libraries when they intercept network operations during session invalidation.
9.3.2
August 06 2025
Fixed
- Implement missing token parsing logic in KMP layer (internal use).
9.3.1
July 31 2025
Fixed
- Fix the issue with recursive locking introduced in 9.3.0 when disposing a SubscriptionSet.
9.3.0
July 29 2025
Added
- Add the ability to subscribe to presence channels only, without their main counterparts.
This version introduces presence-only subscription support, allowing users to subscribe to presence channels/channel groups without requiring their main channel/channel groups counterparts. Also, the unsubscribe(from:and:)
method in a PubNub class has been simplified by removing the presenceOnly:
parameter. If you were using presenceOnly: true
, pass presence channels or channel groups explicitly as parameters instead.
9.2.3
July 29 2025
Fixed
- Fix WeakBox hash stability.
9.2.2
July 18 2025
Fixed
- Add a wrapper around the reconnecting method for KMP (internal use).
9.2.1
June 20 2025
Fixed
- Add missing heartbeat call when changing channels or channel groups.
9.2.0
May 15 2025
Added
- The
encryptStream(from:)
convenience method in CryptoModule is designed to encrypt a local file. It eliminates the need for the caller to provide anInputStream
and its content length - these are handled internally. You only need to pass a local file URL.